TiddlyWiki.org

Ticket #15 (closed enhancement: fixed)

Opened 2 years ago

Last modified 11 months ago

Strip out non-essential core code into plugins

Reported by: JeremyRuston Assigned to: MartinBudden
Priority: major Milestone: 2.3
Component: core Version:
Severity: high Keywords:
Cc:

Description (Last modified by JeremyRuston)

It is proposed to reduce the size of the core TiddlyWiki code by extracting all unnecessary functionality into independent plugins (for example gradients, sparklines, animation, table support, editing, saving). This proposal works hand-in-hand with the proposal to integrate the key functionality of ImportTiddlers?

See this thread for some discussion about slicing out the animation code.

Attachments

ticket15.patch (4.4 kB) - added by MartinBudden on 18/10/07 11:25:53.

Change History

16/05/06 15:16:58 changed by JeremyRuston

  • description changed.

10/07/06 11:09:49 changed by JeremyRuston

  • milestone changed from 2.1 to 2.2.

15/10/06 18:04:38 changed by MartinBudden

Approach can be incremental - not everything needs to be stripped together. I suggest the following plugins for 2.2

  1. deprecated code plugin - saves ~2900 bytes from core
  2. sparkline plugin - saves ~1090 bytes from core
  3. animation plugin which includes Animator, Cascade and Scroller (but not static Animator.slowInSlowOut function or Slider), this saves ~4010 bytes from core. (Note Animator.slowInSlowOut should probably be made into separate utility function: slowInSlowOut.)

The plugins should be part of the default empty Tiddlywiki - users can delete them if they are not required (much like LegacyStrikeThroughPlugin?).

03/11/06 18:55:46 changed by MartinBudden

  • owner changed from JeremyRuston to MartinBudden.

11/11/06 09:55:20 changed by MartinBudden

  • milestone changed from 2.2 to 2.3.

Splitting out the sparkline code has been moved into ticket #222.

18/10/07 11:25:53 changed by MartinBudden

  • attachment ticket15.patch added.

18/10/07 11:26:34 changed by MartinBudden

  • status changed from new to assigned.

24/10/07 11:34:09 changed by JeremyRuston

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in changeset:2714