Commit Graph

117793 Commits

Author SHA1 Message Date
igor%mir2.org
4588ddb780 1. In NativeJavaPackage.init define global properties only when NativeJavaPackage instance is fully initialized.
2. Memory optimization: instead of string array for predefined known packages, use single string which is split into substrings when necessary.
2003-04-13 08:54:09 +00:00
igor%mir2.org
483f99db82 Switch to use the new utility IdFunction.define() method to define function properties instead of explicit code for function initialization and inlining of getMethod call since it is used only once to make code smaller. 2003-04-13 08:47:19 +00:00
igor%mir2.org
e326be8a4b I added static IdFunction.define utility method to define IdFunction instances as properties in the given scope. 2003-04-13 08:40:43 +00:00
leon.zhang%sun.com
c5e44e7d6e Patch for bug 35296:SetCaretEnabled() takes too long
r/sr=sfraser
2003-04-13 08:38:57 +00:00
igor%mir2.org
9222756901 Switch to use ClassFileWriter.addInvoke() taking full method signature including the result part as a single argument instead of deprecated 4-argument ClassFileWriter.add(). 2003-04-13 08:38:52 +00:00
ssu%netscape.com
c841fd1034 adding obsolete file needing to be deleted at install time to delete list. r=/a=leaf 2003-04-13 05:37:35 +00:00
cltbld%netscape.com
534d93a1b0 Automated update 2003-04-13 05:30:07 +00:00
seawood%netscape.com
76ea08aa57 Use detected versions of MAKE & ZIP.
Start searching for tools in win32 builds but disable system makedepend.
Bug #201150 r=bryner
2003-04-13 05:20:20 +00:00
bzbarsky%mit.edu
3855c654eb MakeList is redundant with AppendList. Bug 179810, r=jfrancis, sr=kin 2003-04-13 04:30:16 +00:00
jst%netscape.com
c2949137a8 Fixing bug 201132. Always use the JSPrincipals from the target object when compiling event handlers, never use the principals of the global object in which the event handler is compiled. r=mstoltz@netscape.com (and heikki@netscape.com), sr=brendan@mozilla.org 2003-04-13 04:05:29 +00:00
sfraser%netscape.com
a7bfbefcd3 Don't hardcode path to mozilla-config.h, so that objdir builds work. 2003-04-13 03:55:59 +00:00
sfraser%netscape.com
1887761a08 Fix include paths to make things work in an objdir build. 2003-04-13 03:55:26 +00:00
sfraser%netscape.com
b022ae9924 Fix typo in Mac manifest file (htmlEntityVersion_s_.properties). r=me 2003-04-13 03:53:05 +00:00
sfraser%netscape.com
3e1a12dafe Fix more non dist-relative paths 2003-04-13 03:42:23 +00:00
sfraser%netscape.com
8311c2ff3b Fix paths to gopher image files to be dist-relative. 2003-04-13 03:37:07 +00:00
hyatt%mozilla.org
87f114cbf8 Stubbing out Web Panels sidebar in browser. 2003-04-13 00:54:35 +00:00
hyatt%mozilla.org
c5240c14d5 Forking bookmarks for Phoenix. 2003-04-13 00:44:02 +00:00
hyatt%mozilla.org
3e480df8bc FOrking bookmarks for Phoenix. 2003-04-13 00:42:00 +00:00
hyatt%mozilla.org
59666499ae Fix for 201809. r=bryner, sr=blake 2003-04-13 00:41:23 +00:00
jshin%mailaps.org
736898499e bug 198598 Update the window title bar and doc. charset for nsMediaDocument
so that save/save as works correctly for non-8859-1 string. rename
ImageDocument.properties to MediaDocument.properties and move to
content/html/document/src. (r=cbiesinger for an earlier patch, sr=bzbarsky)
2003-04-13 00:40:26 +00:00
darin%netscape.com
a0d85a46bd fixes bug 201663 "FTP download from nightly / trunk - archives are short" r=dougt sr=bryner 2003-04-12 22:01:33 +00:00
edburns%acm.org
570ed13807 Author=Ronald Capelli <capelli@us.ibm.com>
r=edburns

This checkin makes Webclient run with IE!

Thanks Ron!

