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