-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: empty macro definitions don't parse as expected #3460
Comments
The problem in Bug in Macro definitions #3459 is most likely the same but while still "legally constituted".
The above looks fine, but the fact that two is empty will cause unexpected results.
Will also Cause unexpected results
Will not cause problems |
Procedures have the same problem.
|
Perhaps they could return the macro, function, procedure name + "empty" or something similar that will test true in a filter, be visible in dump variables or the console log? Keep in mind no one depends on a different behaviour because currently it breaks code and causes indeterminant results. |
I think this would be a fairly simple fix if anyone wants to pick it up; the logic for matching the body of the definition should allow for a blank body. |
* Added some passing macro definition parsing tests * Added two failing tests to illustrate bug #3460 * Allow \end to end an whitespace only/empty macro definition. Fixes #3460 * Added some passing procedure definition tests * Added two failing procedure tests to illustrate bug #3460 * Allow \end to end a whitespace only/empty procedure/function/widget definition. Fixes #3640 * Fixed wording of comment
* 20230803 - minor edits * Update String Operators.tid as per @pmario's suggestion about long content lists * Update TiddlyFox.tid As per @pmario's suggestion re:depreciation. * Delete tag-pill_Macro.tid Mistaken inclusion of unedited file. * Update Saving with TiddlyFox on Android.tid As per @pmario's suggestion re:depreciation * Delete tag-picker Macro (Examples).tid See #7548 for better implementation. * Delete ButtonWidget.tid Recinded. * Update Saving with TiddlyFox.tid * Added UnaMesa tid * Update Contributor License Agreement.tid Adjusted to point to new UnaMesa tid * Update History of TiddlyWiki.tid Adjusted to point to UnaMesa tid. * Mistaken deletion You'd think PRs would only include edited files, and deleting a file would remove it from the PR, but turns out it's the whole repo instead. Oops. * Moved tid to correct directory * Temporary new release banner for v5.3.4 * Update for 2024 * Update package.json for v5.3.4-prerelease * Fix TiddlyWiki Classic Build Process (#7933) * Fix link refresh bug (#7935) See https://talk.tiddlywiki.org/t/possible-bug-with-links-to-missing-tiddlers-in-5-3-3/8910 for report and reproduction instructions * Add documentation for "class" system field (#6990) Fixes #6915 * Update chinese language files (#7937) * Add description for "class" system field * Moves some exsiting macro tests to their own folders (#7940) * Allows whitespace-only macro/procedure to be closed by \end (#7911) * Added some passing macro definition parsing tests * Added two failing tests to illustrate bug #3460 * Allow \end to end an whitespace only/empty macro definition. Fixes #3460 * Added some passing procedure definition tests * Added two failing procedure tests to illustrate bug #3460 * Allow \end to end a whitespace only/empty procedure/function/widget definition. Fixes #3640 * Fixed wording of comment * Fixes functions to use variables set by filter runs (#7906) * fix: functions should use variables set by filter runs * refactor: code clean up * chore: added more tests * Refresh edit widget when the editor type has changed (#7943) * Fix Editor preview width #7787 (#7922) * Introduce Tour Plugin and Confetti Plugin, improve Dynannotate Plugin (#7734) * First commit * Typo * Add support for delay parameter * Add confetti widget * Add tour plugin * Add element spotlight to dynannotate plugin Useful for highlighting on screen elements for the user * More and bigger confetti by default * Use new element spotlight to provide hints * Adjust hint selectors for create tiddler tour step * Include confetti plugin in prerelease * Clarify wording of confetti demo * Don't link TiddlyWiki in the tour panel * Tweaks to tour buttons * Mark dependents of the tour plugin * Add full screen section of tour and tour edition * Remove Anna Freud references from welcome tiddler * Build the tour edition in the preview * Fix typo in build script * Populate tour edition with solar system data From Simple English Wikipedia * Missing tag * Add page control button to start tour Also make the tour controls visible in full screen mode * Refactor to use global procedures to control the tour * Change "startup-actions" field to "enter-actions" to avoid confusion * Add a tour logo * Refactor to allow multiple tours to be loaded at once * Remove wikification from welcome tour step * Update docs * Simplify styles for top bar * Tours should have a $:/tags/Tour tag * Tour should autostart in the tour edition, but not in the main wiki * Better labelling for the main preview * Fix build process We build a separate tour.html wiki, but can include the tour in other wikis too * Remove obsolete text * Add "using tags" as a separate tour * Remove old debugging code * Add tour chooser * Ensure that the current tour isn't listed as an option in the final step * Use whitespace trim Note that the setting is inherited by procedure and widget definitions * Simplify tour step format * Remove obsolete state tiddler Not needed because now we initialise it in startup actions * Fix gap between navigation buttons * Clean up tiddler titles within the introduction tour * Finish allowing the name "TiddlyWiki" to be customised Some of the code was in the previous commit. Next we'll wire up the user interface * Clarify docs * Add a settings pane giving a birds eye view of a tour * Avoid having to embed confetti in the final step * Update docs * Tweak styling of tour chooser dropdown * Add a button to launch tour steps directly, and give them captions * Expose custom tour settings * Use the tour step caption as the heading * Fix initialisation when jumping to a tour step * Introduce step about tags * Improve wording * Improve styling of task call-to-action and nav buttons * Adopt new conditional shortcut syntax * Wording and ordering tweaks * Fix typos Thanks @pmario * Simplify styling of tour overlay * Use custom palette colours Makes it easier for people to use their own colour scheme for the tour * More custom colours * Tour wording tweaks * Extends the tour plugin with a condition field (#7861) * feat: support condition field to determine whether a step should be shown * feat: add support for overriding the hint text using the field 'hint' from the step tiddler * fix: roll back tour display procedure for now until an override mechanism has been discussed * fix: renamed advance-criterion field and associated variables to step-success-filter * fix: renamed hint field to hint-text and selector to hint-selector * refactor: to create function to get all tour tiddlers filtered by their condition field * refactor: rename globals tiddlers to variables and avoid making any of the tour procedures global * fix: also rename globals.tid file to variables.tid * docs: cover all tour steps tiddler fields * fix: improve spacing in Tour HUD * WIP --------- Co-authored-by: Jeremy Ruston <[email protected]> Co-authored-by: Saq Imtiaz <[email protected]> * HTTP Requests should return data even if there was an error The body data is often used for API error messages in the event of failure * Add WASM content type info (#7948) Allows WASM modules to be loaded * Fix: on Windows, tiddlywiki.files title source shoud use / instead of \ (#7949) * fix: on Windows, tiddlywiki.files title source shoud use / instead of \ * fix: split path.sep instead of / * Add doc xls ppt file type information (#7927) * fix: add doc xls ppt type * Add application/vnd.ms-excel * Fix "introduction" edition Fixes #7965 * Remove obsolete banner from Confetti plugin * Fix incorrect state reference in core/ui/AdvancedSearch/Standard (#7975) This PR fixes #7973 * Docs: add contribution graph to readme (#7980) * Remove overflow: auto from tiddler preview (#7985) This removes `overflow: auto` from the tiddler preview. I'm not sure anymore why it was added. It causes some problems in the preview with popups for example, see screenshots * Use qualified-preview-state in default body-editor for reuse in preview button (#7795) * Use qualified-preview-state to reuse in preview button Somehow the editor-body template and the preview button don't qualify the same showeditpreview anymore * Update preview.tid to use qualified-preview-state * Update preview.tid * Update default.tid * Update preview.tid * Copy-to-clipboard macro - change tags to $:/tags/Global (#7988) * copy-to-clipboard-macors -- new v5.3.x syntax * copy-to-clipboard - change tags to $:/tags/Global * css-macro -- change tags to $:/tags/Global (#7987) * $:/core/macros/CSS use v5.3.x syntax * css-macro -- change tags to $:/tags/Global * Core-macro-diff-new-syntax (#7986) * $:/core/macros/diff use v5.3.x syntax and add indentation for better readability -- all tests pass * diff - set tags: $:/tags/Global * $:/core/ui/EditTemplate/tags - rewrite to use v5.3.x syntax (#7981) * $:/core/ui/EditTemplate/tags - rewrite to use v5.3.x syntax * tag-macro -- change tag-styles function to make it more readable * tags EditTemplate - improve code readability * tags EditTemplate -- use hardcoded style colours as requested * Update chinese language files (#7993) * Replace "運算元" (operand) with "參數" (parameter) * Basic Backtranscludes filter (#6081) * feat: add transcludes and backtranscludes filter and its relying indexer * feat: add test about backtranscludes * docs: add doc about transcludes and backtranscludes Operator * refactor: merge backlinks and backtranscludes indexer * fix: test not executed * fix: latest transclude use $tiddler instead of tiddler * feat: A tiddler transclude with template will still use the tiddler as result. * docs: wrong comment * Let's have performance instrumentation in the prerelease I believe it was turned off by accident at some point * Confetti Plugin: Don't pass undefined for missing parameters * Fix spacing in Standard and Filter tabs of Advanced Search (#7889) * Fix spacing in Standard and Filter tabs of Advanced Search * Move changed files to appropriate folder * Restore original title/tags fields * Remove superfluous comma * Add Macedonian language Thanks Nikola Dio Petkovski * Make sure Macedonian is included in the translators edition * Fix "sjcl not found" errors in TiddlyDesktop (#8007) * Update Macedonian language description * Remove accidentally committed $:/StoryList tiddlers * Add StoryList to gitignore (#8013) * Add more classes to ControlPanel-Settings elements, so they can be styled using relatively simple CSS rules (#8000) * RSOE: Add emergency tiddlers download button (#7966) * Rewrite tag-picker macros as procedures (#7883) This PR attempts to modernize the tag-picker macros as procedures, as @Jermolene suggested in [#7548 (comment)](#7548 (comment)). What I changed: * rewrote macros as procedures/replaced text substitutions with variables * replaced nested $set and $var widgets with $let widgets/functions * minor rewrites to reduce redundant code * some additional linebreaks for clarity *This is functionally identical to my initial PR, [#7880](#7880, minus the extra file I'd accidentally added. Thank you for bearing with me as I learn to navigate GitHub. * CI: Fix archive output paths (#7919) * Remove forced error in accidentally left in #7966 Thanks @pmario * Update chinese language files (#8016) * Add chinese captions for new emergency tiddlers download button * Tour plugin: Fix selector for "Recent" tab button * Include $:/tags/Macro on core macros for backwards compatibility This avoids breaking existing code that expects to be able to import the core macros with just $:/tags/Macro @pmario - I suggest that future updates use the same approach Thanks to @ericshulman for reporting the problem * Feat: New icon for default layout (#8020) * feat: icon for default layout * feat: new icon for default layout * Update default-layout.tid * Update default-layout.tid * Update LayoutSwitcher.tid * Update PageTemplate.tid * Fix csvtiddlers macro crash with missing tiddlers Fixes #8039 * Remove accidentally committed dependencies Fixes #8040 * Add sha256() function to $tw.utils (#8043) * Update draggable.js - fix the call to updateDomNodeClasses (#8045) * Update draggable.js - rename updateDomNodeClasses to assignDomNodeClasses If I'm not wrong then the "updateDomNodeClasses" is unused and the "assignDomNodeClasses" is missing This renames "updateDomNodeClasses" to "assignDomNodeClasses" * Use "updateDomNodeClasses" * Remove unnecessary prefix field for highlight plugin (#8048) * Import variables should not parse with whitespace trim Fixes #7909 * Fix indentation for tiddlers that set tv-config-toolbar-class (#8079) human readable in preparation to add data-title=<<listItem>> for better UX defining a "read only" theme Changes to be committed: modified: core/ui/EditTemplate/controls.tid modified: core/ui/PageControls.tid modified: core/ui/PageControls/more-page-actions.tid modified: core/ui/ViewTemplate/title.tid modified: core/ui/ViewToolbar/more-tiddler-actions.tid modified: plugins/tiddlywiki/menubar/items/pagecontrols.tid * Add tag parameter to reveal-widget to fix regression (#8084) * Fix cycle operator crashing if step size is larger than the number of operands See https://talk.tiddlywiki.org/t/bug-report-javascript-error-at-tw-com-within-cycle-operator-try-it/9430/1 * Set a proper doctype for the open window template (#8095) * Add theme font size settings to Open in New Window CSS (#7945) * add theme font size settings to Open in New Window CSS * add DOCTYPE html to New Window startup template * fix merge typo * fix merge typo one more time * Add unusedtitle macro tests - should have full code covery (#7939) * add unusedtitle macro tests - should have full code covery * remove numbering from tests * Add tc-tag-missing or tc-tag-exists to tag pills including docs (#7951) * add tc-tag-missing or tc-tag-exists to tag pills including docs * changes as requested * macros not needed anymore - so remove * fix the tag Macro docs * Tag picker rewritten using new v5.3.x syntax (#7978) * tag-picker add Examples * tag-picker - use new v5.3.x wikitext syntax * tag-picker - more inline docs * tag-picker - fix add button * rename local functions: tag, userInput to _tf.getTag and _tf.getUersName to make the code and variable scopes more understandable * tag-picker - move local variables definitions into one place: tag-picker macro * tag-picker - replace reveal-widget with conditional IF syntax * tag-picker - remove logs and test tag-picker - actions parameer -> OK * tag-picker - add tag-picker Macro docs * tag-picker docs - change \define -> \procedure * tag-picker -- fix problem with focus loss if elements selected by mouse click * tag-picker -- add tf. prefix only to new function definition names for backwards compatibility. * tag-picker -- update example docs * re-add tags: $:/tags/Macro * Refactor GitHub-fork-ribbon plugin for better compatibility (#8075) * Use v5.3.x syntax for $:/core/ui/PageTemplate/pagecontrols (#8088) * Report throttled refreshes (#8116) Fixes GH #6054 * Update reset.tid to use modern-normalize 2.0.0 (#8120) This PR updates the vanilla/reset stylesheet to use the newer `modern-normalize 2.0.0` * Add a "Refresh Browser" keyboard shortcut (#8121) * Create a `refresh` keyboard shortcut This creates a `refresh` keyboard shortcut that refreshes the page. In TiddlyDesktop <kbd>ctrl-R</kbd> doesn't work * Update refresh.tid * Update shortcuts-not-mac.multids * Update shortcuts-mac.multids * Update ShortcutInfo.multids * Add $timestamp argument for <$action-deletefield> widget (#8115) * Start on some tests for <$action-deletefield /> * Only update modified field if we actually delete a field …in the <$action-deletefield /> widget. Fixes a bug where <$action-deletefield foo /> would update the modified field if the "foo" field wasn't present on a tiddler. * action-deletefield: Test when modified does and doesn't exist * Add $timestamp argument to action-deletefield To make it more consistent with other tiddler-manipulating action widgets * Add docs for action-deletefield $timestamp * Made library boot module requirements consistent (#8083) * Fix bug 8138: server cache-control (#8141) * cache-control no-store by default * clarify comment spec reference * comment typo * fix else formatting * Update server.js allow route definitions to set their own cache-control * Fix bug 7878: Save command (#8140) * first pass at fixing bug 7878, needs testing * clarify default behaviour in comment * fix property typo, tested and works as intended * remove debugger * HTTP Client: Return success calls for all 2XX response codes (#8150) APIs especially use 2XX response codes outside of 200, 201, 204 for responding to responses. Treat all "Successful" response codes (i.e. anything between 200-299) as successes, and pass the responseText. * Fix: some plugin subtiddlers do not have title in savewikifolder command (#8151) * fix: some plugin subtiddlers do not have title in savewikifolder command * fix: following coding style * Improve Polish date translation (#8170) * Make month and weekday names lowercase * Replace AM and PM with Polish words * Adhere to recommendations wrt short weekday names https://sjp.pwn.pl/poradnia/haslo/dni-tygodnia-i-inne-roznosci;1788.html * Fix a typo * Inflect month names I assume they're always used as part of the full date, and in this case months are always inflected in Polish. * Use roman numerals in place of short month names I could not find any actual use of short month names in Polish. The only mentions are from people trying to translate English conventions into Polish - typically in software. In https://sjp.pwn.pl/poradnia/haslo/dni-tygodnia-i-inne-roznosci;1788.html Mr. Bańko answered (translation mine): Abbreviations of month names are less common, numbers are used instead. Such abbreviations can be created [...]. However, one must take into account that the reader will not understand them. I decided to go with a convention that's in actual use, rather than to force an English convention which is alien to non-software dev Poles. * Update release note * Block Quotes - fix parsing error with spaces before reEndString (#8186) * fix parsing error with spaces before reEndString, update docs to clarify block mode inside block quotes. * additional advanced example * oops, convert spaces back to tabs. * reset indentation * final tabs * missed some * wikitext classes are appended to other leading wikitext, no need to skip whitespace here. * Add <$testcase> widget (#7817) * Initial Commit * Add note to preview build * Fix whitespace and indenting Thanks @pmario * Fix crash with unset $tiddler attribute on <$data> widget Thanks @CodaCodr * Don't duplicate "description" field in test cases * Use different background colours for nested testcase widgets * Extend the testcase widget to run tests * Add testcases to control panel * Add a view template body template to render testcase tiddlers * Test edition should display testcases * Whitespace fixes * Make testcase tiddler tempalte link to itself * Styling tweaks * Docs improvements * Styling tweaks * Run the new tw5.com testcases in the test edition * Update data widget to display its content in JSON * Add testcase convenience procedure * Clearer testcases for data widget, and docs tweaks * Don't expect our intentionally failing test to pass * Extend testcase default template so that the display format can be chosen It is selected by setting the variable "displayFormat" * DataWidget docs typo * Fix data widget not refreshing * Links in testcase output switch to the tab containing that tiddler Thanks to @btheado for the suggestion * Docs update for 648855e * Wording tweak * Add support for narrative tiddlers in test cases * Documentation improvements * Cleanup comments * Remove obsolete code comments * Simplify template * Docs update * Rename $:/core/ui/testcases/DefaultTemplate/SourceTabs from $:/core/ui/testcases/DefaultTemplate/Source * Use the view template body for failing tests * Don't reference the geospatial plugin * "Test case" should be two words * Fix handling of currentTiddler variable Fixes problem reported by @btheado in #7817 (comment) * Prepare for merging * Update chinese language files (#8200) * Update chinese language files * Add chinese translations for the new `<$testcase>` widget * Update chinese language files * Add chinese translations for the new <$testcase> widget * Add plugin stability badges (#8198) * Initial Commit * Fix plugin library URL * Need to set plugin library location for prerelease * Styling tweaks * Docs * Add tests that the core plugins all have a valid stability field * Fix plugin tests in the browser * Fix plugin library URLs broken by #8198 Thanks @pmario * Fixed issue with fakedome TW_Node inheritence (#8195) * Fix plugin library URLs * Plugin tests should only apply to core plugins Hi @pmario could you kindly try this? Fixes #8207 * Fix bug in f9df4f0 * Improve plugin test implementation * Make the linter happy (#8210) * More robust infinite recursion handling with custom exception (#7882) * Introduced preliminary idea for infinite recurse exception * Better handling of infinite recursion But it could be better still... * the TransclusionError is a proper error Moved the magic number to be on the error's class. Not sure if that's a great idea. * Fixed minor minor issue that came up in conflict The minor fix to the jasmine regexp that escaped a '+' somehow broke some random test. * Update chinese language files (#8204) * Add chinese description for field `stability` * Fix/sjcl variable (#8099) * refactor: use files to add prefix * fix: always use $tw.sjcl * refactor: move sjcl to lib/sjcl * fix: require sjcl in lib/ * refactor: move sjcl.js back into /boot * Fix boot.css bug from #8099 (#8214) * Improve wording for failing test See https://talk.tiddlywiki.org/t/introducing-the-testcase-widget/9847/11 * Fix testcase heading link destination * Testcase docs: add note about description field overwriting Description payload tiddler * Fix currentTiddler in testcase renderings See eb4e9d8#r142368175 * Testcase widget should only run tests if expected results are specified Fixes #8218 * Fix tests broken in 1b6e8e1 * Testcase widget should treat test cases without a test as if they had passed * Update release note * Fix get variable info params (#8179) * return params for every variable type * add tests for widget getVariableInfo.params * make param values different to names * Clarify handling of title lists in ActionListopsWidget documentation (#8184) * Improve section on subfilter expressions * Further refinement of the info box. * Add defaultHeaders flag that controls helpful default heders that can sometimes interfere with apis (#8152) * Add defaultHeaders flag that controls helpful default heders that can sometimes interfere with apis * Bump version number * Fix/backlink binary (#8098) * fix: prevent check binary tiddler for backlink * refactor: test for backlink * Revert "Add defaultHeaders flag that controls helpful default heders that can sometimes interfere with apis (#8152)" This reverts commit 6910be7. * Custom copy clipboard notifications (#8211) * Initial Commit * Improve plugin tests Fixes #8209 * Fix RSOE * Fix extraneous copy to clipboard at startup * Simplify splash screen * Rename default layout to "Standard Layout" (#8172) * refactor: default PageTemplate -> DefaultLayout * refactor: DefaultLayout -> StandardLayout * i18n: Default ~PageTemplate -> Standard Layout * Update release note * Update chinese language files (#8224) * Improve traditional chinese translation of "Standard Layout" * Tweak #8214 by avoiding renaming boot.css Improves the continuity of our GitHub history * Add useDefaultHeaders flag to tm-http-request (V2) (#8225) * Add defaultHeaders flag that controls helpful default heders that can sometimes interfere with apis * Bump version number * rename parameter to useDefaultHeaders, and catch one location where the default was not being set properly. * Use a better comparision operator * remove bad change * Fix tm-copy-to-clipboard crash See #8211 (comment) * Improve refreshing of the data widget * Add Geospatial plugin (#7406) * Add XLSX import spec for demo real estate spreadsheets * Fix fieldname * Improve map pin * RealEstate demo: Set lat, long, price fields to be numeric * Clean up Flickr demo * Update geomap widget to refresh properly * Add Leaflet MasterCluster plugin * Setup the marker cluster plugin * Rearrange real estate demo * Reduce default cluster radius * Beginnings of real estate demo * Fix interpretation of HTTP status codes * Real estate demo: Make columns hideable * Real estate demo: sortability * Real estate demo: search and limit * Fix typo * Fix lat long transposition * Fix startup ordering * Add geolookup operator * Real Estate Demo: Add support for computed columns * Real estate demo: Increase result limit * Remove demo data * Track map pan and zoom state in a state tiddler * WIP * Use geojson extension for geojson file * Use geojson extensions for another geojson file * Split demo from the geospatial plugin into its own edition * Add build targets required by ./bin/site-build.sh... ... when building the geospatial edition as the main edition, making it easier to find on Vercel * CI Fixes * Fix default tab * Rearranging geospatial plugin vs. edition * More refactoring between demo and plugin * Start of plugin docs * Display GeoJSON properties on click * Fix layer lookup demo * Restore XLSX Utils plugin and dependencies * Cleanup docs * Remove 5.2.8 release note * Remove 5.2.8 release note * Docs update * Fix minor refreshing bug for geomap widget * Docs updates * Add jsonset operator * Add geonearestpoint operator * jsonset: support for other data types and documentation * Add logo * Add link to preview build * jsonset: add support for assigning JSON strings * Fix nonstandard initialisation code for fill/parameter/slot widgets * Introduce testcase widget so that we can reuse testcases as documentation examples There's still a bit to do: adding tabs to the source panel of the testcase display, and tweaking the CSS. * Update logo * Testcasewidget: Add tabs for switching between source tiddlers * Testcase appearance tweaks * Switch to fluid-fixed layout * Docs for the testcase-transclude and testcase-view widgets * Split docs into separate tabs * Extend testcase-view to be able to view other fields * Extend default testcase template to show all fields of payload tiddlers * Add some geomap examples * Fix testcase rounded corners * Add a geomap layer demo * Add favicon * Switch from building the geospatial plugin as the main build back to tw5.com To make it easier to get to the documentation for the new features * Remove obsolete comment * Remove geospatial plugin from tw5.com build * Fix build link * Add note about core enhancements included in this branch * Refactor data widget implementation To avoid code duplication * Integrate test cases with the docs * Remove erroneously pasted docs material * Remove erroneously copied olc-encode tests within old-decode test case * Refactor compound tiddler handling into data widget And add some tests for the data widget * Default test case template tweaks * Move Flickr macros into geospatial plugin from the demo edition * FlickrDemo: Simplify UI * FlickrMacros: Use a template to define photo tiddler fields * Remove geospatial plugin from prerelease default tiddlers * Extend Flickr helpers to support photoTiddlerTemplate parameter * Update modification times of doc tiddlers So that they are at the top of the recent tab * Update 5.3.0 release note * Remove custom CI step for this branch * Restore standard sitetitle * Flickr macro docs * Rename $:/tags/GeoLayer to $:/tags/GeoFeature And make sure that it works with all GeoJSON features, not just polygons * More test data (from leaflet.js) * Captions should be transcluded, not viewed raw * Make HTTP handler use wiki of widget that sent the message * Switch testcase widget to use an intrinsic template Makes things much simpler * Complete Flickr demos * Extend geonearestpoint operator to work with feature collections * Extend realestate demo to show data on nearest volcano * Flickr macros: fix pagination after first page Make sure that the widget we create to run the actions also has access to the event handlers attached to the rootwidget. * Real estate demo: Fix nearest volcano * Testcase docs update * Testcase template: put title at the top and remove header row * Docs correction * New geonearestpoint test case * Make test cases editable * Test case default template: Always put "Output" tab first * Initial Commit * HttpClient object shouldn't need to know about events * Add support for cancelling HTTP requests * Make the number of outstanding HTTP requests available in a state tiddler * Add a network activity button Click it to cancel outstanding requests * WIP * Fix typo Thanks @btheado Co-authored-by: btheado <[email protected]> * Data widget: parse carriage returns in compound tiddlers * Fix crash when cancelling more than one HTTP request Thanks @saqimtiaz * Further fixes to cancelling outstanding HTTP requests * Don't have data widget rendering its own JSON Making the data widget render its raw JSON (introduced in 683ec33) was a bad idea as it messes up the innerwiki use of the data widget. Instead we use the testcase widget with a special template to render the raw JSON of the payload of a testcase, thus giving us a way to test the data widget * Fix missed docs update * Introduce geolayer widget for specifying layers for geomap * Fix breaking tests * Remove docs references to obsolete widgets * Tests for geounion, geointersect and geodifference * Support for multiple base layers * Make the layers control visible which allows the base layer to be chosen, and individual overlay layers to be hidden * Add tiddlers tagged $:/tags/GeoBaseLayer to define some useful map base layers * Add geobaselayer widget to define base layers * Add a satellite base layer and another terrain base layer * Add a note where to get more base layers * Docs update * Geomap widget: fix default base layer rendering * Add startPosition and layersPanel attributes to geomap widget * Update geolayer widget docs with missing attributes * Add interactive demos for geounion, geodifference, geointersection * Open geofeature and geomarker maps on the bounds of their content * Move settings from demo into plugin Because now the Flickr macros are part of the plugin * Icon for geospatial plugin * Fix missing body * Flickr Demo typo * Docs update * Add support for draggable markers * Removed accidentally committed file * Remove unwanted log * Add support for tm-request-geolocation message * Fix typo * Fix bug when fitting to non-extistent bounds * Update main wiki greeting * Use "Flickr helpers" instead of "Flickr macros" * File renames for 05d3271 * Fix testcase widget example Thanks @btheado * Fix testcase widget refreshing * Fix failing tests from 03b6413 * Docs: Clarify that template must be in the payload * Testcase widget: Exclude tab state tiddlers See #7406 (comment) Thanks @btheado * Remove obsolete setquerystring operator Instead we have the query- parameters to the http request message * Remove obsolete change to --setfield command * Fix tiddler name typo * Initial Commit * Add note to preview build * Fix whitespace and indenting Thanks @pmario * Fix crash with unset $tiddler attribute on <$data> widget Thanks @CodaCodr * Remove Stamen baselayers They have stopped making them available for free - see https://maps.stamen.com/stadia-partnership/ * Disable test that won't run in browser CI * Disable broken tests * Update olc-encode.tid (#7885) Correct spelling * Don't duplicate "description" field in test cases * Use different background colours for nested testcase widgets * Extend the testcase widget to run tests * Add testcases to control panel * Add a view template body template to render testcase tiddlers * Test edition should display testcases * Whitespace fixes * Make testcase tiddler tempalte link to itself * Styling tweaks * Docs improvements * Styling tweaks * Run the new tw5.com testcases in the test edition * Update data widget to display its content in JSON * Add testcase convenience procedure * Clearer testcases for data widget, and docs tweaks * Don't expect our intentionally failing test to pass * Extend testcase default template so that the display format can be chosen It is selected by setting the variable "displayFormat" * DataWidget docs typo * Mark Geospatial plugin as experimental * Update to Leaflet v1.9.4 * Remove unneeded template Left over from when the testcase widget was first implemented * Don't hide the volcanoes of the world data set * Update Flickr demo docs * Fix subtle typo that was preventing popups from working correctly * Go back to hiding the volcanoes of the world by default Too much data for a small device now that the markers are displayed correctly * Clarify docs for tm-request-location * Update modified testcase from master * Prepare for merging --------- Co-authored-by: btheado <[email protected]> Co-authored-by: Drevarr <[email protected]> * Update release note * Fix URL of geospatial demo * Missing contributor from release note * Catchup with fr-FR translation (#8231) * fr-FR description of the `stability` core field * fr-FR translations for testcase-related description strings * fr-FR translations for testcase-related palette descriptions * fr-FR translation for emergency download button caption * Replace operand with parameters in fr-FR description of isfilteroperator * fr-FR description of the `class` core field * fr-FR update of a --command example * better fr-FR description for main types * Clearer fr-FR description of the `server` command * Complete the fr-FR translation for the --savewikifolder description * Update release note * Add basic authentication support for tm-http-request (#8109) * Update backtranscludes.tid (#8014) * Fixed editor layout Fixes #8217 * Import global macros when render title (#8097) * fix: import lingo macro when render title * refactor: only import lingo macro for title to save memory * Revert "refactor: only import lingo macro for title to save memory" This reverts commit 36bf084. * fix: nested functions should resolve filter run variables (#8233) * w --------- Co-authored-by: Jeremy Ruston <[email protected]> Co-authored-by: Rob Hoelz <[email protected]> Co-authored-by: Bram Chen <[email protected]> Co-authored-by: Mario Pietsch <[email protected]> Co-authored-by: btheado <[email protected]> Co-authored-by: Saq Imtiaz <[email protected]> Co-authored-by: oeyoews <[email protected]> Co-authored-by: Jeremy Ruston <[email protected]> Co-authored-by: lin onetwo <[email protected]> Co-authored-by: eschlon <[email protected]> Co-authored-by: Simon Huber <[email protected]> Co-authored-by: Mateusz Wilczek <[email protected]> Co-authored-by: Robin Munn <[email protected]> Co-authored-by: etardiff <[email protected]> Co-authored-by: Télumire <[email protected]> Co-authored-by: Cameron Fischer <[email protected]> Co-authored-by: Joshua Fontany <[email protected]> Co-authored-by: Matt Lauber <[email protected]> Co-authored-by: FSpark <[email protected]> Co-authored-by: sarna <[email protected]> Co-authored-by: yaisog <[email protected]> Co-authored-by: Drevarr <[email protected]> Co-authored-by: Xavier Cazin <[email protected]>
The
\end
of an empty macro definition is incorrectly parsed as its body.For example:
The correct output should be
Nothing \end Out:
, but the current output isOut: \end Nothing
.The text was updated successfully, but these errors were encountered: