Changeset 65

Show
Ignore:
Timestamp:
Thu Mar 16 14:20:10 2006
Author:
mbutscher
Message:

* Small changes in WikiSyntax.py
* Support for importers similar to exporters
* Support for files as destination/source of

appropriate export/import tasks (with file wildcard
patterns)
* Importer/Exporter for new multipage text format (mpt)
* Tree node context menu allows now also choice of
color and icon of a node
* Support for changing of file suffix of page files in
the config file (not part of options GUI)
* Uses now also environment variable "USERPROFILE" to
find configuration directory

Files:

Legend:

Unmodified
Added
Removed
Modified
  • branches/mbutscher/TodoList.txt

    r61 r65  
    1   +++ Original Sqlite database backend  
    2    
    3    
    4    
    5   +++ Warn about script security  
    6   > Duh - my security was set to no scripts.  It might enhance usability  
    7   > if you pop up a window explaining that the desired eval is disabled by  
    8   > the security settings.  
    9    
    10    
    11    
    12   +++ History of used date formats  
    13    
    14    
    15   +++ Option to switch off picture viewing in preview  
    16   > Also, the preview of images linked via file:// doesn't work(as far as  
    17   > I noticed), it shows up a small picture used to denote the absence of  
    18   > an image, or sumsuch. Maybe add the option to turn off picture  
    19   > showing? So you at least have a link in preview, instead of a broken  
    20   > image placeholder.  
      1 Here's the problem:  
      2 USERNAME=userid  
      3 USERPROFILE=D:\Documents and Settings\userid  
      4  
      5 On my work machine, "Documents and Settings" is on the "D" drive. There is  
      6 no such directory on my "C" drive. According to what you sent me  
      7 previously, WikidPad is looking at "USERNAME" and presuming my "Documents  
      8 and Settings" are on the "C" drive. As that doesn't exist, it's erroring  
      9 out. If the program used the variable "USERPROFILE" (when present),  
      10 WikidPad would know this.  
    21 11  
    22 12  
     
    46 37  
    47 38 +++ Internal: Reorganize handling of functional keys  
    48   Especially in the editor. The large if/else construction in OnKeyDown is very bad.  
      39 Especially in the editor. The large if/else construction in OnKeyDown is bad.  
    48 39  
    49 40  
    50   +++ Support for [global.child_sort_order: ...] property  
    51   I used this attribute in my settings folder...  
    52   > \[global.child_sort_order: unsorted]  
    53   > but it doesn't seem to work for the whole wikipad.  
    54   > Sommetimes, when a node has childrens, he gains priority and the order  
    55   > of the nodes chosen on the page differs from the one one the outline  
    56   > view.  
    57   >  
      41 is it possible to show the creation and modification date of pages  
      42 in the status bar?  
    58 43  
    59   +++ 'Natural' sort for wiki words  
      44  
    59 44 >> Technically "unsorted" means to make no effort to sort the words in any  
    60 45 >> way. For Gadfly this is incidentally the order of appearance on the wiki  
     
    68 55  
    69 56  
    70   +++ Support for [pagetype: form]  
    71   > Formtypes would be nice.  You could also have a keyword such as &&&  
    72   > > > and have that denote the first field.  Or have forms keyed off of :  
    73   > > > characters.  
    74   >  
    75   > I would prefer a keyword over the ':' recognition because this would be  
    76   > more flexible. I would also prefer to use &&i ('i' for insert) so it  
    77   > would be possible to use other letters later for other uses (e.g. choose  
    78   > one of multiple possibilities, delete some part of the text, ...).  
    79   >  
    80   >  
    81   > So the template page could look like e.g.:  
    82   >  
    83   > ----------------------------------------  
    84   > ++ Article: &&i  
    85   >  
    86   > Manufacturer: &&i  
    87   > Price: &&i  
    88   > Date of buy: &&i  
    89   > Throw it away after: &&i years.  
    90   > Remark: &&i  
    91   >  
      57  
      58 > I can introduce a new block notation starting with "<<pre" that could  
      59 > look like:  
    92 60 >  
    93   > \[pagetype: form]  
    94   > ----------------------------------------  
      61 > <<pre  
      62 > Your    preformatted  
      63 >   text  
      64 >   here  
      65 >> > >>  
    95 66 >  
    96 67 >  
    97   > When this page is created, the editor recognizes the [pagetype: form]  
    98   > and therefore automatically selects the first &&i, so it can be  
    99   > overwritten. Each tab selects the next &&i.  
      68 > In the HTML view the leading and ending <<pre and >> would vanish.  
    100 69  
    101 70  
    102   +++ Interpreting presentation properties in todos  
    103   HTML support in "Views" would be rather complicated. Instead the program  
    104   could interpret a "color", "icon" or "bold" property in a todo item  
    105   differently,  so this item is shown in the way defined by the  
    106   property(ies). Then you could write your above list as:  
    107 71  
    108   todo.Important:Clean out underneath bed [color: yellow]  
    109   todo.Important:Finish painting wall [color: green]  
    110   todo.Important:Clean off top of dresser [color: yellow]  
    111   todo.Important:Clean out dresser drawers [color: orange]  
      72 > Is there a way to turn this feature off, or am I stuck deleting the  
      73 > > repetitive numbering the entire way through this 50-item list? I'm  
      74 > > using the latest beta release, 1.6beta4,  
    112 75  
    113 76  
     
    153 118 > FamousLastWord  
    154 119 > There is no title here.  
      120 *Details*  
      121 Catch Import/ExportException and show message box  
      122 Maybe remember last settings  
    155 123  
    156 124  
    157 125  
      126 >  My proposal is that Wikipad would save the pasted image to current  
      127 > project folder(where open wiki file is from)  under " images "  
      128 > folder. If there is not one wikipad would create it. And it creates a  
      129 > relative or actual link to the image.  
      130  
      131  
      132 > Also How about a statistics page where wikipad shows number of  
      133 > > > wikiwords, number of repeats of wikiwords, number of words, longest  
      134 > > > wikiword, shortest wikiword,  number of anything user defines or  
      135 > > > anything Michael thinks worth putting in maybe.  
      136 > > >  
      137 > > > I think that this can be per page attribute or global attribute that  
      138 > > > can be shown under "views".  
      139 > > >  
      140 > > > So if one puts [showstatistic!] in a page, there would be page under  
      141 > > > "views "  called "statistics" with the name of the page or global  
      142 > > > place. In that page one can check if there are repeats of the  
      143 > > > wikiwords etc to determine possible export problems?  
      144 > > >  
      145 > > > I also think that this can be a great helper for especially for  
      146 > > > writers who need to check their number of words etc.  
      147 >  
      148 > How about a third tab "Stats" after "Edit" and "Preview"? Clicking on it  
      149 > starts the calculation of per-page statistics and shows them if ready.  
      150 >  
      151 > As child of the "Views" tree node there could be an additional page for  
      152 > page-independent wiki-wide statistics.  
      153 Yes, this would be great. Would it be possible to create it in a way  
      154 that users can add their own scripts (through some hook or something)  
      155 for custom statistics?  
      156  
      157  
      158  
      159 I know it is very weird wish but by having that format, one can import  
      160 these files into other programs without any problem to keynote or  
      161 other similar applications. For example Keynoye can create virtual  
      162 links to actual files as tree nodes. One can use both at the same time :)  
      163  
      164  
    158 165 +++ Exporting tree structure as HTML  
    159 166 >>Is there a way to export a View rather than a wiki tree?  The tree may  
     
    173 183  
    174 184  
      185 > When you double click on a link you would like the cursor to be at the  
      186 > last place it was when you left the last time.  
      187 > Then if you click "back" you would like also the cursor to be on the  
      188 > link from where you come back (the one you clicked just before), and  
      189 > then continue your check.  
      190  
      191  
      192  
    175 193 +++ Trash can for deleted nodes  
    176 194 Hi, It would be great if delete placed the deteled node under a delete node/trash can/recycle bin. This was accidental deletions can be easily recovered because undo can't undo deletions now. Thank you, -Sam  
     
    218 237  
    219 238  
    220   +++ Replace .wiki suffix by something else (e.g. .txt)  
    221   I know it is very weird wish but by having that format, one can import  
    222   these files into other programs without any problem to keynote or  
    223   other similar applications. For example Keynoye can create virtual  
    224   links to actual files as tree nodes. One can use both at the same time :)  
    225    
    226 239  
    227 240  
  • branches/mbutscher/work/WikidPad.xrc

    r61 r65  
    76 76            
    77 77            
      78            
      79            
    78 80           <content/>  
    79 81            
     
    145 147            
    146 148            
      149            
      150            
    147 151           <style>wxCB_DROPDOWN</style>  
    148 152         </object>  
     
    215 219          
    216 220          
      221          
      222          
    217 223         <option>0</option>  
    218 224          
     
    284 290          
    285 291          
      292          
      293          
    286 294         <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    287 295          
     
    353 361          
    354 362          
      363          
      364          
    355 365         <border>5</border>  
    356 366       </object>  
     
    428 438                
    429 439                
      440                
      441                
    430 442               <label>OK</label>  
    431 443                
     
    497 509                
    498 510                
      511                
      512                
    499 513               <default>1</default>  
    500 514                
     
    566 580                
    567 581                
      582                
      583                
    568 584               <style></style>  
    569 585             </object>  
     
    636 652              
    637 653              
      654              
      655              
    638 656             <flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>  
    639 657              
     
    705 723              
    706 724              
      725              
      726              
    707 727             <border>5</border>  
    708 728           </object>  
     
    777 797                
    778 798                
      799                
      800                
    779 801               <label>Cancel</label>  
    780 802             </object>  
     
    847 869              
    848 870              
      871              
      872              
    849 873             <flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>  
    850 874              
     
    916 940              
    917 941              
      942              
      943              
    918 944             <border>5</border>  
    919 945           </object>  
     
    990 1016            
    991 1017            
      1018            
      1019            
    992 1020           <label>Preview:</label>  
    993 1021         </object>  
     
    1060 1088          
    1061 1089          
      1090          
      1091          
    1062 1092         <option>0</option>  
    1063 1093          
     
    1129 1159          
    1130 1160          
      1161          
      1162          
    1131 1163         <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    1132 1164          
     
    1198 1230          
    1199 1231          
      1232          
      1233          
    1200 1234         <border>5</border>  
    1201 1235       </object>  
     
    1270 1304            
    1271 1305            
      1306            
      1307            
    1272 1308           <label></label>  
    1273 1309            
     
    1339 1375            
    1340 1376            
      1377            
      1378            
    1341 1379           <size>25</size>  
    1342 1380            
     
    1408 1446            
    1409 1447            
      1448            
      1449            
    1410 1450           <style>wxST_NO_AUTORESIZE|wxSUNKEN_BORDER</style>  
    1411 1451         </object>  
     
    1478 1518          
    1479 1519          
      1520          
      1521          
    1480 1522         <option>0</option>  
    1481 1523          
     
    1547 1589          
    1548 1590          
      1591          
      1592          
    1549 1593         <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    1550 1594          
     
    1616 1660          
    1617 1661          
      1662          
      1663          
    1618 1664         <border>5</border>  
    1619 1665       </object>  
     
    1688 1734          
    1689 1735          
      1736          
      1737          
    1690 1738         <option>1</option>  
    1691 1739          
     
    1757 1805          
    1758 1806          
      1807          
      1808          
    1759 1809         <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    1760 1810          
     
    1826 1876          
    1827 1877          
      1878          
      1879          
    1828 1880         <border>5</border>  
    1829 1881          
     
    1895 1947          
    1896 1948          
      1949          
      1950          
    1897 1951         <minsize>400,400</minsize>  
    1898 1952       </object>  
     
    1959 2013                
    1960 2014                
      2015                
      2016                
    1961 2017               <label>Application-wide</label>  
    1962 2018            
     
    2010 2066                
    2011 2067                
      2068                
      2069                
    2012 2070               <font>  
    2013 2071              
     
    2048 2106                  
    2049 2107                  
      2108                  
      2109                  
    2050 2110                 <style>default</style>  
    2051 2111              
     
    2086 2146                  
    2087 2147                  
      2148                  
      2149                  
    2088 2150                 <weight>bold</weight>  
    2089 2151              
     
    2124 2186                  
    2125 2187                  
      2188                  
      2189                  
    2126 2190                 <family>normal</family>  
    2127 2191              
     
    2162 2226                  
    2163 2227                  
      2228                  
      2229                  
    2164 2230                 <underlined>0</underlined>  
    2165 2231           </font>  
     
    2215 2281              
    2216 2282              
      2283              
      2284              
    2217 2285             <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    2218 2286          
     
    2266 2334              
    2267 2335              
      2336              
      2337              
    2268 2338             <border>5</border>  
    2269 2339       </object>  
     
    2320 2390                
    2321 2391                
      2392                
      2393                
    2322 2394               <label>    Tree</label>  
    2323 2395            
     
    2371 2443                
    2372 2444                
      2445                
      2446                
    2373 2447               <font>  
    2374 2448              
     
    2409 2483                  
    2410 2484                  
      2485                  
      2486                  
    2411 2487                 <style>default</style>  
    2412 2488              
     
    2447 2523                  
    2448 2524                  
      2525                  
      2526                  
    2449 2527                 <weight>bold</weight>  
    2450 2528              
     
    2485 2563                  
    2486 2564                  
      2565                  
      2566                  
    2487 2567                 <family>normal</family>  
    2488 2568              
     
    2523 2603                  
    2524 2604                  
      2605                  
      2606                  
    2525 2607                 <underlined>0</underlined>  
    2526 2608           </font>  
     
    2576 2658              
    2577 2659              
      2660              
      2661              
    2578 2662             <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    2579 2663          
     
    2627 2711              
    2628 2712              
      2713              
      2714              
    2629 2715             <border>5</border>  
    2630 2716       </object>  
     
    2698 2784                
    2699 2785                
      2786                
      2787                
    2700 2788               <label>&amp;Tree auto-follow</label>  
    2701 2789         </object>  
     
    2767 2855              
    2768 2856              
      2857              
      2858              
    2769 2859             <option>0</option>  
    2770 2860          
     
    2835 2925              
    2836 2926              
      2927              
      2928              
    2837 2929             <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    2838 2930          
     
    2903 2995              
    2904 2996              
      2997              
      2998              
    2905 2999             <border>5</border>  
    2906 3000       </object>  
     
    2974 3068                
    2975 3069                
      3070                
      3071                
    2976 3072               <label>Tree &amp;update after save</label>  
    2977 3073         </object>  
     
    3043 3139              
    3044 3140              
      3141              
      3142              
    3045 3143             <option>0</option>  
    3046 3144          
     
    3111 3209              
    3112 3210              
      3211              
      3212              
    3113 3213             <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    3114 3214          
     
    3179 3279              
    3180 3280              
      3281              
      3282              
    3181 3283             <border>5</border>  
    3182 3284       </object>  
     
    3250 3352                
    3251 3353                
      3354                
      3355                
    3252 3356               <label>&amp;Hide Undefined WikiWords in Tree</label>  
    3253 3357         </object>  
     
    3319 3423              
    3320 3424              
      3425              
      3426              
    3321 3427             <option>0</option>  
    3322 3428          
     
    3387 3493              
    3388 3494              
      3495              
      3496              
    3389 3497             <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    3390 3498          
     
    3455 3563              
    3456 3564              
      3565              
      3566              
    3457 3567             <border>5</border>  
    3458 3568       </object>  
     
    3526 3636                
    3527 3637                
      3638                
      3639                
    3528 3640               <label>No &amp;cycles in tree</label>  
    3529 3641         </object>  
     
    3595 3707              
    3596 3708              
      3709              
      3710              
    3597 3711             <option>0</option>  
    3598 3712          
     
    3663 3777              
    3664 3778              
      3779              
      3780              
    3665 3781             <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    3666 3782          
     
    3731 3847              
    3732 3848              
      3849              
      3850              
    3733 3851             <border>5</border>  
    3734 3852       </object>  
     
    3785 3903                
    3786 3904                
      3905                
      3906                
    3787 3907               <label>    HTML preview/export</label>  
    3788 3908            
     
    3836 3956                
    3837 3957                
      3958                
      3959                
    3838 3960               <font>  
    3839 3961              
     
    3874 3996                  
    3875 3997                  
      3998                  
      3999                  
    3876 4000                 <style>default</style>  
    3877 4001              
     
    3912 4036                  
    3913 4037                  
      4038                  
      4039                  
    3914 4040                 <weight>bold</weight>  
    3915 4041              
     
    3950 4076                  
    3951 4077                  
      4078