Ed
2003-04-12 21:40:35 +00:00
wtc%netscape.com
3248bf6d78 The .chk files should have the $(DLL_PREFIX), not $(LIB_PREFIX), because
they correspond to shared libraries/DLLs.
2003-04-12 20:44:45 +00:00
bzbarsky%mit.edu
0b85b42edc Fix crash when composer and comboboxes interact. The real fix is in
nsComboboxControlFrame; the nsBlockFrame changes are just cleanup the fix
enables. Bug 197942, r=jkeiser, sr=dbaron.
2003-04-12 16:06:54 +00:00
bzbarsky%mit.edu
e1aca3947c fix build warning. 2003-04-12 15:03:08 +00:00
ben%netscape.com
7c1e1a7c68 fix web panels folder 2003-04-12 12:54:16 +00:00
igor%mir2.org
e87a1ef790 Commiting Hannes Wallnoefer patch to allow LiveConnect to convert JS Date to Java Data, see http://bugzilla.mozilla.org/show_bug.cgi?id=201326 2003-04-12 10:48:39 +00:00
tor%cs.brown.edu
812ffefbdd Bug 199169 - plug occasional leak of gif colormap. r=paper, sr=brendan 2003-04-12 10:44:35 +00:00
ssu%netscape.com
c507845f15 fixing bug 198364 - auto advance on delete to next unread mail message is broken with recent cvs since 20030319. r=/sr=sspitzer 2003-04-12 08:24:00 +00:00
hyatt%mozilla.org
515d7345fe Updating. 2003-04-12 08:04:53 +00:00
hyatt%mozilla.org
b3eb350499 Adding forked bookmarks. NOt used yet. 2003-04-12 07:31:02 +00:00
dougt%netscape.com
8e41040c94 Fixes a crash on shutdown. patch by bryner. r+sr=dougt 2003-04-12 07:16:31 +00:00
sspitzer%netscape.com
4dc2dce3de fix for bug #124438. fix get msg icon in modern skin.
thanks to abecevello@sympatico.ca (Adam Becevello) for the fix.
r=marlon, sr=sspitzer
2003-04-12 06:57:54 +00:00
bzbarsky%mit.edu
fa96270367 Fixing OS/2 bustage -- compiler is too dumb to tell that the void* version is
_not_ what we want here... ;)
2003-04-12 06:18:38 +00:00
bzbarsky%mit.edu
48eaa50cb5 Change nsObjectFrame reflow when showing an image or iframe to just reflow the kid and
use its desired size.  Change reflow when doing a plugin to properly look at
the mComputedHeight/Width instead of trying to (incorrectly) walk up the reflow
state chain.  Plus some nsCOMPtr love.  Bug 191246 and bug 196280,
r=peterlubczynski, sr=roc+moz
2003-04-12 04:55:07 +00:00
sfraser%netscape.com
430da523f7 Fix method types to keep Windows happy (__stdcall crap) 2003-04-12 04:22:16 +00:00
bzbarsky%mit.edu
ca44279106 Clean up nsURILoader.cpp some. Better comments, more understandable code in
nsDocumentOpenInfo::DispatchContent, less confusing use of RetargetOutput
(which is now ConvertData).  Bug 201618, r=darin, sr=sspitzer.
2003-04-12 03:36:53 +00:00
bzbarsky%mit.edu
9484b33cb8 More const string love. Bug 200389, patch by ataylor@its.to (Andrew Taylor),
r=jst, sr=alecf
2003-04-12 03:23:33 +00:00
bzbarsky%mit.edu
46c0fbda65 Make some strings in prompt service char arrays instead of pointers to move
them to readonly data.  Bug 201355, patch by ataylor@its.to (Andrew Taylor),
r=adamlock, sr=alecf
2003-04-12 03:17:15 +00:00
bzbarsky%mit.edu
b7e3933dd1 Make frequence tables in universal charset decoder const to move them into the
readonly segment.  Bug 201361, patch by ataylor@its.to (Andrew Taylor),
r=smontagu, sr=alecf
2003-04-12 03:14:30 +00:00
sfraser%netscape.com
5a14aa5fdd Part of fix for bug 201400. r=aaronl, sr=me. 2003-04-12 03:12:59 +00:00
sfraser%netscape.com
2ce89db51a Fix bug 201560: reimplement the DOM window controller using shared controller code, and a singleton nsIControllerCommandTable. This reduces the number of string compares when updating commands, and is cleaner. Include some string cleanup in SetCursor() to reduce codesize. r=brade/jkeiser, sr=jst. 2003-04-12 03:08:23 +00:00
sfraser%netscape.com
2f449323df Fix for bug 201400: move the "accessibility.browsewithcaret" pref observer to the nsEventStateManager, to remove it from the DOMWindowController. Patch by brade/sfraser, r=aaronl, sr=sfraser. 2003-04-12 03:03:27 +00:00
brendan%mozilla.org
e81a02eeb2 Reduce seeks outside the FastLoad file's underlying stream buffer (195010,
r=ben, sr=bryner).

