1 2002-05-28 Maciej Stachowiak <mjs@apple.com>
7 2002-05-24 Maciej Stachowiak <mjs@apple.com>
9 Added license and acknowledgements.
23 === JavaScriptCore-5 ===
25 2002-05-21 Maciej Stachowiak <mjs@apple.com>
27 Reviewed by: Richard Williamson
29 Fixed Radar 2928775 - Sherlock crashes sitting in stocks channel
32 (InterpreterImp::InterpreterImp): Set the interp pointer earlier,
33 in case garbage collection takes place while creating the global
36 2002-05-15 Darin Adler <darin@apple.com>
38 Reviewed by: Maciej Stachowiak
41 Use all-am and clean-am instead of all and clean because it's better and
42 to make "make check" at the top level work right.
44 2002-05-13 Darin Adler <darin@apple.com>
46 Reviewed by: Maciej Stachowiak
48 * kjs/value.h: Fix comment typos.
50 === JavaScriptCore-4 ===
52 2002-05-10 Maciej Stachowiak <mjs@apple.com>
54 Reviewed by: Ken Kocienda and Darin Adler
56 Fixed the following bug:
58 Radar 2890573 - JavaScriptCore needs to be thread-safe
60 Actually this is only a weak form of thread-safety - you can safely
61 use different interpreters from different threads at the same
62 time. If you try to use a single interpreter object from multiple
63 threads, you need to provide your own locking.
65 * kjs/collector.h, kjs/collector.cpp:
66 (Collector::lock, Collector::unlock): Trivial implementation of a
68 (Collector::allocate): Lock around the body of this function.
69 (Collector::collect): Likewise.
70 (Collector::finalCheck): Likewise.
71 (Collector::numInterpreters): Likewise.
72 (Collector::numGCNotAllowedObjects): Likewise.
73 (Collector::numReferencedObjects): Likewise.
75 (Parser::parse): use a mutex to lock around the whole parse, since
76 it uses a bunch of global state.
77 (InterpreterImp::InterpreterImp): Grab the Collector lock here,
78 both the mutually exclude calls to the body of this function, and
79 to protect the s_hook static member which the collector pokes at.
80 (InterpreterImp::clear): Likewise.
82 (statBufferKeyCleanup, statBufferKeyInit, UString::ascii): Convert
83 use of static variable
85 (ValueImp::ValueImp, ValueImp::mark, ValueImp::marked,
86 ValueImp::setGcAllowed): Grab the GC lock around any flag changes.
90 2002-05-08 Darin Adler <darin@apple.com>
94 (Collector::numInterpreters):
95 (Collector::numGCNotAllowedObjects):
96 (Collector::numReferencedObjects):
97 Add three new functions so we can see a bit more about leaking JavaScriptCore.
99 2002-05-06 Darin Adler <darin@apple.com>
101 * JavaScriptCorePrefix.h: Added.
102 * JavaScriptCore.pbproj/project.pbxproj: Use PFE precompiling.
103 Also switch from xNDEBUG to NDEBUG.
105 === Alexander 0.3c2 (v1) ===
107 2002-04-18 Darin Adler <darin@apple.com>
109 * JavaScriptCore.pbproj/project.pbxproj: Oops. Take out -Wstrict-prototypes, put back
110 -Wmissing-prototypes.
112 2002-04-18 Darin Adler <darin@apple.com>
114 * JavaScriptCore.pbproj/project.pbxproj: Take out -Wmissing-prototypes
115 because system headers are triggering it when we don't have
116 precompiled headers on.
118 2002-04-18 Darin Adler <darin@apple.com>
122 * JavaScriptCore.pbproj/project.pbxproj: Turn on gcc3 and the same set of warnings
123 as in the rest of Labyrinth (see top level ChangeLog for details).
125 2002-04-17 Maciej Stachowiak <mjs@apple.com>
127 Reviewed by: Darin Adler <darin@apple.com>
129 * kjs/testkjs.cpp: Don't include <iostream.h> to avoid gcc3
132 2002-04-15 Darin Adler <darin@apple.com>
134 Reviwed by: Maciej Stachowiak <mjs@apple.com>
137 * kjs/property_map.cpp:
139 Removed some unneeded <config.h> includes so we are more similar
140 to the real KDE sources.
142 2002-04-15 Darin Adler <darin@apple.com>
144 Reviwed by: Maciej Stachowiak <mjs@apple.com>
146 Merged changes from KDE 3.0 final and did some build fixes.
148 * JavaScriptCore.pbproj/project.pbxproj: Added nodes2string.cpp.
150 * kjs/grammar.*: Regenerated.
151 * kjs/*.lut.h: Regenerated.
153 2002-04-08 Darin Adler <darin@apple.com>
155 Reviwed by: Maciej Stachowiak <mjs@apple.com>
157 * JavaScriptCore.pbproj/project.pbxproj: Re-added -Wno-format-y2k.
159 2002-04-04 Darin Adler <darin@apple.com>
161 * JavaScriptCore.pbproj/project.pbxproj: Add an Unoptimized build
162 style: exactly like Development except without the -O.
164 2002-04-03 Darin Adler <darin@apple.com>
166 * kjs/Makefile.am: Gratuitous cleanup.
168 2002-04-02 Darin Adler <darin@apple.com>
170 * JavaScriptCore.pbproj/project.pbxproj: Update flags as I did for
173 2002-04-02 Maciej Stachowiak <mjs@apple.com>
175 * JavaScriptCore.pbproj/project.pbxproj: Pass -Wno-format-y2k so
176 the project builds with gcc3.
178 * kjs/nodes.cpp: Avoid including an obsolete header to avoid
181 2002-04-02 Darin Adler <darin@apple.com>
183 * kjs/property_map.cpp: (PropertyMap::~PropertyMap): Deallocate the
184 map by calling clear so we don't leak the entire map.
186 2002-04-02 Darin Adler <darin@apple.com>
188 * kjs/internal.cpp: (InterpreterImp::globalClear): Add code to
189 deallocate and null out emptyList, because once the last interpreter
190 is destroyed there's nothing to keep it from being garbage collected.
192 2002-04-01 Darin Adler <darin@apple.com>
194 Got rid of KWQDef.h because it's dangerous to have two files with
195 the same name and different contents.
197 * JavaScriptCore.pbproj/project.pbxproj:
198 * kjs/KWQDef.h: Removed.
199 * kjs/ustring.h: Defines unsigned int types inline now.
201 2002-03-30 Maciej Stachowiak <mjs@apple.com>
203 Fixed Radar 2891272 (JavaScript crashes loading quicktime.com and
206 * kjs/object.cpp: (ObjectImp::~ObjectImp): Don't call setGCAlloc
207 on object internals pointed to, because they may have already been
208 collected by the time this object is collected, and in that case
209 we would corrupt the malloc arena.
211 * Makefile.am: Make the stamp file depend on all the sources and
212 headers so the framework gets rebuilt properly.
214 * JavaScriptCore.pbproj/project.pbxproj: Some random numbers moved
215 around. No idea what I really changed.
217 2002-03-30 Darin Adler <darin@apple.com>
219 * kjs/grammar.y: Took out Id tag so we won't constantly need to
221 * kjs/grammar.cpp: Regenerated without Id tag.
223 * .cvsignore: Ignore some additional autogenerated files.
224 * kjs/.cvsignore: Ignore some additional autogenerated files.
226 2002-03-30 Maciej Stachowiak <mjs@apple.com>
228 * JavaScriptCore.pbproj/project.pbxproj: Install some of the
231 2002-03-30 Maciej Stachowiak <mjs@apple.com>
233 Converted JavaScriptCore to build with Project Builder, in
234 preparation for B&I submission.
236 * English.lproj/InfoPlist.strings: Added.
237 * JavaScriptCore.pbproj/.cvsignore: Added.
238 * JavaScriptCore.pbproj/project.pbxproj: Added.
240 * .cvsignore: Update the set of ignored things.
242 * Makefile.am: Hand off to PB for the main build, but still handle
243 the generated files and the test program.
245 * kjs/Makefile.am: Don't build anything except the generated
248 * kjs/KWQDef.h, kjs/config.h: Added minimal versions of these
249 files to get kjs to build.
251 Check in all the genrated files, since Project Builder isn't up to
252 the task of handling built sources:
254 * kjs/array_object.lut.h: Added.
255 * kjs/date_object.lut.h: Added.
256 * kjs/grammar.cpp: Added.
257 * kjs/grammar.cpp.h: Added.
258 * kjs/grammar.h: Added.
259 * kjs/lexer.lut.h: Added.
260 * kjs/math_object.lut.h: Added.
261 * kjs/number_object.lut.h: Added.
262 * kjs/string_object.lut.h: Added.
264 * kjs/.cvsignore: Update set of ignored things.
266 2002-03-28 Maciej Stachowiak <mjs@apple.com>
268 * kjs/kjs-test.chk: Update output for new test results.
270 2002-03-26 Maciej Stachowiak <mjs@apple.com>
272 Set up kjs to build by itself into libJavaScriptCore.dylib.
275 * Makefile.am: Added.
277 * kjs/.cvsignore: Added.