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