Commit Graph

74718 Commits

Author SHA1 Message Date
danm%netscape.com
3b3fbeea7a persist min/max state bug 32148 r=ben,timeless 2001-01-10 03:07:28 +00:00
waldemar%netscape.com
d7f7cfe179 Simplified use-name-patterns 2001-01-10 02:50:13 +00:00
dbaron%fas.harvard.edu
3827190159 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.) 2001-01-10 02:49:45 +00:00
dbaron%fas.harvard.edu
618b924650 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 2001-01-10 02:43:00 +00:00
tor%cs.brown.edu
2fbefad3f4 Bug 61410 - move opaque test from ImageUpdated() to SetDecodedRect()
r=pavlov, sr=blizzard
2001-01-10 02:37:43 +00:00
javi%netscape.com
d3d2410479 Initial check-in of PIP (PSM 2.0)
Code almost entirely based on contribution
  from Brain Ryner (bryner@netscape.com)
2001-01-10 01:32:29 +00:00
sfraser%netscape.com
1698a1ca7e Fix the Windows build, r=kin. The error handling in this file is, um, interesting. 2001-01-10 01:16:15 +00:00
ben%netscape.com
c85b487427 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
2001-01-10 01:08:23 +00:00
pavlov%netscape.com
7d0fd82a28 adding windows makefile 2001-01-10 00:53:48 +00:00
sfraser%netscape.com
984b38ccfb Include nsIDiskDocument to fix windows build. 2001-01-10 00:10:51 +00:00
sfraser%netscape.com
4b6091ab16 nsIDiskDocument is now xpidl-generated. bug and reviewers in previous checkin. 2001-01-10 00:06:28 +00:00
javi%netscape.com
068b645980 Remove reference to obsolete define MACLINUX.
Fix for Bug 63936 r=wtc (For NSS trunk check-in)
2001-01-10 00:04:37 +00:00
akkana%netscape.com
204fa06e11 17686: Add a pref to control image animation. r=tor, sr=buster 2001-01-09 23:55:27 +00:00
sspitzer%netscape.com
f0902a54bd 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.
2001-01-09 23:43:46 +00:00
anthonyd%netscape.com
101cc14924 fix for bug #59003 fix for keybindings
sr=kin@netscape.com
r=akkana@netscape.com
2001-01-09 23:22:56 +00:00
bienvenu%netscape.com
a844d5f7f1 stop biff from putting up alerts when server down r=naving,sr=mscott 59802 2001-01-09 23:02:47 +00:00
rginda%netscape.com
325cb20c5b -- chatzilla changes only --
fix problem where chatzilla responds (to the channel) with an error, when someone says the word "undefined"
r=blizzard
2001-01-09 22:57:45 +00:00
peterlubczynski%netscape.com
c89077a98d Added nsPrintOptionsGTK to the factory. r=dcone sr=buster 2001-01-09 22:54:52 +00:00
sfraser%netscape.com
6906fda17c 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 2001-01-09 22:47:30 +00:00
sfraser%netscape.com
a0dda75954 Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin 2001-01-09 22:47:02 +00:00
bienvenu%netscape.com
812021d8dc remove unused code r/sr mscott,waterson no bug 2001-01-09 22:23:05 +00:00
shanjian%netscape.com
c74ac067e8 #59268 Autodetection should not override charset from cache and bookmark
r = ftang
sr = erik
lower the priority of autodection.
2001-01-09 22:18:44 +00:00
blakeross%telocity.com
1741742954 getting rid of a dump(). 2001-01-09 22:13:19 +00:00
blakeross%telocity.com
ae3fbb9d54 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 2001-01-09 21:49:02 +00:00
dave%intrec.com
2766b34f94 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.
2001-01-09 21:47:06 +00:00
anthonyd%netscape.com
dbd36fbbfb bug fix for 62796
sr=kin@netscape.com
a=jfrancis@netscape.com
r=jst@netscape.com
2001-01-09 21:44:35 +00:00
cmanske%netscape.com
4a25db7345 Use global overlay for 'Exit/Quit' menuitem, requiring moving of overlay includes, b=54584, r=ducarroz, sr=syd 2001-01-09 21:38:47 +00:00
dave%intrec.com
3b79cb392c 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'
2001-01-09 21:24:46 +00:00
axel%pike.org
d74f39e9bd Not part of the build, fixes QNames really ending when hitting whitespace 2001-01-09 20:56:28 +00:00
dcone%netscape.com
3b139c38ef Took outsome debug code which snuck in. 2001-01-09 20:41:05 +00:00
blakeross%telocity.com
67c4987db9 Fix 64458: JS strict warnings in treeBindings.xml. r=jrgm sr=hyatt 2001-01-09 20:36:22 +00:00
cmanske%netscape.com
88bec31c65 Use global overlay for 'Exit/Quit' menuitem, requiring moving of overlay includes, b=54584 2001-01-09 20:35:47 +00:00
cmanske%netscape.com
53ee884ff1 Added xul includes no longer included in editorOverlay.xul. Part of fix for 54584. r=ducarroz, sr=syd 2001-01-09 20:35:43 +00:00
jst%netscape.com
0e33a0e878 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 2001-01-09 19:54:37 +00:00
chuang%netscape.com
b691466a6b Bug52084 Leaking all address book databases., sr=mscott 2001-01-09 19:27:32 +00:00
kestes%staff.mail.com
81e762f887 $previous_rec needed wider scope. I had accidentally narrowed the
scope when tixing the 'building' issue.
2001-01-09 15:43:39 +00:00
mkaply%us.ibm.com
130aed7d5d Stupid error in last checkin 2001-01-09 15:30:12 +00:00
nboyd%atg.com
b8ac59c406 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
2001-01-09 14:10:40 +00:00
nboyd%atg.com
864bb13d47 Missed checkin of new file. 2001-01-09 13:39:22 +00:00
jst%netscape.com
d52533ca76 Removing unused file. 2001-01-09 06:52:13 +00:00
sspitzer%netscape.com
b03b252237 fix mac build bustage. sorry. 2001-01-09 05:56:18 +00:00
dougt%netscape.com
00d3cd613f 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 2001-01-09 05:44:47 +00:00
sspitzer%netscape.com
2e8bbd91c4 fix #63181. implement nsNntpUrl::GetFolderCharset().
also, remove extra strdup from the implementions in nsImapUrl and nsMailboxUrl.
clean up nsNntpUrl::Set/GetNewsgroupName().  sr=bienvenu
2001-01-09 05:27:28 +00:00
jst%netscape.com
987e96df6b Removing declaration of a function that is no longer in mozilla. 2001-01-09 05:26:22 +00:00
jst%netscape.com
7d39502be2 removed files: mozilla/layout/xml/content/src/nsXMLDocumentType.cpp 2001-01-09 05:15:12 +00:00
jst%netscape.com
15e7a09cce Removing duplicated code from layout, nsDOMDocumentType does the same things nsXMLDocumentType does and the former is the one that is used. 2001-01-09 05:13:10 +00:00
sspitzer%netscape.com
ecd6c8cc82 fix for #64729. Delete toolbar button should become a Mark toolbar button
when viewing a news message.  sr=bienvenu
2001-01-09 05:11:45 +00:00
disttsc%bart.nl
5d6739fe6c Fix bug 64596: "starting mozilla with a URL breaks opening URLs in a new window", r=timeless, a=ben
I suck.
2001-01-09 04:22:09 +00:00
sspitzer%netscape.com
56966e37ae fix (again) #63992. now that checkboxes work correctly, I can
clean up my js and xul.  sr=bienvenu
2001-01-09 04:18:43 +00:00
disttsc%bart.nl
f197254c00 Make document load success/failure show on console again for non-debug builds, bug=64614, r=Pike, a=ben 2001-01-09 04:16:15 +00:00