TODO:

* test NOK !??

* See TODO items in comments

* Update docs on ipc module

* Handle KeyboardInterrupt better... catch in subprocesses ?


--> test on windows
--> issues with Unity tray seem fixed :)

----------------------------------------------------------


###########################
https://mail.google.com/mail/?shva=1#inbox/138282a0581510e6
Gnuplot plogin does not set the current directory

Solution should be to use something like "cd [% attachment_folder %]"
in the template. Will look into adding this.

Process is excuted in a temporary folder so any temp files, logs etc.
end up there instead of in the real attachment folder (same for all
image generator plugins).


###########################
https://mail.google.com/mail/?shva=1#inbox/137e63c8a5121ad6
can not find a page containing "海芳" when searching for "海芳"

Maybe one could allow "non-word" (i.e. strings not being surrounded by
whiht spaces) to be searched while putting higher priorities to matched
words. In this way, I think both could be satisfied.

+ setting to make search strict


##########################
https://mail.google.com/mail/?shva=1#inbox/136df97d2c1787c0
drag and drop a pagename to insert a link generates invisible linefeed

The bug still exists in rev555, but only if the dragged link is on a
bullet/checkbox/numbered list line, and the (at first) invisible
linefeed is now always in front of the link. Example:

Begin a bullet list:

* This is a

Drag a page named "DraggedPageName" from index pane:

* This is a [[DraggedPageName]]

Press Ctrl+r then results in two lines:

* This is a
[[DraggedPageName]]


########################
https://mail.google.com/mail/?shva=1#inbox/135ed947d1b5b011
Deleted pages not removed from recent bar

Use "deleted" signal from notebook, filter only pages with content in
recent pages. (Empty with subpages may also be hidden)
Jaap Karssenberg jaap.karssenberg@gmail.com
	

############################
And the bonus: work on file monitoring -- have store call index to
invalidate indexing on a page or namespace. Have index signal pageview
to reload / prompt user.

Need to know more or less about open pages in the ui ...
Or hook into / combine with the "set_gui_object" code
Also may want to flush the set tree when releasing the gui object to avoid unwanted caching
Add some debug to monitor number of page objects in cache



--------------------------------------------------------------------------

############################ TO BE TESTED on windows - rev 586
https://mail.google.com/mail/?shva=1#inbox/13972415ee74236d
Gnu R fix

I'm really excited to told that it finally works on windows now! What
I have done is to edit the "gnu_r_ploteditor.py" file in "Zim Desktop
Wiki/zim/plugins/" and I change the code in line 124 from:
'png_fname': pngfile.path,
to:
'png_fname': pngfile.path.replace('\\', '/'),


########################### TO BE TESTED on windows - rev 589
https://mail.google.com/mail/?shva=1#inbox/138952fc75501a98

All images that are pasted on windows are in the bmp format making the
notebooks very large and slow quickly. Preferably, the images should
be converted from bmp  (clipboard) to png or gif on the fly. If this
is not possible, maybe a button that says "compact notebook" should be
present that will convert the notebook images to png or gif and update
the links (could be a simple script that uses ImageMagick or similar).



################################ OPEN - should never happen - glitch in parsing page ???
https://mail.google.com/mail/?shva=1#inbox/1397702fb39d00ab

Review code for this occurence



======= Traceback =======
  File "zim\gui\searchdialog.pyo", line 94, in _search
  File "zim\gui\searchdialog.pyo", line 179, in search
  File "zim\search.pyo", line 249, in search
  File "zim\search.pyo", line 348, in _process_group
  File "zim\search.pyo", line 489, in _process_content
  File "zim\notebook.pyo", line 2337, in get_parsetree
  File "zim\stores\files.pyo", line 299, in _fetch_parsetree
  File "zim\formats\wiki.pyo", line 160, in parse
  File "zim\formats\wiki.pyo", line 214, in _parse_para
  File "zim\formats\wiki.pyo", line 258, in _parse_list
  File "zim\formats\wiki.pyo", line 267, in _parse_sublist
AttributeError: 'NoneType' object has no attribute 'groups'




########################## DONE rev 584
https://mail.google.com/mail/?shva=1#inbox/139e29a58c8b7b94
Add up/down/left/right + ohm symbol to insert symbol  list
← U+2190 LEFTWARDS ARROW
↑U+2191 UPWARDS ARROW
→ U+2192 RIGHTWARDS ARROW
↓U+2193 DOWNWARDS ARROW

########################### DONE rev 585
https://mail.google.com/mail/?shva=1#inbox/139905fe55f6f089

Issue in python 2.7.3 - search for occurences


======= Traceback =======
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line
4601, in set_page
    tree = page.get_parsetree()
  File "/usr/lib/python2.7/site-packages/zim/notebook.py", line 2337, in
get_parsetree
    self._parsetree = self._fetch_parsetree()
  File "/usr/lib/python2.7/site-packages/zim/stores/files.py", line 299,
in _fetch_parsetree
    return parser.parse(lines)
  File "/usr/lib/python2.7/site-packages/zim/formats/wiki.py", line 139,
in parse
    builder.start('zim-tree')
TypeError: start() takes exactly 3 arguments (2 given)


########################## DONE rev 586
https://mail.google.com/mail/?shva=1#inbox/139443eb282547cc
typo make calendar plugin fail to load
 calendar.mark_day(date[1].day)
I suppose this should have been
calendar.mark_day(dates[1].day)
as zim -D reports an error when trying to enable the calendar plugin.


############################# DONE rev 587 - Added new syntax
https://mail.google.com/mail/?shva=1#inbox/1396f2028834a356
Accessing Creation Date property in Template causes max recursion exceeded

# [% page.title %]
[% page.body %]

[% IF page.properties %]
[% page.properties['Creation-Date'] %]
[% END %]

# [] dictionary access not supported syntax...
# shelf 15
# need to add parsing for [] with unescape_quoted_string() as param
#	enforce really dict, and enforcing no startswith "_"



################################ DONE rev 588
https://mail.google.com/mail/?shva=1#inbox/1394447e6fb31e15
Strike does not work in hierarchical bulleted list of TODO elements

* TODO 2012-08-13 Check if this behaviour is reported on Launchpad
        * Could not find anything, but maybe it is supposed to be that
way by design
        * Ask question on mailing list
        * ~~TODO~~ 2012-08-14 Send email to list
                * 2012-08-14 email sent
                * 2012-08-15 Jaap replies that this should have been fixed.
                        * May need to wait until auto-update has done its work
        * ~~TODO~~ 2012-08-15 Check again and, if necessary, update bzr version
                * The version running at report time is 0.56 bzr version 555
                        * Strike does definitively not work
                        * This test list shows up nicely as
hierarchical TODO in Task List
                        * Striking out TODO on email sent does not
remove it from Task List
                * Pulling in bzr version 576
                        * Version is still 0.56
                        * Behaviour is the same as for bzr version 555
                        * Something is not as it is supposed to be
        * ~~TODO~~ 2012-08-15 Remail the behaviour to the list
                * 2012-08-15 Jaap asked me to file a bug report
        * ~~TODO~~ 2012-08-16 File the bug report
                * 2012-08-20 Bug report filed with this page as test example


############################# NOTE
Issue with tray icon under unity seems to be gone, regardless of changes in zim
- test also on desktop ...
.... or maybe not ? Quit not always responsive

