]> git.donarmstrong.com Git - xournal.git/blob - src/TODO
option to force pdf background rendering via cairo (slower, nicer)
[xournal.git] / src / TODO
1 List of features to be implemented (not in any particular order)
2 ----------------------------------------------------------------
3
4 - collaborative editing (see discussion with Erik Demaine)
5 - porting to MacOS; merge Nokia port
6 - multiple-scenario undo history
7
8 - collaborative: allow non-x86 endianness (for ints, for floats?)
9 - collaborative: have an initial undo item = contents of the initial
10   xoj file + attachments for bitmap, pdf, and ps backgrounds
11
12 - cleanup of undo history (keep track of refcounts, delete old undo)
13   save-and-clear-undo ?
14
15 - RandR / recalibration awareness?
16   (e.g. if xinput events are far away from core events, re-query geometry?)
17    or see if removing the GTK bugfix would help? -- e.g. by recalling an
18    internal gtk init function?
19   Also allow for SIGUSR1 to recalibrate (so rotate scripts could pkill
20   xournal). (cf #2944459). Recalibration probably requires talking directly 
21   to X server to query input device geometry and compensate for GTK.
22
23 BUGS:
24 ** lingering issues with synaptics touchpads? (#2872667)
25  (todo) - set device to Absolute mode at startup? (GDK doesn't expose API,
26           cf XSetDeviceMode() in /usr/include/X11/extensions/XInput.h)
27 ** color picker into canvas doesn't work in GTK+ 2.16 (should disable
28    xinput first?)
29 ** export to PDF should see cropbox size if smaller, and map the
30    cropbox -- not the entire page -- to the page area! (2009-11-18 forum)
31
32 *** filter out very large coords when loading, not just infinity
33
34 WIN32:
35 - test further
36 - write an installer
37 - bug: opening files with accents in name?
38 - bug: cairo-scaled-font in printing? (2009-11-18 bug tracker)
39 - bug: printf() sometimes generates stroke coordinates 1.#J -1.#J  (???)
40
41 PATCHES TO INCORPORATE:
42
43 * filter out very large coords when loading, not just infinity; also filter
44   out 1.#J's
45
46 - patch: add Alt-Up/Dn accelerators for show/hide layer. See
47   show_hide_layer.patch
48
49 ***** my own patch noresize_background_v1.patch  (also in xournal-working/)
50
51 ** patch: ortho/snap (revised Apr 13 2009)
52    xournal_ortho_snap_patch_4 (by Josef Pavlicek)
53
54 ** patch (Ian-Woo Kim): multicolumn mode + LASSO SELECTION
55    xournal_lasso_multipage_zoom_button_20090620.patch
56
57 ** autosave patch (Edward Yang) (should fix: optional only, w/ menu + cfgfile
58    entries; fix: should clean up autosave.xoj.bg* files too; config interval)
59    0001-Implement-autosave-for-documents-revised.patch (2 seconds after
60    modification, vs original 5 seconds)
61    *** NEW VERSION: #2881919 (autosave for 0.4.5, w/ some changes)
62    NB: last modif should be triggered by prepare_new_undo() and undo/redo?
63    *** NEW VERSION: with threading, by Man, e-mail 12/10/2009 10:51pm
64
65 ** insert images patch (Victor Saase) #2890925
66 ** as improved by Simon Guest April 14 2010
67 ** modified rev2 May 14, 2010: xournal-0.4.5-sjg-image-rev2.patch.gz 
68 ** rev6 by now...
69
70 ** customize paper ruling (Gautam Iyer e-mail Nov 30 2009 / SF tracker)
71
72 ** cairo export to PNG (Man = Paulo Neves, e-mail Feb 3 '10, saved as
73   cairo-png-rendering.diff.txt (refactor printing of page to cairo surface
74   with the gtk-print code).
75
76 - patch by S. Guest
77   shortcut to increase/decrease text font size by 1 point (?) - acts just
78   as if one had clicked font sel box and resized (affects sel text + cur font)
79
80 - make default in ok_to_close() box "cancel" rather than "no".
81
82 - make line spacing in text objects customizable: to a fixed scaling factor,
83   a fixed number of units, or the paper ruling (esp. the latter!!)
84
85 - page size dialog box should have a check button to keep background size
86   the same (so rescaling creates margin around bitmap or PDF background).
87   This will need an extension to the file format, to allow a page background
88   to have a different size from the page itself.
89
90 - option to map device named "touch" to hand tool? (like "Eraser tip")
91
92
93 - roadmap towards SVG support: see 1/25/2010 Mark Edgington email & reply
94   (1) export to SVG (using pages and groups for pages and layers; 
95   use comment tags to make export nonlossy;
96   (2) import from this subset of SVG;
97   (3) add SVG to the file-open and save formats
98
99 - roadmap towards PDF encapsulation: see 1/29/2010 forum posts
100   When exporting to PDF, don't just append our annotations as PDF code but
101   also include the .xoj file within the pdf, and ensure the initial pdf is
102   well-delimited from the rest. When opening a PDF that includes such
103   markings, discard the annotation part of the PDF and open the embedded xoj
104   instead. Later, offer such PDF as a file-open and save format (even when
105   there's no PDF background being annotated!!).
106
107 *** should have Open, Save, Save As manipulate at least 3 formats:
108   - XOJ
109   - PDF with embedded xoj file in an object (opens with annot. in PDF viewer,
110     with background only + separate xoj in xournal)
111   - SVG (subset only)
112   additionally, should have "print to": printer, PDF, SVG, bitmap.
113
114 - allow djvu and other backgrounds (but then can't export to PDF)
115
116 - PDF bg memory usage throttling / delete oldest pdf backgrounds
117 - replace ttsubset by something more modern? (eg. from cairo ?)
118 - auto-hide patch from ~/prog/src/xournal-autohide/ ?
119      (check for cpu usage; handle BOTH edges
120       and only (un)hide stuff at the correct edge!)
121 ** UI update (Bob McElrath) -- eliminating status bar, compact layout,
122    "compact interface" by default; themes, with line in config file
123    to load pixmaps from pixmaps/$THEME/ (see Jan 9, 2009 emails)
124 - horizontal mode instead of dual-view / multicolumn ?
125 ** "new page before/after" on a PDF bg page should ask: same page, other page of
126   PDF file, default paper
127 ** should also have in Journal -> Paper style the option "Pdf page ..."
128   which then lets us change the page number.
129 - new recognizer icon (andruk on patches tracker)
130 - recognizer: if variable-width, associate average width
131 - recognizer should snap to existing recognized geometric shapes
132 - patch to find text in PDF (dmg = Daniel German, Nov 13 2009)
133
134 - search through text (xoj and PDF background) (with highlight? forwd/backwd)
135   (see evince). Also: ability to select rectangle on PDF bg and copy-paste
136   as bitmap or as text.
137
138 - improve recognizer: two passes for polygons (low tolerance, then higher)
139   to better detect elongated rectangles? (if low tolerance recognizer
140   doesn't get a rectangle, then use higher tolerance for everything else,
141   since otherwise there's too much risk of splitting a segment into 2)
142 - snap-to-grid (also for ruler & recognizer vertices)
143   and maybe also snap-to-vertices (option for ruler and recognizer)?
144 - config option: config save current tool options instead of default ones
145
146 - bug in truetype subset generation w/ Adobe 9, see if gtk-print any better?
147
148 - drag-and-drop, copy-paste text & images directly into xournal
149 - proximity detection: eraser proximity switches mapping? 
150   proximity out removes cursor until next motionnotify?
151
152
153 - render page to bitmap: for export, preview, and copy-paste
154     (render using libart, see how gnomecanvas does it?)
155     NO: render using Cairo !!! then can switch to GtkPrint as well.
156     (copy-paste: config option to render only current layer or all below?)
157 - cut-and-paste of selection into other apps (as bitmap; as SVG?)
158
159 - navigation sidebar with bitmap page previews
160 - bitmap preview for document icon in desktop environments?
161 - "organizer" side panel (hierarchy of notes), cf. gjots
162 - maintain e-library: table of md5sums of pdfs with associations
163   to the corresponding xoj's absolute paths (cf. forum topic
164   "Use MD5..." of Dec 2009)
165
166 - see iRex code for generic viewer + PDF plugin including caching,
167   throttling etc. (Marcel Hendrickx email of Sep 11 '09) 
168
169 - allow toolbar to go vertical
170 - toolbar buttons should react to button 2/3 click to modify settings
171   for that tool!!
172
173 - paste text directly into xournal, from xournal?
174     (instead of starting a text item and pasting into/from it)
175 - insert links (to URLs; within document/to other xoj? hand mode navigates)
176 - a command + keyboard shortcut to switch mappings (1<->2, 1<->3, 2<->3)
177      (A. Rechnitzer Sept 11, 2007)
178 - modify encoding of TrueType font subsets or provide cmap so pdf text
179   can be extracted
180
181 - smoothing of strokes (for users without tablets / with deficient drivers)
182 - lasso tool
183 - add config option to limit total memory usage for PDF bitmaps
184 - ability to select entire page for copy-paste (as bitmap / reorder xournal)
185 - copy/paste of an entire page (beware if PDF bg is not compatible!)
186 - rewrite printing using GtkPrint + Cairo as GnomePrint replacement
187    (keep GnomePrint option for compatibility with GTK+ <2.10)
188 - insert images (screen capture or from file or from clipboard), 
189   not as full-page backgrounds (new ITEM type)
190
191 - convert to/from Jarnal format; to/from MS Journal format???
192 - export as SVG, as bitmap (use Cairo for this)
193 - improved PDF viewer features (search text, hyperlink, page borders...)
194    (using full poppler api ?)
195 - search text: among PDF background (using poppler); among text annotations
196
197 - use system paper size as default (/etc/papersize)
198 - sticky notes (anchor visually text box to a bg location)
199 - use relative paths for bg documents (e.g. annotated PDF)
200 - flush display queue when drawing over a slow X server?
201 - more paper customization (in particular, 1/2 inch graph paper)
202     (2 custom papers with settings in config file? 
203      a folder with blank PDF or xoj papers and quick-access?)
204     (also: engineering paper; isometric paper -- Dan Ott  Sep 4 '09)
205 - option to map a button to a context menu (incl. tool selection, ...)
206 - option to map a button to "undo"
207 - xournal_page-shadow.diff (Martin Kiefel Feb 5 2007)
208 - xoj2pdf on command line
209 - 'insert blank page after' command (more useful in PDF annot !)
210 - load images as bg if given on command-line (as with PDF on commandline)
211 - lasso selection tool (see shoffsta patch)
212      (http://shoffsta.afraid.org/Projects/Xournal/)
213 - flatten (incl undo/redo...) - enabled only if nlayers>1
214 - color chooser (papercolor, pen color); have default colors and a history
215   appear as palette in there!
216 - printing: print-options, save printer settings (throughout a session,
217    and on disk) (maybe a separate config file .xournal/gnome-print-settings)
218 - help index
219 - option for highlighter to be always at bottom of its layer
220 - more pen/highlighter shapes (chisel)
221 - slanted tip pens (calligraphy)
222 - toolbar buttons to access custom preset tools (e.g. text or pen with settings)
223 - text boxes with opaque background
224 - recalibration upon screen resize / compensation for miscalibration
225     (use ConfigureNotify event and XInput? cf "Bugs" tracker 08/2007)
226 - find a better behavior for vertical space tool across page boundaries ?
227    config options? 1) when there's not enough space at bottom of page:
228                        - resize the page
229                        - move stuff to next page
230                        - move stuff to a new page
231                    2) when moving to another page:
232                        - move everything
233                        - move only what doesn't fit (??? looks hard)
234    option for vert space tool to also move the background??
235    (PDF: cut-and-crop by running PDF code twice with 2 different clipboxes?)
236 - option to save all annotated files within the .xoj
237 - non-antialiased version for handhelds
238 - customize autogenerated save file names 
239 - layer dialog box to set visibility status of each layer regardless of
240   which layer is being edited
241 - option to link layer creation and visibility status for all pages
242   (Eric Borghs 04/15/08)
243 - display corruption on scroll down when bottom of window is obscured??
244   (probably a gnomecanvas or X bug -- expose event generated for wrong
245   region, or not processed?)
246 - autosave at a regular interval in a given location
247 - keep only a few pages of a PDF file in memory at any given time; generate
248   pages by parsing pdf info rather than generating bitmaps for all of them.
249 - win32 port (Matteo Abrate)
250 - snap-to-grid tool? (Matteo Abrate)
251 - EPOS 7/24/07: Thumbnails pane
252 - EPOS: Connect to EPOS api which sends A4 mapped points
253 - EPOS: Cut and Paste into OpenOffice applications and the GIMP (as bitmap??)
254 - EPOS: Export pages to pictures in the Jpg and Png formats.
255 - EPOS: Rotate Ink in custom angle.
256 - handwriting recognition???? (cellwriter?) unlikely. we don't have grids
257   see galileon comment on 2008-07-29 to tracker #1925309: word recognizer
258 - handwritten stroke search in document (see cellwriter?)
259   (correlate inertia-normalized strokes in lift to unit cotangent bundle?)
260 - option: export to PDF with incremental pages for successive layers
261     (for presentations) (Daniel Brugarth 8/18/07)
262 - Samuel Hoffstaetter: lasso, gettext localization, sidebar thumbnails, ...
263 - YoYo Siska patch for desktop mode ??
264 - Vivek Ayer: rotate paper wrt screen (for environments where display
265   rotation doesn't work): gnome_canvas_item_affine_relative(canvas->root, ...)
266   would rotate all but text items (still need to modify scroll bbox, and
267   adjust event coordinates by inverse rotation).
268 - rotate PDF background pages (individually wrt each other, see #2099935)
269 - switch to libglade, and allow customization of key shortcuts (accels)
270
271 - command to copy a selected shape to a keybinding that will paste it
272   (so one can define symbols to insert into typed notes)  (e.g. "be able
273   to bind Ctrl-B to draw a \beta" for class notes). (shape, binding) sets are
274   local to one session (different for different classes; but save them into
275   the xoj file maybe ?) [Felix Giannelia 09/29/2009]