48069 Commits

Author SHA1 Message Date
shaver%netscape.com
9d0148c5b0 Fix for 18505 (rename nsDeque::Peek to nsDeque::PeekFront) from Sammy Ford
<fuzed@swbell.net>.


git-svn-id: svn://10.0.0.236/trunk@54511 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 17:47:05 +00:00
toshok%hungry.com
e1f91d9c45 switch from nspr21 to nspr3
git-svn-id: svn://10.0.0.236/trunk@54510 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 10:39:22 +00:00
toshok%hungry.com
d0bc8065c7 NetBSD needs underscores (at least in a.out mode. i need to try out elf.)
git-svn-id: svn://10.0.0.236/trunk@54509 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 10:36:10 +00:00
toshok%hungry.com
6e05c5b1a4 add handling for platforms that need underscores in front of global symbols.
git-svn-id: svn://10.0.0.236/trunk@54508 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 10:35:31 +00:00
toshok%hungry.com
167ae86d9e NetBSD uses the same stuff for ThreadContexts as FreeBSD
git-svn-id: svn://10.0.0.236/trunk@54507 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 10:30:58 +00:00
toshok%hungry.com
237c1f5bba include x86UnixishThread.h for LINUX, FREEBSD, and NETBSD
git-svn-id: svn://10.0.0.236/trunk@54506 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 10:29:00 +00:00
toshok%hungry.com
4c79e2e9f5 switch to using the md/Asm.h macros (GLOBAL_ENTRY and END_ENTRY)
git-svn-id: svn://10.0.0.236/trunk@54505 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 10:28:16 +00:00
toshok%hungry.com
40dccc102d add NetBSD.mk
git-svn-id: svn://10.0.0.236/trunk@54504 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 10:26:55 +00:00
toshok%hungry.com
e931c5925c stop listing OS's that exclude the prototypes and list the only one for which we include them. this file should be renamed to x86ExceptionHandler.h
git-svn-id: svn://10.0.0.236/trunk@54503 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 10:24:57 +00:00
toshok%hungry.com
f802362180 use END_ENTRY instead of a naked .size pseudo op
git-svn-id: svn://10.0.0.236/trunk@54502 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 10:23:06 +00:00
toshok%hungry.com
4a12193f5e use GLOBAL_ENTRY/SYMBOL_NAME so symbol names are prepended with '_'
git-svn-id: svn://10.0.0.236/trunk@54501 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 10:22:33 +00:00
toshok%hungry.com
544b6c33ab merge the freebsd/linux thread files into one, and use it for netbsd too
git-svn-id: svn://10.0.0.236/trunk@54500 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 10:21:49 +00:00
tor%cs.brown.edu
f4d16e3240 Build bustage fix for gcc 2.7 & vc5 - include class interface
before playing with nsCOMPtr. r=travis@aol.net,a=dmose@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@54499 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 05:05:14 +00:00
tbogard%aol.net
c4157fe996 Changed NS_ASSERTION to NS_ENSURE on an interface boundary check. Done mainly to get VC depend to rebuild this file so tinderbox will go green.
git-svn-id: svn://10.0.0.236/trunk@54498 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 03:36:35 +00:00
tbogard%aol.net
d90a54c043 nsGfxTextControlFrame now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed some regular XPCOM pointers to be nsCOMPtrs.
git-svn-id: svn://10.0.0.236/trunk@54497 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 03:23:43 +00:00
tbogard%aol.net
b37b8cb748 nsHTMLDocument now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface.
git-svn-id: svn://10.0.0.236/trunk@54496 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 03:11:10 +00:00
tbogard%aol.net
50834581e0 nsFrameFrame now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed the call to GetTitle to properly free the returned pointer as an internal const pointer is no longer returned.
git-svn-id: svn://10.0.0.236/trunk@54495 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 03:06:59 +00:00
tbogard%aol.net
e6540f80cb Added getPositionAndSize() to nsIBaseWindow.
git-svn-id: svn://10.0.0.236/trunk@54494 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 02:49:57 +00:00
tbogard%aol.net
2e6c4d782b GlobalWindow now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed the call to GetTitle to properly free the returned pointer as an internal const pointer is no longer returned.
git-svn-id: svn://10.0.0.236/trunk@54493 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 02:35:54 +00:00
tbogard%aol.net
214a0167f0 Free pointer returned by GetTitle since it no longer returns a const pointer to the internal string storage.
git-svn-id: svn://10.0.0.236/trunk@54492 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 02:29:17 +00:00
tbogard%aol.net
bf4ceb4a12 Removed const from GetTitle to get in sync with API.
git-svn-id: svn://10.0.0.236/trunk@54491 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 02:24:43 +00:00
tbogard%aol.net
7d4f2d6a7c Removed const from GetTitle to get in sync with removal from API.
git-svn-id: svn://10.0.0.236/trunk@54490 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 02:22:42 +00:00
tbogard%aol.net
4cf924be09 Removed the const from GetTitle to reflect the fact that the implementation should return an allocated string.
git-svn-id: svn://10.0.0.236/trunk@54489 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 02:21:43 +00:00
sspitzer%netscape.com
34e586d5b9 fix 974 warnings by declaring a virtual destructor
git-svn-id: svn://10.0.0.236/trunk@54488 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 02:17:23 +00:00
tbogard%aol.net
e8adbc0279 nsWebShell now implements nsIBaseWindow. Part of the steps to getting call sites calling the new interfaces rather than nsIWebShell.
git-svn-id: svn://10.0.0.236/trunk@54487 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 02:14:40 +00:00
tbogard%aol.net
54fb5586c4 Removed the const to reflect the fact that the implementation will return an allocated string, not a pointer to the internal string.
git-svn-id: svn://10.0.0.236/trunk@54486 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 02:08:42 +00:00
jefft%netscape.com
6142074c52 fixed bug 20063 -- Linux Save Message As Template not working with correct line endings; r=mscott
git-svn-id: svn://10.0.0.236/trunk@54485 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-26 22:37:03 +00:00
shaver%netscape.com
df01636bd9 Repair missing newlines at end of files, and remove lines of the form
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.


