58110 Commits

Author SHA1 Message Date
scc%netscape.com
dd2b4f8ffb making string conversions explict
git-svn-id: svn://10.0.0.236/trunk@65023 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:09:23 +00:00
scc%netscape.com
4cebb949ef making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65022 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:04:52 +00:00
alecf%netscape.com
26410a530c fix xlib bustage
git-svn-id: svn://10.0.0.236/trunk@65021 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:01:07 +00:00
waterson%netscape.com
159a29836b Reduce allocation overhead in ConflictSet; lazily create hashtable in MatchSet. NOT YET IN THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@65020 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 07:55:35 +00:00
rjc%netscape.com
f47c0aa555 Fix fragment name on Macintosh.
git-svn-id: svn://10.0.0.236/trunk@65019 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 07:27:34 +00:00
hyatt%netscape.com
d3b2c66d66 Checking in the real fix for 34130.
git-svn-id: svn://10.0.0.236/trunk@65018 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 07:13:07 +00:00
alecf%netscape.com
8f4d549ec6 fix semantics of these pref methods to match other pref methods and don't throw exceptions even on failure
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@65017 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:58:58 +00:00
waterson%netscape.com
55d7bc92d7 Leak fixes. NOT YET IN THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@65016 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:44:41 +00:00
alecf%netscape.com
fa96e70b28 add smtp server editor to the mac/windows build, and add one new file to the windows build r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@65015 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:37:10 +00:00
alecf%netscape.com
02736edbec make the server editor itself actually change the hostname of the server being edited r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@65014 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:33:49 +00:00
dougt%netscape.com
6160ec1b39 beard@netscape.com: nsXBLBinding objects are getting released without ever removing their roots. That
is clear.  r=dougt and r=hyatt. Fix for 34130.


git-svn-id: svn://10.0.0.236/trunk@65013 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:31:32 +00:00
alecf%netscape.com
2d1d9bda4a add Smtp editor stuff to the build r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@65012 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:29:40 +00:00
alecf%netscape.com
0bd28fe65f fix typo r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@65011 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:29:04 +00:00
evaughan%netscape.com
4988dd9975 Added a hook for the Bidi code.
git-svn-id: svn://10.0.0.236/trunk@65010 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:26:38 +00:00
scc%netscape.com
0d5b55ad34 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65009 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:20:05 +00:00
scc%netscape.com
71b1c7c5f4 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65008 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:01:54 +00:00
scc%netscape.com
6c8855272d making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65007 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 05:52:40 +00:00
waterson%netscape.com
dd7c0d8e23 Bug 26402, try number two. Do event handler recompilation and 'style' attribute fixup in nsXULElement::SetDocument(). Fix uninitialized out params in nsXULElement::GetAttribute() and nsXULElement::GetClasses().
git-svn-id: svn://10.0.0.236/trunk@65006 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 05:36:17 +00:00
scc%netscape.com
9b475e367f making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65005 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 05:35:37 +00:00
scc%netscape.com
bb97d34faa making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65004 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 05:28:56 +00:00
scc%netscape.com
5ed2d7d9d7 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65003 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 05:13:05 +00:00
scc%netscape.com
8b434ed5e5 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65002 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 05:01:30 +00:00
evaughan%netscape.com
8c370b6061 Turned on widget move coelescing in view manager.
-r troy, kevin m


git-svn-id: svn://10.0.0.236/trunk@65001 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 04:57:42 +00:00
scc%netscape.com
4f2640d5bf making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65000 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 04:53:32 +00:00
scc%netscape.com
a50ec8fb2b Added a new converting signature |NS_ConvertToString| to substitute for this common practice |nsAutoString("a c string")| where used in parameter lists
git-svn-id: svn://10.0.0.236/trunk@64999 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 04:52:47 +00:00
edburns%acm.org
e77c9b9105 The problem was in the way the
NativeEventThread's run() method's infinite loop was implemented.  The
  loop looks like this:

    while (null != this.browserControlCanvas) {
        synchronized (this.browserControlCanvas.getTreeLock()) {
            nativeProcessEvents(nativeWebShell);

            if (null != listenersToAdd && !listenersToAdd.isEmpty()) {
                tempEnum = listenersToAdd.elements();
                while (tempEnum.hasMoreElements()) {
                    nativeAddListener(nativeWebShell,
                                          (WebclientEventListener)
                                      tempEnum.nextElement());
                }
                listenersToAdd.clear();
            }
        }
    }

  The problem I was observing was that
  nativeProcessEvents(nativeWebShell) would crash due to the fact that
  the nativeWebShell, which is actually an WebShellInitContext instance,
  had been de-allocated.  This de-allocation happens as a result of the
  WindowControlImpl.delete() method, which looks like this:

