75670 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
b4a357b94d Fix leaks in the xlib port (and some problems exposed by fixing those leaks). b=64534, 64767 r=blizzard@mozilla.org (Not part of the build.)
git-svn-id: svn://10.0.0.236/trunk@84694 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 02:49:45 +00:00
dbaron%fas.harvard.edu
73d33434d9 Change ScrollFrameIntoView so that scrolling to an inline frame scrolls to the top of the line containing the inline frame rather than the frame itself. This makes scrolling to empty inline anchors or anchors around images work better. b=38280 r=buster@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84693 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 02:43:00 +00:00
tor%cs.brown.edu
44636a2ea2 Bug 61410 - move opaque test from ImageUpdated() to SetDecodedRect()
r=pavlov, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@84692 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 02:37:43 +00:00
javi%netscape.com
08ddcfd8fe Initial check-in of PIP (PSM 2.0)
Code almost entirely based on contribution
  from Brain Ryner (bryner@netscape.com)


git-svn-id: svn://10.0.0.236/trunk@84691 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 01:32:29 +00:00
sfraser%netscape.com
f6610d34eb Fix the Windows build, r=kin. The error handling in this file is, um, interesting.
git-svn-id: svn://10.0.0.236/trunk@84690 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 01:16:15 +00:00
ben%netscape.com
65e5cb111d bug 56719, support deep merging for XUL overlays; 57108, remove the hidden form
from all XUL documents and remove the document.controls collection that
referenced hidden form's elements collection. r=waterson@netscape.com,
a=hyatt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84689 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 01:08:23 +00:00
pavlov%netscape.com
1946b1d361 adding windows makefile
git-svn-id: svn://10.0.0.236/trunk@84688 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 00:53:48 +00:00
sfraser%netscape.com
a982e927bd Include nsIDiskDocument to fix windows build.
git-svn-id: svn://10.0.0.236/trunk@84687 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 00:10:51 +00:00
sfraser%netscape.com
d9c80e26a8 nsIDiskDocument is now xpidl-generated. bug and reviewers in previous checkin.
git-svn-id: svn://10.0.0.236/trunk@84685 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 00:06:28 +00:00
javi%netscape.com
6c63e1fa29 Remove reference to obsolete define MACLINUX.
Fix for Bug 63936 r=wtc (For NSS trunk check-in)


git-svn-id: svn://10.0.0.236/trunk@84684 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 00:04:37 +00:00
akkana%netscape.com
0d7c7c2d2b 17686: Add a pref to control image animation. r=tor, sr=buster
git-svn-id: svn://10.0.0.236/trunk@84683 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 23:55:27 +00:00
sspitzer%netscape.com
9150f964cc fix for #64475. use different sound for new mail. thanks to my
lovely assistant joe hewitt for providing the sound.
marlon will be providing a better sound later.


git-svn-id: svn://10.0.0.236/trunk@84681 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 23:43:46 +00:00
anthonyd%netscape.com
1ff5aa2292 fix for bug #59003 fix for keybindings
sr=kin@netscape.com
r=akkana@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84680 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 23:22:56 +00:00
bienvenu%netscape.com
06d097b9c9 stop biff from putting up alerts when server down r=naving,sr=mscott 59802
git-svn-id: svn://10.0.0.236/trunk@84679 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 23:02:47 +00:00
rginda%netscape.com
61c4dadfd0 -- chatzilla changes only --
fix problem where chatzilla responds (to the channel) with an error, when someone says the word "undefined"
r=blizzard


git-svn-id: svn://10.0.0.236/trunk@84678 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:57:45 +00:00
peterlubczynski%netscape.com
62c36a7c6f Added nsPrintOptionsGTK to the factory. r=dcone sr=buster
git-svn-id: svn://10.0.0.236/trunk@84677 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:54:52 +00:00
sfraser%netscape.com
91b886acba Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin. Also changing from nsIFileWidget to nsIFilePicker, bug 47553, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@84676 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:47:30 +00:00
sfraser%netscape.com
4e7e05789b Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin
git-svn-id: svn://10.0.0.236/trunk@84675 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:47:02 +00:00
bienvenu%netscape.com
2c56c9207b remove unused code r/sr mscott,waterson no bug
git-svn-id: svn://10.0.0.236/trunk@84674 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:23:05 +00:00
shanjian%netscape.com
2ab8e639bc #59268 Autodetection should not override charset from cache and bookmark
r = ftang
sr = erik
lower the priority of autodection.


