Commit Graph

98 Commits

Author SHA1 Message Date
David Glasser
bc6239dfc1 vbump for rc9
Hopefully we won't have to do "bump for all the npm modules" again after
this
2014-08-15 12:34:47 -07:00
David Glasser
a9db15a9e6 vbump for 0.9.0-rc8 2014-08-14 12:02:08 -07:00
ekatek
b9a714f028 ripping out internal, name and test from package.js files 2014-07-07 20:50:50 -07:00
David Glasser
0da301c637 unbreak tests again 2014-07-01 13:33:39 -07:00
Emily Stark
1beb5ffe09 Fix Log._getCallerDetails() regex.
1. Now it matches `logging:test`, not `logging:tests`.
2. Now it is okay with server-side source maps, by matching
`/packages/logging/foo.js` in addition to `/packages/logging.js`.
2014-06-24 15:12:33 -07:00
ekatek
fb709c9563 remove versions files from core packages 2014-06-16 22:11:31 -07:00
ekatek
beb0e59b9d new version files from teh new solver? Also, package.js correct with tests 2014-05-09 17:36:25 -07:00
ekatek
031890d2c5 don't store buildtime deps in the catalog 2014-05-04 16:56:58 -07:00
ekatek
23ad149a78 better versions files 2014-04-25 15:06:45 -07:00
ekatek
10d2047d12 clean up 2014-04-25 15:01:20 -07:00
ekatek
c84c8d6097 alphabetize package version lock files 2014-04-24 18:18:21 -07:00
David Glasser
3d3bdd4f50 versions.json update (these should be sorted!) 2014-04-24 17:02:46 -07:00
ekatek
29f2216919 rename test-packages back, make catalog slightly more efficient, add remaining versions.json 2014-04-21 19:02:30 -07:00
ekatek
9f543d4d03 versions files for packages 2014-04-21 18:16:31 -07:00
ekatek
833d8b3620 adding names and test packages where applicable; wip 2014-04-10 15:04:38 -07:00
Geoff Schmidt
4d114ef617 Set some (not all, yet) packages to version 1.0.0 2014-03-07 01:33:37 -08:00
Naomi Seyfer
7a5892bab0 Do not spend the effort on a stack trace if omitCallerDetails is set 2014-01-16 16:09:58 -08:00
Slava Kim
9fefc349e0 Make 'satellite' a special key in logging 2013-12-09 13:56:04 -08:00
Slava Kim
7c036de1e4 Fix date stamp in logs. 2013-11-03 22:21:35 -08:00
David Glasser
ceb37b48c6 Shrinkwrap update. 2013-10-03 15:52:19 -07:00
David Glasser
26af82fcf0 Upgrade lots of package Npm dependencies. 2013-10-03 15:52:19 -07:00
David Glasser
dba5933651 Change package/slice separator in various places to colon from dot.
Allow dots in package names.

Change the internal representation of "package specs" inside Slice to be a
{package,slice} object instead of a "spec" string.

library.getSlices now can take EITHER a "spec" string or a {package,slice}
object.

Linker-created slice files also separate the slice name with a colon (so eg, you
get URLs like "/packages/livedata:tests.js" when running package tests).  (Maybe
this should use a subdirectory instead?)
2013-08-12 18:05:34 -07:00
Nick Martin
017407301d Also skip logging test on old safari that doesn't support it. 2013-08-06 11:59:06 -07:00
David Glasser
063c446263 Put a space after the "this timestamp isn't actually from the Log call" question
mark.
2013-08-02 16:29:10 -07:00
David Glasser
c22f681d9c Fix a test in IE8; elsewhere make it actually test what it's trying to test. 2013-08-02 14:57:30 -07:00
David Glasser
4b3cb9d305 Rename api.exportSymbol -> api.export. 2013-07-25 18:54:43 -07:00
David Glasser
060151dd81 test-packages now has no immediate server-side errors (client-side, sure)
eliminate accounts-urls package
2013-07-25 18:54:40 -07:00
David Glasser
9f38258b54 Drop all @export lines. Add api.exportSymbol instead. 2013-07-25 18:54:40 -07:00
David Glasser
25a3afff54 - drop where from all on_use/on_test (it is no longer being passed in)
- allow `api.use(package, {options})` without where
- fix showdown to use a weak dependency
2013-07-25 18:54:40 -07:00
Geoff Schmidt
3d1c09794f Comprehensive namespace cleanup. 2013-07-25 18:54:40 -07:00
David Glasser
81e456ae81 Improve log lines file naming on server.
We avoid using Error.prepareStackTrace (which the node source map support also
uses) and do some hacky regexp parsing instead. This way, on the server, we get
the filename/line numbers after source map processing.

