Commit Graph

83114 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
d0c5ecc6fc Limit previous change to definition of PRUnichar to Unix. Should fix mac commercial build bustage. sr=scc b=75544 2001-05-21 16:34:20 +00:00
nboyd%atg.com
e4294421c9 This patch changes NativeError.java to store message and name properties
in fields of the object itself instead of using the standard property
hashtable in ScriptableObject.java. This saves 3 object instances per
NativeError (2 slot entries and hashtable array itself) and given the
fact that NativeGlobal defines a few permanent Error instances, it is
visible saving even after taking into account code size increase.

The change also gives a good test of IdScriptable implementation.

-----

This patch introduces the uniform decompile method for NativeFunction
and IdFunction with the signature:

public String decompile(Context cx, int indent, boolean justbody)

instead of NativeFunction.decompile(int indent, boolean toplevel,
boolean justbody) and IdScriptable.toStringForScript(Context cx) and
replaces the special treatment of NativeJavaMethod in
NativeFunction.jsFunction_toString by overriding decompile in
NativeJavaMethod

-----

This patch adds getFunctionName to NativeFunction to return function
name and replaces few places with jsGet_name usage by getFunctionName

The patch was made via
diff -ru javascript.0 javascript > name_patch
from org/mozilla directory
2001-05-21 15:04:54 +00:00
rbs%maths.uq.edu.au
075d5ed2c8 Initial approach at bug 65951 - style sensitive MathML characters should not be restylable 2001-05-21 14:59:53 +00:00
tor%cs.brown.edu
96ecfa7c41 Plug memory leak in XP_MAC code. Not in build. 2001-05-21 14:56:44 +00:00
rbs%maths.uq.edu.au
f5a5afa559 Initial approach at bug 65951 - style sensitive MathML characters should not be restylable 2001-05-21 14:28:24 +00:00
tor%cs.brown.edu
4ca27180ba MNG/JNG decoder. Not in build. 2001-05-21 14:27:45 +00:00
ftang%netscape.com
a110a92bba fix bug 81894. rs. clear ASCII porting for gb18030.2000-0 X11 font encoding as we did in nsUnicodeToGBKNoAscii 2001-05-21 13:28:57 +00:00
peterv%netscape.com
ce83a7c5ff Fixing regression bug 81918 (Setting preferred style sheet via HTTP headers is broken). r=glazman, sr=jst. 2001-05-21 13:01:41 +00:00
jst%netscape.com
1e000f688a Fixing build bustage, apparently msvc doesn't like the C++ style PRUint8(...) casts here, changing them to old C style casts. r=peterv@netscape.com 2001-05-21 12:42:47 +00:00
jst%netscape.com
7f62fa9565 Checking in fix for xpcdom regression bug 81915. Adding resolve hook to the HTML document helper, r=peterv@netscape.com, sr=scc@mozilla.org 2001-05-21 12:37:38 +00:00
ben%netscape.com
169671bf73 Fix for 63758 - region selection button cut off during profile creation.
Patch from Conrad Carlen (ccarlen@netscape.com) - just increase the height of the wizard dialog by an em.
Not pretty, but it works. All this is going to be rewritten anyway to use the XBL wizard stuff hewitt is working on.
r=ben@netscape.com, sr=alecf@netscape.com
2001-05-21 11:36:56 +00:00
scc%mozilla.org
adeac621ea bug #28952: r=jst, sr=scc, checking in patch by drepper@cygnus.com which fixes |nsCRT::strtok| to handle 8-bit delimiter characters correctly when the high bit is set. 2001-05-21 10:45:44 +00:00
peterv%netscape.com
6ec0527163 Fix typo. 2001-05-21 09:47:03 +00:00
peterv%netscape.com
342fc99f6a Fix for regression bug 81823 (rel attribute should be treated case insensitive). r=sicking, sr=jst. 2001-05-21 08:24:35 +00:00
rginda%netscape.com
8a96b5310f - not built -
add enumerateScripts() method to jsdIDebugger service
don't create a new debugger context if the user trys to call on[ForRuntime]() multiple times
2001-05-21 07:18:10 +00:00
rginda%netscape.com
b5fb17680f - not built -
enumerate existing scripts on load for the case where the user has js.debugger.autoload set.  This will allow for the setting of breakpoints in scripts that were loaded before the debugger.
2001-05-21 07:16:06 +00:00
rpotts%netscape.com
44626befc1 another patch for bug #65777. This one removes the intermediate window that is created for mailto:// URLs that are explicitly target to a new window... 2001-05-21 06:50:51 +00:00
pavlov%netscape.com
271cc39fd9 fixing bug 65708 r=bryner sr=jst 2001-05-21 06:14:37 +00:00
rginda%netscape.com
faa84321f8 - not built -
add onForRuntime() method to jsdIDebuggerService to let native code turn on the deubgger (on() can only be called from js)
register an app-start observer so we can turn on the debugger at startup if "js.debugger.autostart" pref is true.
r=peterv, bug 81840
2001-05-21 06:00:12 +00:00
jst%netscape.com
439c47b98b Removing unnecessary forward declaration of nsIScriptObjectOwner. 2001-05-21 03:29:19 +00:00
jst%netscape.com
d31549f8ea Removing #include... 2001-05-21 03:14:39 +00:00
jst%netscape.com
38fdb3cb83 Removing uneccessary #include 2001-05-21 03:11:25 +00:00
blakeross%telocity.com
954299f704 Toolbar grippies should not trigger on right click. Exact same fix as before, checking in again because the stylesheet scoping landing regressed this. 2001-05-21 01:09:16 +00:00
blakeross%telocity.com
41aa8119c3 Toolbar grippies should not trigger on right click. Exact same fix as before, checking in again because the stylesheet scoping landing regressed this. 2001-05-21 01:07:47 +00:00
mkaply%us.ibm.com
f1141bff92 More IRIX bustage - CRLF 2001-05-21 00:02:10 +00:00
mkaply%us.ibm.com
a0a17486f4 #76020
r=waterson, sr=attinasi
Remove mDefaultDirection stuff - IBMBIDI does this correctly
2001-05-20 22:49:34 +00:00
mkaply%us.ibm.com
a817d2f3f3 #76020
r=waterson, sr=attinasi
Remove mDefaultDirection stuff - IBMBIDI does this correctly
2001-05-20 22:44:05 +00:00
mkaply%us.ibm.com
a52d1f1dbb IRIX bustage
More CR/LF bustage, this time from pavlov.
Something is going horribly wrong (dougt, peterl and now pavlov)
2001-05-20 22:38:29 +00:00
pavlov%netscape.com
edf413392c fixing bug 32269 r=bryner sr=scc 2001-05-20 21:21:44 +00:00
blakeross%telocity.com
2674509b8b Defer retrieval of jvmmgr service until necessary (81560, patch by jrgm@netscape.com). r=doron sr=blake 2001-05-20 19:55:39 +00:00
blizzard%redhat.com
a0a37c360c Fix bug #81826. When using plug/socket ( like in nautilus ) popup menus will some times come up in the wrong place. Invalidate the position cache based on the true toplevel window instead of the widget toplevel. r=pavlov,sr=tor 2001-05-20 19:44:41 +00:00
pavlov%netscape.com
f8f2f014ef fixing bug 80011 r=bryner sr=blizzard 2001-05-20 19:26:21 +00:00
leaf%mozilla.org
530d426c8a Automated update 2001-05-20 17:45:12 +00:00
tor%cs.brown.edu
f31b0a8bf2 Bug 81794 - prevent crash with an invalid iCCP chunk and plug a memory
leak.  Patch by Glenn Randers-Pehrson, r=tor, sr=blizzard
2001-05-20 17:42:44 +00:00
tor%cs.brown.edu
067fdfadec Update tree libmng to 1.0.1 rs=blizzard 2001-05-20 17:36:25 +00:00
mcgreer%netscape.com
65c061212d bug 81276, remaining features in device manager
r=javi, sr=blizzard
2001-05-20 14:18:03 +00:00
hewitt%netscape.com
a5ada64ec3 after doing an admin -kb, trying again to repair corrupt google icon 2001-05-20 10:06:06 +00:00
hewitt%netscape.com
84b92bae5b another attempt to fix corrupt google icon 2001-05-20 10:04:19 +00:00
hewitt%netscape.com
1222ab29b3 78221 - new clicked images for toolbar buttons (last part of earlier checkin) 2001-05-20 09:55:45 +00:00
hewitt%netscape.com
8319f80c3d 79757 - new modern theme preview image for prefs 2001-05-20 06:55:12 +00:00
hewitt%netscape.com
aeec12c927 78221 - more new modern3 goodness, including redesigned sidebar tabs, lighter tab widget colors, and some minor tweaks here and there, r=andreww, sr=hyatt 2001-05-20 06:40:12 +00:00
hewitt%netscape.com
f07156eb73 78882 - Dragging a bookmark into the personal toolbar causes all items to be deleted, r=ben, sr=alecf 2001-05-20 05:58:25 +00:00
sgehani%netscape.com
35dcb93929 Add pause/resume to mac installer download. (b=77979; r=ssu; sr=mscott) 2001-05-20 00:15:29 +00:00
waterson%netscape.com
4a0d5c8e46 Bug 81763. Fix inefficient use of strlen(). Patch provided by Ulrich Drepper (drepper@cygnus.com), sr=waterson. 2001-05-19 20:14:42 +00:00
ccarlen%netscape.com
2dcd262cff Bug 73951 - Enable global history by default for embedding apps. r=valeski/sr=rpotts 2001-05-19 18:31:20 +00:00
nboyd%atg.com
35caf7c2bb Subject:
Rhino: behavior update for IdScriptable subclasses
        Date:
             Fri, 18 May 2001 11:45:00 +0200
       From:
             Igor Bukanov <igor.bukanov@windriver.com>
 Organization:
             Wind River
         To:
             Norris Boyd <nboyd@atg.com>