public void delete()
{
    Assert.assert(null != eventThread, "eventThread shouldn't be null at delete time");
    eventThread.delete();
    eventThread = null;
    nativeDestroyInitContext(nativeWebShell);
    nativeWebShell = -1;
}

  nativeDestroyInitContext de-allocates the WebShellInitContextInstance.
  You can see that the first thing done is to delete the eventThread().
  NativeEventThread.delete() looks like this:

public void delete()
{
    // setting this to null causes the run thread to exit
    synchronized(this.browserControlCanvas.getTreeLock()) {
        browserControlCanvas = null;
    }
...
}

  If you compare NativeEventThread.delete() with the infinite loop in
  NativeEventThread.run(), you'll see that the fact that they both
  synchronize on the same object doesn't protect us from the following
  case:

    NativeEventThread: The infinite loop checks to see if the
    browserControlCanvas is null, then does synchronize on
    browserControlCanvas.getTreeLock(), then calls processNativeEvents().

meanwhile

    WindowControlImpl thread: delete() calls NativeEventThread.delete(),
    which does synchronize on browserControlCanvas.getTreeLock().
    During NativeEventThread.delete(), synchronized section,
    browserControlCanvas is set to null.

    NativeEventThread: because the check for null browserControlCanvas
    occurrs outside of the synchronized block, it's not recheked, and
    thus, the event loop continues to process when it shouldn't.

  The fix is to change the event loop to look like this:

    while (true) {
        synchronized (this.browserControlCanvas.getTreeLock()) {
            // this has to be inside the synchronized block!
            if (null == this.browserControlCanvas) {
                return;
            }
            nativeProcessEvents(nativeWebShell);

            if (null != listenersToAdd && !listenersToAdd.isEmpty()) {
                tempEnum = listenersToAdd.elements();
                while (tempEnum.hasMoreElements()) {
                    nativeAddListener(nativeWebShell,
                                          (WebclientEventListener)
                                      tempEnum.nextElement());
                }
                listenersToAdd.clear();
            }
        }
    }


git-svn-id: svn://10.0.0.236/trunk@64998 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 04:32:27 +00:00
rjc%netscape.com
c86063a240 Skinnability: use <xul:menulist> instead of <html:select>. Convert pluses to spaces before calling unescape().
git-svn-id: svn://10.0.0.236/trunk@64997 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 04:23:38 +00:00
evaughan%netscape.com
7739e3ecd4 Compiler error fix.
git-svn-id: svn://10.0.0.236/trunk@64996 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 04:17:47 +00:00
evaughan%netscape.com
995d26d6bc 1) viewmanager2 optimizations -r troy, kevin
2) box fixes for Rod's gfx listbox
3) memory leak fixes
4) box fixes in prep for grid widget


git-svn-id: svn://10.0.0.236/trunk@64995 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 03:55:38 +00:00
bienvenu%netscape.com
229721aaa2 remove unused view attachments as links option, work on in-reply-to header, r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@64994 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 03:22:56 +00:00
putterman%netscape.com
ef669dfa2e Add new icons to mail news 3 pane UI. r=mscott
git-svn-id: svn://10.0.0.236/trunk@64993 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:58:21 +00:00
mscott%netscape.com
9cf3fa4f0b Semi-large landing. I re-wrote mailnews compose to use a cached string bundle. I've had this code in my tree for
a couple weeks and just hadn't gotten around to checking it in yet.