git-svn-id: svn://10.0.0.236/trunk@54484 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-26 05:33:35 +00:00
jfrancis%netscape.com
42b5777e9f Fix for bug #18859: [DOGFOOD] URL bar messed up
Replaced all calls to SelectAllText() with calls to
nsIEditor::SelectAll().
r=jfrancis@netscape.com

(kin is the author of these changes - being checked in by reviewer)


git-svn-id: svn://10.0.0.236/trunk@54483 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-26 03:11:12 +00:00
syd%netscape.com
e46614e6c8 Remove tasksExtension.xul. r=rginda
git-svn-id: svn://10.0.0.236/trunk@54482 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 10:41:35 +00:00
rbs%maths.uq.edu.au
77f37dc003 Catch up with recentchanges in layout
git-svn-id: svn://10.0.0.236/trunk@54479 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 07:07:06 +00:00
norris%netscape.com
0c64d08ae7 Back out last change; didn't mean to check it in.
git-svn-id: svn://10.0.0.236/trunk@54478 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 05:30:22 +00:00
norris%netscape.com
2429ef124a Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.

I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.

Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.

r=joki

There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.

r=jband


git-svn-id: svn://10.0.0.236/trunk@54477 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 05:28:18 +00:00
akkana%netscape.com
143a1ccfd5 Clean up editor key bindings -- saari says they don't need disabled=false. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@54476 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 04:13:03 +00:00
akkana%netscape.com
4059b56e74 18033: Add editor API for delete methods, and hook up an initial
set of emacs key bindings for Unix.  r=jfrancis


git-svn-id: svn://10.0.0.236/trunk@54475 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 04:11:51 +00:00
brendan%mozilla.org
ca2032e66d Eliminate Closure per ECMA ed. 3, fix brutal sharing of lambdas (20076, r=rogerl,shaver).
git-svn-id: svn://10.0.0.236/trunk@54474 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 03:25:30 +00:00
kvisco%ziplink.net
30da73de36 Added preliminary DocumentHandler.h
Added changes from Bob Miller (kbob@oblix.com) which fix some
memory leaks.


git-svn-id: svn://10.0.0.236/trunk@54473 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 03:03:07 +00:00
mccabe%netscape.com
5248ab48c8 Doh. Didn't check other consequences of double-registration; it busted on the doubly-declared static CID.
Backing out until I can give it more attention after Turkey Day.


