1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-18 07:44:51 +00:00
Commit Graph

42 Commits

Author SHA1 Message Date
Jermolene
7dc7559b90 Adjust references to five.tiddlywiki.com 2013-12-15 16:53:10 +00:00
Jermolene
6a8feb216a Add parser rule for hard linebreaks 2013-12-14 17:05:57 +00:00
Jermolene
2ffcbb76eb Remove modifier and creator fields from tiddlers in tw5.com
Keeps things tidier
2013-12-11 07:57:12 +00:00
Jermolene
3e1899ee17 Forgot to add the vanilla theme to existing editions 2013-11-28 16:42:38 +00:00
Jermolene
f380d4b27d Change macro attributes to not wikify their content
One consequence of wikifying macro attributes before use was that we
couldn’t have tiddler titles with wikitext syntax in, which was
definitely a problem.
2013-11-22 20:02:44 +00:00
Jermolene
3b35d7dfe4 Fixed problem with greedy regexp for macrocalls
It was preventing this from working:

```
<<macro>><<bacrp>><<sdf>><<qweqwe>>
```
2013-11-17 21:53:12 +00:00
Jermolene
939ad11eae Rename the 'setvariable' widget to 'set'
Sleeker.
2013-11-15 18:31:39 +00:00
Jermolene
874bd7b2b8 Tweaks tests
This was the only place we were using the `variables` option to the
widget constructor.
2013-11-13 21:26:13 +00:00
Jeremy Ruston
cc0011abd3 Get rid of the "new_" prefix we had on some methods
There's still the "old_" prefix to get rid of too.
2013-11-08 08:51:14 +00:00
Jeremy Ruston
b7cb1d3391 Change new_widget to widget
I was avoiding doing this until after the merge.
2013-11-08 08:47:00 +00:00
Jeremy Ruston
0b1f0a5fab Refactor the list widget to get rid of some hacks
As promised.
2013-11-02 10:12:55 +00:00
Jeremy Ruston
2bc06fd255 Removed feral console.log 2013-11-01 16:03:37 +00:00
Jeremy Ruston
88dd798f2b Test for transcluding tiddler title containing spaces 2013-10-31 12:37:47 +00:00
Jeremy Ruston
9e3618bdcf Rename the 'title' attributes of various widgets to 'tiddler'
The change is to avoid confusion with the HTML 'title' attribute. The
name 'tiddler' better emphasises the purpose of the attribute, too.
2013-10-30 13:36:44 +00:00
Jeremy Ruston
b4da65d1c9 Update fakedom to no longer add a newline after opening tags
The newline was being rendered within `<code>` elements.
2013-10-29 14:52:12 +00:00
Jeremy Ruston
bf48e6f8a1 Rename tiddlerTitle variable to currentTiddler 2013-10-28 23:40:45 +00:00
Jeremy Ruston
20f03de712 The big purge of the old widget mechanism
Getting rid of the old widget mechanism files finally gives us a payoff
for all the refactoring. Still a bit of tidying up to do, and we need
to re-introduce the animation mechanisms.
2013-10-27 22:55:36 +00:00
Jeremy Ruston
e2b8249a1b Fix problem with findNextSibling() 2013-10-21 22:27:12 +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
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
David Johnston
154d5f316b Added test for !limit (not limit)
Added test for !limit (not limit) to ensure bug change works
2013-10-01 11:27:26 +01:00
David Johnston
904a079432 Variable name corrected. 2013-09-22 21:17:46 +01:00
David Johnston
8127662f77 Tests added for the Next and Previous Filters. 2013-09-22 10:02:40 +01:00
Jeremy Ruston
f0d459c5c5 Fix expected test results for eachday filter operator
The tiddler "a fourth tiddler" doesn't have a modified date, and so
shouldn't appear
2013-09-21 10:07:49 +01:00
Jeremy Ruston
4fb6836481 Add an untagged filter operator and sidebar tab 2013-09-14 16:28:46 +01:00
Jeremy Ruston
a9a2ae2223 Add sorting by tiddler lists
The tag and tagging filters now sort their results by the list field of
the tag, if present
2013-08-08 17:39:34 +01:00
Jeremy Ruston
83ea953a1d Switch the story list over to using the new list field 2013-08-07 17:54:27 +01:00
Jeremy Ruston
87fa4db89b Update tests for the new list field
First step is to add a tiddler with a list field
2013-08-07 16:06:46 +01:00
Jeremy Ruston
ce488e8a3b Separate the wikitext parser tests into their own file 2013-07-03 16:01:01 +01:00
Jeremy Ruston
d93e6b1229 Always default to a href='#title' format for tiddler links
The link format will be overridden when we're creating links within
static HTML representations
2013-06-27 09:03:59 +01:00
Jeremy Ruston
12b471b8fb Extend the HTML rendering mechanism to support attributes specified as macro invocations 2013-06-18 15:37:19 +01:00
Jeremy Ruston
18f8b7266e Refactor the HTML element parser
The purpose is to allow attributes to be specified as macro
invocations. For example `<div myattr=<<mymacro param1 param3>>>`. The
parser needed sprucing up in order to copy with the nesting of angle
brackets. The refactoring has been done with an eye on using the same
technique in the filter expression parser (which is pretty messy at the
moment -- it throws exceptions for syntax errors, which is bad). Later
I'm hoping to extend the technique to create a more flexible table
parser.
2013-06-15 15:12:05 +01:00
Jeremy Ruston
3fb1c2a2e4 Some tests for the HTML tag parser
Getting ready for some improvements
2013-06-10 21:07:42 +01:00
Jeremy Ruston
bf4216f3ac Don't count references to shadow tiddlers as missing tiddlers 2013-05-31 17:53:11 +01:00
Jeremy Ruston
5d43040663 Tests for the new filter operators 2013-05-27 17:59:47 +01:00
Jeremy Ruston
0cf5dc699e Refactor the filter mechanism
Long overdue rewrite to make it simpler, and break the filter operators
out into individual modules.
2013-05-25 17:26:22 +01:00
Jeremy Ruston
31a378b64c Start support for themes
To start with, we move the current stylesheets into a theme plugin
called "Snow White". Wikis have to specify at least one theme in their
`tiddlywiki.info` file. Next we'll add a mechanism for switching
between loaded themes
2013-04-28 09:42:48 +01:00
Jeremy Ruston
18d34eec3b Give the test wiki a title 2013-04-26 10:53:45 +01:00
Jeremy Ruston
44a7810619 Improve test spec descriptions 2013-04-26 10:53:31 +01:00
Jeremy Ruston
5f25bcb846 Starting proper tests 2013-04-25 17:40:30 +01:00
Jeremy Ruston
94c7a4fc39 Add a test edition and associated script 2013-04-25 09:06:41 +01:00