Граф коммитов

702 Коммитов

Автор SHA1 Сообщение Дата
tbogard%aol.net 2d51697d64 Removed const from GetTitle to get in sync with removal from API. 1999-11-27 02:22:42 +00:00
norris%netscape.com b62c04253e 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
1999-11-25 05:28:18 +00:00
tbogard%aol.net f684a2460e Removed implementation of nsIURLDispatcher. Changed the QI into a new interface map. 1999-11-24 10:04:13 +00:00
tbogard%aol.net 321c4f13ac Removed the SetURLDispatcher call. 1999-11-24 09:41:45 +00:00
tbogard%aol.net a0640b60c4 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
radha%netscape.com 80dda7d3c4 Fix for regressed bug # 9699. Comment out the code that removes partially
loaded pages from session History. r=law.
1999-11-23 23:29:58 +00:00
colin%theblakes.com 472b4a1624 Add MOZ_TIMER_LIBS to the link. r=shaver 1999-11-18 22:49:59 +00:00
warren%netscape.com d8bbb844e6 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
tbogard%aol.net 65790643ab Changed calls to nsIWebShell::GetRootWebShellEvenIfChrome() and further QI's to use the new nsIWebShell::GetTopLevelWindow(). 1999-11-16 20:05:21 +00:00
jdunn%netscape.com d70d78c6bf Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
norris%netscape.com 411aade911 * Fix 12124 [DOGFOOD] Reading user's preferences
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
tbogard%aol.net 0faf69155d Changed places where container were set to use nsISupports instead of nsIContentViewerContainer. r=dp 1999-11-15 22:36:41 +00:00
tbogard%aol.net 4465f2b8b2 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov 1999-11-15 07:29:23 +00:00
saari%netscape.com 80a7ab6371 Landing focus changes. R: joki 1999-11-13 05:16:33 +00:00
danm%netscape.com a0681c994c Use new modal event filtering method on nsIWidget. Reset modal window flag when modal window is closed. part of fix for bug 14131. r:rods@netscape.com. 1999-11-12 23:46:39 +00:00
waterson%netscape.com 426a93238b Bug 17839. Add timer_s.lib to the libraries link deps. 1999-11-11 05:51:53 +00:00
waterson%netscape.com f9683833f3 Bug 17839. Call mAppShell->Exit() on a timer callback to allow Quit() to cleanly exit the app on platforms where the event queue gets yanked. a=warren 1999-11-11 05:51:22 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
waterson%netscape.com 2cc13ae1eb Fix leak with nsCOMPtr. r=brendan, a=brendan 1999-11-05 00:44:10 +00:00
radha%netscape.com b1adee7da0 Fix for bug # 17893. Pass the url to nsISessionHistory::Add().Don't set
nsWebShell::mURL too early in the loading process.
r=law,nisheeth
1999-11-03 22:30:44 +00:00
davidm%netscape.com bcff84b29c 12539 Crash when quitting browser while bookmark properties dialog r = saari nsINetPrompt implementation r morse 1999-11-03 05:25:21 +00:00
danm%netscape.com 2b678544ec oops! Observe() was checked in flawed in 1.90. gtk may one day have noticed. r:noman@odyssey.org 1999-11-03 02:29:59 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
danm%netscape.com 91022a037d removing implementation of nsIShutdownListener. it was redundant, anyway. r:dp@netscape.com 1999-11-02 01:10:35 +00:00
dp%netscape.com b2f6c699ef Removing release on a service as this would be taken care by the
NS_WITH_SERVICE() macro. r=danm
1999-11-01 21:16:24 +00:00
morse%netscape.com 5865c163e7 provide compatibility with single signon, r=davidm 1999-10-29 04:30:38 +00:00
sspitzer%netscape.com b3a118802e fix for #16231, r=mscott. make the file locator know about panels.rdf.
if <profile>/panels.rdf doesn't exist, copy the default to that location.
1999-10-29 04:02:25 +00:00
waterson%netscape.com f802501322 Remove unused references to nsIXULChildDocument and nsIXULParentDocument. 1999-10-28 22:18:21 +00:00
radha%netscape.com c90d928ffe Fix for form values not maintained while going forward. bug # 16377. r=law 1999-10-28 20:29:43 +00:00
danm%netscape.com 4ff984d739 moving initial content focus from OnEndDocumentLoad to Show. Reinstating SetSizeFromXUL. reduces new window flashing and allows gtk windows to size from JS. r:hyatt@netscape.com 1999-10-28 01:52:49 +00:00
law%netscape.com cd2bcdfc6d Bug #14999; remove last vestiges of app core usage; r=sfraser@netscape.com 1999-10-28 01:41:16 +00:00
warren%netscape.com 00dfd9d907 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
law%netscape.com 5e246a69f0 Bug #14999; last holdout that was using toolkit app core - changed to use OpenDialog; r=davidm@netscape.com 1999-10-25 23:02:05 +00:00
law%netscape.com f5ab25b28d Bug #14999; use OpenDialog instead of toolkit app core; r=radha@netscape.com 1999-10-25 22:30:40 +00:00
radha%netscape.com 8ee5d27ba1 Turning off debug flag that got set in my previous checkin 1999-10-22 22:58:16 +00:00
radha%netscape.com 161dd56550 Clean up of Session History apis. Corresponding changes to the users of SH. r=mcafee. No bug #. 1999-10-22 20:48:07 +00:00
danm%netscape.com b80c7dd199 removing (unused) references to nsIWebShell.h. requested by buster@netscape.com, bug 16510, r:me 1999-10-21 22:47:50 +00:00
danm%netscape.com a64e04ed91 observe EventQueue creation and deletion. r:hyatt@netscape.com 1999-10-21 21:36:25 +00:00
danm%netscape.com 3d9e4d387b moving Push/PopThreadEventQueue to nsIEventQueueService r:hyatt@netscape.com 1999-10-18 15:04:18 +00:00
peterl%netscape.com 527516876e Added namespace ID to the AttributeChanged notification
Part of the fix for Bug 15153
r=troy
1999-10-15 23:17:53 +00:00
radha%netscape.com 7e7932d59d fixing session history for frames. I accidently broke the behavior in
my monday's checkin. No bug #. r=law
1999-10-15 03:49:29 +00:00
mscott%netscape.com 2c148e346d Bug #16115 --> addref the web shell window inside it's Close method to keep the web shell window from getting
deleted out from under us. This could happen because in closing the window, we are destroying a webshell which
could have the last outstanding reference to the webshell window.
r=dp
1999-10-13 02:47:56 +00:00
rjc%netscape.com db8039f5c8 Fix VC5 build bustage. 1999-10-12 23:09:09 +00:00
rjc%netscape.com a12753b362 [performance] When profile manager is being used, don't read in bookmarks twice... by deferring hiddenwindow.xul loading until after profile manager is done. Review: danm and sspitzer 1999-10-12 22:20:28 +00:00
mscott%netscape.com 1de6ac0d00 Remove this file from the repository to fix the Mac buids.
The mac projects were looking in this folder and always finding the
stale nsISessionHistory.h file instead of using the idl generated
header file
r=davidm
1999-10-12 07:50:17 +00:00
radha%netscape.com 30b8b06c71 Build bustage in solaris 1999-10-12 05:57:03 +00:00
mscott%netscape.com cc3c534d13 nsISessionHistory.idl needs to be in this project. i think this should fix Radha' build breakage for the mac. 1999-10-12 05:45:10 +00:00
radha%netscape.com d096e463ab XPIDLising session history. bug # 15437. r=law 1999-10-12 04:40:59 +00:00
radha%netscape.com 682afb5c18 XPIDised session history. Corresponding changes to users of nsISessionHistory.
Bug # 15437. r=law
1999-10-12 04:37:43 +00:00
waterson%netscape.com ab20f5e245 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
dveditz%netscape.com 2b60c91417 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
law%netscape.com 07762ce935 For bug #14999; adding new method to simplify applying OpenDialog to the hidden window. rev=danm@netscape.com 1999-10-08 14:04:17 +00:00
sspitzer%netscape.com becae69afb add some bulletproofing. r=davidm 1999-10-08 04:55:37 +00:00
danm%netscape.com 3a6017b93b hiddenWindow loads its full glory only on the Mac. speeds launch time for everyone else. r:hyatt 1999-10-08 03:31:41 +00:00
warren%netscape.com b90a06a288 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
dp%netscape.com 0101339aec Fixed webshell leak caused by session history entry circular
reference. r=radha
1999-10-07 20:55:14 +00:00
sspitzer%netscape.com 1a94cc9c2e GetSingleProfile() is going away. use GetFirstProfile now. 1999-10-07 06:55:59 +00:00
radha%netscape.com 6b6a3fe8bf Fix for bug #13329 . Back and forward not consistent all the time.
Fix already checked in to the M10 branch. Merging changes to tip.
1999-10-05 04:49:58 +00:00
sspitzer%netscape.com 06c28b31e7 a bunch of changes, all reviewed by mscott.
fix some bugs with next, back, and cancel in the profile manager.
(#15223, #15271)
re-write all callers of nsProfile::GetCurrentProfileDir() to use the file locator.
(#15063)
more profile code clean up. (#15042)
rename the old 4.x history.dat file.  it's called history.dat in 5.0, but the file
formats are different.  (binary in 4.x, vs mork in 5.0)
1999-10-05 04:12:58 +00:00
rpotts%netscape.com 248e31bd70 bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer. 1999-10-05 04:04:16 +00:00
beard%netscape.com 5cb00c8518 changed from directly using "MSL ShLibRuntime.Lib" to using "NSLibraryStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:08:40 +00:00
sfraser%netscape.com b1b2a330a9 Removing nsIQFAServices.idl to fix build bustage. a=leaf 1999-09-30 20:08:45 +00:00
ramiro%netscape.com 233e69ed0b Fix build bustage. 1999-09-30 19:34:26 +00:00
namachi%netscape.com 03b0f044bf Approved by leaf. Removing fullcircle from mozilla builds 1999-09-30 19:03:27 +00:00
shaver%netscape.com 209ddb7236 missed more nsIRegistry::Key usages 1999-09-29 03:26:24 +00:00
radha%netscape.com 1137a05f96 Fix for 14967. r=pollmann, a=chofmann 1999-09-28 22:17:49 +00:00
sdagley%netscape.com 9b9fc2bfe4 Landing fix for davidm. Returning nsnull was being interpreted as no error so changing to a return code that indicates an error. 1999-09-22 06:02:21 +00:00
radha%netscape.com 0c373e3746 Fix crashes due to reference counting problems 1999-09-21 21:35:59 +00:00
waterson%netscape.com 88220ac198 Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
davidm%netscape.com e24f23f6d8 update to call quit rather than shutdown. 1999-09-20 01:52:21 +00:00
colin%theblakes.com 749bd3abd6 Link with MOZ_NECKO_UTIL_LIBS 1999-09-18 16:29:07 +00:00
briano%netscape.com 8019ec7ab8 General cleanup. 1999-09-18 03:45:05 +00:00
davidm%netscape.com ed1ce45ba7 Add extra chrome flag for the sidebar and taskbars 1999-09-18 03:24:34 +00:00
davidm%netscape.com efdd214d19 [PP]Regression: File|Exit does not close apprunner. Make hidden window small on the mac with no chrome 1999-09-18 03:21:30 +00:00
sfraser%netscape.com 7b0ec6b633 Fix bustage; remove test for stack-based nsFileSpec. 1999-09-18 00:48:13 +00:00
neeti%netscape.com 372df5c83a Added GetDefaultFolder api 1999-09-17 23:25:05 +00:00
sfraser%netscape.com ec65f9bcfc Don't crash when closing the not-so-hidden window. 1999-09-17 19:56:53 +00:00
briano%netscape.com fa792c2eac Fixed the Unix native compiler breakage. Replaced the invalid 'true' with 'PR_TRUE'. 1999-09-17 03:25:58 +00:00
davidm%netscape.com 7b2f625c30 break shutdown into quit and shut down. Add code to not quit on mac when last window closed. Load wallet files directly rather than going through the appcore 1999-09-16 23:42:49 +00:00
radha%netscape.com d729a77d5e When invoking the mail composer upon on a click on a mailto: link, make
sure the to, cc, subject arguments are passed to the composer
1999-09-15 19:33:46 +00:00
danm%netscape.com ab8fa3fdce window.open(,_blank) now always opens a new window. r:joki 1999-09-15 00:40:06 +00:00
law%netscape.com 5a3837127e Fix title in view source window 1999-09-14 21:45:12 +00:00
jj%netscape.com a023ba7376 add nsIQFAServices.idl for quality feedback agent. 1999-09-14 21:07:52 +00:00
cyeh%netscape.com c0aed4beee add idl header for quality feedback agent 1999-09-14 21:03:57 +00:00
cyeh%netscape.com 05dee0ccd1 set id back to null. note to self, explicit checkins are your friend. 1999-09-14 20:47:35 +00:00
cyeh%netscape.com 9941c92282 *** empty log message *** 1999-09-14 20:44:58 +00:00
davidm%netscape.com f26e37b316 13698 Assertion: "uh oh, couldn't Init() for some reason" (NS_SUCC reorder unregister code so this doesn't happen 1999-09-14 04:22:12 +00:00
briano%netscape.com 15aae1ec7b Also need to link with libfullsoft.a if Talkback is enabled. 1999-09-14 03:35:02 +00:00
davidm%netscape.com 926064a8fb fixes to get the select dialog working 1999-09-12 23:51:51 +00:00
pierre%netscape.com 57275c3519 Fixed crash on Quit due to a double delete of the nsAppShellService (it was noticed with debug builds on the Mac but it was affecting other platforms too) 1999-09-11 06:25:51 +00:00
hyatt%netscape.com 7af694338d Popup work. 1999-09-10 08:56:26 +00:00
briano%netscape.com c1c1f5abde General cleanup. 1999-09-10 08:33:09 +00:00
alecf%netscape.com 04a0e5f982 oops, switch from char[] to char* 1999-09-10 07:18:06 +00:00
alecf%netscape.com ba79f3a01c added files: mozilla/xpfe/appshell/public/nsICmdLineService.idl 1999-09-10 05:42:54 +00:00
alecf%netscape.com 378928574b IDLize nsICmdLineService 1999-09-10 05:42:11 +00:00
davidm%netscape.com 31227680f3 add nsAbout 1999-09-10 05:26:27 +00:00
davidm%netscape.com efca24093e First Checked In. 1999-09-10 05:25:44 +00:00
kipp%netscape.com f95d8ef170 Use nsAutoString to avoid malloc's 1999-09-09 20:44:17 +00:00
davidm%netscape.com 19b6c718cf remove Mac command line initialation 1999-09-03 23:42:40 +00:00