blob: 29ecccd7d851219e1c3d5fba62e35c9f226a37f3 [file] [log] [blame]
Leon Clarke4515c472010-02-03 11:58:03 +000012010-02-03: Version 2.1.0
2
3 Values are now always wrapped in objects when used as a receiver.
4 (issue 223).
5
6 [ES5] Implemented Object.getOwnPropertyNames.
7
8 [ES5] Restrict JSON.parse to only accept strings that conforms to the
9 JSON grammar.
10
11 Improvement of debugger agent (issue 549 and 554).
12
13 Fixed problem with skipped stack frame in profiles (issue 553).
14
15 Solaris support by Erich Ocean <erich.ocean@me.com> and Ryan Dahl
16 <ry@tinyclouds.org>.
17
18 Fix a bug that Math.round() returns incorrect results for huge
19 integers.
20
21 Fix enumeration order for objects created from some constructor
22 functions (isue http://crbug.com/3867).
23
24 Fix arithmetic on some integer constants (issue 580).
25
26 Numerous performance improvements including porting of previous IA-32
27 optimizations to x64 and ARM architectures.
28
29
Leon Clarkee46be812010-01-19 14:06:41 +0000302010-01-14: Version 2.0.6
31
32 Added ES5 Object.getPrototypeOf, GetOwnPropertyDescriptor,
33 GetOwnProperty, FromPropertyDescriptor.
34
35 Fixed Mac x64 build errors.
36
37 Improved performance of some math and string operations.
38
39 Improved performance of some regexp operations.
40
41 Improved performance of context creation.
42
43 Improved performance of hash tables.
44
45
462009-12-18: Version 2.0.5
47
48 Extended to upper limit of map space to allow for 7 times as many map
49 to be allocated (issue 524).
50
51 Improved performance of code using closures.
52
53 Improved performance of some binary operations involving doubles.
54
55
562009-12-16: Version 2.0.4
57
58 Added ECMAScript 5 Object.create.
59
60 Improved performance of Math.max and Math.min.
61
62 Optimized adding of strings on 64-bit platforms.
63
64 Improved handling of external strings by using a separate table
65 instead of weak handles. This improves garbage collection
66 performance and uses less memory.
67
68 Changed code generation for object and array literals in toplevel
69 code to be more compact by doing more work in the runtime.
70
71 Fixed a crash bug triggered when garbage collection happened during
72 generation of a callback load inline cache stub.
73
74 Fixed crash bug sometimes triggered when local variables shadowed
75 parameters in functions that used the arguments object.
76
77
Steve Blockd0582a62009-12-15 09:54:21 +0000782009-12-03: Version 2.0.3
79
80 Optimized handling and adding of strings, for-in and Array.join.
81
82 Heap serialization is now non-destructive.
83
84 Improved profiler support with information on time spend in C++
85 callbacks registered through the API.
86
87 Added commands to the debugger protocol for starting/stopping
88 profiling.
89
90 Enabled the non-optimizing compiler for top-level code.
91
92 Changed the API to only allow strings to be set as data objects on
93 Contexts and scripts to avoid potentially keeping global objects
94 around for too long (issue 528).
95
96 OpenBSD support patch by Peter Valchev <pvalchev@gmail.com>.
97
98 Fixed bugs.
99
100
1012009-11-24: Version 2.0.2
102
103 Improved profiler support.
104
105 Fixed bug that broke compilation of d8 with readline support.
106
107
1082009-11-20: Version 2.0.1
109
110 Fixed crash bug in String.prototype.replace.
111
112 Reverted a change which caused Chromium interactive ui test
113 failures.
114
Leon Clarkee46be812010-01-19 14:06:41 +0000115
Steve Blockd0582a62009-12-15 09:54:21 +00001162009-11-18: Version 2.0.0
117
118 Added support for VFP on ARM.
119
120 Added TryCatch::ReThrow method to the API.
121
122 Reduced the size of snapshots and improved the snapshot load time.
123
124 Improved heap profiler support.
125
126 64-bit version now supported on Windows.
127
128 Fixed a number of debugger issues.
129
130 Fixed bugs.
131
132
1332009-10-29: Version 1.3.18
134
135 Reverted a change which caused crashes in RegExp replace.
136
137 Reverted a change which caused Chromium ui_tests failure.
138
139
1402009-10-28: Version 1.3.17
141
142 Added API method to get simple heap statistics.
143
144 Improved heap profiler support.
145
146 Fixed the implementation of the resource constraint API so it
147 works when using snapshots.
148
149 Fixed a number of issues in the Windows 64-bit version.
150
151 Optimized calls to API getters.
152
153 Added valgrind notification on code modification to the 64-bit version.
154
155 Fixed issue where we logged shared library addresses on Windows at
156 startup and never used them.
157
158
Steve Block3ce2e202009-11-05 08:53:23 +00001592009-10-16: Version 1.3.16
Leon Clarkee46be812010-01-19 14:06:41 +0000160
Steve Block3ce2e202009-11-05 08:53:23 +0000161 X64: Convert smis to holding 32 bits of payload.
162
163 Introduce v8::Integer::NewFromUnsigned method.
164
165 Add missing null check in Context::GetCurrent.
166
167 Add trim, trimLeft and trimRight methods to String
168 Patch by Jan de Mooij <jandemooij@gmail.com>
169
170 Implement ES5 Array.isArray
171 Patch by Jan de Mooij <jandemooij@gmail.com>
172
173 Skip access checks for hidden properties.
174
175 Add String::Concat(Handle<String> left, Handle<String> right) to the V8 API.
176
177 Fix GYP-based builds of V8.
178
179
1802009-10-07: Version 1.3.15
181
182 Expand the maximum size of the code space to 512MB for 64-bit mode.
183
184 Fixed a crash bug happening when starting profiling (issue
185 http://crbug.com/23768).
186
187
1882009-10-07: Version 1.3.14
189
190 Added GetRealNamedProperty to the API to lookup real properties
191 located on the object or in the prototype chain skipping any
192 interceptors.
193
194 Fix the stack limits setting API to work correctly with threads. The
195 stack limit now needs to be set to each thread thich is used with V8.
196
197 Remove the high-priority flag from IdleNotification()
198
199 Ensure V8 is initialized before locking and unlocking threads.
200
201 Implemented a new JavaScript minifier for compressing the source of
Steve Blockd0582a62009-12-15 09:54:21 +0000202 the built-in JavaScript. This removes non-Open Source code from Douglas
Steve Block3ce2e202009-11-05 08:53:23 +0000203 Crockford from the project.
204
205 Added a missing optimization in StringCharAt.
206
207 Fixed some flaky socket tests.
208
209 Change by Alexander Botero-Lowry to fix profiler sampling on FreeBSD
210 in 64-bit mode.
211
212 Fixed memory leaks in the thread management code.
213
214 Fixed the result of assignment to a pixel array. The assigned value
215 is now the result.
216
217 Error reporting for invalid left-hand sides in for-in statements, pre-
218 and postfix count expressions, and assignments now matches the JSC
219 behavior in Safari 4.
220
221 Follow the spec in disallowing function declarations without a name.
222
223 Always allocate code objects within a 2 GB range. On x64 architecture
224 this is used to use near calls (32-bit displacement) in Code objects.
225
226 Optimized array construction ported to x64 and ARM architectures.
227
228 [ES5] Changed Object.keys to return strings for element indices.
229
230
Steve Blocka7e24c12009-10-30 11:49:00 +00002312009-09-23: Version 1.3.13
232
233 Fixed uninitialized memory problem.
234
235 Improved heap profiler support.
236
237
2382009-09-22: Version 1.3.12
239
240 Changed behavior of |function|.toString() on built-in functions to
241 be compatible with other implementations. Patch by Jan de Mooij.
242
243 Added Object::IsDirty in the API.
244
245 Optimized array construction; it is now handled purely in native
246 code.
247
248 [ES5] Made properties of the arguments array enumerable.
249
250 [ES5] Added test suite adapter for the es5conform test suite.
251
252 [ES5] Added Object.keys function.
253
254
2552009-09-15: Version 1.3.11
256
257 Fixed crash in error reporting during bootstrapping.
258
259 Optimized generated IA32 math code by using SSE2 instructions when
260 available.
261
262 Implemented missing pieces of debugger infrastructure on ARM. The
263 debugger is now fully functional on ARM.
264
265 Make 'hidden' the default visibility for gcc.
266
267
2682009-09-09: Version 1.3.10
269
270 Fixed profiler on Mac in 64-bit mode.
271
272 Optimized creation of objects from simple constructor functions on
273 ARM.
274
275 Fixed a number of debugger issues.
276
277 Reduced the amount of memory consumed by V8.
278
279
2802009-09-02: Version 1.3.9
281
282 Optimized stack guard checks on ARM.
283
284 Optimized API operations by inlining more in the API.
285
286 Optimized creation of objects from simple constructor functions.
287
288 Enabled a number of missing optimizations in the 64-bit port.
289
290 Implemented native-code support for regular expressions on ARM.
291
292 Stopped using the 'sahf' instruction on 64-bit machines that do
293 not support it.
294
295 Fixed a bug in the support for forceful termination of JavaScript
296 execution.
297
298
2992009-08-26: Version 1.3.8
300
301 Changed the handling of idle notifications to allow idle
302 notifications when V8 has not yet been initialized.
303
304 Fixed ARM simulator compilation problem on Windows.
Leon Clarkee46be812010-01-19 14:06:41 +0000305
Steve Blocka7e24c12009-10-30 11:49:00 +0000306
3072009-08-25: Version 1.3.7
308
309 Reduced the size of generated code on ARM platforms by reducing
310 the size of constant pools.
311
312 Changed build files to not include the 'ENV' user environment
313 variable in the build environment.
314
315 Changed the handling of idle notifications.
316
317
3182009-08-21: Version 1.3.6
319
320 Add support for forceful termination of JavaScript execution.
321
322 Add low memory notification to the API. The embedding host can signal
323 a low memory situation to V8.
324
325 Changed the handling of global handles (persistent handles in the API
326 sense) to avoid issues regarding allocation of new global handles
327 during weak handle callbacks.
328
329 Changed the growth policy of the young space.
330
331 Fixed a GC issue introduced in version 1.3.5.
332
333
3342009-08-19: Version 1.3.5
335
336 Optimize initialization of some arrays in the builtins.
337
338 Fix mac-nm script to support filenames with spaces.
339
340 Support for using the V8 profiler when V8 is embedded in a Windows DLL.
341
342 Changed typeof RegExp from 'object' to 'function' for compatibility.
343 Fixed bug where regexps were not callable across contexts.
344
345 Added context independent script compilation to the API.
346
347 Added API call to get the stack trace for an exception.
348
349 Added API for getting object mirrors.
350
351 Make sure that SSE3 instructions are used whenever possible even when
352 running off a snapshot generated without using SSE3 instructions.
353
354 Tweaked the handling of the initial size and growth policy of the heap.
355
356 Added native code generation for RegExp to 64-bit version.
357
358 Added JavaScript debugger support to 64-bit version.
359
360
3612009-08-13: Version 1.3.4
362
363 Added a readline() command to the d8 shell.
364
365 Fixed bug in json parsing.
366
367 Added idle notification to the API and reduced memory on idle
368 notifications.
369
370
3712009-08-12: Version 1.3.3
372
373 Fix issue 417: incorrect %t placeholder expansion.
374
375 Add .gitignore file similar to Chromium's one.
376
377 Fix SConstruct file to build with new logging code for Android.
378
379 API: added function to find instance of template in prototype
380 chain. Inlined Object::IsInstanceOf.
381
382 Land change to notify valgrind when we modify code on x86.
383
384 Add api call to determine whether a string can be externalized.
385
386 Add a write() command to d8.
387
388
3892009-08-05: Version 1.3.2
390
391 Started new compiler infrastructure for two-pass compilation using a
392 control flow graph constructed from the AST.
393
394 Profiler stack sampling for X64.
395
396 Safe handling of NaN to Posix platform-dependent time functions.
397
398 Added a new profiler control API to unify controlling various aspects
399 of profiling.
400
401 Fixed issue 392.
402
403
4042009-07-30: Version 1.3.1
405
406 Speed improvements to accessors and interceptors.
407
408 Added support for capturing stack information on custom errors.
409
410 Added support for morphing an object into a pixel array where its
411 indexed properties are stored in an external byte array. Values written
412 are always clamped to the 0..255 interval.
413
414 Profiler on x64 now handles C/C++ functions from shared libraries.
415
416 Changed the debugger to avoid stepping into function.call/apply if the
417 function is a built-in.
418
419 Initial implementation of constructor heap profile for JS objects.
Leon Clarkee46be812010-01-19 14:06:41 +0000420
Steve Blocka7e24c12009-10-30 11:49:00 +0000421 More fine grained control of profiling aspects through the API.
Leon Clarkee46be812010-01-19 14:06:41 +0000422
Steve Blocka7e24c12009-10-30 11:49:00 +0000423 Optimized the called as constructor check for API calls.
424
425
4262009-07-27: Version 1.3.0
427
428 Allowed RegExp objects to be called as functions (issue 132).
429
430 Fixed issue where global property cells would escape after
431 detaching the global object; see http://crbug.com/16276.
432
433 Added support for stepping into setters and getters in the
434 debugger.
435
436 Changed the debugger to avoid stopping in its own JavaScript code
437 and in the code of built-in functions.
438
439 Fixed issue 345 by avoiding duplicate escaping labels.
440
441 Fixed ARM code generator crash in short-circuited boolean
442 expressions and added regression tests.
443
444 Added an external allocation limit to avoid issues where small V8
445 objects would hold on to large amounts of external memory without
446 causing garbage collections.
Leon Clarkee46be812010-01-19 14:06:41 +0000447
448 Finished more of the inline caching stubs for x64 targets.
Steve Blocka7e24c12009-10-30 11:49:00 +0000449
450
4512009-07-13: Version 1.2.14
452
453 Added separate paged heap space for global property cells and
454 avoid updating the write barrier when storing into them.
455
456 Improved peep-hole optimization on ARM platforms by not emitting
457 unnecessary debug information.
458
459 Re-enabled ICs for loads and calls that skip a global object
460 during lookup through the prototype chain.
461
462 Allowed access through global proxies to use ICs.
463
464 Fixed issue 401.
465
466
4672009-07-09: Version 1.2.13
468
469 Fixed issue 397, issue 398, and issue 399.
470
471 Added support for breakpoint groups.
472
473 Fixed bugs introduced with the new global object representation.
474
475 Fixed a few bugs in the ARM code generator.
476
477
4782009-07-06: Version 1.2.12
479
480 Added stack traces collection to Error objects accessible through
481 the e.stack property.
482
483 Changed RegExp parser to use a recursive data structure instead of
484 stack-based recursion.
485
486 Optimized Date object construction and string concatenation.
487
488 Improved performance of div, mod, and mul on ARM platforms.
489
490
4912009-07-02: Version 1.2.11
492
493 Improved performance on IA-32 and ARM.
494
495 Fixed profiler sampler implementation on Mac OS X.
496
497 Changed the representation of global objects to improve
498 performance of adding a lot of new properties.
499
500
5012009-06-29: Version 1.2.10
502
503 Improved debugger support.
504
505 Fixed bug in exception message reporting (issue 390).
506
507 Improved overall performance.
508
509
5102009-06-23: Version 1.2.9
511
512 Improved math performance on ARM.
513
514 Fixed profiler name-inference bug.
515
516 Fixed handling of shared libraries in the profiler tick processor
517 scripts.
518
519 Fixed handling of tests that time out in the test scripts.
520
521 Fixed compilation on MacOS X version 10.4.
522
523 Fixed two bugs in the regular expression engine.
524
525 Fixed a bug in the string type inference.
526
527 Fixed a bug in the handling of 'constant function' properties.
Leon Clarkee46be812010-01-19 14:06:41 +0000528
Steve Blocka7e24c12009-10-30 11:49:00 +0000529 Improved overall performance.
Leon Clarkee46be812010-01-19 14:06:41 +0000530
Steve Blocka7e24c12009-10-30 11:49:00 +0000531
5322009-06-16: Version 1.2.8
533
534 Optimized math on ARM platforms.
535
536 Fixed two crash bugs in the handling of getters and setters.
537
538 Improved the debugger support by adding scope chain information.
539
540 Improved the profiler support by compressing log data transmitted
541 to clients.
542
543 Improved overall performance.
544
545
5462009-06-08: Version 1.2.7
547
548 Improved debugger and profiler support.
549
550 Reduced compilation time by improving the handling of deferred
551 code.
552
553 Optimized interceptor accesses where the property is on the object
554 on which the interceptors is attached.
555
556 Fixed compilation problem on GCC 4.4 by changing the stack
557 alignment to 16 bytes.
558
559 Fixed handle creation to follow stric aliasing rules.
560
561 Fixed compilation on FreeBSD.
562
563 Introduced API for forcing the deletion of a property ignoring
564 interceptors and attributes.
565
566
5672009-05-29: Version 1.2.6
568
569 Added a histogram recording hit rates at different levels of the
570 compilation cache.
571
572 Added stack overflow check for the RegExp analysis phase. Previously a
573 very long regexp graph could overflow the stack with recursive calls.
574
575 Use a dynamic buffer when collecting log events in memory.
576
577 Added start/stop events to the profiler log.
578
579 Fixed infinite loop which could happen when setting a debug break while
580 executing a RegExp compiled to native code.
581
582 Fixed handling of lastIndexOf called with negative index (issue 351).
583
584 Fixed irregular crash in profiler test (issue 358).
585
586 Fixed compilation issues with some versions of gcc.
587
588
5892009-05-26: Version 1.2.5
590
591 Fixed bug in initial boundary check for Boyer-Moore text
592 search (issue 349).
593
594 Fixed compilation issues with MinGW and gcc 4.3+ and added support
595 for armv7 and cortex-a8 architectures. Patches by Lei Zhang and
596 Craig Schlenter.
597
598 Added a script cache to the debugger.
599
600 Optimized compilation performance by improving internal data
601 structures and avoiding expensive property load optimizations for
602 code that's infrequently executed.
603
604 Exposed the calling JavaScript context through the static API
605 function Context::GetCalling().
606
607
6082009-05-18: Version 1.2.4
609
610 Improved performance of floating point number allocation for ARM
611 platforms.
612
613 Fixed crash when using the instanceof operator on functions with
614 number values in their prototype chain (issue 341).
615
616 Optimized virtual frame operations in the code generator to speed
617 up compilation time and allocated the frames in the zone.
618
619 Made the representation of virtual frames and jump targets in the
620 code generator much more compact.
621
622 Avoided linear search for non-locals in scope code when resolving
623 variables inside with and eval scopes.
624
625 Optimized lexical scanner by dealing with whitespace as part of
626 the token scanning instead of as a separate step before it.
627
628 Changed the scavenging collector so that promoted objects do not
629 reside in the old generation while their remembered set is being
630 swept for pointers into the young generation.
631
632 Fixed numeric overflow handling when compiling count operations.
633
634
6352009-05-11: Version 1.2.3
636
637 Fixed bug in reporting of out-of-memory situations.
638
639 Introduced hidden prototypes on certain builtin prototype objects
640 such as String.prototype to emulate JSC's behavior of restoring
641 the original function when deleting functions from those prototype
642 objects.
643
644 Fixed crash bug in the register allocator.
645
646
6472009-05-04: Version 1.2.2
648
649 Fixed bug in array sorting for sparse arrays (issue 326).
650
651 Added support for adding a soname when building a shared library
652 on Linux (issue 151).
653
654 Fixed bug caused by morphing internal ASCII strings to external
655 two-byte strings. Slices over ASCII strings have to forward ASCII
656 checks to the underlying buffer string.
657
658 Allowed API call-as-function handlers to be called as
659 constructors.
660
661 Fixed a crash bug where an external string was disposed but a
662 slice of the external string survived as a symbol.
663
664
6652009-04-27: Version 1.2.1
666
667 Added EcmaScript 5 JSON object.
668
669 Fix bug in preemption support on ARM.
670
671
6722009-04-23: Version 1.2.0
673
674 Optimized floating-point operations on ARM.
675
676 Added a number of extensions to the debugger API.
677
678 Changed the enumeration order for unsigned integer keys to always
679 be numerical order.
680
681 Added a "read" extension to the shell sample.
682
683 Added support for Array.prototype.reduce and
684 Array.prototype.reduceRight.
685
686 Added an option to the SCons build to control Microsoft Visual C++
687 link-time code generation.
688
689 Fixed a number of bugs (in particular issue 315, issue 316,
690 issue 317 and issue 318).
691
692
6932009-04-15: Version 1.1.10
694
695 Fixed crash bug that occurred when loading a const variable in the
696 presence of eval.
697
698 Allowed using with and eval in registered extensions in debug mode
699 by fixing bogus assert.
700
701 Fixed the source position for function returns to enable the
702 debugger to break there.
703
704
7052009-04-14: Version 1.1.9
706
707 Made the stack traversal code in the profiler robust by avoiding
708 to look into the heap.
709
710 Added name inferencing for anonymous functions to facilitate
711 debugging and profiling.
712
713 Re-enabled stats timers in the developer shell (d8).
714
715 Fixed issue 303 by avoiding to shortcut cons-symbols.
716
717
7182009-04-11: Version 1.1.8
719
720 Changed test-debug/ThreadedDebugging to be non-flaky (issue 96).
721
722 Fixed step-in handling for Function.prototype.apply and call in
723 the debugger (issue 269).
724
725 Fixed v8::Object::DeleteHiddenValue to not bail out when there
726 are no hidden properties.
727
728 Added workaround for crash bug, where external symbol table
729 entries with deleted resources would lead to NPEs when looking
730 up in the symbol table.
731
732
7332009-04-07: Version 1.1.7
734
735 Added support for easily importing additional environment
736 variables into the SCons build.
737
738 Optimized strict equality checks.
739
740 Fixed crash in indexed setters on objects without a corresponding
741 getter (issue 298).
742
743 Re-enabled script compilation cache.
744
745
7462009-04-01: Version 1.1.6
747
748 Reverted an unsafe code generator change.
749
750
7512009-04-01: Version 1.1.5
752
753 Fixed bug that caused function literals to not be optimized as
754 much as other functions.
755
756 Improved profiler support.
757
758 Fixed a crash bug in connection with debugger unloading.
759
760 Fixed a crash bug in the code generator caused by losing the
761 information that a frame element was copied.
762
763 Fixed an exception propagation bug that could cause non-null
764 return values when exceptions were thrown.
765
766
7672009-03-30: Version 1.1.4
768
769 Optimized String.prototype.match.
770
771 Improved the stack information in profiles.
772
773 Fixed bug in ARM port making it possible to compile the runtime
774 system for thumb mode again.
775
776 Implemented a number of optimizations in the code generator.
777
778 Fixed a number of memory leaks in tests.
779
780 Fixed crash bug in connection with script source code and external
781 strings.
782
783
7842009-03-24: Version 1.1.3
785
786 Fixed assertion failures in compilation of loop conditions.
787
788 Removed STL dependency from developer shell (d8).
789
790 Added infrastructure for protecting the V8 heap from corruption
791 caused by memory modifications from the outside.
792
793
7942009-03-24: Version 1.1.2
795
796 Improved frame merge code generated by the code generator.
797
798 Optimized String.prototype.replace.
799
800 Implemented __defineGetter__ and __defineSetter__ for properties
801 with integer keys on non-array objects.
802
803 Improved debugger and profiler support.
804
805 Fixed a number of portability issues to allow compilation for
806 smaller ARM devices.
807
808 Exposed object cloning through the API.
809
810 Implemented hidden properties. This is used to expose an identity
811 hash for objects through the API.
812
813 Implemented restarting of regular expressions if their input
814 string changes representation during preemption.
815
816 Fixed a code generator bug that could cause assignments in loops
817 to be ignored if using continue to break out of the loop (issue
818 284).
819
820
8212009-03-12: Version 1.1.1
822
823 Fixed an assertion in the new compiler to take stack overflow
824 exceptions into account.
825
826 Removed exception propagation code that could cause crashes.
827
828 Fixed minor bug in debugger line number computations.
829
830 8-byte align the C stack on Linux and Windows to speed up floating
831 point computations.
832
833
8342009-03-12: Version 1.1.0
835
836 Improved code generation infrastructure by doing simple register
837 allocation and constant folding and propagation.
838
839 Optimized regular expression matching by avoiding to create
840 intermediate string arrays and by flattening nested array
841 representations of RegExp data.
842
843 Traverse a few stack frames when recording profiler samples to
844 include partial call graphs in the profiling output.
845
846 Added support for using OProfile to profile generated code.
847
848 Added remote debugging support to the D8 developer shell.
849
850 Optimized creation of nested literals like JSON objects.
851
852 Fixed a bug in garbage collecting unused maps and turned it on by
853 default (--collect-maps).
854
855 Added support for running tests under Valgrind.
856
857
8582009-02-27: Version 1.0.3
859
860 Optimized double-to-integer conversions in bit operations by using
861 SSE3 instructions if available.
862
863 Optimized initialization sequences that store to multiple
864 properties of the same object.
865
866 Changed the D8 debugger frontend to use JSON messages.
867
868 Force garbage collections when disposing contexts.
869
870 Align code objects at 32-byte boundaries.
871
872
8732009-02-25: Version 1.0.2
874
875 Improved profiling support by performing simple call stack
876 sampling for ticks and by fixing a bug in the logging of code
877 addresses.
878
879 Fixed a number of debugger issues.
880
881 Optimized code that uses eval.
882
883 Fixed a couple of bugs in the regular expression engine.
884
885 Reduced the size of generated code for certain regular expressions.
886
887 Removed JSCRE completely.
888
889 Fixed issue where test could not be run if there was a dot in the
890 checkout path.
891
892
8932009-02-13: Version 1.0.1
894
895 Fixed two crash-bugs in irregexp (issue 231 and 233).
896
897 Fixed a number of minor bugs (issue 87, 227 and 228).
898
899 Added support for morphing strings to external strings on demand
900 to avoid having to create copies in the embedding code.
901
902 Removed experimental support for external symbol callbacks.
903
904
9052009-02-09: Version 1.0.0
906
907 Fixed crash-bug in the code generation for case independent 16 bit
908 backreferences.
909
910 Made shells more robust in the presence of string conversion
911 failures (issue 224).
912
913 Fixed a potential infinite loop when attempting to resolve
914 eval (issue 221).
915
916 Miscellaneous fixes to the new regular expression engine.
917
918 Reduced binary by stripping unneeded text from JavaScript library and
919 minifying some JavaScript files.
920
921
9222009-01-27: Version 0.4.9
923
924 Enabled new regular expression engine.
925
926 Made a number of changes to the debugger protocol.
927
928 Fixed a number of bugs in the preemption support.
929
930 Added -p option to the developer shell to run files in parallel
931 using preemption.
932
933 Fixed a number of minor bugs (including issues 176, 187, 189, 192,
934 193, 198 and 201).
935
936 Fixed a number of bugs in the serialization/deserialization
937 support for the ARM platform.
938
939
9402009-01-19: Version 0.4.8.1
941
942 Minor patch to debugger support.
943
944
9452009-01-16: Version 0.4.8
946
947 Fixed string length bug on ARM (issue 171).
948
949 Made most methods in the API const.
950
951 Optimized object literals by improving data locality.
952
953 Fixed bug that caused incomplete functions to be cached in case of
954 stack overflow exceptions.
955
956 Fixed bugs that caused catch variables and variables introduced by
957 eval to behave incorrectly when using accessors (issues 186, 190
958 and 191).
959
960
9612009-01-06: Version 0.4.7
962
963 Minor bugfixes and optimizations.
964
965 Added command line debugger to D8 shell.
966
967 Fixed subtle bug that caused the wrong 'this' to be used when
968 calling a caught function in a catch clause.
969
970 Inline array loads within loops directly in the code instead of
971 always calling a stub.
972
973
9742008-12-11: Version 0.4.6
975
976 Fixed exception reporting bug where certain exceptions were
977 incorrectly reported as uncaught.
978
979 Improved the memory allocation strategy used during compilation to
980 make running out of memory when compiling huge scripts less
981 likely.
982
983 Optimized String.replace by avoiding the construction of certain
984 sub strings.
985
986 Fixed bug in code generation for large switch statements on ARM.
987
988 Fixed bug that caused V8 to change the global object template
989 passed in by the user.
990
991 Changed the API for creating object groups used during garbage
992 collection. Entire object groups are now passed to V8 instead of
993 individual members of the groups.
994
995
9962008-12-03: Version 0.4.5
997
998 Added experimental API support for allocating V8 symbols as
999 external strings.
1000
1001 Fixed bugs in debugging support on ARM.
1002
1003 Changed eval implementation to correctly detect whether or not a
1004 call to eval is aliased.
1005
1006 Fixed bug caused by a combination of the compilation cache and
1007 dictionary probing in native code. The bug caused us to sometimes
1008 call functions that had not yet been compiled.
1009
1010 Added platform support for FreeBSD.
1011
1012 Added support for building V8 on Windows with either the shared or
1013 static version of MSVCRT
1014
1015 Added the v8::jscre namespace around the jscre functions to avoid
1016 link errors (duplicate symbols) when building Google Chrome.
1017
1018 Added support for calling a JavaScript function with the current
1019 debugger execution context as its argument to the debugger
1020 interface.
1021
1022 Changed the type of names of counters from wchar_t to char.
1023
1024 Changed the Windows system call used to compute daylight savings
1025 time. The system call that we used to use became four times
1026 slower on WinXP SP3.
1027
1028 Added support in the d8 developer shell for memory-mapped counters
1029 and added a stats-viewer tool.
1030
1031 Fixed bug in upper/lower case mappings (issue 149).
1032
1033
10342008-11-17: Version 0.4.4
1035
1036 Reduced code size by using shorter instruction encoding when
1037 possible.
1038
1039 Added a --help option to the shell sample and to the d8 shell.
1040
1041 Added visual studio project files for building the ARM simulator.
1042
1043 Fixed a number of ARM simulator issues.
1044
1045 Fixed bug in out-of-memory handling on ARM.
1046
1047 Implemented shell support for passing arguments to a script from
1048 the command line.
1049
1050 Fixed bug in date code that made certain date functions return -0
1051 instead of 0 for dates before the epoch.
1052
1053 Restricted applications of eval so it can only be used in the
1054 context of the associated global object.
1055
1056 Treat byte-order marks as whitespace characters.
1057
1058
10592008-11-04: Version 0.4.3
1060
1061 Added support for API accessors that prohibit overwriting by
1062 accessors defined in JavaScript code by using __defineGetter__ and
1063 __defineSetter__.
1064
1065 Improved handling of conditionals in test status files.
1066
1067 Introduced access control in propertyIsEnumerable.
1068
1069 Improved performance of some string operations by caching
1070 information about the type of the string between operations.
1071
1072 Fixed bug in fast-case code for switch statements that only have
1073 integer labels.
1074
1075
10762008-10-30: Version 0.4.2
1077
1078 Improved performance of Array.prototype.concat by moving the
1079 implementation to C++ (issue 123).
1080
1081 Fixed heap growth policy to avoid growing old space to its maximum
1082 capacity before doing a garbage collection and fixed issue that
1083 would lead to artificial out of memory situations (issue 129).
1084
1085 Fixed Date.prototype.toLocaleDateString to return the date in the
1086 same format as WebKit.
1087
1088 Added missing initialization checks to debugger API.
1089
1090 Added removing of unused maps during GC.
1091
1092
10932008-10-28: Version 0.4.1
1094
1095 Added caching of RegExp data in compilation cache.
1096
1097 Added Visual Studio project file for d8 shell.
1098
1099 Fixed function call performance regression introduced in version
1100 0.4.0 when splitting the global object in two parts (issue 120).
1101
1102 Fixed issue 131 by checking for empty handles before throwing and
1103 reporting exceptions.
1104
1105
11062008-10-23: Version 0.4.0
1107
1108 Split the global object into two parts: The state holding global
1109 object and the global object proxy.
1110
1111 Fixed bug that affected the value of an assignment to an element
1112 in certain cases (issue 116).
1113
1114 Added GetPropertyNames functionality (issue 33) and extra Date
1115 functions (issue 77) to the API.
1116
1117 Changed WeakReferenceCallback to take a Persistent<Value> instead
1118 of a Persistent<Object> (issue 101).
1119
1120 Fixed issues with message reporting for exceptions in try-finally
1121 blocks (issues 73 and 75).
1122
1123 Optimized flattening of strings and string equality checking.
1124
1125 Improved Boyer-Moore implementation for faster indexOf operations.
1126
1127 Added development shell (d8) which includes counters and
1128 completion support.
1129
1130 Fixed problem with the receiver passed to functions called from
1131 eval (issue 124).
1132
1133
11342008-10-16: Version 0.3.5
1135
1136 Improved string hash-code distribution by excluding bit-field bits
1137 from the hash-code.
1138
1139 Changed string search algorithm used in indexOf from KMP to
1140 Boyer-Moore.
1141
1142 Improved the generated code for the instanceof operator.
1143
1144 Improved performance of slow-case string equality checks by
1145 specializing the code based on the string representation.
1146
1147 Improve the handling of out-of-memory situations (issue 70).
1148
1149 Improved performance of strict equality checks.
1150
1151 Improved profiler output to make it easier to see anonymous
1152 functions.
1153
1154 Improved performance of slow-case keyed loads.
1155
1156 Improved property access performance by allocating a number of
1157 properties in the front object.
1158
1159 Changed the toString behavior on the built-in object constructors
1160 to print [native code] instead of the actual source. Some web
1161 applications do not like constructors with complex toString
1162 results.
1163
1164
11652008-10-06: Version 0.3.4
1166
1167 Changed Array.prototype.sort to use quick sort.
1168
1169 Fixed code generation issue where leaving a finally block with
1170 break or continue would accumulate elements on the expression
1171 stack (issue 86).
1172
1173 Made sure that the name accessor on functions returns the expected
1174 names for builtin JavaScript functions and C++ callback functions.
1175
1176 Added fast case code for extending the property storage array of
1177 JavaScript objects.
1178
1179 Ported switch statement optimizations introduced in version 0.3.3
1180 to the ARM code generator.
1181
1182 Allowed GCC to use strict-aliasing rules when compiling.
1183
1184 Improved performance of arguments object allocation by taking care
1185 of arguments adaptor frames in the generated code.
1186
1187 Updated the V8 benchmark suite to version 2.
1188
1189
11902008-09-25: Version 0.3.3
1191
1192 Improved handling of relocation information to enable more
1193 peep-hole optimizations.
1194
1195 Optimized switch statements where all labels are constant small
1196 integers.
1197
1198 Optimized String.prototype.indexOf for common cases.
1199
1200 Fixed more build issues (issue 80).
1201
1202 Fixed a couple of profiler issues.
1203
1204 Fixed bug where the body of a function created using the Function
1205 constructor was not allowed to end with a single-line comment
1206 (issue 85).
1207
1208 Improved handling of object literals by canonicalizing object
1209 literal maps. This will allow JSON objects with the same set of
1210 properties to share the same map making inline caching work better
1211 for JSON objects.
1212
1213
12142008-09-17: Version 0.3.2
1215
1216 Generalized the EvalCache into a CompilationCache and enabled it
1217 for scripts too. The current strategy is to retire all entries
1218 whenever a mark-sweep collection is started.
1219
1220 Fixed bug where switch statements containing only a default case
1221 would lead to an unbalanced stack (issue 69).
1222
1223 Fixed bug that made access to the function in a named function
1224 expression impossible in certain situations (issue 24).
1225
1226 Fixed even more build issues.
1227
1228 Optimized calling conventions on ARM. The conventions on ARM and
1229 IA-32 now match.
1230
1231 Removed static initializers for flags and counters.
1232
1233 Improved inline caching behavior for uncommon cases where lazily
1234 loading Date and RegExp code could force certain code paths go
1235 megamorphic.
1236
1237 Removed arguments adaption for builtins written in C++. This
1238 makes Array.prototype.push and Array.prototype.pop slightly
1239 faster.
1240
1241
12422008-09-11: Version 0.3.1
1243
1244 Fixed a number of build issues.
1245
1246 Fixed problem with missing I-cache flusing on ARM.
1247
1248 Changed space layout in memory management by splitting up
1249 code space into old data space and code space.
1250
1251 Added utf-8 conversion support to the API (issue 57).
1252
1253 Optimized repeated calls to eval with the same strings. These
1254 repeated calls are common in web applications.
1255
1256 Added Xcode project file.
1257
1258 Optimized a couple of Array operation.
1259
1260 Fixed parser bug by checking for end-of-string when parsing break
1261 and continue (issue 35).
1262
1263 Fixed problem where asian characters were not categorized as
1264 letters.
1265
1266 Fixed bug that disallowed calling functions fetched from an array
1267 using a string as an array index (issue 32).
1268
1269 Fixed bug where the internal field count on object templates were
1270 sometimes ignored (issue 54).
1271
1272 Added -f option to the shell sample for compatibility with other
1273 engines (issue 18).
1274
1275 Added source info to TryCatches in the API.
1276
1277 Fixed problem where the seed for the random number generator was
1278 clipped in a double to unsigned int conversion.
1279
1280 Fixed bug where cons string symbols were sometimes converted to
1281 non-symbol flat strings during GC.
1282
1283 Fixed bug in error reporting when attempting to convert null to an
1284 object.
1285
1286
12872008-09-04: Version 0.3.0
1288
1289 Added support for running tests on the ARM simulator.
1290
1291 Fixed bug in the 'in' operator where negative indices were not
1292 treated correctly.
1293
1294 Fixed build issues on gcc-4.3.1.
1295
1296 Changed Date.prototype.toLocaleTimeString to not print the
1297 timezone part of the time.
1298
1299 Renamed debug.h to v8-debug.h to reduce the risk of name conflicts
1300 with user code.
1301
1302
13032008-09-02: Version 0.2.5
1304
1305 Renamed the top level directory 'public' to 'include'.
1306
1307 Added 'env' option to the SCons build scripts to support
1308 overriding the ENV part of the build environment. This is mostly
1309 to support Windows builds in cases where SCons cannot find the
1310 correct paths to the Windows SDK, as these paths cannot be passed
1311 through shell environment variables.
1312
1313 Enabled "Buffer Security Check" on for the Windows SCons build and
1314 added the linker option /OPT:ICF as an optimization.
1315
1316 Added the V8 benchmark suite to the repository.
1317
1318
13192008-09-01: Version 0.2.4
1320
1321 Included mjsunit JavaScript test suite and C++ unit tests.
1322
1323 Changed the shell sample to not print the result of executing a
1324 script provided on the command line.
1325
1326 Fixed issue when building samples on Windows using a shared V8
1327 library. Added visibility option on Linux build which makes the
1328 generated library 18% smaller.
1329
1330 Changed build system to accept multiple build modes in one build
1331 and generate separate objects, libraries and executables for each
1332 mode.
1333
1334 Removed deferred negation optimization (a * -b => -(a * b)) since
1335 this visibly changes operand conversion order.
1336
1337 Improved parsing performance by introducing stack guard in
1338 preparsing. Without a stack guard preparsing always bails out
1339 with stack overflow.
1340
1341 Changed shell sample to take flags directly from the command-line.
1342 Added API call that implements this.
1343
1344 Added load, quit and version functions to the shell sample so it's
1345 easier to run benchmarks and tests.
1346
1347 Fixed issue with building samples and cctests on 64-bit machines.
1348
1349 Fixed bug in the runtime system where the prototype chain was not
1350 always searched for a setter when setting a property that does not
1351 exist locally.
1352
1353
13542008-08-14: Version 0.2.3
1355
1356 Improved performance of garbage collection by moving the
1357 function that updates pointers during compacting collection
1358 into the updating visitor. This gives the compiler a better
1359 chance to inline and avoid a function call per (potential)
1360 pointer.
1361
1362 Extended the shell sample with a --runtime-flags option.
1363
1364 Added Visual Studio project files for the shell.cc and
1365 process.cc samples.
1366
1367
13682008-08-13: Version 0.2.2
1369
1370 Improved performance of garbage collection by changing the way
1371 we use the marking stack in the event of stack overflow during
1372 full garbage collection and by changing the way we mark roots.
1373
1374 Cleaned up ARM version by removing top of stack caching and by
1375 introducing push/pop elimination.
1376
1377 Cleaned up the way runtime functions are called to allow
1378 runtime calls with no arguments.
1379
1380 Changed Windows build options to make sure that exceptions are
1381 disabled and that optimization flags are enabled.
1382
1383 Added first version of Visual Studio project files.
1384
1385
13862008-08-06: Version 0.2.1
1387
1388 Improved performance of unary addition by avoiding runtime calls.
1389
1390 Fixed the handling of '>' and '<=' to use right-to-left conversion
1391 and left-to-right evaluation as specified by ECMA-262.
1392
1393 Fixed a branch elimination bug on the ARM platform where incorrect
1394 code was generated because of overly aggressive branch
1395 elimination.
1396
1397 Improved performance of code that repeatedly assigns the same
1398 function to the same property of different objects with the same
1399 map.
1400
1401 Untangled DEBUG and ENABLE_DISASSEMBLER defines. The disassembler
1402 no longer expects DEBUG to be defined.
1403
1404 Added platform-nullos.cc to serve as the basis for new platform
1405 implementations.
1406
1407
14082008-07-30: Version 0.2.0
1409
1410 Changed all text files to have native svn:eol-style.
1411
1412 Added a few samples and support for building them. The samples
1413 include a simple shell that can be used to benchmark and test V8.
1414
1415 Changed V8::GetVersion to return the version as a string.
1416
1417 Added source for lazily loaded scripts to snapshots and made
1418 serialization non-destructive.
1419
1420 Improved ARM support by fixing the write barrier code to use
1421 aligned loads and stores and by removing premature locals
1422 optimization that relied on broken support for callee-saved
1423 registers (removed).
1424
1425 Refactored the code for marking live objects during garbage
1426 collection and the code for allocating objects in paged
1427 spaces. Introduced an abstraction for the map word of a heap-
1428 allocated object and changed the memory allocator to allocate
1429 executable memory only for spaces that may contain code objects.
1430
1431 Moved StringBuilder to utils.h and ScopedLock to platform.h, where
1432 they can be used by debugging and logging modules. Added
1433 thread-safe message queues for dealing with debugger events.
1434
1435 Fixed the source code reported by toString for certain builtin
1436 empty functions and made sure that the prototype property of a
1437 function is enumerable.
1438
1439 Improved performance of converting values to condition flags in
1440 generated code.
1441
1442 Merged disassembler-{arch} files.
1443
1444
14452008-07-28: Version 0.1.4
1446
1447 Added support for storing JavaScript stack traces in a stack
1448 allocated buffer to make it visible in shallow core dumps.
1449 Controlled by the --preallocate-message-memory flag which is
1450 disabled by default.
1451
1452
14532008-07-25: Version 0.1.3
1454
1455 Fixed bug in JSObject::GetPropertyAttributePostInterceptor where
1456 map transitions would count as properties.
1457
1458 Allowed aliased eval invocations by treating them as evals in the
1459 global context. This may change in the future.
1460
1461 Added support for accessing the last entered context through the
1462 API and renamed Context::Current to Context::GetCurrent and
1463 Context::GetSecurityContext to Context::GetCurrentSecurityContext.
1464
1465 Fixed bug in the debugger that would cause the debugger scripts to
1466 be recursively loaded and changed all disabling of interrupts to
1467 be block-structured.
1468
1469 Made snapshot data read-only to allow it to be more easily shared
1470 across multiple users of V8 when linked as a shared library.
1471
1472
14732008-07-16: Version 0.1.2
1474
1475 Fixed building on Mac OS X by recognizing i386 and friends as
1476 IA-32 platforms.
1477
1478 Added propagation of stack overflow exceptions that occur while
1479 compiling nested functions.
1480
1481 Improved debugger with support for recursive break points and
1482 handling of exceptions that occur in the debugger JavaScript code.
1483
1484 Renamed GetInternal to GetInternalField and SetInternal to
1485 SetInternalField in the API and moved InternalFieldCount and
1486 SetInternalFieldCount from FunctionTemplate to ObjectTemplate.
1487
1488
14892008-07-09: Version 0.1.1
1490
1491 Fixed bug in stack overflow check code for IA-32 targets where a
1492 non-tagged value in register eax was pushed to the stack.
1493
1494 Fixed potential quadratic behavior when converting strings to
1495 numbers.
1496
1497 Fixed bug where the return value from Object::SetProperty could
1498 end up being the property holder instead of the written value.
1499
1500 Improved debugger support by allowing nested break points and by
1501 dealing with stack-overflows when compiling functions before
1502 setting break points in them.
1503
1504
15052008-07-03: Version 0.1.0
1506
1507 Initial export.
1508