blob: cea2d031d04cc8b72f19609d75b56c467021bab9 [file] [log] [blame]
ager@chromium.orgddb913d2009-01-27 10:01:48 +000012009-01-27: Version 0.4.9
2
3 Enabled new regular expression engine.
4
5 Made a number of changes to the debugger protocol.
6
7 Fixed a number of bugs in the preemption support.
8
9 Added -p option to the developer shell to run files in parallel
10 using preemption.
11
12 Fixed a number of minor bugs (including issues 176, 187, 189, 192,
13 193, 198 and 201).
14
15 Fixed a number of bugs in the serialization/deserialization
16 support for the ARM platform.
17
18
sgjesse@chromium.org715915b2009-01-19 16:08:47 +0000192009-01-19: Version 0.4.8.1
20
21 Minor patch to debugger support.
22
23
ager@chromium.org32912102009-01-16 10:38:43 +0000242009-01-16: Version 0.4.8
25
26 Fixed string length bug on ARM (issue 171).
27
28 Made most methods in the API const.
29
30 Optimized object literals by improving data locality.
31
32 Fixed bug that caused incomplete functions to be cached in case of
sgjesse@chromium.org715915b2009-01-19 16:08:47 +000033 stack overflow exceptions.
ager@chromium.org32912102009-01-16 10:38:43 +000034
35 Fixed bugs that caused catch variables and variables introduced by
sgjesse@chromium.org715915b2009-01-19 16:08:47 +000036 eval to behave incorrectly when using accessors (issues 186, 190
37 and 191).
ager@chromium.org32912102009-01-16 10:38:43 +000038
39
christian.plesner.hansen@gmail.com37abdec2009-01-06 14:43:28 +0000402009-01-06: Version 0.4.7
41
ager@chromium.org32912102009-01-16 10:38:43 +000042 Minor bugfixes and optimizations.
christian.plesner.hansen@gmail.com37abdec2009-01-06 14:43:28 +000043
ager@chromium.org32912102009-01-16 10:38:43 +000044 Added command line debugger to D8 shell.
christian.plesner.hansen@gmail.com37abdec2009-01-06 14:43:28 +000045
ager@chromium.org32912102009-01-16 10:38:43 +000046 Fixed subtle bug that caused the wrong 'this' to be used when
47 calling a caught function in a catch clause.
christian.plesner.hansen@gmail.com37abdec2009-01-06 14:43:28 +000048
ager@chromium.org32912102009-01-16 10:38:43 +000049 Inline array loads within loops directly in the code instead of
50 always calling a stub.
christian.plesner.hansen@gmail.com37abdec2009-01-06 14:43:28 +000051
ager@chromium.org32912102009-01-16 10:38:43 +000052
ager@chromium.org8bb60582008-12-11 12:02:20 +0000532008-12-11: Version 0.4.6
54
55 Fixed exception reporting bug where certain exceptions were
56 incorrectly reported as uncaught.
57
58 Improved the memory allocation strategy used during compilation to
59 make running out of memory when compiling huge scripts less
60 likely.
61
62 Optimized String.replace by avoiding the construction of certain
63 sub strings.
64
65 Fixed bug in code generation for large switch statements on ARM.
66
67 Fixed bug that caused V8 to change the global object template
68 passed in by the user.
69
70 Changed the API for creating object groups used during garbage
71 collection. Entire object groups are now passed to V8 instead of
72 individual members of the groups.
73
ager@chromium.org32912102009-01-16 10:38:43 +000074
ager@chromium.orga74f0da2008-12-03 16:05:52 +0000752008-12-03: Version 0.4.5
iposva@chromium.org96f667e2008-11-26 23:48:02 +000076
ager@chromium.orga74f0da2008-12-03 16:05:52 +000077 Added experimental API support for allocating V8 symbols as
78 external strings.
79
80 Fixed bugs in debugging support on ARM.
81
82 Changed eval implementation to correctly detect whether or not a
83 call to eval is aliased.
84
85 Fixed bug caused by a combination of the compilation cache and
86 dictionary probing in native code. The bug caused us to sometimes
87 call functions that had not yet been compiled.
88
89 Added platform support for FreeBSD.
90
91 Added support for building V8 on Windows with either the shared or
92 static version of MSVCRT
ager@chromium.org32912102009-01-16 10:38:43 +000093
iposva@chromium.org96f667e2008-11-26 23:48:02 +000094 Added the v8::jscre namespace around the jscre functions to avoid
95 link errors (duplicate symbols) when building Google Chrome.
96
ager@chromium.orga74f0da2008-12-03 16:05:52 +000097 Added support for calling a JavaScript function with the current
98 debugger execution context as its argument to the debugger
99 interface.
100
101 Changed the type of names of counters from wchar_t to char.
102
103 Changed the Windows system call used to compute daylight savings
104 time. The system call that we used to use became four times
105 slower on WinXP SP3.
106
107 Added support in the d8 developer shell for memory-mapped counters
108 and added a stats-viewer tool.
109
110 Fixed bug in upper/lower case mappings (issue 149).
111
iposva@chromium.org96f667e2008-11-26 23:48:02 +0000112
ager@chromium.org3bf7b912008-11-17 09:09:45 +00001132008-11-17: Version 0.4.4
114
115 Reduced code size by using shorter instruction encoding when
116 possible.
117
118 Added a --help option to the shell sample and to the d8 shell.
119
120 Added visual studio project files for building the ARM simulator.
121
122 Fixed a number of ARM simulator issues.
123
124 Fixed bug in out-of-memory handling on ARM.
125
126 Implemented shell support for passing arguments to a script from
127 the command line.
128
129 Fixed bug in date code that made certain date functions return -0
130 instead of 0 for dates before the epoch.
131
132 Restricted applications of eval so it can only be used in the
133 context of the associated global object.
134
135 Treat byte-order marks as whitespace characters.
ager@chromium.org32912102009-01-16 10:38:43 +0000136
137
ager@chromium.org870a0b62008-11-04 11:43:05 +00001382008-11-04: Version 0.4.3
139
140 Added support for API accessors that prohibit overwriting by
141 accessors defined in JavaScript code by using __defineGetter__ and
142 __defineSetter__.
143
144 Improved handling of conditionals in test status files.
145
146 Introduced access control in propertyIsEnumerable.
147
148 Improved performance of some string operations by caching
149 information about the type of the string between operations.
150
151 Fixed bug in fast-case code for switch statements that only have
152 integer labels.
ager@chromium.org32912102009-01-16 10:38:43 +0000153
ager@chromium.org870a0b62008-11-04 11:43:05 +0000154
kasperl@chromium.org9bbf9682008-10-30 11:53:07 +00001552008-10-30: Version 0.4.2
156
157 Improved performance of Array.prototype.concat by moving the
158 implementation to C++ (issue 123).
159
160 Fixed heap growth policy to avoid growing old space to its maximum
161 capacity before doing a garbage collection and fixed issue that
162 would lead to artificial out of memory situations (issue 129).
163
164 Fixed Date.prototype.toLocaleDateString to return the date in the
165 same format as WebKit.
166
167 Added missing initialization checks to debugger API.
168
169 Added removing of unused maps during GC.
170
171
kasperl@chromium.org9fe21c62008-10-28 08:53:51 +00001722008-10-28: Version 0.4.1
173
174 Added caching of RegExp data in compilation cache.
175
176 Added Visual Studio project file for d8 shell.
177
178 Fixed function call performance regression introduced in version
179 0.4.0 when splitting the global object in two parts (issue 120).
180
181 Fixed issue 131 by checking for empty handles before throwing and
182 reporting exceptions.
183
184
kasperl@chromium.org5a8ca6c2008-10-23 13:57:19 +00001852008-10-23: Version 0.4.0
186
187 Split the global object into two parts: The state holding global
188 object and the global object proxy.
189
190 Fixed bug that affected the value of an assignment to an element
191 in certain cases (issue 116).
192
193 Added GetPropertyNames functionality (issue 33) and extra Date
194 functions (issue 77) to the API.
195
196 Changed WeakReferenceCallback to take a Persistent<Value> instead
197 of a Persistent<Object> (issue 101).
198
199 Fixed issues with message reporting for exceptions in try-finally
200 blocks (issues 73 and 75).
201
ager@chromium.org32912102009-01-16 10:38:43 +0000202 Optimized flattening of strings and string equality checking.
kasperl@chromium.org5a8ca6c2008-10-23 13:57:19 +0000203
204 Improved Boyer-Moore implementation for faster indexOf operations.
205
206 Added development shell (d8) which includes counters and
207 completion support.
208
209 Fixed problem with the receiver passed to functions called from
210 eval (issue 124).
211
212
ager@chromium.org7c537e22008-10-16 08:43:32 +00002132008-10-16: Version 0.3.5
214
215 Improved string hash-code distribution by excluding bit-field bits
216 from the hash-code.
217
218 Changed string search algorithm used in indexOf from KMP to
219 Boyer-Moore.
220
221 Improved the generated code for the instanceof operator.
222
223 Improved performance of slow-case string equality checks by
224 specializing the code based on the string representation.
225
226 Improve the handling of out-of-memory situations (issue 70).
227
228 Improved performance of strict equality checks.
229
230 Improved profiler output to make it easier to see anonymous
231 functions.
232
233 Improved performance of slow-case keyed loads.
234
235 Improved property access performance by allocating a number of
236 properties in the front object.
237
238 Changed the toString behavior on the built-in object constructors
239 to print [native code] instead of the actual source. Some web
240 applications do not like constructors with complex toString
241 results.
ager@chromium.org32912102009-01-16 10:38:43 +0000242
ager@chromium.org7c537e22008-10-16 08:43:32 +0000243
kasperl@chromium.org41044eb2008-10-06 08:24:46 +00002442008-10-06: Version 0.3.4
245
246 Changed Array.prototype.sort to use quick sort.
247
248 Fixed code generation issue where leaving a finally block with
249 break or continue would accumulate elements on the expression
250 stack (issue 86).
251
252 Made sure that the name accessor on functions returns the expected
253 names for builtin JavaScript functions and C++ callback functions.
254
255 Added fast case code for extending the property storage array of
256 JavaScript objects.
257
258 Ported switch statement optimizations introduced in version 0.3.3
259 to the ARM code generator.
260
261 Allowed GCC to use strict-aliasing rules when compiling.
262
263 Improved performance of arguments object allocation by taking care
264 of arguments adaptor frames in the generated code.
265
266 Updated the V8 benchmark suite to version 2.
267
268
ager@chromium.org236ad962008-09-25 09:45:57 +00002692008-09-25: Version 0.3.3
270
271 Improved handling of relocation information to enable more
272 peep-hole optimizations.
273
274 Optimized switch statements where all labels are constant small
275 integers.
276
277 Optimized String.prototype.indexOf for common cases.
278
279 Fixed more build issues (issue 80).
280
281 Fixed a couple of profiler issues.
282
283 Fixed bug where the body of a function created using the Function
284 constructor was not allowed to end with a single-line comment
285 (issue 85).
286
287 Improved handling of object literals by canonicalizing object
288 literal maps. This will allow JSON objects with the same set of
289 properties to share the same map making inline caching work better
290 for JSON objects.
ager@chromium.org32912102009-01-16 10:38:43 +0000291
ager@chromium.org236ad962008-09-25 09:45:57 +0000292
kasperl@chromium.orgb9123622008-09-17 14:05:56 +00002932008-09-17: Version 0.3.2
294
295 Generalized the EvalCache into a CompilationCache and enabled it
296 for scripts too. The current strategy is to retire all entries
297 whenever a mark-sweep collection is started.
298
299 Fixed bug where switch statements containing only a default case
300 would lead to an unbalanced stack (issue 69).
301
302 Fixed bug that made access to the function in a named function
303 expression impossible in certain situations (issue 24).
304
305 Fixed even more build issues.
306
307 Optimized calling conventions on ARM. The conventions on ARM and
308 IA-32 now match.
309
310 Removed static initializers for flags and counters.
311
312 Improved inline caching behavior for uncommon cases where lazily
313 loading Date and RegExp code could force certain code paths go
314 megamorphic.
315
316 Removed arguments adaption for builtins written in C++. This
317 makes Array.prototype.push and Array.prototype.pop slightly
318 faster.
319
320
ager@chromium.org9258b6b2008-09-11 09:11:10 +00003212008-09-11: Version 0.3.1
322
323 Fixed a number of build issues.
324
325 Fixed problem with missing I-cache flusing on ARM.
326
327 Changed space layout in memory management by splitting up
328 code space into old data space and code space.
329
330 Added utf-8 conversion support to the API (issue 57).
331
332 Optimized repeated calls to eval with the same strings. These
333 repeated calls are common in web applications.
334
335 Added Xcode project file.
336
337 Optimized a couple of Array operation.
338
339 Fixed parser bug by checking for end-of-string when parsing break
340 and continue (issue 35).
341
342 Fixed problem where asian characters were not categorized as
343 letters.
344
345 Fixed bug that disallowed calling functions fetched from an array
346 using a string as an array index (issue 32).
347
348 Fixed bug where the internal field count on object templates were
349 sometimes ignored (issue 54).
350
351 Added -f option to the shell sample for compatibility with other
352 engines (issue 18).
353
354 Added source info to TryCatches in the API.
355
356 Fixed problem where the seed for the random number generator was
357 clipped in a double to unsigned int conversion.
358
359 Fixed bug where cons string symbols were sometimes converted to
360 non-symbol flat strings during GC.
361
362 Fixed bug in error reporting when attempting to convert null to an
363 object.
ager@chromium.org32912102009-01-16 10:38:43 +0000364
365
ager@chromium.orgc27e4e72008-09-04 13:52:27 +00003662008-09-04: Version 0.3.0
367
368 Added support for running tests on the ARM simulator.
369
370 Fixed bug in the 'in' operator where negative indices were not
371 treated correctly.
372
373 Fixed build issues on gcc-4.3.1.
374
375 Changed Date.prototype.toLocaleTimeString to not print the
376 timezone part of the time.
377
378 Renamed debug.h to v8-debug.h to reduce the risk of name conflicts
379 with user code.
380
381
v8.team.kasperl727e9952008-09-02 14:56:44 +00003822008-09-02: Version 0.2.5
383
384 Renamed the top level directory 'public' to 'include'.
385
386 Added 'env' option to the SCons build scripts to support
387 overriding the ENV part of the build environment. This is mostly
388 to support Windows builds in cases where SCons cannot find the
389 correct paths to the Windows SDK, as these paths cannot be passed
390 through shell environment variables.
391
392 Enabled "Buffer Security Check" on for the Windows SCons build and
393 added the linker option /OPT:ICF as an optimization.
394
395 Added the V8 benchmark suite to the repository.
396
397
mads.s.ager@gmail.com9a4089a2008-09-01 08:55:01 +00003982008-09-01: Version 0.2.4
399
400 Included mjsunit JavaScript test suite and C++ unit tests.
401
402 Changed the shell sample to not print the result of executing a
403 script provided on the command line.
404
405 Fixed issue when building samples on Windows using a shared V8
406 library. Added visibility option on Linux build which makes the
407 generated library 18% smaller.
408
409 Changed build system to accept multiple build modes in one build
410 and generate separate objects, libraries and executables for each
411 mode.
412
413 Removed deferred negation optimization (a * -b => -(a * b)) since
414 this visibly changes operand conversion order.
415
416 Improved parsing performance by introducing stack guard in
417 preparsing. Without a stack guard preparsing always bails out
418 with stack overflow.
419
420 Changed shell sample to take flags directly from the command-line.
421 Added API call that implements this.
422
423 Added load, quit and version functions to the shell sample so it's
424 easier to run benchmarks and tests.
425
426 Fixed issue with building samples and cctests on 64-bit machines.
427
428 Fixed bug in the runtime system where the prototype chain was not
429 always searched for a setter when setting a property that does not
430 exist locally.
ager@chromium.org32912102009-01-16 10:38:43 +0000431
mads.s.ager@gmail.com9a4089a2008-09-01 08:55:01 +0000432
mads.s.agercbaa0602008-08-14 13:41:48 +00004332008-08-14: Version 0.2.3
434
435 Improved performance of garbage collection by moving the
436 function that updates pointers during compacting collection
437 into the updating visitor. This gives the compiler a better
438 chance to inline and avoid a function call per (potential)
439 pointer.
440
441 Extended the shell sample with a --runtime-flags option.
442
443 Added Visual Studio project files for the shell.cc and
444 process.cc samples.
445
446
4472008-08-13: Version 0.2.2
mads.s.ager31e71382008-08-13 09:32:07 +0000448
449 Improved performance of garbage collection by changing the way
450 we use the marking stack in the event of stack overflow during
451 full garbage collection and by changing the way we mark roots.
452
453 Cleaned up ARM version by removing top of stack caching and by
454 introducing push/pop elimination.
455
456 Cleaned up the way runtime functions are called to allow
457 runtime calls with no arguments.
458
459 Changed Windows build options to make sure that exceptions are
460 disabled and that optimization flags are enabled.
461
462 Added first version of Visual Studio project files.
463
464
mads.s.agercbaa0602008-08-14 13:41:48 +00004652008-08-06: Version 0.2.1
mads.s.ager@gmail.com769cc962008-08-06 10:02:49 +0000466
467 Improved performance of unary addition by avoiding runtime calls.
468
469 Fixed the handling of '>' and '<=' to use right-to-left conversion
470 and left-to-right evaluation as specified by ECMA-262.
471
472 Fixed a branch elimination bug on the ARM platform where incorrect
473 code was generated because of overly aggressive branch
474 elimination.
475
476 Improved performance of code that repeatedly assigns the same
477 function to the same property of different objects with the same
478 map.
479
480 Untangled DEBUG and ENABLE_DISASSEMBLER defines. The disassembler
481 no longer expects DEBUG to be defined.
482
483 Added platform-nullos.cc to serve as the basis for new platform
484 implementations.
485
mads.s.ager31e71382008-08-13 09:32:07 +0000486
mads.s.agercbaa0602008-08-14 13:41:48 +00004872008-07-30: Version 0.2.0
kasper.lund7276f142008-07-30 08:49:36 +0000488
489 Changed all text files to have native svn:eol-style.
490
491 Added a few samples and support for building them. The samples
492 include a simple shell that can be used to benchmark and test V8.
493
494 Changed V8::GetVersion to return the version as a string.
495
496 Added source for lazily loaded scripts to snapshots and made
497 serialization non-destructive.
498
499 Improved ARM support by fixing the write barrier code to use
500 aligned loads and stores and by removing premature locals
501 optimization that relied on broken support for callee-saved
502 registers (removed).
503
504 Refactored the code for marking live objects during garbage
505 collection and the code for allocating objects in paged
506 spaces. Introduced an abstraction for the map word of a heap-
507 allocated object and changed the memory allocator to allocate
508 executable memory only for spaces that may contain code objects.
509
510 Moved StringBuilder to utils.h and ScopedLock to platform.h, where
511 they can be used by debugging and logging modules. Added
512 thread-safe message queues for dealing with debugger events.
513
514 Fixed the source code reported by toString for certain builtin
515 empty functions and made sure that the prototype property of a
516 function is enumerable.
517
518 Improved performance of converting values to condition flags in
519 generated code.
520
521 Merged disassembler-{arch} files.
522
523
mads.s.agercbaa0602008-08-14 13:41:48 +00005242008-07-28: Version 0.1.4
kasper.lundaf4734f2008-07-28 12:50:18 +0000525
526 Added support for storing JavaScript stack traces in a stack
527 allocated buffer to make it visible in shallow core dumps.
528 Controlled by the --preallocate-message-memory flag which is
529 disabled by default.
530
531
mads.s.agercbaa0602008-08-14 13:41:48 +00005322008-07-25: Version 0.1.3
kasper.lund44510672008-07-25 07:37:58 +0000533
534 Fixed bug in JSObject::GetPropertyAttributePostInterceptor where
535 map transitions would count as properties.
536
537 Allowed aliased eval invocations by treating them as evals in the
538 global context. This may change in the future.
539
540 Added support for accessing the last entered context through the
541 API and renamed Context::Current to Context::GetCurrent and
542 Context::GetSecurityContext to Context::GetCurrentSecurityContext.
543
544 Fixed bug in the debugger that would cause the debugger scripts to
545 be recursively loaded and changed all disabling of interrupts to
546 be block-structured.
547
548 Made snapshot data read-only to allow it to be more easily shared
549 across multiple users of V8 when linked as a shared library.
550
551
mads.s.agercbaa0602008-08-14 13:41:48 +00005522008-07-16: Version 0.1.2
kasper.lund212ac232008-07-16 07:07:30 +0000553
554 Fixed building on Mac OS X by recognizing i386 and friends as
555 IA-32 platforms.
556
557 Added propagation of stack overflow exceptions that occur while
558 compiling nested functions.
559
560 Improved debugger with support for recursive break points and
561 handling of exceptions that occur in the debugger JavaScript code.
562
563 Renamed GetInternal to GetInternalField and SetInternal to
564 SetInternalField in the API and moved InternalFieldCount and
565 SetInternalFieldCount from FunctionTemplate to ObjectTemplate.
566
567
mads.s.agercbaa0602008-08-14 13:41:48 +00005682008-07-09: Version 0.1.1
kasper.lundbd3ec4e2008-07-09 11:06:54 +0000569
570 Fixed bug in stack overflow check code for IA-32 targets where a
571 non-tagged value in register eax was pushed to the stack.
572
573 Fixed potential quadratic behavior when converting strings to
574 numbers.
575
576 Fixed bug where the return value from Object::SetProperty could
577 end up being the property holder instead of the written value.
578
579 Improved debugger support by allowing nested break points and by
580 dealing with stack-overflows when compiling functions before
581 setting break points in them.
582
583
mads.s.agercbaa0602008-08-14 13:41:48 +00005842008-07-03: Version 0.1.0
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000585
kasper.lundbd3ec4e2008-07-09 11:06:54 +0000586 Initial export.
christian.plesner.hansen43d26ec2008-07-03 15:10:15 +0000587