- Pass null scope objects into nsIScriptContext::Compile{EventHandler,Script}
when precompiling for brutal sharing.  The JS engine does not need a non-null
object parameter for static scope.  That parameter can be non-null only if it
helps the compiler "pre-bind" functions to the same scope object that they'll
be parented by when executing, but with brutal sharing, functions are
precompiled once and executed against many different scope objects.

- A problem in XUL FastLoad was that it would serialize master .xul document
out-of-line scripts (those included via script src= from non-overlay, "master"
.xul docs) far from the place in the FastLoad file where XUL prototype script
info was serialized for the <script src=> tag itself.  I fixed that so that,
unless the out-of-line script was previously serialized (by a different src=
reference from another .xul file), the OOL script data immediately follows the
proto-script info in the FastLoad file.

This required adding a SerializeOutOfLine method to nsXULPrototypeScript, which
restores symmetry by matching the existing DeserializeOutOfLine(Script) (note:
I dropped the redundant "Script" from the end of the latter method's name.  We
need SerializeOutOfLine to handle overlay OOL scripts.	They are serialized by
nsXULDocument::OnStreamComplete, because that code knows the difference between
an overlay and a master doc.  This removes all trace of FastLoad writing from
nsXULPrototypeScript::Compile -- FastLoad stuff didn't belong there, not only
because we now want to write master OOL scripts later, when walking the master
XUL prototype doc's element tree, but also for modularity reasons.  The caller
knows about FastLoad, nsXULPrototypeScript::Compile does just what its name
implies.

There are 132 seeks with the patch, only 49 of which dump the underlying file
stream's buffer, vs. 133 seeks without the patch, 87 of which dump the buffer.

- Nit-picked some comments to fit in 80 columns, and made other cosmetic fixes.

- Implicated the nsXULDocument::mIsWritingFastLoad flag from the useXULCache
"is the XUL cache enabled?" flag, so other places that test mIsWritingFastLoad
don't have to query whether the cache is enabled.

- Added METERING synchronous meter-dumping to /tmp/bufstats, only ifdef
DEBUG_brendan, in netwerk/base/src/nsBufferedStreams.cpp.

- Added the deferred seek optimization from the first patch in bug 195010 to
nsFastLoadFile.cpp.

- Fixed nsFastLoadFileReader so it overrides readSegments as well as read.
This catches up with the interface extension made to nsIInputStream to add
readSegments.  The nsFastLoadFileReader extends nsBinaryInputStream, which is
a concrete class, and overrides Read in order to snoop on *all* bytes read.
It does this in order to demultiplex documents interleaved when the FastLoad
file was written.

But since the readSegments move into nsIInputStream.idl, certain primitives
in nsBinaryStream.cpp, e.g., nsBinaryInputStream::ReadCString, have used
ReadSegments, not Read, to consume parts of the underlying stream (to read
the C string's chars, in that example), and the FastLoad file implementation
has not accounted for those bytes.

- Added a new method to nsIFastLoadFileControl and its impls: hasMuxedDocument.
 This is needed when serializing master XUL doc OOL scripts, because we must
not serialize twice, and any OOL script that other XUL docs can include via
script src= could already be in the FastLoad mux.

/be
2003-04-12 01:34:11 +00:00
cavin%netscape.com
b4c1c81ff5 Fix for 201588. Set dirType in CreateDirectoryByURI() and prefName in DIR_AddNewAddressBook(). r=shliang, sr=sspitzer. 2003-04-12 01:26:36 +00:00
sspitzer%netscape.com
7a2b3d5b60 backing out my fix for 200603, and neils supplimental fix for it. 2003-04-12 00:17:25 +00:00
rogerl%netscape.com
5675489e56 Fixed nullClass accessors. 2003-04-11 22:57:00 +00:00
rogerl%netscape.com
44e8762bb2 Leakage. 2003-04-11 22:20:10 +00:00
rogerl%netscape.com
2f518e95ac Leakage fixes. 2003-04-11 21:54:58 +00:00
rogerl%netscape.com
56427a5ece Leakage fixes. 2003-04-11 21:29:50 +00:00