1. Jul 11, 2013
    • Ben Noordhuis's avatar
      build: fix windows build · c679ac8f
      Ben Noordhuis authored
      Be very careful with forward declarations, MSVC is quite picky and
      rather stupid about it.
      
      Fixes #5810.
      c679ac8f
  2. Jul 07, 2013
  3. Jul 10, 2013
  4. Jul 09, 2013
  5. Jul 07, 2013
  6. Jul 08, 2013
  7. Jul 07, 2013
  8. Jul 06, 2013
    • Ben Noordhuis's avatar
      7684e0b5
    • Ben Noordhuis's avatar
      tools: add check-imports.sh script · d2d07421
      Ben Noordhuis authored
      Checks that `using` statements in src/*.cc are properly sorted and
      actually used.
      d2d07421
    • Ben Noordhuis's avatar
      src: enable native v8 typed arrays · 0693d22f
      Ben Noordhuis authored
      This commit removes our homegrown typed arrays implementation and
      enables V8's built-in typed arrays implementation.
      0693d22f
    • Ben Noordhuis's avatar
      src: abort() on fatal error in debug mode · c56a96c2
      Ben Noordhuis authored
      abort() generates a nice core dump and makes it easy to catch fatal
      errors in one's debugger of choice.
      c56a96c2
    • Ben Noordhuis's avatar
      string_bytes: stop using String::AsciiValue · 8985bb8b
      Ben Noordhuis authored
      Debug builds of V8 now actively check that the string only contains
      ASCII characters (i.e. doesn't contain bytes with the high bit set.)
      8985bb8b
    • Ben Noordhuis's avatar
      lib, src: upgrade after v8 api change · 110a9cd8
      Ben Noordhuis authored
      This is a big commit that touches just about every file in the src/
      directory. The V8 API has changed in significant ways. The most
      important changes are:
      
      * Binding functions take a const v8::FunctionCallbackInfo<T>& argument
        rather than a const v8::Arguments& argument.
      
      * Binding functions return void rather than v8::Handle<v8::Value>. The
        return value is returned with the args.GetReturnValue().Set() family
        of functions.
      
      * v8::Persistent<T> no longer derives from v8::Handle<T> and no longer
        allows you to directly dereference the object that the persistent
        handle points to. This means that the common pattern of caching
        oft-used JS values in a persistent handle no longer quite works,
        you first need to reconstruct a v8::Local<T> from the persistent
        handle with the Local<T>::New(isolate, persistent) factory method.
      
      A handful of (internal) convenience classes and functions have been
      added to make dealing with the new API a little easier.
      
      The most visible one is node::Cached<T>, which wraps a v8::Persistent<T>
      with some template sugar. It can hold arbitrary types but so far it's
      exclusively used for v8::Strings (which was by far the most commonly
      cached handle type.)
      110a9cd8
    • Ben Noordhuis's avatar
      build: remove --unsafe-optimizations flag · 9b3de60d
      Ben Noordhuis authored
      The previous commit removes our patch that builds V8 at -O2 rather
      than -O3 so there is not much point in keeping the configure switch
      around.
      
      The reason it did so was to work around an assortment of compiler and
      linker bugs. In particular, certain combinations of g++ and binutils
      generate bad or no code when -ffunction-sections or -finline-functions
      is enabled (which -O3 implicitly does.)
      
      It was quite the problem back in the day because everyone and his dog
      built from source. Now that we have prebuilt binaries and packages
      available, there is no longer a pressing need to be so accommodating.
      
      If you experience spurious (or possibly not so spurious) segmentation
      faults after this commit, you need to upgrade your compiler/linker
      toolchain.
      9b3de60d
    • Ben Noordhuis's avatar
      v8: reapply floating patches · 588040d2
      Ben Noordhuis authored
      588040d2
    • Ben Noordhuis's avatar
      v8: upgrade to v3.20.2 · 704fd8f3
      Ben Noordhuis authored
      704fd8f3
  9. Jul 07, 2013
  10. Jul 06, 2013
  11. Jul 05, 2013
  12. Jul 04, 2013
  13. Jul 03, 2013