]> git.donarmstrong.com Git - xournal.git/blob - src/TODO
update event processing code for GTK+ 2.18
[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 Win32 and 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
20 DONE: fix GTK+ 2.16/2.17 XInput issues with scrollbars and menus
21 DONE: fix bug 2826845 (shape recognizer accel doesn't work in fullscreen mode)
22 DONE: bug affecting resize zone in statusbar
23 DONE: page spinbutton wide enough for 3 digits; avoid "deprecated" warning
24 DONE: edit->paste command should refresh toolbar to unselect color/thickness
25       (so can repaint sel)
26 DONE: cursor doesn't reset properly after selection operation if primary
27       tool is select mode (stays with arrow cursor instead of pointer)
28 DONE: device with "eraser" at the end of its name is of type ERASER
29       (Edward Yang)
30 DONE: fix_xinput_coords() replaces buggy xinput events by core pointer 
31       coordinates
32 DONE: use poppler to render PDF backgrounds (after patches contributed
33       by Mike Ter Louw and Bob McElrath)
34 DONE: gettext internationalization (contributed by David Planella)
35 DONE: Catalan translation (by David Planella); French translation
36 DONE: fix unresponsiveness to button events in text edition box (GTK+ 2.17)
37       and segfaults when dragging text or using Layers combobox (GTK+ 2.17)
38 DONE: Esc leaves text box if editing; and leaves fullscreen mode
39 DONE: package our own copy of the ttsubset library (to remove a dependency
40       on libgnomeprint), and create TT subfonts in memory
41 DONE: use gtk-print instead of libgnomeprint
42 DONE: remove deprecated "antialias bg" option
43 DONE: fix fix_xinput_coords so it works ok without ENABLE_XINPUT_BUGFIX ?
44 DONE: disable ctrl-left/right accelerators during text edition
45 DONE: custom color chooser button (after a patch contributed by Alex Ray)
46 DONE: remember last used directory (after a patch contributed by Lu Zhihe)
47 DONE: discard Alt-click and Control-click events
48
49 (go through Patches tracker and take the good stuff... now at 2009-05-09)
50
51 DONE?? option to have buttons *toggle* the tool rather than act as tool
52        (ie button 2 causes button 1 to map to tool 2) [Dylan Thurston]
53
54 ** commit patches from Bob McElrath
55
56 - paper color chooser (see tracker 2083103)
57 - prerelease: update help file (remove references to pdftoppm/libgnomeprint
58   & update to poppler/gtkprint)
59 - REMOVE BINARY INSTALLER (poppler breaks ABI all the time)
60 - document config options into manual file?
61 - PDF bg memory usage throttling / delete oldest pdf backgrounds
62 - replace ttsubset by something more modern? (eg. from cairo ?)
63 - auto-hide patch from ~/prog/src/xournal-autohide/ ?
64      (check for cpu usage; handle BOTH edges
65       and only (un)hide stuff at the correct edge!)
66 ** if bg pdf not found in absolute path, look in path of xoj file before
67    prompting user.
68 ** patch to fix focus + allow up/dn in single page mode (Bob McElrath)
69    also comment out contents of reset_focus() ? (tracker patch #2494022)
70 ** patch to fix underscores in MRU filename display (McElrath) (tracker)
71    (fix memory leak)
72 ** UI update (Bob McElrath) -- eliminating status bar, compact layout,
73    "compact interface" by default; themes, with line in config file
74    to load pixmaps from pixmaps/$THEME/ (see Jan 9, 2009 emails)
75 ** autosave patch (Edward Yang) (fix: optional only, w/ menu + cfgfile
76    entries; fix: should clean up autosave.xoj.bg* files too; config interval)
77 - horizontal mode instead of dual-view / multicolumn ?
78 - patch (ikim@physics.wisc.edu): multicolumn mode + LASSO SELECTION
79 - patch: ortho/snap (revised Apr 13 2009)
80 ** FIXME: get_pressure_multiplier() should access correct members
81    of event struct, like xinput_coords()
82 ** FIX RECOGNIZER BUG: for single-segment strokes (e.g. single click),
83    I_xx and I_yy = 0, sometimes -0 -> Rad = nan (should I_xx = abs(...) ?)
84    also Det = division by 0, should return 0 if ixx + iyy = 0.
85    (MAYBE: fix inertia calc: integrate dm over each segment rather than  dm.pt[i])
86 - new recognizer icon (andruk on patches tracker)
87 - recognizer: if variable-width, associate average width
88 - recognizer should snap to existing recognized geometric shapes
89
90 - improve recognizer: two passes for polygons (low tolerance, then higher)
91   to better detect elongated rectangles? (if low tolerance recognizer
92   doesn't get a rectangle, then use higher tolerance for everything else,
93   since otherwise there's too much risk of splitting a segment into 2)
94 - snap-to-grid (also for ruler & recognizer vertices)
95   and maybe also snap-to-vertices (option for ruler and recognizer)?
96 - config option: config save current tool options instead of default ones
97
98 - "new page before/after" on a PDF bg page should ask: same page, other page of
99   PDF file, default paper
100 - bug in truetype subset generation w/ Adobe 9, see if gtk-print any better?
101
102 - drag-and-drop, copy-paste text & images directly into xournal
103 - proximity detection: eraser proximity switches mapping? 
104   proximity out removes cursor until next motionnotify?
105
106 - render page to bitmap: for export, preview, and copy-paste
107     (render using libart, see how gnomecanvas does it?)
108     NO: render using Cairo !!! then can switch to GtkPrint as well.
109     (copy-paste: config option to render only current layer or all below?)
110 - cut-and-paste of selection into other apps (as bitmap; as SVG?)
111 - navigation sidebar with bitmap page previews
112 - bitmap preview for document icon in desktop environments?
113 - "organizer" side panel (hierarchy of notes), cf. gjots
114 - see iRex code for generic viewer + PDF plugin including caching,
115   throttling etc. (Marcel Hendrickx email of Sep 11 '09) 
116
117 - allow toolbar to go vertical
118 - toolbar buttons should react to button 2/3 click to modify settings
119   for that tool?
120
121 - paste text directly into xournal, from xournal?
122     (instead of starting a text item and pasting into/from it)
123 - insert links (to URLs; within document/to other xoj? hand mode navigates)
124 - increase width of spinPageNo to fit 3 digits
125 - should escape '_' to '__' in MRU menu entries (else become mnemonics)
126 - a command + keyboard shortcut to switch mappings (1<->2, 1<->3, 2<->3)
127      (A. Rechnitzer Sept 11, 2007)
128 - modify encoding of TrueType font subsets or provide cmap so pdf text
129   can be extracted
130
131 - smoothing of strokes (for users without tablets / with deficient drivers)
132 - lasso tool
133 - add config option to limit total memory usage for PDF bitmaps
134 - ability to select entire page for copy-paste (as bitmap / reorder xournal)
135 - copy/paste of an entire page (beware if PDF bg is not compatible!)
136 - rewrite printing using GtkPrint + Cairo as GnomePrint replacement
137    (keep GnomePrint option for compatibility with GTK+ <2.10)
138 - insert images (screen capture or from file or from clipboard), 
139   not as full-page backgrounds (new ITEM type)
140
141 - convert to/from Jarnal format; to/from MS Journal format???
142 - export as SVG, as bitmap (use Cairo for this)
143 - improved PDF viewer features (search text, hyperlink, page borders...)
144    (using full poppler api ?)
145
146 - use system paper size as default (/etc/papersize)
147 - autoload *.pdf.xoj if present when opening *.pdf ???
148 - sticky notes (anchor visually text box to a bg location)
149 - use relative paths for bg documents (e.g. annotated PDF)
150 - flush display queue when drawing over a slow X server?
151 - more paper customization (in particular, 1/2 inch graph paper)
152     (2 custom papers with settings in config file? 
153      a folder with blank PDF or xoj papers and quick-access?)
154     (also: engineering paper; isometric paper -- Dan Ott  Sep 4 '09)
155 - option to map a button to a context menu (incl. tool selection, ...)
156 - option to map a button to "undo"
157 - xournal_page-shadow.diff (Martin Kiefel Feb 5 2007)
158 - xoj2pdf on command line
159 - 'insert blank page after' command (more useful in PDF annot !)
160 - load images as bg if given on command-line (as with PDF on commandline)
161 - lasso selection tool (see shoffsta patch)
162      (http://shoffsta.afraid.org/Projects/Xournal/)
163 - flatten (incl undo/redo...) - enabled only if nlayers>1
164 - color chooser (papercolor, pen color); maybe more default colors
165   cf. ojb patch #2083103 adds paper color chooser
166 - printing: print-options, save printer settings (throughout a session,
167    and on disk) (maybe a separate config file .xournal/gnome-print-settings)
168 - help index
169 - option for highlighter to be always at bottom of its layer
170 - more pen/highlighter shapes (chisel)
171 - slanted tip pens (calligraphy)
172 - toolbar buttons to access custom preset tools (e.g. text or pen with settings)
173 - text boxes with opaque background
174 - recalibration upon screen resize / compensation for miscalibration
175     (use ConfigureNotify event and XInput? cf "Bugs" tracker 08/2007)
176 - find a better behavior for vertical space tool across page boundaries ?
177    config options? 1) when there's not enough space at bottom of page:
178                        - resize the page
179                        - move stuff to next page
180                        - move stuff to a new page
181                    2) when moving to another page:
182                        - move everything
183                        - move only what doesn't fit (??? looks hard)
184    option for vert space tool to also move the background??
185    (PDF: cut-and-crop by running PDF code twice with 2 different clipboxes?)
186 - option to save all annotated files within the .xoj
187 - non-antialiased version for handhelds
188 - customize autogenerated save file names 
189 - layer dialog box to set visibility status of each layer regardless of
190   which layer is being edited
191 - option to link layer creation and visibility status for all pages
192   (Eric Borghs 04/15/08)
193 - display corruption on scroll down when bottom of window is obscured??
194   (probably a gnomecanvas or X bug -- expose event generated for wrong
195   region, or not processed?)
196 - autosave at a regular interval in a given location
197 - keep only a few pages of a PDF file in memory at any given time; generate
198   pages by parsing pdf info rather than generating bitmaps for all of them.
199 - win32 port (Matteo Abrate)
200 - snap-to-grid tool? (Matteo Abrate)
201 - EPOS 7/24/07: Thumbnails pane
202 - EPOS: Connect to EPOS api which sends A4 mapped points
203 - EPOS: Cut and Paste into OpenOffice applications and the GIMP (as bitmap??)
204 - EPOS: Export pages to pictures in the Jpg and Png formats.
205 - EPOS: Rotate Ink in custom angle.
206 - handwriting recognition???? (cellwriter?) unlikely. we don't have grids
207   see galileon comment on 2008-07-29 to tracker #1925309: word recognizer
208 - handwritten stroke search in document (see cellwriter?)
209   (correlate inertia-normalized strokes in lift to unit cotangent bundle?)
210 - option: export to PDF with incremental pages for successive layers
211     (for presentations) (Daniel Brugarth 8/18/07)
212 - Samuel Hoffstaetter: lasso, gettext localization, sidebar thumbnails, ...
213 - YoYo Siska patch for desktop mode ??
214 - Vivek Ayer: rotate paper wrt screen (for environments where display
215   rotation doesn't work): gnome_canvas_item_affine_relative(canvas->root, ...)
216   would rotate all but text items (still need to modify scroll bbox, and
217   adjust event coordinates by inverse rotation).
218 - rotate PDF background pages (individually wrt each other, see #2099935)
219 - switch to libglade, and allow customization of key shortcuts (accels)