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