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