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