David Glasser
4b3cb9d305
Rename api.exportSymbol -> api.export.
2013-07-25 18:54:43 -07:00
David Glasser
9f38258b54
Drop all @export lines. Add api.exportSymbol instead.
2013-07-25 18:54:40 -07:00
Geoff Schmidt
3d1c09794f
Comprehensive namespace cleanup.
2013-07-25 18:54:40 -07:00
David Glasser
6b48e8bd8a
stuff that doesn't have conflicts
2013-05-13 11:51:50 -07:00
David Glasser
8dbee56e77
Add .gitignore to package directories to match linker branch.
...
This way switching between linker and devel doesn't leave you with lots of junk
in git status.
2013-05-13 10:57:37 -07:00
David Greenspan
fa5770ec74
move Session impl into private ReactiveDict pkg
2013-04-02 17:24:47 -07:00
David Greenspan
df5d2800ae
dep.depend() instead of Deps.depend(dep)
...
simpler than having Deps.depend and addDependent, reads fine
2013-03-21 14:09:40 -07:00
David Glasser
5a5204e3a4
Remove closures around package files. (hint: git blame -w)
...
The bundler now adds closures around client files and the server adds closures
around server files.
2013-03-19 15:13:53 -07:00
Avital Oliver
5a0a4f5ab0
npm dependencies at bundle time
...
- package.js now has a top-level 'Npm.depends' directive
- both bundle-time and server run-time code can get access
to any dependent npm module with 'Npm.require'
2013-03-19 15:11:04 -07:00
Avital Oliver
58c6f55676
Apply changes made on engine repo
2013-03-19 15:11:01 -07:00
David Greenspan
96d05d741f
Deps.Variable => Deps.Dependency
2013-03-11 12:37:25 -07:00
David Greenspan
a18a92e65f
Deps.run => Deps.autorun
2013-03-11 12:17:39 -07:00
David Greenspan
975454d4e4
Merge branch 'devel' into deps-radical
2013-03-04 13:46:50 -08:00
Andrew Wilcox
03025db527
Only load Session on the client.
...
Fixes 751.
2013-03-04 12:24:04 -08:00
David Greenspan
87964fe689
Deps: can only register callbacks on active computations
2013-03-01 18:20:06 -08:00
David Greenspan
447f5a6686
Var -> Deps
2013-02-28 16:11:38 -08:00
David Greenspan
457de14998
renaming
2013-02-28 16:06:31 -08:00
David Greenspan
f6aabffab3
port all packages to new Deps (tests pass)
2013-02-25 17:52:51 -08:00
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