1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-26 15:23:15 +00:00
Commit Graph

2361 Commits

Author SHA1 Message Date
Jeremy Ruston
35c7094306 Start building the static files
There's a few parts that don't work yet
2013-10-18 15:20:33 +01:00
Jeremy Ruston
3f151ba70e Add support for macro modules
Now JavaScript macros can be defined in "macro" modules
2013-10-17 16:57:07 +01:00
Jeremy Ruston
55d479c540 Extend macrocall widget to take parameters both from the parse tree node and the attributes
This allows us to invoke macros using the ordinary widget syntax, which
in turn allows us to use features like indirection on the parameters.
2013-10-17 16:55:23 +01:00
Jeremy Ruston
6b9b75142b Fix text reference regexp to allow for tiddler titles with embedded spaces 2013-10-17 16:40:13 +01:00
Jeremy Ruston
93c2ce6521 Fix up edit widgets 2013-10-16 16:30:24 +01:00
Jeremy Ruston
a3eaffa666 Add a linkcatcher widget 2013-10-16 16:30:06 +01:00
Jeremy Ruston
adb395d10f Fix edit-text widget to work with indexed values 2013-10-16 16:29:51 +01:00
Jeremy Ruston
7f6d770ca6 The reveal widget should generate a span when in inline mode
The only reason that the reveal widget generates an element is so that
we can use `display:none/block;` (as did the pre-refactored code) as a
quick way of hiding and showing the content. We don't do that yet, and
it may be best never to do it.
2013-10-16 16:29:35 +01:00
Jeremy Ruston
06e269f3cb Fix the untagged list in the tags list 2013-10-15 21:07:35 +01:00
Jeremy Ruston
77248d08a8 Add the count widget 2013-10-15 21:07:13 +01:00
Jeremy Ruston
5b4ca67d6e Make the reveal widget hide the div element if it is not open 2013-10-15 21:06:52 +01:00
Jeremy Ruston
ebcd5177ec Fix-ups to make the new edit widgets work 2013-10-15 14:32:45 +01:00
Jeremy Ruston
78bc89cbdb Add a edit text widget
Now rather than a separate module type for different editors, we
instead have a meta-widget "edit" that chooses the appropriate concrete
widget (currently just "edit-text", but soon to be joined by
"edit-bitmap" as well)
2013-10-15 14:32:27 +01:00
Jeremy Ruston
a696c716e3 Support the remaining events on the navigator widget 2013-10-15 14:30:36 +01:00
Jeremy Ruston
933afee996 Get rid of the old setstyle widget
And fix up the colouring of tiddler icons
2013-10-15 08:36:19 +01:00
Jeremy Ruston
20cd398e88 Fix popup positioning in the reveal widget 2013-10-14 23:32:01 +01:00
Jeremy Ruston
c621339729 More fixes to the missing tiddler dropdown and the tag dropdown 2013-10-14 21:57:00 +01:00
Jeremy Ruston
707024a118 Set the colour of the tag pills
We no longer need the old setstyle widget
2013-10-14 21:38:12 +01:00
Jeremy Ruston
0e037e3c5b Make the field table in the tiddler info panel have width 100% 2013-10-14 21:05:49 +01:00
Jeremy Ruston
e3dcb8cdc1 Fix view widget to display friendly text of tiddler values 2013-10-14 21:02:03 +01:00
Jeremy Ruston
7c0cc36739 Style tweaks for tiddler info panel 2013-10-14 21:01:45 +01:00
Jeremy Ruston
468fe8b6f1 Add macrocall widget
Now the fields table works in the tiddler info popup
2013-10-14 17:48:26 +01:00
Jeremy Ruston
ebd28c8dc7 Get the tiddler info panel fields list working properly
Now we can display the fields list as a proper table.

