Changeset 66

Show
Ignore:
Timestamp:
Wed Mar 22 13:11:11 2006
Author:
mbutscher
Message:

* Options to switch off automatic bullet/numbering

creation and auto-indent
* Smarter auto-bullet: if non-standard bullet used in
the WikiSyntax.py regex, auto-bullet creates the
bullet really used, not the default asterisk.
* Display of modification and creation date of page in
status line (customizable date format)
* Introduced <<pre >> block to create preformatted,
monospaced text
* Internal: Errors during import/export are displayed
as message dialogs
* Internal: Creation of icons and colors submenus moved
to new module PropertyGui?.py
* Internal: Creation of combined regexes in
WikiFormatting.py depends now on wiki settings
(currently only for "Footnotes as wiki words").
Pro: Features can be completely disabled, avoids
bugs. Con: Less effective regex caching
* Internal: Some status bar messages removed
* Context menu items in tree control to append or
prepend a wiki word.

Files:

Legend:

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

    r65 r66  
    1   ++ Take USERPROFILE into account  
    2   Here's the problem:  
    3   USERNAME=userid  
    4   USERPROFILE=D:\Documents and Settings\userid  
    5    
    6   On my work machine, "Documents and Settings" is on the "D" drive. There is  
    7   no such directory on my "C" drive. According to what you sent me  
    8   previously, WikidPad is looking at "USERNAME" and presuming my "Documents  
    9   and Settings" are on the "C" drive. As that doesn't exist, it's erroring  
    10   out. If the program used the variable "USERPROFILE" (when present),  
    11   WikidPad would know this.  
    12    
      1 > I tryed to customize the RE syntax for Bullets in the WikiSyntax.py  
      2 > file to include "-" as a Bullet.  But it worked only for the first  
      3 > bullet.  When I started a bullet list with a "-" it automatically  
      4 > brings the next line correcly indented but with a "\*" instead of the  
      5 > "-".  I think that modifying the WikiSyntax.py file is not enough to  
      6 > do the trick.  
    13 7  
    14 8  
     
    24 19  
    25 20 +++ Bug rmdir  
    26   Should delete non-empty directory when creating new wiki  
      21 Should delete non-empty directory when creating new wiki.  
    26 21 os.rmdir(wikiDir)  
    27 22  
     
    53 48 >> I can add an additional sort order "natural" which would do what you  
    54 49 > want.  
    55    
      50 *Details*:  
      51 Better natural sort in page list in page construction dialog  
    56 52  
    57 53  
     
    119 115 > There is no title here.  
    120 116 *Details*  
    121   Catch Import/ExportException and show message box  
    122 117 Maybe remember last settings  
    123 118  
     
    153 148 > As child of the "Views" tree node there could be an additional page for  
    154 149 > page-independent wiki-wide statistics.  
      150  
    155 151 Yes, this would be great. Would it be possible to create it in a way  
    156 152 that users can add their own scripts (through some hook or something)  
     
    183 179  
    184 180  
      181 > . either zero or one pages may claim a wikiword as its child. The  
      182 > > > referrer page becomes the child's SingleParent. This happens by  
      183 > > > appending an ! to a wikiword in the referrer page (MyChild!). It  
      184 > > > generates \[SingleParent:Wikiword] in the new child page if and when it  
      185 > > > is created, or adds it to the child page if the page already exists  
      186 > > > and does not already have a SingleParent. This parent page will be the  
      187 > > > SingleParent even if actual creation of the child page is delayed, and  
      188 > > > even if creation comes from clicking on the wikiword in another page  
      189 > > > that refers to the new wikiword as an uncle. Unless, of course, the !  
      190 > > > is removed before the actual page creation.  
      191  
      192 > . deleting a ! reference to the child wikiword, either through  
      193 > > > erasure of the reference or deletion of the parent page, raises a  
      194 > > > dialog box that asks user to choose a new SingleParent, or let the  
      195 > > > child be SingleParentless, or cancel the change. I guess this should  
      196 > > > also happen if the user tampers with the generated  
      197 > > > "\[SingleParent:Wikiword]".  
      198  
      199 > Visual appearance: in the tree, the child gets a ! where it appears  
      200 > > > under the father, and it is italicized under any uncles. In the uncle  
      201 > > > pages the wikiword is italicized. This is necessary to differentiate  
      202 > > > from pages that have no SingleParent. The View Parents dialog  
      203 > > > similarly !s the father and italicizes the uncles.  
      204  
      205  
      206  
      207 > maybe you can introduce one more special att like "anchor:" or  
      208 > something like that where we want to keep record of certain line in a  
      209 > text? So whenever we click on that att it takes us to certain line of  
      210 > the text?  
      211  
      212  
    185 213 +++ Remembered cursor position at clicked link  
    186 214 > When you double click on a link you would like the cursor to be at the  
     
    192 222  
    193 223  
      224  
      225  
    194 226 +++ Trash can for deleted nodes  
    195 227 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  
    196 228  
    197 229  
      230 >>> When you check the parents of any wikiword, the parents linking to  
      231 >>> that wikiword's aliases do not appear. Is there anyway to change this?  
      232 >>> any direction would be appreciated - even a link to available python  
      233 >>> scripts/extensions - or advice on how to get started creating such a  
      234 >>> thing.  
      235  
      236  
      237 Esp. horizontal split (tree over editor)  
      238  
      239  
      240  
      241  
      242  
      243 Use pseudo-protocol rel: and are relative to Wiki directory  
      244 I really like this idea, maybe it can be "standardized" to other protocols,  
      245 e.g.:  
      246  
      247 [http://www.host.com/file.zip|file] <-absolute  
      248 [rel://file.zip|file]  <-relative  
      249 [rel://../file.zip|file]  <-relative  
      250 [rel://dir/file.zip|file]  <-relative  
      251  
      252 relative to what? I think it shoult be relative to the wiki directory, when  
      253 working in wikidpad, and to the export directory, when exporting. However it  
      254 is the user that has to guarantee that the relative path mapping between  
      255 wiki and export is preserved, either by exporting into the wiki directory or  
      256 by copying the linked files.  
      257  
      258 The above links will be then translated to html, or xml, in a simple way:  
      259 <a href="http://www.host.com/file.zip">file</a>  
      260 <a href="file.zip">file</a>  
      261 <a href="../file.zip">file</a>  
      262 <a href="dir/file.zip">file</a>  
      263  
      264 <link type="href">http://www.host.com/file.zip|file</link>  
      265 <link type="href">file.zip|file</link>  
      266 <link type="href">../file.zip|file</link>  
      267 <link type="href">dir/file.zip|file</link>  
      268  
      269  
      270  
      271 you can include loads of wxpython code to display a dialog box that reads text. but wouldnt it be nicer and easier to use a function like dialog("Please enter a name") or something along this. This might increase the usefulness of the inline python eval hugely as it is difficult to get variable data into the scripts  
      272  
      273  
    198 274 +++ No more delayed respect of camelCaseWordsEnabled attribute  
    199 275 > (2) If I insert \[camelCaseWordsEnabled=false] in a page, in which  
     
    236 317  
    237 318  
      319 >> I currently like how things are setup in the treeview. But sometimes i  
      320 >> think that it would be nice to have "views" on top of other items. At  
      321 >> least there can be an option for it?  
      322 >  
      323 > Hmm, sometimes I even forget the views stuff exists, because my tree's  
      324 > quite big, so some way of making views more accessible would be  
      325 > better. Would putting it above the main tree be the best way of doing  
      326 > this? My Views tree is also quite big, so wouldn't this introduce the  
      327 > same problem, but in reverse?  
      328 >  
      329 > Personally I was thinking about breaking the tree view into two  
      330 > windows, one above the other, with the WikiWord tree in the top one,  
      331 > the views in the bottom one. Again, I'm not sure if this is the best  
      332 > solution, but it would certainly be better for me at least.  
    238 333  
    239 334  
     
    298 394  
    299 395  
      396 > Then a bug report: if a wikiword (e.g.: AaA) is the child of a parent-less  
      397 > wikiword (e.g.:BbB), AaA doesn't show up in the tree view. I expected to see  
      398 > AaA as the child of BbB, with BbB showed under the parent-less-nodes node.  
      399  
      400  
    300 401 +++ Outline features (drag and drop bullets)  
    301 402 > Supporting todo entries in bulleted lists was already requested some  
  • branches/mbutscher/work/WikidPad.xrc

    r65 r66  
    78 78            
    79 79            
      80            
      81            
    80 82           <content/>  
    81 83            
     
    149 151            
    150 152            
      153            
      154            
    151 155           <style>wxCB_DROPDOWN</style>  
    152 156         </object>  
     
    221 225          
    222 226          
      227          
      228          
    223 229         <option>0</option>  
    224 230          
     
    292 298          
    293 299          
      300          
      301          
    294 302         <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    295 303          
     
    363 371          
    364 372          
      373          
      374          
    365 375         <border>5</border>  
    366 376       </object>  
     
    440 450                
    441 451                
      452                
      453                
    442 454               <label>OK</label>  
    443 455                
     
    511 523                
    512 524                
      525                
      526                
    513 527               <default>1</default>  
    514 528                
     
    582 596                
    583 597                
      598                
      599                
    584 600               <style></style>  
    585 601             </object>  
     
    654 670              
    655 671              
      672              
      673              
    656 674             <flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>  
    657 675              
     
    725 743              
    726 744              
      745              
      746              
    727 747             <border>5</border>  
    728 748           </object>  
     
    799 819                
    800 820                
      821                
      822                
    801 823               <label>Cancel</label>  
    802 824             </object>  
     
    871 893              
    872 894              
      895              
      896              
    873 897             <flag>wxALL|wxALIGN_CENTRE_VERTICAL</flag>  
    874 898              
     
    942 966              
    943 967              
      968              
      969              
    944 970             <border>5</border>  
    945 971           </object>  
     
    1018 1044            
    1019 1045            
      1046            
      1047            
    1020 1048           <label>Preview:</label>  
    1021 1049         </object>  
     
    1090 1118          
    1091 1119          
      1120          
      1121          
    1092 1122         <option>0</option>  
    1093 1123          
     
    1161 1191          
    1162 1192          
      1193          
      1194          
    1163 1195         <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    1164 1196          
     
    1232 1264          
    1233 1265          
      1266          
      1267          
    1234 1268         <border>5</border>  
    1235 1269       </object>  
     
    1306 1340            
    1307 1341            
      1342            
      1343            
    1308 1344           <label></label>  
    1309 1345            
     
    1377 1413            
    1378 1414            
      1415            
      1416            
    1379 1417           <size>25</size>  
    1380 1418            
     
    1448 1486            
    1449 1487            
      1488            
      1489            
    1450 1490           <style>wxST_NO_AUTORESIZE|wxSUNKEN_BORDER</style>  
    1451 1491         </object>  
     
    1520 1560          
    1521 1561          
      1562          
      1563          
    1522 1564         <option>0</option>  
    1523 1565          
     
    1591 1633          
    1592 1634          
      1635          
      1636          
    1593 1637         <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    1594 1638          
     
    1662 1706          
    1663 1707          
      1708          
      1709          
    1664 1710         <border>5</border>  
    1665 1711       </object>  
     
    1736 1782          
    1737 1783          
      1784          
      1785          
    1738 1786         <option>1</option>  
    1739 1787          
     
    1807 1855          
    1808 1856          
      1857          
      1858          
    1809 1859         <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    1810 1860          
     
    1878 1928          
    1879 1929          
      1930          
      1931          
    1880 1932         <border>5</border>  
    1881 1933          
     
    1949 2001          
    1950 2002          
      2003          
      2004          
    1951 2005         <minsize>400,400</minsize>  
    1952 2006       </object>  
     
    2015 2069                
    2016 2070                
      2071                
      2072                
    2017 2073               <label>Application-wide</label>  
    2018 2074            
     
    2068 2124                
    2069 2125                
      2126                
      2127                
    2070 2128               <font>  
    2071 2129              
     
    2108 2166                  
    2109 2167                  
      2168                  
      2169                  
    2110 2170                 <style>default</style>  
    2111 2171              
     
    2148 2208                  
    2149 2209                  
      2210                  
      2211                  
    2150 2212                 <weight>bold</weight>  
    2151 2213              
     
    2188 2250                  
    2189 2251                  
      2252                  
      2253                  
    2190 2254                 <family>normal</family>  
    2191 2255              
     
    2228 2292                  
    2229 2293                  
      2294                  
      2295                  
    2230 2296                 <underlined>0</underlined>  
    2231 2297           </font>  
     
    2283 2349              
    2284 2350              
      2351              
      2352              
    2285 2353             <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    2286 2354          
     
    2336 2404              
    2337 2405              
      2406              
      2407              
    2338 2408             <border>5</border>  
    2339 2409       </object>  
     
    2392 2462                
    2393 2463                
      2464                
      2465                
    2394 2466               <label>    Tree</label>  
    2395 2467            
     
    2445 2517                
    2446 2518                
      2519                
      2520                
    2447 2521               <font>  
    2448 2522              
     
    2485 2559                  
    2486 2560                  
      2561                  
      2562                  
    2487 2563                 <style>default</style>  
    2488 2564              
     
    2525 2601                  
    2526 2602                  
      2603                  
      2604                  
    2527 2605                 <weight>bold</weight>  
    2528 2606              
     
    2565 2643                  
    2566 2644                  
      2645                  
      2646                  
    2567 2647                 <family>normal</family>  
    2568 2648              
     
    2605 2685                  
    2606 2686                  
      2687                  
      2688                  
    2607 2689                 <underlined>0</underlined>  
    2608 2690           </font>  
     
    2660 2742              
    2661 2743              
      2744              
      2745              
    2662 2746             <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    2663 2747          
     
    2713 2797              
    2714 2798              
      2799              
      2800              
    2715 2801             <border>5</border>  
    2716 2802       </object>  
     
    2786 2872                
    2787 2873                
      2874                
      2875                
    2788 2876               <label>&amp;Tree auto-follow</label>  
    2789 2877         </object>  
     
    2857 2945              
    2858 2946              
      2947              
      2948              
    2859 2949             <option>0</option>  
    2860 2950          
     
    2927 3017              
    2928 3018              
      3019              
      3020              
    2929 3021             <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    2930 3022          
     
    2997 3089              
    2998 3090              
      3091              
      3092              
    2999 3093             <border>5</border>  
    3000 3094       </object>  
     
    3070 3164                
    3071 3165                
      3166                
      3167                
    3072 3168               <label>Tree &amp;update after save</label>  
    3073 3169         </object>  
     
    3141 3237              
    3142 3238              
      3239              
      3240              
    3143 3241             <option>0</option>  
    3144 3242          
     
    3211 3309              
    3212 3310              
      3311              
      3312              
    3213 3313             <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    3214 3314          
     
    3281 3381              
    3282 3382              
      3383              
      3384              
    3283 3385             <border>5</border>  
    3284 3386       </object>  
     
    3354 3456                
    3355 3457                
      3458                
      3459                
    3356 3460               <label>&amp;Hide Undefined WikiWords in Tree</label>  
    3357 3461         </object>  
     
    3425 3529              
    3426 3530              
      3531              
      3532              
    3427 3533             <option>0</option>  
    3428 3534          
     
    3495 3601              
    3496 3602              
      3603              
      3604              
    3497 3605             <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    3498 3606          
     
    3565 3673              
    3566 3674              
      3675              
      3676              
    3567 3677             <border>5</border>  
    3568 3678       </object>  
     
    3638 3748                
    3639 3749                
      3750                
      3751                
    3640 3752               <label>No &amp;cycles in tree</label>  
    3641 3753         </object>  
     
    3709 3821              
    3710 3822              
      3823              
      3824              
    3711 3825             <option>0</option>  
    3712 3826          
     
    3779 3893              
    3780 3894              
      3895              
      3896              
    3781 3897             <flag>wxALL|wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>  
    3782 3898          
     
    3849 3965              
    3850 3966              
      3967              
      3968              
    3851 3969             <border>5</border>  
    3852 3970       </object>  
     
    3905 4023                
    3906 4024                
      4025                
      4026                
    3907 4027               <label>    HTML preview/export</label>  
    3908 4028            
     
    3958 4078                
    3959 4079                
      4080                
      4081                
    3960 4082               <font>  
    3961 4083              
     
    3998 4120                  
    3999 4121                  
      4122                  
      4123                  
    4000 4124                 <style>default</style>  
    4001 4125              
     
    4038 4162                  
    4039 4163                  
      4164                  
      4165                  
    4040 4166                 <weight>bold</weight>  
    4041 4167              
     
    4078 4204                  
    4079 4205                  
      4206                  
      4207                  
    4080 4208                 <family>normal</family>  
    4081 4209              
     
    4118 4246                  
    4119 4247                  
      4248                  
      4249                  
    4120 4250                 <underlined>0</underlined>  
    4121 4251           </font>