git-svn-id: svn://10.0.0.236/trunk@84673 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:18:44 +00:00
blakeross%telocity.com
e51450f660 getting rid of a dump().
git-svn-id: svn://10.0.0.236/trunk@84672 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:13:19 +00:00
blakeross%telocity.com
5923da1d77 Fix 61474: disable Java Console item in Tasks menu when Java plugin isn't installed. patch mostly by Xiaobin Lu (xiaobin.lu@eng.sun.com). r=blake a=ben
git-svn-id: svn://10.0.0.236/trunk@84671 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 21:49:02 +00:00
dave%intrec.com
438eddd2c4 Removing extraneous space from the mysql command in the event the database
has a password.  mysql wants no space between the -p and the password.


git-svn-id: svn://10.0.0.236/trunk@84670 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 21:47:06 +00:00
anthonyd%netscape.com
32339edfc0 bug fix for 62796
sr=kin@netscape.com
a=jfrancis@netscape.com
r=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84669 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 21:44:35 +00:00
cmanske%netscape.com
6acbfb9d5c Use global overlay for 'Exit/Quit' menuitem, requiring moving of overlay includes, b=54584, r=ducarroz, sr=syd
git-svn-id: svn://10.0.0.236/trunk@84668 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 21:38:47 +00:00
dave%intrec.com
7220934820 Fix for bug 36596: cvsquery.cgi looping (cvsquery.pl - build_map)
cvsquery.pl no longer causes an infinite loop if you query on a module
other than 'all'


git-svn-id: svn://10.0.0.236/trunk@84665 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 21:24:46 +00:00
axel%pike.org
fbc06947af Not part of the build, fixes QNames really ending when hitting whitespace
git-svn-id: svn://10.0.0.236/trunk@84661 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 20:56:28 +00:00
dcone%netscape.com
ec87b2a0a4 Took outsome debug code which snuck in.
git-svn-id: svn://10.0.0.236/trunk@84660 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 20:41:05 +00:00
blakeross%telocity.com
5a3ebfa706 Fix 64458: JS strict warnings in treeBindings.xml. r=jrgm sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@84659 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 20:36:22 +00:00
cmanske%netscape.com
de03234980 Use global overlay for 'Exit/Quit' menuitem, requiring moving of overlay includes, b=54584
git-svn-id: svn://10.0.0.236/trunk@84658 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 20:35:47 +00:00
cmanske%netscape.com
4fa1c7472c Added xul includes no longer included in editorOverlay.xul. Part of fix for 54584. r=ducarroz, sr=syd
git-svn-id: svn://10.0.0.236/trunk@84657 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 20:35:43 +00:00
jst%netscape.com
1533a03b6b Fix crash in the XML error reporter (and doing some cleanup), the format string for printf'ing out numbers should be %d, not %s! r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84656 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 19:54:37 +00:00
chuang%netscape.com
0c5a22ac58 Bug52084 Leaking all address book databases., sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84655 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 19:27:32 +00:00
kestes%staff.mail.com
7c59e1510c $previous_rec needed wider scope. I had accidentally narrowed the
scope when tixing the 'building' issue.


git-svn-id: svn://10.0.0.236/trunk@84651 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 15:43:39 +00:00
mkaply%us.ibm.com
8b65d5e12c Stupid error in last checkin
git-svn-id: svn://10.0.0.236/trunk@84650 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 15:30:12 +00:00
nboyd%atg.com
5b49c69e7c Subject:
Re: Debugger problem
        Date:
             Mon, 08 Jan 2001 14:16:30 -0800
       From:
             Christopher Oliver <coliver@mminternet.com>
 Organization:
             Primary Interface LLC
         To:
             Kurt Westerfeld <kurt@ManagedObjects.com>
         CC:
             Norris Boyd <nboyd@atg.com>
  References:
             1 , 2 , 3




Kurt, Norris,

Yes, with the change to the shell this should be possible.  The problem before
was that if you loaded the same file with different relative path names, two
different windows in the debugger were created because everything (windows,
breakpoints, etc) is keyed off the source name.