We've had to temporarily hack the list widget again…
2013-10-14 17:35:52 +01:00
Jeremy Ruston
b4d33b9614 Fixups to the sidebar and tiddler info button 2013-10-14 16:57:16 +01:00
Jeremy Ruston
59986ca4f6 Style for selected tiddler info button 2013-10-14 16:56:42 +01:00
Jeremy Ruston
94c2eacdc9 Support selectedClass properly in the button widget 2013-10-14 16:56:13 +01:00
Jeremy Ruston
fe6c1ae2dd A new template for menu list items 2013-10-14 16:55:29 +01:00
Jeremy Ruston
0c73c56b70 Fixes to button refreshing 2013-10-14 13:52:03 +01:00
Jeremy Ruston
b0f4d72dac Correct name for the state tiddler that makes sure the open sidebar tab is open by default 2013-10-14 13:51:54 +01:00
Jeremy Ruston
44e622ce28 Proper styling for the tiddler info panel 2013-10-14 13:11:58 +01:00
Jeremy Ruston
1669c6eab5 Make recursion markers include the current tiddler
Otherwise the generated qualifying state title is not unique. In other
words, clicking the "i" button on a tiddler was opening the info panels
for all open tiddlers.
2013-10-14 13:06:07 +01:00
Jeremy Ruston
ea0b298b78 Deal with viewing date fields that don't exist 2013-10-14 12:59:39 +01:00
Jeremy Ruston
cc4940f41f Use the setvariable widget instead of macrodef
setvariable is more general
2013-10-13 23:40:11 +01:00
Jeremy Ruston
942e463b20 Fixes to get recent changes list to work 2013-10-13 22:59:14 +01:00
Jeremy Ruston
ce4a6ffa49 More useful class variables for tiddler status 2013-10-13 22:46:45 +01:00
Jeremy Ruston
ccd5eeebfd Add a class for missing tiddlers 2013-10-13 22:39:18 +01:00
Jeremy Ruston
9278c43a91 Add support for macro definitions 2013-10-13 22:39:05 +01:00
Jeremy Ruston
79dcc9a557 Refactor macro parameter substitution
Now macros can also include references to variables as `$(variable)$`
2013-10-13 22:38:46 +01:00
Jeremy Ruston
987890c085 Add button widget 2013-10-13 21:31:00 +01:00
Jeremy Ruston
b0503cf709 Fixes to make SVG and MathML elements work properly 2013-10-13 20:14:31 +01:00
Jeremy Ruston
ed35d91be6 Initial Commit
Carried over from the abortive pull request #169
2013-10-12 17:05:13 +01:00
Jeremy Ruston
6ea264f3bc Merge branch 'fs_watch' of https://github.com/natecain/TiddlyWiki5 into natecain-fs_watch 2013-10-12 16:41:33 +01:00
Jeremy Ruston
5ef4123b3d Revert "Merge pull request #160 from natecain/commonjs"
This reverts commit 661621c3f7, reversing
changes made to d3d72eff1b.
2013-10-12 16:29:20 +01:00
Jeremy Ruston
661621c3f7 Merge pull request #160 from natecain/commonjs
CommonJS Modules/1.1 Conformance
2013-10-12 07:42:26 -07:00
natecain
2c02b6d6bc Remove watcher while saving, and use AddTiddler instead of modifying tiddlers directly 2013-10-11 18:43:51 -04:00
natecain
4849bd43c8 More graceful handling of tiddler delete in filesystemadaptor watch code 2013-10-11 17:54:47 -04:00
natecain
ee236060c7 Rudimentary fs.watch usage in filesystemadaptor
Will only watch for changes on wiki files loaded during startup or created by runtime
    (Does not yet track renames/deletes)
    (Will not notice new files)
  May become confused by directory structure changes on some platforms
    (see node docs on fs.watch for caveats!)
2013-10-11 17:10:10 -04:00
natecain
b8c37a26ef Additional improvement to CommonJS Modules support
Now implements (and mostly follows) requirements of Modules/1.1 spec
  implementes only the required "secure sandbox" subset of the spec
  `module` free variable changed from the `moduleInfo` to an id container
  `require` free variable given a "main" property
  boot module scope closed and exported
    this also changes the interface between boot and bootprefix slightly
    (should now be able to create multiple TW instances under node)
 BREAKING CHANGES:
  The tiddlywiki module itself now exports a single constructor function
  Modules which depended on `module` referring to `moduleInfo` will break
  Modules which don't conform to Modules/1.1 will break
    (by attempting to modify require.main or module.id)
2013-10-11 11:32:58 -04:00
Jeremy Ruston
d3d72eff1b Search over tags as well as the title and text fields 2013-10-11 08:46:09 +01:00
Jeremy Ruston
27f724d0ed Docs updates 2013-10-09 22:57:20 +01:00