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