The attached file contains the fix (and includes the workaround for
Desktop.getSelectedFrame).

There are still some bugs in transferring focus between the windows in the
Desktop.  I haven't had time to track down the problem or a solution.

Chris

Kurt Westerfeld wrote:

> I would point out that "Source Name" of a script isn't necessarily a
> filename.  In our system, scripts are run remotely from a script library
> that has no file system backing.  Canonicalizing the file names is really
> unnecessary.
>
> Can't you just modify JSDebugger to not care what the name of the file is?
> If access to the original script is unavailable except through the file
> system, I'd be surprised.
>
> ----- Original Message -----
> From: Christopher Oliver <coliver@mminternet.com>
> To: Kurt Westerfeld <kurt@ManagedObjects.com>
> Cc: Norris Boyd <nboyd@atg.com>
> Sent: Sunday, January 07, 2001 2:23 AM
> Subject: Re: Debugger problem
>
> > Hi Kurt,
> >
> > I rather would say that it is a problem with the processFile method in the
> > shell's Main class.  If you change the current working directory or the
> value
> > of the System property "user.dir" after compiling a script, relative path
> names
> > can become ambiguous.  Norris, would it be ok to modify the shell to
> > "canonicalize" the names of files it compiles?  That way the source name
> that
> > shows up in the stack and in DebuggableScript will always be unique.  For
> > example:
> >
> > public static void processFile(Context cx, Scriptable scope,
> >                                    String filename)
> >     {
> >             Reader in = null;
> >             try {
> >                 in = new PushbackReader(new FileReader(filename));
> >                 int c = in.read();
> >                 // Support the executable script #! syntax:  If
> >                 // the first line begins with a '#', treat the whole
> >                 // line as a comment.
> >                 if (c == '#') {
> >                     while ((c = in.read()) != -1) {
> >                         if (c == '\n' || c == '\r')
> >                             break;
> >                     }
> >                     ((PushbackReader) in).unread(c);
> >                 } else {
> >                     // No '#' line, just reopen the file and forget it
> >                     // ever happened.  OPT closing and reopening
> >                     // undoubtedly carries some cost.  Is this faster
> >                     // or slower than leaving the PushbackReader
> >                     // around?
> >                     in.close();
> >                     in = new FileReader(filename);
> >                 }
> >                 filename = new java.io.File(filename).getCanonicalPath();
> > <<<====== Add this
> >             }
> >             catch (FileNotFoundException ex) {
> >                 Context.reportError(ToolErrorReporter.getMessage(
> >                     "msg.couldnt.open",
> >                     filename));
> >                 exitCode = EXITCODE_FILE_NOT_FOUND;
> >                 return;
> >             } catch (IOException ioe) {
> >                 globalState.getErr().println(ioe.toString());
> >             }
> >
> >             // Here we evalute the entire contents of the file as
> >             // a script. Text is printed only if the print() function
> >             // is called.
> >             evaluateReader(cx, scope, in, filename, 1);
> >     }
> >
> >
> > Attached is *my* latest version of the debugger code.  Norris, have you
> made
> > any progress on cvs commit priveledges?  The attached version fixes a
> number of
> > GUI bugs:
> >
> > 1) If you undocked the Variables window and popped up the Context
> combo-box and
> > then closed the window with the system menu, the Context pop-up was not
> cleaned
> > up properly.
> > 2) The first time you minimize a file window it appeared to dissappear
> when you
> > tried to restore it.  This was due to the fact that I forgot to "pack" its
> > contents and as a result its requested size was 0x0.
> >
> > I also added a menu item to toggle whether to break on exceptions and one
> which
> > allows you to open (and compile) a JavaScript file without actually
> executing
> > it.
> >
> > I have also attached a Word document with some basic documentation for the
> > Debugger.
> >
> > Note that this version also includes all the changes to support debugging
> > scripts in the AWT dispatch thread.
> >
> > Chris
> >
> > Kurt Westerfeld wrote:
> >
> > > Hello.  I ran into a null pointer exception in JSDebugger tonight, and I
> > > thought I'd drop you a note.
> > >
> > > The problem line is 2336, where a breakpoint is hit.  To simulate, load
> the
> > > debugger using the command line syntax on a file that has not been
> resolved
> > > to cannonical path.
> > >
> > > Example,
> > >
> > >      jshell -debug -f \myfile.fs
> > >
> > > At any rate, the "handleCompilationDone" routine takes \myfile.fs and
> turns
> > > it into a canonical path.  If you hit a breakpoint in this file and say
> > > "go", when the breakpoint hits the file is not found, because the same
> > > canonical path resolution is not done.  The resolution seems dubious,
> since
> > > it is only done in the compilation done callback, but I don't know the
> best
> > > way to suggest a fix since it seems that code had some purpose.
> > >
> > > Anyway, thought you'd wanna know.
> > >
> > > ________________________________________________________________________
> > >   Kurt Westerfeld
> > >   Senior Software Architect
> > >   Managed Objects
> > >   mailto:kwester@ManagedObjects.com
> > >   703.770.7225
> > >   http://www.ManagedObjects.com
> > >
> > >   Managed Objects: manage technology > rule business
> >



   JSDebugger.java

                    Name:
                          JSDebugger.java
                    Type:
                          Java Class File (java/*)
                 Encoding:
                          base64


git-svn-id: svn://10.0.0.236/trunk@84649 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 14:10:40 +00:00
nboyd%atg.com
afc7358821 Missed checkin of new file.
git-svn-id: svn://10.0.0.236/trunk@84648 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 13:39:22 +00:00
jst%netscape.com
a975208768 Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@84647 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 06:52:13 +00:00
sspitzer%netscape.com
a969cecfb1 fix mac build bustage. sorry.
git-svn-id: svn://10.0.0.236/trunk@84646 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:56:18 +00:00
dougt%netscape.com
9145344cfc Fixes dropped socket transport during shutdown. The xpcom fix causes the UI event queue to be processed one final time after services shutdown. The socket transport fix forces all remaining active transports to be canceled, then released. r= waterson@netscape.com && darin@netscape.com a=mscott@netscape.com. b=63565
git-svn-id: svn://10.0.0.236/trunk@84645 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:44:47 +00:00
sspitzer%netscape.com
61db3f1d6c fix #63181. implement nsNntpUrl::GetFolderCharset().
also, remove extra strdup from the implementions in nsImapUrl and nsMailboxUrl.
clean up nsNntpUrl::Set/GetNewsgroupName().  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84644 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:27:28 +00:00
jst%netscape.com
35375fad3c Removing declaration of a function that is no longer in mozilla.
git-svn-id: svn://10.0.0.236/trunk@84643 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:26:22 +00:00
jst%netscape.com
2a9174a082 removed files: mozilla/layout/xml/content/src/nsXMLDocumentType.cpp
git-svn-id: svn://10.0.0.236/trunk@84642 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:15:12 +00:00
jst%netscape.com
4f07baaecf Removing duplicated code from layout, nsDOMDocumentType does the same things nsXMLDocumentType does and the former is the one that is used.
git-svn-id: svn://10.0.0.236/trunk@84641 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:13:10 +00:00
sspitzer%netscape.com
5ff5dd87d0 fix for #64729. Delete toolbar button should become a Mark toolbar button
when viewing a news message.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84640 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:11:45 +00:00
disttsc%bart.nl
12e5d4b41a Fix bug 64596: "starting mozilla with a URL breaks opening URLs in a new window", r=timeless, a=ben
I suck.


git-svn-id: svn://10.0.0.236/trunk@84639 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 04:22:09 +00:00
sspitzer%netscape.com
6861ca3ee7 fix (again) #63992. now that checkboxes work correctly, I can
clean up my js and xul.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84638 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 04:18:43 +00:00
disttsc%bart.nl
1389541a6b Make document load success/failure show on console again for non-debug builds, bug=64614, r=Pike, a=ben
git-svn-id: svn://10.0.0.236/trunk@84637 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 04:16:15 +00:00
jst%netscape.com
9a1b473bd8 CVS removing old files that are no longer part of the build.
git-svn-id: svn://10.0.0.236/trunk@84636 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 03:30:23 +00:00
disttsc%bart.nl
09fbf169d0 Fix senna bustage, r=cls. (mental note: remember REQUIRES in Makefile.in).
git-svn-id: svn://10.0.0.236/trunk@84635 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 03:11:59 +00:00