summaryrefslogtreecommitdiff
path: root/lib/sys.js
AgeCommit message (Collapse)AuthorFilesLines
2012-06-28Fix #3577 Un-break require('sys')isaacs1-1/+24
2012-01-09require('sys') now throwsRyan Dahl1-36/+1
To be removed in v0.9
2011-12-14util: add internal function _deprecationWarning()Ben Noordhuis1-9/+2
2011-11-29sys: print stack trace if NODE_DEBUG=sysBen Noordhuis1-1/+4
2011-08-31Show warning when using lib/sys.jsMaciej Małecki1-2/+1
2011-03-14Update copyright headersRyan Dahl1-0/+21
2010-12-01lintRyan Dahl1-2/+3
2010-11-02Remove warning in 'sys' - too aggressiveRyan Dahl1-2/+3
2010-10-11Soft migration of sys -> util, Removal of deprecated utils module.Micheil Smith1-387/+15
2010-10-09Fix styleRyan Dahl1-8/+4
2010-10-09Use readline.columns in sys.inspect when possibleRyan Dahl1-1/+1
Though, this should probably be an option to sys.inspect and be set by REPL.
2010-10-09Commas last in sys.inspectRyan Dahl1-2/+2
Ugly? Yes. More readable by first time users? Yes.
2010-10-06syntax fixes to pass jslintJoshaven Potter1-3/+3
2010-09-19sys.js: --needless Object.keys() --needless .map() in a single patchJorge Chamorro Bieling1-6/+1
2010-09-19sys.js: sys.inspect: show function namesJorge Chamorro Bieling1-2/+2
2010-09-16Handle writeStream errors in sys.pumpRyan Dahl1-3/+17
2010-09-08add ANSI coloring option to sys.inspect and, by default, to the replTrent Mick1-18/+63
2010-08-30Pass an error to the sys.pump callback if one occursRussell Haering1-0/+5
- Add test case for pumping from unreadable stream. - Document the sys.pump error handling behavior
2010-08-22Missing 'var' in sys.inspect (Found by Oleg Slobodskoi)isaacs1-1/+1
2010-08-18Fix sys.inspect for regex in different context.Herbert Vojčík1-2/+1
2010-07-13Adds "pause" and "resume" events to pump and it's readable argument.Mikeal Rogers1-0/+11
2010-06-29sys.inherts to shadow constructor property from enumerabilityDmitry Baranovskiy1-5/+7
thanks to ES5 features in V8 it is quite easily possible.
2010-06-22Add sys.pumpMikeal Rogers1-0/+18
2010-06-15Coerce each argument to a String before attempting to print it via sys.printBen Lowery1-1/+1
2010-06-01Fix style in sys.jsRyan Dahl1-8/+34
2010-05-29Use duck-typing as well as instanceof in sys.inspectisaacs1-7/+30
This makes it so that inspecting objects from other contexts works as expected.
2010-05-28Check for a couple of edge cases on the inspect hook.Tim Caswell1-1/+6
Don't treat sys.inspect special, same with prototype objects.
2010-05-28Provide a hook for user-specified inspect functionsTim Caswell1-0/+5
2010-05-20Deprecate sys.p()Ryan Dahl1-0/+6
2010-04-11trailing whitespace fixesisaacs1-2/+2
2010-04-01Don't put an extra comma after bases in inspect.Tim Caswell1-1/+1
{ [Function] { [Function] , more: true => more: true , more2: true , more2: true , more3: true , more3: true , more3: true , more4: true , more3: true , more5: true } }
2010-03-17child process now use net.SocketRyan Dahl1-25/+10
2010-03-15Use streams for stdout and stdinRyan Dahl1-4/+4
2010-03-02Add sys.log()Ryan Dahl1-0/+19
2010-03-01Stop sys.inspect from adding extra new lines for deep objects that are ↵Benjamin Thomas1-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.
2010-03-01Move process.inherits to sysRyan Dahl1-1/+8
2010-02-25Make the output of sys.inspect a lot more compact.Benjamin Thomas1-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.
2010-02-25Add optional third argument sys.inpect to indicate how many times you want ↵Benjamin Thomas1-7/+18
it to recurse
2010-02-19sys.exec() no longer uses PromiseRyan Dahl1-6/+5
2010-02-15sys.inspect(Date) now shows the date valueMark Hansen1-0/+10
2010-02-12Added multiple arg support for sys.puts(), print(), etc.visionmedia1-7/+15
2010-02-09Document the changes to sys.inspect's API.Tim Caswell1-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.
2010-02-09Rewrite sys.inspect to be more reliable and handle crazy edge cases.Tim Caswell1-75/+93
2010-01-15API: Move Promise and EventEmitter into 'events' moduleRyan Dahl1-1/+3
2010-01-03Rename "Dynamic Property" to "Getter/Setter" in sys.inspect.Tim Caswell1-3/+3
2010-01-02Fix inspect to not trigger dynamic propertiesTim Caswell1-1/+16
but to display them as special. Add unit tests to match
2009-12-31Fix inspect for the special case of an Object that inherits from Array, but ↵Tim Caswell1-1/+1
has other properties.
2009-12-07sys.inspect prints out special chars correctly (\n, \u0001, etc...)Xavier Shay1-1/+1
2009-12-06sys.inspect is totally more awesome nowXavier Shay1-20/+64
- No longer relies on JSON.stringify, so it can output nulls and functions - Handles circular references better - Has tests
2009-12-06Implement promises entirely in JSRyan Dahl1-7/+1