summaryrefslogtreecommitdiff
path: root/lib/sys.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix #3577 Un-break require('sys')isaacs2012-06-281-1/+24
|
* require('sys') now throwsRyan Dahl2012-01-091-36/+1
| | | | To be removed in v0.9
* util: add internal function _deprecationWarning()Ben Noordhuis2011-12-141-9/+2
|
* sys: print stack trace if NODE_DEBUG=sysBen Noordhuis2011-11-291-1/+4
|
* Show warning when using lib/sys.jsMaciej Małecki2011-08-311-2/+1
|
* Update copyright headersRyan Dahl2011-03-141-0/+21
|
* lintRyan Dahl2010-12-011-2/+3
|
* Remove warning in 'sys' - too aggressiveRyan Dahl2010-11-021-2/+3
|
* Soft migration of sys -> util, Removal of deprecated utils module.Micheil Smith2010-10-111-387/+15
|
* Fix styleRyan Dahl2010-10-091-8/+4
|
* Use readline.columns in sys.inspect when possibleRyan Dahl2010-10-091-1/+1
| | | | Though, this should probably be an option to sys.inspect and be set by REPL.
* Commas last in sys.inspectRyan Dahl2010-10-091-2/+2
| | | | Ugly? Yes. More readable by first time users? Yes.
* syntax fixes to pass jslintJoshaven Potter2010-10-061-3/+3
|
* sys.js: --needless Object.keys() --needless .map() in a single patchJorge Chamorro Bieling2010-09-191-6/+1
|
* sys.js: sys.inspect: show function namesJorge Chamorro Bieling2010-09-191-2/+2
|
* Handle writeStream errors in sys.pumpRyan Dahl2010-09-161-3/+17
|
* add ANSI coloring option to sys.inspect and, by default, to the replTrent Mick2010-09-081-18/+63
|
* Pass an error to the sys.pump callback if one occursRussell Haering2010-08-301-0/+5
| | | | | - Add test case for pumping from unreadable stream. - Document the sys.pump error handling behavior
* Missing 'var' in sys.inspect (Found by Oleg Slobodskoi)isaacs2010-08-221-1/+1
|
* Fix sys.inspect for regex in different context.Herbert Vojčík2010-08-181-2/+1
|
* Adds "pause" and "resume" events to pump and it's readable argument.Mikeal Rogers2010-07-131-0/+11
|
* sys.inherts to shadow constructor property from enumerabilityDmitry Baranovskiy2010-06-291-5/+7
| | | | thanks to ES5 features in V8 it is quite easily possible.
* Add sys.pumpMikeal Rogers2010-06-221-0/+18
|
* Coerce each argument to a String before attempting to print it via sys.printBen Lowery2010-06-151-1/+1
|
* Fix style in sys.jsRyan Dahl2010-06-011-8/+34
|
* Use duck-typing as well as instanceof in sys.inspectisaacs2010-05-291-7/+30
| | | | This makes it so that inspecting objects from other contexts works as expected.
* Check for a couple of edge cases on the inspect hook.Tim Caswell2010-05-281-1/+6
| | | | Don't treat sys.inspect special, same with prototype objects.
* Provide a hook for user-specified inspect functionsTim Caswell2010-05-281-0/+5
|
* Deprecate sys.p()Ryan Dahl2010-05-201-0/+6
|
* trailing whitespace fixesisaacs2010-04-111-2/+2
|
* Don't put an extra comma after bases in inspect.Tim Caswell2010-04-011-1/+1
| | | | | | | | | | { [Function] { [Function] , more: true => more: true , more2: true , more2: true , more3: true , more3: true , more3: true , more4: true , more3: true , more5: true } }
* child process now use net.SocketRyan Dahl2010-03-171-25/+10
|
* Use streams for stdout and stdinRyan Dahl2010-03-151-4/+4
|
* Add sys.log()Ryan Dahl2010-03-021-0/+19
|
* Stop sys.inspect from adding extra new lines for deep objects that are ↵Benjamin Thomas2010-03-011-8/+19
| | | | | | | | | | | | | | | | | | | elements in an array. A couple other small fixes: If the keys of an object were all numeric they should be quoted. This way, you can now hypothetically copy and paste the output into your code (if the object doesn't contain any circular objects, deeply nested objects, Dates, RegExps or functions. I think). If a nested object isn't being recursed into, output "[Object]" as opposed to "[object Object]". If an object is longer than the max width but it is one line no matter what, then don't put the closing brace on a new line. Fix some formatting issues to try and match Node's style guidelines.
* Move process.inherits to sysRyan Dahl2010-03-011-1/+8
|
* Make the output of sys.inspect a lot more compact.Benjamin Thomas2010-02-251-10/+38
| | | | | | | | See: http://groups.google.com/group/nodejs/browse_thread/thread/ac060521e27fef65 By default now, sys.inspect doesn't recurse more than two times. Pass in null as the third parameter to make it recurse indefinitely.
* Add optional third argument sys.inpect to indicate how many times you want ↵Benjamin Thomas2010-02-251-7/+18
| | | | it to recurse
* sys.exec() no longer uses PromiseRyan Dahl2010-02-191-6/+5
|
* sys.inspect(Date) now shows the date valueMark Hansen2010-02-151-0/+10
|
* Added multiple arg support for sys.puts(), print(), etc.visionmedia2010-02-121-7/+15
|
* Document the changes to sys.inspect's API.Tim Caswell2010-02-091-4/+3
| | | | | | It now takes an optional showHidden argument that shows hidden/non-enumerable properties of objects. Also cleanup the lib/sys.js file a bit.
* Rewrite sys.inspect to be more reliable and handle crazy edge cases.Tim Caswell2010-02-091-75/+93
|
* API: Move Promise and EventEmitter into 'events' moduleRyan Dahl2010-01-151-1/+3
|
* Rename "Dynamic Property" to "Getter/Setter" in sys.inspect.Tim Caswell2010-01-031-3/+3
|
* Fix inspect to not trigger dynamic propertiesTim Caswell2010-01-021-1/+16
| | | | but to display them as special. Add unit tests to match
* Fix inspect for the special case of an Object that inherits from Array, but ↵Tim Caswell2009-12-311-1/+1
| | | | has other properties.
* sys.inspect prints out special chars correctly (\n, \u0001, etc...)Xavier Shay2009-12-071-1/+1
|
* sys.inspect is totally more awesome nowXavier Shay2009-12-061-20/+64
| | | | | | - No longer relies on JSON.stringify, so it can output nulls and functions - Handles circular references better - Has tests
* Implement promises entirely in JSRyan Dahl2009-12-061-7/+1
|