Naomi Seyfer
dba23bd29c
Session.setDefault, and updating todos to use it. #698
2013-02-20 17:56:39 -08:00
Naomi Seyfer
24c4b0615d
Mostly switching over to using EJSON.equals
2013-01-17 15:56:12 -05:00
Naomi Seyfer
9fe782ab15
Move EJSON stuff to new ejson package.
2013-01-17 15:51:58 -05:00
Naomi Seyfer
3331e1f7d3
Glasser's comments on my diff
...
* Lots of small things like whitespace fixes
* change the way adding a custom type works
2013-01-17 15:49:48 -05:00
Naomi Seyfer
e1f15e7c7f
Hacked objectid in there, though not ideally
2013-01-17 15:47:27 -05:00
Naomi Seyfer
c305ac8d22
Date now works in session var
2013-01-17 15:47:27 -05:00
Tom Wijsman
8f83b2c32e
Made sure all file system related statements use proper path.join and path.sep to support other platforms.
2012-10-30 15:53:49 -07:00
David Glasser
bae1a59af6
Publicize Meteor._autorun as Meteor.autorun (with docs and tests).
2012-10-12 00:50:35 -07:00
David Glasser
9251edbf8d
Allow arbitrary JSON objects to be stored in Session (but not compared with equals). Test Session. Fixes #215 .
2012-10-06 14:42:59 -07: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 Glasser
ac9f553d07
Refactor "reload" package: camelCase the API, and make the onMigrate name
...
optional.
Motivation: now that we don't use "url" as a key in _LivedataConnection, it's
easier to turn it into a function (for MeteorWildcard support).
2012-09-28 00:19:54 -07:00
David Glasser
094546d53b
Check that the value to Session.set is scalar (like we already do in Session.equals).
...
Document this restriction for both functions.
We may later relax this (with deep-copy in and out of the Session); see issue
2012-09-27 11:10:28 -07:00
David Greenspan
6ac7b27410
camelCase onInvalidate
2012-09-17 18:04:16 -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
dcb399533f
fix Session
2012-09-16 14:19:06 -07:00
David Greenspan
b070f5cf49
provide contextSet.addCurrentContext()
2012-09-16 02:48:23 -07:00
David Greenspan
16777fc5e6
tweaks for style
2012-09-16 02:48:23 -07:00
David Greenspan
d78481c1ce
introduce Meteor.deps.ContextSet, use in Session
2012-09-16 02:48:20 -07:00
Geoff Schmidt
224f48cc81
In a migration, always get a consistent snapshot
2012-03-01 19:37:05 -08:00
Geoff Schmidt
ddfbf236ce
allow packages to block migration until they're ready
2012-03-01 17:25:36 -08:00
Nick Martin
abd2097f55
Fixup regression from unintentional package API change associate w/ underscore upgrade.
...
Also fixup underscore callsites that use _.indexOf on a string.
2012-02-16 18:36:56 -08:00
matt debergalis
b84f048c75
harmonize style: no parens after typeof
2012-02-10 15:43:12 -08:00
Nick Martin
6f3cd0324c
api.use must come before api.add_file otherwise it isn't loaded in time.
2012-02-06 23:15:31 -08:00
Nick Martin
68511f2dc4
Wire up reload package. Doesn't actually do anything yet, but all the pieces should be in place now.
2012-02-06 23:15:31 -08:00
Geoff Schmidt
d1d5604976
Refactor bundler; new package API
2012-01-27 20:02:26 -08:00
Geoff Schmidt
e5eb42e55c
Refactor package API/bundler
2012-01-27 20:02:24 -08:00
Nick Martin
3faff2de78
perl -pi -e 's/Sky/Meteor/g' **/*
2012-01-04 20:52:46 -08:00
Nick Martin
23cd5b6912
perl -pi -e 's/Skybreak/Meteor/g' **/*
2012-01-04 18:30:25 -08:00
Geoff Schmidt
8503c55453
even cleaner implementation of deps/session
...
eliminates 'once', easier to understand, saves a little memory
2011-12-19 16:39:28 -08:00
Geoff Schmidt
3666cff408
redo Sky.deps api for clarity and flexibility
...
especially the ability for the caller of monitor to grab the invalidation function
2011-12-19 16:39:28 -08:00
Geoff Schmidt
e57b93a1b8
coalesce redundant dependencies created by Session
2011-12-19 16:39:28 -08:00
Geoff Schmidt
24692a60f5
rationalize underscore usage slightly
2011-12-08 16:28:47 -08:00
Geoff Schmidt
260d572afe
fix bug introduced by IE8 iteration fix
2011-12-07 22:27:23 -08:00
Geoff Schmidt
8963588b64
eliminate geoffclasses
2011-12-07 21:09:25 -08:00
Nick Martin
8438e0783a
Work around to prevent infinite loop in IE8.
2011-12-05 20:43:25 -08:00
Geoff Schmidt
598337d505
a much simpler implementation of session
2011-11-26 23:19:50 -08:00
Geoff Schmidt
89b4263ec1
refactor Sky.deps for clarity
2011-11-26 22:49:42 -08:00
Nick Martin
d69c2d1f19
Initial import from old busted repo.
2011-11-17 18:35:20 -08:00