1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-06 04:03:16 +00:00
Commit Graph

1460 Commits

Author SHA1 Message Date
Jeremy Ruston
c0e36f1129 Removed extraneous code
This was left over from before the refactoring
2012-12-15 11:38:47 +00:00
Jeremy Ruston
228ee92e95 Enhanced wiki text parser to selectively eat terminator regexp matches 2012-12-15 11:38:28 +00:00
Jeremy Ruston
7593cf1075 Cleaning up the widget refresh mechanism 2012-12-14 19:31:37 +00:00
Jeremy Ruston
966684cb13 Improved event handling for widgets 2012-12-14 17:57:53 +00:00
Jeremy Ruston
5c1caa672b Moved render() and renderInDom() into widget base class 2012-12-14 17:51:14 +00:00
Jeremy Ruston
94d1c20846 Introduced widget base class
And renamed the wiki rule base class
2012-12-14 17:38:46 +00:00
Jeremy Ruston
2522529aac Repaired accidental damage during debugging 2012-12-14 17:38:13 +00:00
Jeremy Ruston
3e06bca347 Refactor widget implementation 2012-12-14 16:01:37 +00:00
Jeremy Ruston
0055947913 Docs update for wiki parser rules 2012-12-14 16:01:07 +00:00
Jeremy Ruston
ac4b3ecef9 Further refactoring of createSubclassesFromModules 2012-12-14 15:51:23 +00:00
Jeremy Ruston
2bef7c2c5c Further improvements to parser rule implementation 2012-12-14 15:44:19 +00:00
Jeremy Ruston
31b283ef36 Refactoring implementation of wiki parse rules
And some documentation.
2012-12-14 13:31:47 +00:00
Jeremy Ruston
28f96de225 Added extend() utility function 2012-12-14 13:30:10 +00:00
Jeremy Ruston
d338a54370 Introduce refactored wiki parser and renderer
This is a half-way through a big refactoring of the parsing and
rendering infrastructure. The main change is to separate the parse and
render trees, which makes the code a lot cleaner. The new parser isn't
yet functional enough to replace the existing parser so for the moment
you have to manually invoke it with `$tw.testNewParser()` in your
browser console. I really ought to use branches for this kind of
thing...
2012-12-13 21:34:31 +00:00
Jeremy Ruston
916ca8eecf More utilities 2012-12-13 21:31:57 +00:00
Jeremy Ruston
ce273a22f1 More DOM utilities 2012-12-13 21:31:41 +00:00
Jeremy Ruston
7c712c4e03 Improve $tw.each() and $tw.modules.applyMethods() 2012-12-13 21:31:19 +00:00
Jeremy Ruston
d0ebb159df Minor docs updates 2012-12-13 21:30:50 +00:00
Jeremy Ruston
a4930b7e68 Added checkbox macro 2012-11-30 09:22:17 +00:00
Jeremy Ruston
25a8500f05 Fix CecilyTemplate
Removed obsolete filtered transclusion syntax
2012-11-29 21:44:02 +00:00
Jeremy Ruston
e65cb93fa2 Batch file cleanups 2012-11-29 21:30:53 +00:00
Jeremy Ruston
91e1a38db1 Switched to use double curly braces for transclusion
For compatbility with MediaWiki and other engines
2012-11-29 18:34:27 +00:00
Jeremy Ruston
6d09b2fb9c Improve syntax for classed runs 2012-11-29 17:23:46 +00:00
Jeremy Ruston
97f6314dbb Update the tiddler and list macros to allow the template to be specified in the body of the macro 2012-11-29 16:40:06 +00:00
Jeremy Ruston
5fd3000838 Allowed zooming in to any element with the data-tw-zoom attribute 2012-11-27 22:27:53 +00:00
Jeremy Ruston
a3c6cfdd78 Fixed width for cecily view 2012-11-27 22:27:36 +00:00
Jeremy Ruston
598c069dd6 Fixed typo 2012-11-27 22:26:35 +00:00
Jeremy Ruston
99275b5425 Improvements to zoomable pan and zoom 2012-11-27 18:30:21 +00:00
Jeremy Ruston
e4fb532ecd Introduce zoomable macro
Used with Cecily to give us pan and zoom across the Cecily canvas.
2012-11-27 16:55:17 +00:00
Jeremy Ruston
e2dba02b65 Add Cecily subview for experimental purposes 2012-11-26 16:24:52 +00:00
Jeremy Ruston
3161e8d8ce Fix problem with CecilyView that is initialised with an empty message 2012-11-26 16:24:31 +00:00
Jeremy Ruston
97c7c458f6 Added new sideways subview for experimental purposes 2012-11-26 16:09:05 +00:00
Jeremy Ruston
0154b2a54e Revised implementation of scrolling behaviour
Now we use a "tw-scroll" event to request scrolling
2012-11-26 16:08:52 +00:00
Jeremy Ruston
515e0d9bf1 Fixed bug with table parser 2012-11-26 14:19:54 +00:00
Jeremy Ruston
739b641f39 Temporary hack to the list macro
Working around our imperfect inline vs. block detection.
2012-11-26 14:19:15 +00:00
Jeremy Ruston
580bd6438e Fixed issues with blank tiddler text
The empty string is falsy in JavaScript, to keep us on our toes.
2012-11-23 13:08:10 +00:00
Jeremy Ruston
db1836cc57 Update docs 2012-11-20 16:32:12 +00:00
Jeremy Ruston
48a105fd62 Remove explicit host and recipe from connection
So that they will be inferred from the page environment
2012-11-20 16:32:06 +00:00
Jeremy Ruston
c846784ab8 Update tiddler name for app 2012-11-20 16:31:39 +00:00
Jeremy Ruston
3087c2001c If host and recipe are missing from connection then infer them from the page environment 2012-11-20 16:31:25 +00:00
Jeremy Ruston
7df29453e0 Docs update 2012-11-19 22:26:13 +00:00
Jeremy Ruston
147fde31b2 More TiddlyWeb sync tweaks 2012-11-19 22:14:25 +00:00
Jeremy Ruston
49ca83e17d Fix content type for TiddlyWeb 2012-11-19 17:35:12 +00:00
Jeremy Ruston
3d38d4add3 Use text/x-tiddlywiki for old format TiddlyWiki text for compatibility 2012-11-19 16:58:16 +00:00
Jeremy Ruston
d663368b9c Logging and fixes for TiddlyWeb sync 2012-11-19 16:55:57 +00:00
Jeremy Ruston
17e67a5bf9 Add a simple log wrapper
We'll make it more sophisticated at some point
2012-11-19 16:55:10 +00:00
Jeremy Ruston
e2d6c16f50 Minor refactorings and reorderings 2012-11-19 14:18:21 +00:00
Jeremy Ruston
b8fcc9f0c0 Fixed problem with polling 2012-11-19 13:59:32 +00:00
Jeremy Ruston
6463f972e0 Added polling for changes from the server 2012-11-19 13:54:25 +00:00
Jeremy Ruston
d42e5e1319 Got the basic two way sync working
Quite pleased with how relatively simple the logic becomes once one
thinks in terms of queues of tasks
2012-11-19 12:56:54 +00:00