<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/node.git/src/node_javascript.cc, branch move-debugger-tests</title>
<subtitle>github.com: joyent/node.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/'/>
<entry>
<title>src: use v8::String::NewFrom*() functions</title>
<updated>2013-08-09T09:44:50+00:00</updated>
<author>
<name>Ben Noordhuis</name>
<email>info@bnoordhuis.nl</email>
</author>
<published>2013-08-07T19:50:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=f674b09f40d22915e15b6968aafc5d25ac8178a2'/>
<id>f674b09f40d22915e15b6968aafc5d25ac8178a2</id>
<content type='text'>
* Change calls to String::New() and String::NewSymbol() to their
  respective one-byte, two-byte and UTF-8 counterparts.

* Add a FIXED_ONE_BYTE_STRING macro that takes a string literal and
  turns it into a v8::Local&lt;v8::String&gt;.

* Add helper functions that make v8::String::NewFromOneByte() easier to
  work with. Said function expects a `const uint8_t*` but almost every
  call site deals with `const char*` or `const unsigned char*`. Helps
  us avoid doing reinterpret_casts all over the place.

* Code that handles file system paths keeps using UTF-8 for backwards
  compatibility reasons. At least now the use of UTF-8 is explicit.

* Remove v8::String::NewSymbol() entirely. Almost all call sites were
  effectively minor de-optimizations. If you create a string only once,
  there is no point in making it a symbol. If you are create the same
  string repeatedly, it should probably be cached in a persistent
  handle.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Change calls to String::New() and String::NewSymbol() to their
  respective one-byte, two-byte and UTF-8 counterparts.

* Add a FIXED_ONE_BYTE_STRING macro that takes a string literal and
  turns it into a v8::Local&lt;v8::String&gt;.

* Add helper functions that make v8::String::NewFromOneByte() easier to
  work with. Said function expects a `const uint8_t*` but almost every
  call site deals with `const char*` or `const unsigned char*`. Helps
  us avoid doing reinterpret_casts all over the place.

* Code that handles file system paths keeps using UTF-8 for backwards
  compatibility reasons. At least now the use of UTF-8 is explicit.

* Remove v8::String::NewSymbol() entirely. Almost all call sites were
  effectively minor de-optimizations. If you create a string only once,
  there is no point in making it a symbol. If you are create the same
  string repeatedly, it should probably be cached in a persistent
  handle.
</pre>
</div>
</content>
</entry>
<entry>
<title>src: more lint after cpplint tightening</title>
<updated>2013-07-31T21:16:26+00:00</updated>
<author>
<name>Ben Noordhuis</name>
<email>info@bnoordhuis.nl</email>
</author>
<published>2013-07-31T21:16:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=02cab97490690610ab5c4ce5d76208d415f0d2c4'/>
<id>02cab97490690610ab5c4ce5d76208d415f0d2c4</id>
<content type='text'>
Commit 847c6d9 adds a 'project headers before system headers' check
to cpplint. Update the files in src/ to make the linter pass again.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 847c6d9 adds a 'project headers before system headers' check
to cpplint. Update the files in src/ to make the linter pass again.
</pre>
</div>
</content>
</entry>
<entry>
<title>src: lint c++ code</title>
<updated>2013-07-31T18:12:06+00:00</updated>
<author>
<name>Fedor Indutny</name>
<email>fedor.indutny@gmail.com</email>
</author>
<published>2013-07-31T18:07:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=8e29ce9f13f7e4b6c0296325287c05f78ff22ce0'/>
<id>8e29ce9f13f7e4b6c0296325287c05f78ff22ce0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>src: don't use NewExternal() with unaligned strings</title>
<updated>2013-07-29T03:11:00+00:00</updated>
<author>
<name>Ben Noordhuis</name>
<email>info@bnoordhuis.nl</email>
</author>
<published>2013-07-29T03:07:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=34b0a36120a039968a87342b048d1596782524b0'/>
<id>34b0a36120a039968a87342b048d1596782524b0</id>
<content type='text'>
V8 3.20.9 enforces that external pointers are aligned on a two-byte
boundary.