git-svn-id: svn://10.0.0.236/trunk@54472 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 02:27:14 +00:00
beard%netscape.com
02e1cdf7e8 bug #13331, implemented nsWindow::InvalidateRegion(). r=mcafee
git-svn-id: svn://10.0.0.236/trunk@54471 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 02:06:16 +00:00
jfrancis%netscape.com
ba25bda682 cool! i cant believe it's not butter! (how did the mac ever compile this?)
fixing bizarre cut/paste error.


git-svn-id: svn://10.0.0.236/trunk@54470 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 01:34:42 +00:00
shaver%netscape.com
fa23ac7310 use explicit |.get()| for Unix compilers, a=leaf
git-svn-id: svn://10.0.0.236/trunk@54469 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 01:02:52 +00:00
jfrancis%netscape.com
bd6345ff1b fixing bad comptr usage (also not caught by mac compiler)
git-svn-id: svn://10.0.0.236/trunk@54468 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:39:55 +00:00
akhil.arora%sun.com
9ba365f134 19583 r=akhil.arora@sun.com fix=Igor Nekrestyanov <nis@sparc.spb.su>
A top-level make now builds everything, including linux


git-svn-id: svn://10.0.0.236/trunk@54467 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:39:38 +00:00
jfrancis%netscape.com
efe6e42352 fixing bad const in interface (not caught by mac compiler)
git-svn-id: svn://10.0.0.236/trunk@54466 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:36:34 +00:00
shaver%netscape.com
8d21d11638 readme from Daniel Howard
git-svn-id: svn://10.0.0.236/trunk@54465 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:29:45 +00:00
mccabe%netscape.com
a6cd3f67c3 Fix to 18638. Register nsFileLocator (and APPSHELL_DLL, a hacked dependency) in viewer b/c prefs depends on it, and we can't turn security checks in viewer off for XPConnect testing without prefs.
The nsFileLocator registration call now occurs twice; once in xpfe/bootstrap/nsSetupRegistry.cpp, and again when that file includes this one.  Leaving it on both places to underline the hack.


git-svn-id: svn://10.0.0.236/trunk@54464 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:25:36 +00:00
jfrancis%netscape.com
5020ab053b implemented a system to track what portion of a document is affect by an editor action. Used that system to help solve extensive whitespace handling problems, ans also problems with caret placement in response to returns (this lattter fix for html editors only - plaintext coming later). Fixed numerous list bugs involving outdenting, unlisting, and splitting lists.
Checkin addressees these bugzilla bugs:
2073 & 12337 - whitespace trouble when typing (you can end up with all nbsp's instead of spaces)


git-svn-id: svn://10.0.0.236/trunk@54463 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:19:45 +00:00
jfrancis%netscape.com
6bcc04a122 implemented a system to track what portion of a document is affect by an editor action. Used that system to help solve extensive whitespace handling problems, ans also problems with caret placement in response to returns (this lattter fix for html editors only - plaintext coming later). Fixed numerous list bugs involving outdenting, unlisting, and splitting lists.
Checkin addressees these bugzilla bugs:
2073 & 12337 - whitespace trouble when typing (you can end up with all nbsp's instead of spaces) 
       16715 - caret gone or wrong after hitting return 
       16988 - aim foiled by our mozDIVs 
       17908 - enter at end of document does nothing 
       16085 - 4.x mail replied foiled by mozDIVs 
       19368 - inline style lost after typing return 
       17059 - "normal" made a paragraph, but typing made a div.  Now they both just use direct text in the body (or wherever) 
       18717 - exiting list gives UBER caret (note: this will only be fixed most of the time, not all) 
       17778 - cant type beside an image (it ends up above or below it) - this was a rather strange ramification of the old mozDIV
       rules which are now gone.


git-svn-id: svn://10.0.0.236/trunk@54462 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:16:56 +00:00
cmanske%netscape.com
90674903c4 Images for outdent/indent were reversed. No review for binaries
git-svn-id: svn://10.0.0.236/trunk@54461 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:13:05 +00:00
mcafee%netscape.com
aaecc62dd9 Renamed smoke test #1 to alive test; some comment cleanup; default display is now :0.0.
git-svn-id: svn://10.0.0.236/trunk@54460 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:07:55 +00:00