On the client we continue to get the compiled version... I guess because source
maps are implemented in the developer tools, not directly into the Error object.

(Probably should have gotten parseStack from tools/buildmessage.js instead.)

unbreaks _getCallerDetails tests.
2013-07-12 10:11:31 -07:00
Avital Oliver
f471d0eaa9 Add Log._suppress for spammy logs from tests 2013-07-09 21:52:38 -07:00
David Glasser
760289a437 More logging color tweaks.
Yellow looks bad on white, and blue looks meh on black. So stop coloring info
lines, stop using yellow, and only use blue for the header part.
2013-06-18 09:51:00 -07:00
Avital Oliver
7406c73b2a logging: small bugfix 2013-06-17 14:26:21 -07:00
Slava Kim
fefd11493f Add comment to _intercepted() function of logging package. 2013-06-17 11:48:28 -07:00
Slava Kim
4c88ed45f7 Imrove comments, clean intercept counter in logging package at the same
place we reset the intercepted array.
2013-06-17 11:37:26 -07:00
Slava Kim
4664722b71 Restructure testcases so they are easier to read. 2013-06-17 11:29:55 -07:00
Slava Kim
422edbd4d9 Change the error message. 2013-06-17 11:29:40 -07:00
Slava Kim
160a9a2b06 Add regexp to throwing objects test. 2013-06-14 16:39:42 -07:00
Slava Kim
ce813b496a Restructure tests a bit. 2013-06-14 16:39:42 -07:00
Slava Kim
f550264054 Clarify and check that incorrect logging doesn't print anything. 2013-06-14 16:39:42 -07:00
David Glasser
ea82e7c4b4 Move PACKAGE/.npm/ to PACKAGE/.npm/package/
This is to isolate the NPM dependencies of the package at runtime from the NPM
dependencies of any build-time plugins in the package, which live in
PACKAGE/.npm/plugin/foo.

Before, plugins could see the node modules at PACKAGE/.npm/node_modules, which
was not isolated enough.

(One issue would be that if you happened to switch a package from having runtime
dependencies to having buildtime dependencies, the buildtime dependencies would
not get installed. This is partially an issue because we don't know to uninstall
all dependencies if they are all removed, but even if that is fixed it would
enforce an unnecessary ordering semantics on NPM updates.)
2013-06-14 11:12:31 -07:00
Slava Kim
5ba4f9f194 Adjust test with date, so it is browser-independent. 2013-06-12 19:16:50 -07:00
Slava Kim
a41573f59f Convert dates and regexps to string, test these and some other
non-standard values. Tests will probably fail on IE5-7 :(.
2013-06-12 19:01:12 -07:00
Slava Kim
bcbd6e1b70 Make sure that 'message' of log object is always a string. Teach Log to
log falsy values. Throw an exception if use passed non-string as part of
log object. Tests for this functionality.
2013-06-12 18:08:34 -07:00
Avital Oliver
e682c97977 Include offset from UTC in formatted log strings 2013-06-03 10:41:12 -07:00
Slava Kim
51db0d2646 Test logging from evaled string. 2013-05-31 16:21:57 -07:00
Slava Kim
0665b33d4f Pass logging tests on IE7. 2013-05-31 10:52:58 -07:00
Slava Kim
ca8b0408ef Comment on ignoring the test for logging. 2013-05-30 15:15:07 -07:00
Slava Kim
c3513374bb Skip one logging test for unsupported browsers. 2013-05-30 11:21:09 -07:00