Commit Graph

40 Commits

Author SHA1 Message Date
David Glasser
723154e472 When preserving elements with values, preserve the value of elements unless the
server's rendering has changed.

This fixes two independent issues:

  - If the user has changed the value in a preserved field, and something causes
    the field to be rerendered, and the re-rendering renders the same value that
    was originally rendered, this now preserves the user's change rather than
    reverting to the original value.

  - INPUTs with type other than TEXT can now have reactive values (eg,
    type=SUBMIT).
2012-12-04 14:47:40 -08:00
David Glasser
20e29d2851 Make everything in deps-utils private for now. 2012-10-05 15:26:22 -07:00
David Glasser
08a0eda83e Merge branch 'devel' into deps-utils-private
Conflicts:
	packages/session/session.js
2012-10-05 15:14:13 -07:00
David Greenspan
1168a70e3e fix reactive <select> tag in IE 7-8
Work around IE bug where HTML comments don't materialize inside
<select> and <option> tags.
2012-09-24 12:06:19 -07:00
David Glasser
5e622215ba Change all publicly documented APIs to use camelCase.
For now, the old names still work as well.

This includes:
  - Meteor.isServer/isClient
  - this.isSimulation in methods
  - Context.onInvalidate
  - Meteor.status().retryCount/retryTime

Remove old backwards-compatibility "Sky" alias for "Meteor".

Update all examples in the docs to use camelCase.

Delete unused docs/client/projects.html file.
2012-09-17 14:26:45 -07:00
David Greenspan
d8de162bbc use atFlush in UI test helpers 2012-09-16 04:44:37 -07:00
David Greenspan
26acda1e4f use ContextSet in ReactiveVar 2012-09-16 02:54:02 -07:00
David Greenspan
5d9ff80461 Remove special Tinytest timer functions 2012-09-16 00:34:54 -07:00
David Greenspan
900695b68c move rangeToHtml into DomUtils 2012-08-09 15:37:00 -07:00
Geoff Schmidt
1483cc3b51 completely remove liveui. all tests pass. 2012-08-03 23:30:15 -07:00
Geoff Schmidt
e213c9c3ba a basic landmark test passes 2012-08-02 15:58:32 -07:00
David Greenspan
8ddf39f95c working isolate() with tests 2012-07-27 20:25:38 -07:00
David Greenspan
17a1d97209 Meteor.render and some liveui tests 2012-07-27 19:41:27 -07:00
David Greenspan
e6de65be76 Spark.render with tests! 2012-07-27 17:46:56 -07:00
David Greenspan
328a2af833 create DomUtils package 2012-07-27 14:27:34 -07:00
David Greenspan
14ced70720 first cut of annotate/materialize 2012-07-23 15:57:38 -07:00
David Greenspan
7ad1f5eff3 tests exploring branch keys; ReactiveVar helper; start of 'constant' helper 2012-07-18 10:16:09 -07:00
David Greenspan
aafb5978b4 LiveUI rewrite passes all tests, adds callbacks 2012-07-17 13:46:28 -07:00
David Greenspan
0dd3992c94 Make textareas behave like text fields in liveui 2012-06-05 16:13:46 -07:00
Nick Martin
1c0d784e5d Bump test timeout. We need a better solution. 2012-05-16 19:15:47 -07:00
David Greenspan
feed0fce0f pass tests in IE 6-10, FF/S/C (lots of cleanup needed) 2012-05-11 12:37:07 -07:00
David Greenspan
d0a1b43dc3 async_multi docs 2012-05-09 16:58:59 -07:00
David Greenspan
2d7197fe83 fix sass and stylus tests for production mode 2012-05-01 16:55:56 -07:00
David Greenspan
e2084ef028 pull out OnscreenDiv as a test helper 2012-05-01 16:55:56 -07:00
David Greenspan
e1c2eb33b1 basic change event test 2012-04-30 10:24:02 -07:00
David Greenspan
4d91120346 liveui test code cleanup 2012-04-30 09:32:15 -07:00
David Greenspan
b3bdb87895 async_multi: catch exceptions in expect, prevent multi-fail 2012-04-17 20:13:22 -07:00
David Greenspan
a7725473e1 fix async test report order on exception 2012-04-17 20:13:22 -07:00
David Greenspan
4bd98aa38a tinytest/run method now threads the write fence more than before 2012-04-17 20:13:22 -07:00
Nick Martin
d56725dd6a Move stub_stream to test helpers. 2012-04-03 22:37:12 -07:00
David Greenspan
bf04fccb72 new query diffing algorithm with fuzz tests 2012-04-03 22:37:11 -07:00
David Greenspan
ee3d306adc templates changes with Geoff (a couple fixes, a couple reverts, comments) 2012-04-03 22:30:54 -07:00
Nick Martin
48947a46bf Rename file per review. 2012-03-30 16:26:04 -07:00
Nick Martin
5a1ecf6d16 Events test helper, plus misc test fixups. 2012-03-28 18:26:15 -07:00
Nick Martin
6c716ca6df Make test-helpers package internal. Lets not confuse users. 2012-03-19 14:26:07 -07:00
Nick Martin
ad69114d0b Up the test timeout. Slow browsers are slow. 2012-03-19 14:25:22 -07:00
Geoff Schmidt
413c0778b5 move testAsyncMulti into test-helpers 2012-03-16 02:55:14 -07:00
Geoff Schmidt
76c57526f7 rework public API for defining tests 2012-03-02 05:22:40 -08:00
Geoff Schmidt
cab5afbb91 move test reporting functions out of globals 2012-03-02 03:57:30 -08:00
Geoff Schmidt
d1d5604976 Refactor bundler; new package API 2012-01-27 20:02:26 -08:00