481 Commits

Author SHA1 Message Date
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
locka%iol.ie
a2edefd4d6 Ensure strange urls don't resolve to empty filenames to prevent confusion when resolving duplicates later. b=206319 r=brade sr=jaggernaut a=dbaron
git-svn-id: svn://10.0.0.236/trunk@142811 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 09:36:32 +00:00
rbs%maths.uq.edu.au
8c762e06f5 Output basic entities such as   during 'Save As' of HTML documents (there is another option/flag to output more entities such as accented letters if needed), r=adamlock, sr=heikki, a=asa
git-svn-id: svn://10.0.0.236/trunk@142800 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 06:18:11 +00:00
locka%iol.ie
3a4158511c Check if operation is cancelled before serializing files for upload. b=201610 r=brade@netscape.com sr=jaggernaut@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@142726 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-21 22:16:28 +00:00
darin%netscape.com
34e2dd7e34 fixes bug 201210 "Publishing to webdav server gives error when it goes OK [chunking?]" r=brade sr=alecf a=asa
git-svn-id: svn://10.0.0.236/trunk@142723 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-21 21:57:20 +00:00
locka%iol.ie
baedc29487 Tolerate broken links while saving documents, fix freeze. b=205668 r=brade sr=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@142546 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-16 18:08:43 +00:00
dbaron%dbaron.org
69da9d4a19 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
cbiesinger%web.de
39cc56b291 162177 patch by alge@samsen.com r=jag sr=dmose a=asa error in the downloading windows
git-svn-id: svn://10.0.0.236/trunk@142451 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 21:44:21 +00:00
ccarlen%netscape.com
a2f166be98 Profile sharing - changes to profile dirserviceprovider, a component to control whether sharing is enabled. bug=202474, rs=dougt/sr=darin/a=asa
git-svn-id: svn://10.0.0.236/trunk@142041 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 03:59:23 +00:00
sfraser%netscape.com
4ae47cf5b0 Fix bug 118657: don't allow window.find() to propagate into frames that it doesn't have permissions for. r=msotlz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@141428 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 00:53:58 +00:00
sfraser%netscape.com
b86d923d46 Fix bug 202340: add a mozilla.sdef file describing the AppleEvents dictionary in XML format, and use sdp and Rez to convert it to a .rsrc. Install that in dist/package, and also move PrintPDE.plugin into dist/package. r=ccarlen, sr=bryner/cls.
git-svn-id: svn://10.0.0.236/trunk@141411 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 20:54:06 +00:00
locka%iol.ie
f050dc7871 Cancel channel uploads during cleanup. b=201610 r=brade@netscape.com sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@141386 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 14:01:42 +00:00
bzbarsky%mit.edu
f037bb02c1 Make some strings in prompt service char arrays instead of pointers to move
them to readonly data.  Bug 201355, patch by ataylor@its.to (Andrew Taylor),
r=adamlock, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@141052 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 03:17:15 +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
bzbarsky%mit.edu
711f7862ae Use the right window object -- unbreaks "Launch" button on progress dialog.
Final bits of bug 91969, r=timeless, sr=jag


git-svn-id: svn://10.0.0.236/trunk@141008 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 23:35:42 +00:00
sfraser%netscape.com
9f18a25fd9 Part of fix for bug 201257, missed in previous checkin. r=brade/sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@140993 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 19:29:27 +00:00
sfraser%netscape.com
4a0df27c9c Fix bug 201257 -- clean up use of nsIControllerCommandManager by editor:
Renaming nsIControllerCommandManager to nsIControllerCommandTable to reduce confusion.
Moving the immutability flag from the nsBaseCommandController to the nsControllerCommandTable.
Renaming the 'refcon' on nsIControllerContext to 'context', and giving nsIControllerContext an Init() method that optionally takes a command table.
Fixing the editor and composer module code to create pre-filled nsIControllerCommandTables as services, and the controller constructors to create singleton command tables with do_GetService.
r=brade, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@140988 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 18:44:03 +00:00
danm%netscape.com
4c983992d6 add url of window to be opened to nsIWindowCreator2::CreateChromeWindow2. bug 195992 r=adamlock,blizzard
git-svn-id: svn://10.0.0.236/trunk@140857 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:47:18 +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
6cde9731e0 Bug 188508 - Upgrade print dialog PDE. r=pinkerton/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@140647 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 19:20:27 +00:00
bzbarsky%mit.edu
67db3288d0 "Backing" changes back in since tree has reopened.
git-svn-id: svn://10.0.0.236/trunk@140538 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 03:19:50 +00:00
bzbarsky%mit.edu
94a9f714fa Backing all this out, since tree is closed.
git-svn-id: svn://10.0.0.236/trunk@140536 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 02:02:10 +00:00
bzbarsky%mit.edu
80a0e9dc70 Fix some misleading indentation. No bug, r=lumpy, sr=mozbot
git-svn-id: svn://10.0.0.236/trunk@140518 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 23:19:37 +00:00
jst%netscape.com
a5098df2d0 Checking in gena01@lk.net's fix for bug 193259. Fix error about replaceInsert not being defined in nsProgressDialog.js. r=bugmail@sicking.cc, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140325 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 02:07:35 +00:00
locka%iol.ie
79d38ae90f Add PERSIST_FLAGS_DONT_CHANGE_FILENAMES flag to prevent filename munging during composer upload. b=138832 r=brade@netscape.com sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140235 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 12:19:05 +00:00
timeless%mozdev.org
0e5f07166f Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
timeless%mozdev.org
79f28840dc Bug 197653 [@ nsFind::GetWordBreaker] crashes ADDREFing(0)
r=akkana sr=kin


