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