1432 Commits

Author SHA1 Message Date
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
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
scott%scott-macgregor.org
6b3521577d Bug #194315 --> for thunderbird, bring up mail chrome as part of ensure 1 window and not a browser window.
does not effect seamonkey builds
sr=bryner
a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@141844 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-26 01:50:56 +00:00
bryner%netscape.com
0c66a2052e Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
timeless%mozdev.org
af29cab0a7 Bug 201423 Crash [@ nsWebShell::Create] if urildr.dll is missing
r=adamlock sr=bz


git-svn-id: svn://10.0.0.236/trunk@140983 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 18:17:57 +00:00
varga%netscape.com
e28e60937d Missed part of the fix for bug 113232. support transparent non-rectangular chrome windows.
r=roc, sr=bz


git-svn-id: svn://10.0.0.236/trunk@140901 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 05:14:24 +00:00
dougt%netscape.com
fdffcd9198 removing removed NS_DEF_FACTORY and nsXPComFactory.h. r=alecf b=200750
git-svn-id: svn://10.0.0.236/trunk@140853 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:37:02 +00:00
ccarlen%netscape.com
1e334e353c Bug 192849 - Launching Mozilla with an OpenURL AppleEvent fails to open the given URL. r=lordpixel/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@140842 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 14:24:13 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
jst%netscape.com
08e9d026e0 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140344 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 07:41:30 +00:00
darin%netscape.com
418b92e9d5 backing out roc+%cs.cmu.edu check-in for bug 113232
git-svn-id: svn://10.0.0.236/trunk@140172 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 00:07:00 +00:00
roc+%cs.cmu.edu
6f0e8cad25 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140132 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:57:22 +00:00
bzbarsky%mit.edu
70156d33e8 Checking in permissions rewrite phase 1 (troop deployment in the permission
gulf).  Bug 191380, patch by mvl@exedo.nl (Michiel van Leeuwen),
r=dwitte@stanford.edu, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@140010 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 01:24:51 +00:00
jaggernaut%netscape.com
c00c1567f4 Remove unused CIDs, r=jack, sr=lumpy
git-svn-id: svn://10.0.0.236/trunk@139813 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 02:33:20 +00:00
dougt%netscape.com
b64077c53b Fix bad export_lib line. r=cls
git-svn-id: svn://10.0.0.236/trunk@139546 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 01:09:52 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
aaronl%netscape.com
60b1c05bf1 Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 23:07:00 +00:00
danm%netscape.com
2e703a2416 implement new property nsIBaseWindow::blurSuppression. bug 68454 r=bryner,jst
git-svn-id: svn://10.0.0.236/trunk@138363 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 20:15:39 +00:00