git-svn-id: svn://10.0.0.236/trunk@139617 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 22:55:15 +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
cls%seawood.org
dac8d1a090 Adding mingw makefile changes.
Bug #134113 r=bryner


git-svn-id: svn://10.0.0.236/trunk@139140 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-08 05:57:15 +00:00
sfraser%netscape.com
5ef9013e0c Remove a bogus DEBUG_smfr block. r/sr=bryner
git-svn-id: svn://10.0.0.236/trunk@138745 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-01 00:56:23 +00:00
bzbarsky%mit.edu
506d8a5127 Part of the diff to bug 91969 that got left out. r=mkaply, sr=me.
git-svn-id: svn://10.0.0.236/trunk@138519 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 06:23:31 +00:00
bzbarsky%mit.edu
9866566b2d Nothing to break out of... fixing bustage caused by patch for bug 91969.
git-svn-id: svn://10.0.0.236/trunk@138459 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 16:12:21 +00:00
bzbarsky%mit.edu
9cfe68527e Make it possible to launch executables after downloading them (after suitable
scary warning).   Bug 91969, patch by octalc0de@veryfast.biz (Patrick Xia
("Octalc0de")), r=mkaply, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@138427 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 05:23:47 +00:00
bryner%netscape.com
d5e4e80ab8 Remove unused nsPrintingPrompt.cpp (bug 193525). r=rods, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@138314 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 04:04:17 +00:00
bzbarsky%mit.edu
4b5837cdf9 Make defaultDescription and applicationDescription use the handler's leafname
if no description is set.  Bug 190409, r=pkw@us.ibm.com, sr=darin


git-svn-id: svn://10.0.0.236/trunk@138226 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 20:06:56 +00:00
cbiesinger%web.de
a27d131d09 91828 r=bz sr=jag filename not viewable in the helper app dlg
git-svn-id: svn://10.0.0.236/trunk@138198 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 16:33:51 +00:00
amardare%qnx.com
fb61ad4487 Added "photon" to the list of platforms requiring the processing of "unixshared" directory.
git-svn-id: svn://10.0.0.236/trunk@137963 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-19 00:23:42 +00:00
amardare%qnx.com
7f86b28593 Added "photon" to the list of platforms requiring processing of printingui/src/unixshared.
git-svn-id: svn://10.0.0.236/trunk@137962 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-19 00:22:42 +00:00
bzbarsky%mit.edu
681eabe571 Changing from default action to a different one should work (didn't if the
default was "save").  Bug 193054, r=pkw@us.ibm.com, sr=mscott, a=asa


git-svn-id: svn://10.0.0.236/trunk@137773 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 19:00:08 +00:00
dbaron%dbaron.org
39e0d8adae Fix hang when saving pages with non-ASCII characters in URLs. b=191965 r=adamlock sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@137679 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-11 20:28:44 +00:00
pkw%us.ibm.com
864a845ad5 Bug 188724 - clicking cancel in filepicker, then clicking file again leads to filepicker
r=cbiesinger@web.de, sr=bzbarsky@mit.edu, a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@137332 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-03 20:36:12 +00:00
darin%netscape.com
09833d8405 fixes bug 189897 "Download starts with Download Error, then Cancel Button disabled"
r=adamlock sr=bzbarsky a=dbaron


git-svn-id: svn://10.0.0.236/trunk@136918 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-24 00:53:00 +00:00
timeless%mozdev.org
c784518ba2 Bug 179798 cookie confirm dialog no longer works in embedding (doesn't call nsIPrompt service)
patch by mvl@exedo.nl r=dwitte sr=darin


git-svn-id: svn://10.0.0.236/trunk@136820 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 05:52:33 +00:00
bzbarsky%mit.edu
97c8b9ce2f wallpaper for bug 189076, r=pkw@us.ibm.com, rs=bryner
git-svn-id: svn://10.0.0.236/trunk@136815 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 05:42:57 +00:00
pkw%us.ibm.com
8919eb3a40 Bug 189598 - application/octet-stream handlers should not be remembered
automatically.
r=bzbarsky@mit.edu, sr=jaggernaut@netscape.com


git-svn-id: svn://10.0.0.236/trunk@136710 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 02:30:57 +00:00
darin%netscape.com
2b1d90b6ed modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa
git-svn-id: svn://10.0.0.236/trunk@136572 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 02:15:14 +00:00
pkw%us.ibm.com
bc7e62d3e0 Bug 79769 - Application input field on helper app dialog should be disabled
on Mac.
r=aaronl@netscape.com, sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@136340 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 23:09:14 +00:00
bzbarsky%mit.edu
93faf760c9 Fix bug 188931 -- only show the leafname in the textbox on mac.
r=pkw@us.ibm.com, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@136323 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 22:05:49 +00:00
bzbarsky%mit.edu
20729b1b47 Fix bug 86640 -- change helper app dialog to properly remember the selected
course of action, move the "neverAsk" information from prefs back to
mimeTypes.rdf, remove the "Reset" button from helper app prefs, set up a way to
select "use default OS helper" for a given type.  Patch by Bill Law
<law@netscape.com> and Philip K. Warren <pkw@us.ibm.com>, r=biesi, sr=bzbarsky,
what passes for moa in helper apps=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@136204 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-12 01:14:35 +00:00
dbaron%dbaron.org
e0db4a7b45 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. sr=jag
git-svn-id: svn://10.0.0.236/trunk@136169 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 20:02:04 +00:00