The attached patch introduces separation between id-base properties in
prototype instances and the rest of objects so it is possible to
allocate some ids for each instance and the rest only for prototype. The
patch adds to each descendants of IdScriptable a special prototypeFlag
which set to true only if object serves as a global prototype and all
methods that check/return ids first check for that flag. (This is the
reason for the patch size: diff is not very well in dealing with
indentation changes.)

In this way ids for prototype properties are completely hidden from
potential subclasses and there is no need to define methods like
getMaximumId in most cases, only if some ids present in each instance,
IdScriptable.maxInstanceId should be overridden to return max id present
in each instance.

The patch also replaces 2 boolean fields in IdScriptable by bit masks in
the setupFlag field.
2001-05-19 17:39:50 +00:00
dbaron%fas.harvard.edu
ca406deb8e Fix gcc 2.7.2.3 crash on startup (orange on speedracer and worms tinderboxes). gcc 2.7.2.3 doesn't seem to follow the rule in C++ 12.2, clause 5, on the lifetime of temporaries bound to references. 2001-05-19 16:05:10 +00:00
gerv%gerv.net
80519a64ce Make it possible to set the location of the bookmarks file. Bug 31623. r=timeless, sr=waterson. Pref for this is browser.bookmarks.file - you need to edit your pref.js manually. I seem to remember you need to double your backslashes on Windows... 2001-05-19 15:57:08 +00:00
gerv%gerv.net
ff74e11470 Remove hardwired "Mozilla" and "Netscape" strings from DTD files. Part of bug 80838. r=rchen, sr=blizzard. 2001-05-19 15:54:29 +00:00
gerv%gerv.net
3168baae75 Refactor translation backend to support multiple translation providers. Bug 77207. r=timeless, sr=alecf. 2001-05-19 15:47:26 +00:00