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