[Subversion] / Trellis / test_trellis.py  

Log of /Trellis/test_trellis.py

Parent Directory

No default branch
Bookmark a link to HEAD: (view) (download) (as text)


Revision 2423 - (view) (download) (as text) - [select for diffs]
Modified Wed Nov 21 00:22:49 2007 UTC (16 years, 6 months ago) by pje
File length: 5771 byte(s)
Diff to previous 2422
New algorithm: subjects, listeners, and links.

Revision 2422 - (view) (download) (as text) - [select for diffs]
Modified Tue Nov 20 20:57:45 2007 UTC (16 years, 6 months ago) by pje
File length: 3223 byte(s)
Diff to previous 2419
Begin work on new algorithm: STM history class.
(Python 2.4 currently required)

Revision 2419 - (view) (download) (as text) - [select for diffs]
Modified Wed Nov 14 01:25:59 2007 UTC (16 years, 6 months ago) by pje
File length: 3264 byte(s)
Diff to previous 2413
Split advanced collection types into peak.events.collections.
Add new "SubSet" type.

Revision 2413 - (view) (download) (as text) - [select for diffs]
Modified Fri Nov 2 23:37:58 2007 UTC (16 years, 6 months ago) by pje
File length: 3245 byte(s)
Diff to previous 2375
Event loops for tests, wx, and twisted.  No docs, and
only minimal testing so far, but much hacking was done
to get these to work more-or-less correctly.  wx needs
some mocking, and it turns out that the Time service
really needs to make next_event_time() dirty when new
events are added, even if self._tick doesn't change.
That'll have to be fixed later, though (as with the wx
mocks issue).

Revision 2375 - (view) (download) (as text) - [select for diffs]
Modified Sun Jul 29 19:52:37 2007 UTC (16 years, 9 months ago) by pje
File length: 335 byte(s)
Diff to previous 2358
Added List, Dict, and Set types with change events.
We are now feature-complete for 0.5b1 (minus docs), weighing
in at a modest 1066 lines of code.  Woohoo!

Revision 2358 - (view) (download) (as text) - [select for diffs]
Modified Tue Jul 17 02:23:42 2007 UTC (16 years, 10 months ago) by pje
File length: 210 byte(s)
Diff to previous 2351
Begin documentation/test refactoring; new intro, updated TODO.

Revision 2351 - (view) (download) (as text) - [select for diffs]
Modified Fri Jul 13 21:38:42 2007 UTC (16 years, 10 months ago) by pje
File length: 189 byte(s)
Diff to previous 2338
High level API: Component class, decorators, properties.  The tests are
disorganized and the docs are non-existent, but it works, by golly.
Docs and test re-orgs will begin next week.

Revision 2338 - (view) (download) (as text) - [select for diffs]
Modified Mon Jul 9 04:17:33 2007 UTC (16 years, 10 months ago) by pje
File length: 172 byte(s)
Diff to previous 2335
Ensure that reads outside of propagation block until propagation is
over.  Drop EventLoop service; it was overkill for what's actually
needed.  I'm keeping the dependency on Contextual since Time, IO,
and Signals will all be context.Service classes later.  But the
core doesn't need this service, and this way it'll be easier to
write a C version later, if needed.  There may still need to be
a way to replace the runner to serve in other event loop systems,
but for now I'm treating it as a YAGNI.

Revision 2335 - (view) (download) (as text) - [select for diffs]
Modified Sun Jul 8 05:42:14 2007 UTC (16 years, 10 months ago) by pje
File length: 185 byte(s)
Diff to previous 2199
Rip out the old Trellis implementation and replace with a shiny new algorithm.
This is nowhere near adequately tested, and Constant conversion doesn't work.
The doctests are in horrible shape and don't describe the current algorithm at
all.  The fancy API described in my mailing list posts is nowhere to be found,
and none of the new functionality is tested in the slightest.  Experiment at
your own risk; this is just a placeholder/proof-of-concept test to see if the
new algorithm at least passes the old tests (except for Constant conversion.)
And it does.  :)  So, everything from here on out should effectively be
either documentation, tests, syntax sugar, or convenience/reference
implementations of higher-level features.

Revision 2199 - (view) (download) (as text) - [select for diffs]
Added Wed Jun 21 05:36:46 2006 UTC (17 years, 11 months ago) by pje
File length: 172 byte(s)
Trellis: a new paradigm for event-driven programming, based on ideas
from Gelernter's "Trellis" system, and Tilton's "Cells" for Lisp.  
Eventually, this will grow up to do the rest of the things that 
peak.events does now, only with deterministic updates and no need for 
explicit dependency management.

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

  Diffs between and
  Type of Diff should be a

Sort log by:

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help