X-Git-Url: https://git.donarmstrong.com/?p=xournal.git;a=blobdiff_plain;f=src%2FTODO;h=01bdcd932fd14a11a55fa50930e78de0ed45b7ae;hp=64679cedd5e2c51395a76793f0da486df993e628;hb=bc1db27c7eef7de6d5097a5e708d2de540d35b88;hpb=7e0f130c69b3a36d665b269a7e9cd1560f77bb0b diff --git a/src/TODO b/src/TODO index 64679ce..01bdcd9 100644 --- a/src/TODO +++ b/src/TODO @@ -12,32 +12,55 @@ List of features to be implemented (not in any particular order) - cleanup of undo history (keep track of refcounts, delete old undo) save-and-clear-undo ? -- RandR / recalibration awareness? +- RandR / recalibration awareness? - NOT NEEDED ANYMORE? (e.g. if xinput events are far away from core events, re-query geometry?) or see if removing the GTK bugfix would help? -- e.g. by recalling an internal gtk init function? + Also allow for SIGUSR1 to recalibrate (so rotate scripts could pkill + xournal). (cf #2944459). Recalibration probably requires talking directly + to X server to query input device geometry and compensate for GTK. + +TODO WITH IMAGE PATCH: +TODO: paste and selresize don't put rectangle at top +TODO: select click in image selects it +TODO: option for image mode to revert to previous tool +TODO: direct paste text BUGS: -** lingering issues with synaptics touchpads? (#2872667) - (DONE) - add patch 0.4.5-fix-synaptics-v1.patch (fix ButtonDown events) +- lingering issues with synaptics touchpads? (#2872667) (todo) - set device to Absolute mode at startup? (GDK doesn't expose API, cf XSetDeviceMode() in /usr/include/X11/extensions/XInput.h) -** color picker into canvas doesn't work in GTK+ 2.16 (should disable +- color picker into canvas doesn't work in GTK+ 2.16 (should disable xinput first?) -** PDF export crashes in 64-bit due to wrong types (#2897699) - --- DONE --- patch by Robert Buchholz -** export to PDF should see cropbox size if smaller, and map the +- export to PDF should see cropbox size if smaller, and map the cropbox -- not the entire page -- to the page area! (2009-11-18 forum) +BEHAVIOR TODO: +- option to have "Save Prefs" save current brushes as settings, not defaults +- method to map more general devices to specific tools or to Ignore + (e.g.: X220T ignore trackpoint; map touchscreen to Hand, eraser to Eraser) + WIN32: - test further - write an installer - bug: opening files with accents in name? - bug: cairo-scaled-font in printing? (2009-11-18 bug tracker) +- bug: printf() sometimes generates stroke coordinates 1.#J -1.#J (???) + (filter out inf, -inf, nan, very large values when saving ???) PATCHES TO INCORPORATE: -** Italian translation (add_it_po.patch unless updated on tracker) - (by Marco Poletti) + +- ezyang e-mail of 11/28/2011: patches in Ubuntu to fix PDF showing up? +http://archive.ubuntu.com/ubuntu/pool/universe/x/xournal/xournal_0.4.5-3.debian.tar.gz +actually not necessary anymore? (ezyang 12/2/2011) + +- tauu e-mail of 12/1/2011: 8 small patches for win32, uploaded on tracker +https://sourceforge.net/tracker/index.php?func=detail&aid=3447356&group_id=163434&atid=827735 + +- patch: add Alt-Up/Dn accelerators for show/hide layer. See + show_hide_layer.patch + +* my own patch noresize_background_v1.patch (also in xournal-working/) ** patch: ortho/snap (revised Apr 13 2009) xournal_ortho_snap_patch_4 (by Josef Pavlicek) @@ -51,8 +74,56 @@ PATCHES TO INCORPORATE: modification, vs original 5 seconds) *** NEW VERSION: #2881919 (autosave for 0.4.5, w/ some changes) NB: last modif should be triggered by prepare_new_undo() and undo/redo? + *** NEW VERSION: with threading, by Man, e-mail 12/10/2009 10:51pm ** insert images patch (Victor Saase) #2890925 +** as improved by Simon Guest April 14 2010 +** modified rev2 May 14, 2010: xournal-0.4.5-sjg-image-rev2.patch.gz +** rev6 by now... + +** customize paper ruling (Gautam Iyer e-mail Nov 30 2009 / SF tracker) + +** cairo export to PNG (Man = Paulo Neves, e-mail Feb 3 '10, saved as + cairo-png-rendering.diff.txt (refactor printing of page to cairo surface + with the gtk-print code). + +- patch by S. Guest + shortcut to increase/decrease text font size by 1 point (?) - acts just + as if one had clicked font sel box and resized (affects sel text + cur font) + +- make line spacing in text objects customizable: to a fixed scaling factor, + a fixed number of units, or the paper ruling (esp. the latter!!) + +- page size dialog box should have a check button to keep background size + the same (so rescaling creates margin around bitmap or PDF background). + This will need an extension to the file format, to allow a page background + to have a different size from the page itself. + +- option to map device named "touch" to hand tool? (like "Eraser tip") + + +- roadmap towards SVG support: see 1/25/2010 Mark Edgington email & reply + (1) export to SVG (using pages and groups for pages and layers; + use comment tags to make export nonlossy; + (2) import from this subset of SVG; + (3) add SVG to the file-open and save formats + +- roadmap towards PDF encapsulation: see 1/29/2010 forum posts + When exporting to PDF, don't just append our annotations as PDF code but + also include the .xoj file within the pdf, and ensure the initial pdf is + well-delimited from the rest. When opening a PDF that includes such + markings, discard the annotation part of the PDF and open the embedded xoj + instead. Later, offer such PDF as a file-open and save format (even when + there's no PDF background being annotated!!). + +*** should have Open, Save, Save As manipulate at least 3 formats: + - XOJ + - PDF with embedded xoj file in an object (opens with annot. in PDF viewer, + with background only + separate xoj in xournal) + - SVG (subset only) + additionally, should have "print to": printer, PDF, SVG, bitmap. + +- allow djvu and other backgrounds (but then can't export to PDF) - PDF bg memory usage throttling / delete oldest pdf backgrounds - replace ttsubset by something more modern? (eg. from cairo ?) @@ -65,11 +136,17 @@ PATCHES TO INCORPORATE: - horizontal mode instead of dual-view / multicolumn ? ** "new page before/after" on a PDF bg page should ask: same page, other page of PDF file, default paper +** should also have in Journal -> Paper style the option "Pdf page ..." + which then lets us change the page number. - new recognizer icon (andruk on patches tracker) - recognizer: if variable-width, associate average width - recognizer should snap to existing recognized geometric shapes - patch to find text in PDF (dmg = Daniel German, Nov 13 2009) +- search through text (xoj and PDF background) (with highlight? forwd/backwd) + (see evince). Also: ability to select rectangle on PDF bg and copy-paste + as bitmap or as text. + - improve recognizer: two passes for polygons (low tolerance, then higher) to better detect elongated rectangles? (if low tolerance recognizer doesn't get a rectangle, then use higher tolerance for everything else, @@ -86,12 +163,17 @@ PATCHES TO INCORPORATE: - render page to bitmap: for export, preview, and copy-paste (render using libart, see how gnomecanvas does it?) - NO: render using Cairo !!! then can switch to GtkPrint as well. + NO: render using Cairo !!! (copy-paste: config option to render only current layer or all below?) - cut-and-paste of selection into other apps (as bitmap; as SVG?) + - navigation sidebar with bitmap page previews - bitmap preview for document icon in desktop environments? - "organizer" side panel (hierarchy of notes), cf. gjots +- maintain e-library: table of md5sums of pdfs with associations + to the corresponding xoj's absolute paths (cf. forum topic + "Use MD5..." of Dec 2009) + - see iRex code for generic viewer + PDF plugin including caching, throttling etc. (Marcel Hendrickx email of Sep 11 '09) @@ -112,10 +194,6 @@ PATCHES TO INCORPORATE: - add config option to limit total memory usage for PDF bitmaps - ability to select entire page for copy-paste (as bitmap / reorder xournal) - copy/paste of an entire page (beware if PDF bg is not compatible!) -- rewrite printing using GtkPrint + Cairo as GnomePrint replacement - (keep GnomePrint option for compatibility with GTK+ <2.10) -- insert images (screen capture or from file or from clipboard), - not as full-page backgrounds (new ITEM type) - convert to/from Jarnal format; to/from MS Journal format??? - export as SVG, as bitmap (use Cairo for this)