Commit Graph

53979 Commits

Author SHA1 Message Date
tbogard%aol.net
908b6a0310 Turned on the do_GetInterface implementation by removing the #ifdef 0.
git-svn-id: svn://10.0.0.236/trunk@54520 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 02:16:22 +00:00
tbogard%aol.net
ed82f49d52 Added nsIInterfaceRequestor.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@54519 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 02:15:11 +00:00
toshok%hungry.com
9114c4a449 x86Win32ExceptionHandler.h => x86ExceptionHandler.h
git-svn-id: svn://10.0.0.236/trunk@54517 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 00:10:16 +00:00
toshok%hungry.com
8156facb79 move all x86 specific stuff into a CPU_ARCH guarded section, and if NETBSD_ELF is defined, don't build with GLOBALS_NEED_UNDERSCORE
git-svn-id: svn://10.0.0.236/trunk@54516 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 23:48:29 +00:00
toshok%hungry.com
b8be56336e x86Win32ExceptionHandler.h => x86ExceptionHandler.h
git-svn-id: svn://10.0.0.236/trunk@54515 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 23:38:58 +00:00
toshok%hungry.com
7a0f207379 for egcs-1.1.1 (gcc 2.91) don't include the terminate() function. there may be previous revisions that don't need this function, but this is the version i have - we can always change the check later.
git-svn-id: svn://10.0.0.236/trunk@54514 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 23:17:20 +00:00
toshok%hungry.com
e3c482bdae don't worry about the compile time warnings wrt this function definition, and add support for platforms that have an underscore prepended to the symbol name.
git-svn-id: svn://10.0.0.236/trunk@54513 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 23:05:49 +00:00
blizzard%redhat.com
235ae9db7b make the grab a little more idiot proof
git-svn-id: svn://10.0.0.236/trunk@54512 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 20:08:18 +00:00
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