I noticed that during a normal sending of a message, we were loading a string bundle 6 times! (most of this was to display
progress information during the send procedure). This caused us to hit the disk 6 times. With these changes, we
cache the string bundle in the compose string bundle service so we only hit the disk once.


git-svn-id: svn://10.0.0.236/trunk@64992 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:32:27 +00:00
mscott%netscape.com
03e4b44c53 Bug #33156 --> the doc loader now implements nsIWebProgress and makes basic notifications to a registered
nsIWebProgressListener.

Right now, the only methods that are hooked up are signaling when the doc loader is busy loading a document and
when it is done loading a document.


git-svn-id: svn://10.0.0.236/trunk@64991 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:26:05 +00:00
mscott%netscape.com
966f22a148 remove obsolete image files from the repository.
git-svn-id: svn://10.0.0.236/trunk@64990 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:16:59 +00:00
mscott%netscape.com
09d9d7d68b Remove old addtoab and attachment icons. We have new ones in mailnews/base/resources/content (which is
where this kind of stuff belongs) now.


git-svn-id: svn://10.0.0.236/trunk@64989 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:16:25 +00:00
mscott%netscape.com
884783a44e I broke newsgroups the other day so they weren't showing up in the message pane. undoing the damage.
git-svn-id: svn://10.0.0.236/trunk@64988 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:15:25 +00:00
mscott%netscape.com
c36deec18d Bug #27884 --> new attachment icon & add to ab icon
git-svn-id: svn://10.0.0.236/trunk@64987 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:14:19 +00:00
sspitzer%netscape.com
5260b405b4 add PerformExpand() to the nsIMsgIncomingServer interface. in the base case, it does nothing.
we override it in news, and we'll use this as our hook to update the counts for all the
newsgroups for a give server.  right now, PerformExpand() only gets called on a double
click but eventually, it will be hooked up to the twisty.  r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@64986 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:06:57 +00:00
blizzard%redhat.com
58c33807b9 add .cvsignore file
git-svn-id: svn://10.0.0.236/trunk@64985 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:06:14 +00:00
sspitzer%netscape.com
21f50c447c remove the MigrateFilters() calls. we are going with lazy filter migration. r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@64984 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:03:58 +00:00
davidm%netscape.com
f5d8545cf8 unregister pref callbacks
turn on compile flag for disk cache


git-svn-id: svn://10.0.0.236/trunk@64983 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:58:17 +00:00
davidm%netscape.com
f6652ff6aa unregister pref listeners
r = gordon@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64982 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:56:15 +00:00
davidm%netscape.com
e00bc7a42e 27857 nsIFile - MAC not completely implemented
git-svn-id: svn://10.0.0.236/trunk@64981 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:54:22 +00:00
davidm%netscape.com
e9d415867c remove obsolete cache preferences
git-svn-id: svn://10.0.0.236/trunk@64980 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:50:53 +00:00
davidm%netscape.com
13d8169eea 27857 nsIFile - MAC not completely implemented
git-svn-id: svn://10.0.0.236/trunk@64979 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:50:19 +00:00
davidm%netscape.com
92fc885fc2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@64978 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:50:18 +00:00
davidm%netscape.com
11162e5110 update channel to work with warrens changes
git-svn-id: svn://10.0.0.236/trunk@64977 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:47:43 +00:00
davidm%netscape.com
b2a5114130 32610 nsReplacementPolicy::LoadAllRecordsInAllCacheDatabases(
git-svn-id: svn://10.0.0.236/trunk@64976 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:46:45 +00:00
mscott%netscape.com
e4adcad9e5 Bug #33747 --> fix mailto url handling which broke after warren's big nsIChannel landing.
git-svn-id: svn://10.0.0.236/trunk@64975 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:26:58 +00:00
tbogard%aol.net
e17906d5a3 Changed the nsISHEntry interface to deal with layoutStateHistory in terms of a types nsILayoutHistoryState rather than just an nsISupports. Also changed the implementation to hold on to it with an nsCOMPtr rather than a raw pointer.
git-svn-id: svn://10.0.0.236/trunk@64974 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:21:06 +00:00