We cannot portably guarantee that for the source code strings that
tools/js2c.py generates so simply stop using String::NewExternal()
altogether (and by extension String::ExternalAsciiStringResource).

Fixes the following run-time assert:

  FATAL ERROR: v8::String::NewExternal() Pointer is not aligned
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
V8 3.20.9 enforces that external pointers are aligned on a two-byte
boundary.

We cannot portably guarantee that for the source code strings that
tools/js2c.py generates so simply stop using String::NewExternal()
altogether (and by extension String::ExternalAsciiStringResource).

Fixes the following run-time assert:

  FATAL ERROR: v8::String::NewExternal() Pointer is not aligned
</pre>
</div>
</content>
</entry>
<entry>
<title>src: pass Isolate to all applicable api</title>
<updated>2013-03-20T00:11:02+00:00</updated>
<author>
<name>Trevor Norris</name>
<email>trev.norris@gmail.com</email>
</author>
<published>2013-03-19T21:55:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=f65e14ed1daa20a6d2aae08556b2a059f5d90599'/>
<id>f65e14ed1daa20a6d2aae08556b2a059f5d90599</id>
<content type='text'>
Update the api to pass node_isolate to all supported methods.

Much thanks to Ben Noordhuis and his work in 51f6e6a.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the api to pass node_isolate to all supported methods.

Much thanks to Ben Noordhuis and his work in 51f6e6a.
</pre>
</div>
</content>
</entry>
<entry>
<title>core: use proper #include directives</title>
<updated>2012-03-09T23:14:14+00:00</updated>
<author>
<name>Ben Noordhuis</name>
<email>info@bnoordhuis.nl</email>
</author>
<published>2012-03-09T23:11:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=ff4a9d381d2c77d1e074f9886c71003d5b7db25f'/>
<id>ff4a9d381d2c77d1e074f9886c71003d5b7db25f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Basic VC++ compatibility work.</title>
<updated>2011-08-06T10:31:29+00:00</updated>
<author>
<name>Peter Bright</name>
<email>drpizza@quiscalusmexicanus.org</email>
</author>
<published>2011-08-06T04:23:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=13d6a1f67fe3d95ba674923c96c7f0ecc8e6575a'/>
<id>13d6a1f67fe3d95ba674923c96c7f0ecc8e6575a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright headers</title>
<updated>2011-03-15T00:37:05+00:00</updated>
<author>
<name>Ryan Dahl</name>
<email>ry@tinyclouds.org</email>
</author>
<published>2011-03-10T08:54:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=55048cdf79f3c607ab986c35d0422e591e7f6448'/>
<id>55048cdf79f3c607ab986c35d0422e591e7f6448</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add string class that uses ExternalAsciiStringResource.</title>
<updated>2011-03-08T21:56:41+00:00</updated>
<author>
<name>Tom Hughes</name>
<email>tom.hughes@palm.com</email>
</author>
<published>2011-03-08T06:00:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=74954ce7d8b4b734302d295d0c816f04a694254e'/>
<id>74954ce7d8b4b734302d295d0c816f04a694254e</id>
<content type='text'>
Change the natives to use this class instead of creating completely new
strings. Reduces memory usage by about 1 MB.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change the natives to use this class instead of creating completely new
strings. Reduces memory usage by about 1 MB.
</pre>
</div>
</content>
</entry>
<entry>
<title>Dynamically load native scripts</title>
<updated>2010-10-12T18:49:41+00:00</updated>
<author>
<name>Ryan Dahl</name>
<email>ry@tinyclouds.org</email>
</author>
<published>2010-10-12T18:49:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=c4636a578cee61a8a3b570146e168f7dffec9998'/>
<id>c4636a578cee61a8a3b570146e168f7dffec9998</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
