1449 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
d28978604e Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@152654 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:09:51 +00:00
jst%mozilla.jstenback.com
854468a176 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
bryner%brianryner.com
ec394db23f Remove unused nsTimingService and nsITimingService (bug 232779). r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152133 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 03:35:16 +00:00
jst%mozilla.jstenback.com
12ed685455 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +00:00
neil%parkwaycc.co.uk
fbee2740fd Fix compiler warning b=229540 p=gautheri@noos.fr r=danm sr=alecf
git-svn-id: svn://10.0.0.236/trunk@151685 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 13:13:09 +00:00
bryner%brianryner.com
3d8a7179f8 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
bsmedberg%covad.net
7e08b118b7 Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
git-svn-id: svn://10.0.0.236/trunk@150973 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 13:37:00 +00:00
bsmedberg%covad.net
9706f93476 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
git-svn-id: svn://10.0.0.236/trunk@150961 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 01:22:31 +00:00
bryner%brianryner.com
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
scott%scott-macgregor.org
900e349640 Bug #226604 --> crash closing message compose window (with UI button)/message filter dialog
fix crash regression. Patch by timeless

sr=mscott
a=asa


git-svn-id: svn://10.0.0.236/trunk@149714 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-25 02:47:48 +00:00
timeless%mozdev.org
07adf6c290 Bug 223736 nsWebShellWindow::Destroy should call nsWebShellWindow::Destroy before destroying its timer and calling release_this
r=danm sr=dbaron a=dbaron


git-svn-id: svn://10.0.0.236/trunk@149652 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-23 14:01:43 +00:00
danm-moz%comcast.net
43920f3e19 tweak rev 1.137 to reduce the population of warnings from 2131 back to 2129
git-svn-id: svn://10.0.0.236/trunk@149066 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 16:33:14 +00:00
danm-moz%comcast.net
6ee880a259 don't focus the parent of the window being closed if that parent is the hidden window. this reinstates rev 1.52, bug 22658. now bug 224058. r=ere, roc
git-svn-id: svn://10.0.0.236/trunk@148940 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-07 02:13:32 +00:00
ben%bengoodger.com
368287d17b Bug 206936 - firebird shows an XML error when opening links from external apps, caused by bug 223197 - command line service on Mac should be using browser.chromeURL pref to locate main application XUL file, not hard coding to use navigator.xul. r=smfr/ccarlen, sr=smfr, a=asa
git-svn-id: svn://10.0.0.236/trunk@148414 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 22:11:49 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
danm-moz%comcast.net
3d86ce3cc7 error check repeated window registration. bug 222042 r=scott,sspitzer
git-svn-id: svn://10.0.0.236/trunk@148154 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-20 15:31:38 +00:00
danm-moz%comcast.net
b4b7ec96c2 move implementation of zLevel to nsWindowMediator. make zLevel mutable. support persistent zlevel xul attribute. rework saving of persistent attributes. bug 42557 r=neil (mostly), rjc. rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@147655 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 01:20:16 +00:00
danm-moz%comcast.net
4649aa9641 move implementation of zLevel here from nsXULWindow. implement mutable zLevel. coalesce duplicate code. bug 42557 r=neil (mostly), rjc. rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@147654 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 01:20:13 +00:00
danm-moz%comcast.net
48511cecaa rework saving of persistent attributes. also maximized and alwaysRaised windows are incompatible. bug 42557 r=neil (mostly), rjc. rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@147653 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 01:20:11 +00:00
danm-moz%comcast.net
340dc812f7 add zLevel member variable to struct nsWindowInfo. bug 42557 r=neil (mostly), rjc. rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@147652 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 01:20:07 +00:00
danm-moz%comcast.net
b85765f5ee delay initialization of newly created window's zLevel. bug 42557 r=neil (mostly), rjc. rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@147651 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 01:20:05 +00:00
danm-moz%comcast.net
7afb521b9f zLevel attribute is now mutable. bug 42557 r=neil (mostly), rjc. rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@147648 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 01:19:28 +00:00
danm-moz%comcast.net
029db4b047 new methods Get/SetZLevel of nsIXULWindow. also doxygenify interface. bug 42557 r=neil (mostly), rjc. rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@147647 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 01:19:16 +00:00
darin%meer.net
bc1bb52b19 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +00:00
danm-moz%comcast.net
c2b9b6373e when bringing a window to the front, also bring to the front windows which must remain in front of it. but even more so, if you follow me. bug 217012, bug 184890. r=jag,neil
git-svn-id: svn://10.0.0.236/trunk@147246 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 14:31:03 +00:00
brendan%mozilla.org
b2bd6c1c42 Checking in danm's patch for bug 210689, r/sr=bz/dbaron, a=me.
git-svn-id: svn://10.0.0.236/trunk@146632 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 19:06:11 +00:00
bryner%brianryner.com
c81aa21722 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +00:00
timeless%mozdev.org
029e5074be Bug 217886 frame structure gets lost in builds since 20030826
patch by mpconnor@rogers.com r=bz sr=bz a=brendan


