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