git-svn-id: svn://10.0.0.236/trunk@146551 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-04 02:23:20 +00:00
cls%seawood.org
6352367a62 Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules.
git-svn-id: svn://10.0.0.236/trunk@146076 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 00:42:35 +00:00
hyatt%mozilla.org
094286a08f Fix for 215296, r=bryner, sr=brendan, a=asa, This patch retains Seamonkey's behavior for titles on all platforms while patching Mac behavior to leave off the modifier for FB+TB
git-svn-id: svn://10.0.0.236/trunk@145900 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-12 05:51:39 +00:00
hyatt%mozilla.org
6415ec7ce1 Fix for 204418, make a pref available for picking the hiddenWindow URL so different apps can have their own hiddenWindow files. r/sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/trunk@145861 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-11 08:42:36 +00:00
hyatt%mozilla.org
8a87664a7d Update for 215440, make sure not to break SeaMonkey titlebars when the doc has no title, r/sr/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@145713 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-07 23:01:24 +00:00
hyatt%mozilla.org
9d5c4ad5fa FIx for 215440, add support for a titledefault attribute that can be used when a document has no title.
git-svn-id: svn://10.0.0.236/trunk@145706 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-07 21:05:58 +00:00
hyatt%mozilla.org
450a2cf698 Patch the remaining places that use _content to also support _main, r=brendan, sr=ben
git-svn-id: svn://10.0.0.236/trunk@145549 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-04 21:52:22 +00:00
hyatt%mozilla.org
b141ded24f Fix for 215041, add support for WinIE's _main target for sidebars (it's identical to _content), r=hixie, sr=ben
git-svn-id: svn://10.0.0.236/trunk@145544 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-04 18:33:24 +00:00
cls%seawood.org
9a09f6da99 Remove unused references to xpcom_obsolete
Bug #38122 r=dougt sr=bryner


git-svn-id: svn://10.0.0.236/trunk@145498 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 20:17:28 +00:00
jaggernaut%netscape.com
df747d0621 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
danm-moz%comcast.net
8d89bbe0fa mark the hidden window's widget as invisible (on all platforms, now). bug 207742 r=brendan,bryner
git-svn-id: svn://10.0.0.236/trunk@145194 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 14:55:51 +00:00
scott%scott-macgregor.org
68ac320624 thunderbird only change. The command line handler spits back "1" as an argument if there are no arguments following command. Handle
that case accordingly, and don't try to use "1" as the actual window argument.


git-svn-id: svn://10.0.0.236/trunk@145125 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-23 21:34:53 +00:00
jaggernaut%netscape.com
f34216bf2d Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
scott%scott-macgregor.org
c4ff52c310 Thunderbird specific change. Has no impact on trunk builds.
Fix a silly mistake that was causing thunderbird to fail to launch if you did not pass the -mail parameter at the command line.


git-svn-id: svn://10.0.0.236/trunk@144862 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 22:51:52 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
scott%scott-macgregor.org
96edd8050e Ugly thunderbird hack. Has no effect on seamonkey builds.
When launching the app via Launch Task (which is the case when starting up for the first time), check to see if the cmd line service
has any arguments (such as mailto urls). If so pass these arguments into OpenWindow instead of using the handler's default arguments.

This fixes the problem where clicking on a mailto url in a browser when thunderbird was NOT already running, caused a blank
compose window where the mailto url was ignored.


git-svn-id: svn://10.0.0.236/trunk@144769 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 04:12:14 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
danm%netscape.com
fa4e4068bb addref the window while the timer member variable holds a reference to the window. no longer a crash bug, but more proper COM. bug 143664 r=dougt,jag
git-svn-id: svn://10.0.0.236/trunk@144601 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 23:06:49 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
alecf%flett.org
1c89787dc0 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser


git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
seawood%netscape.com
9e4caeaa92 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143522 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 20:12:33 +00:00