Steven Michaud
96b705ff42
Bug 548719 - CFStringCreateWithCString() and CFStringCreateWithBytes() can return NULL without having run out of memory. r=josh
2010-04-06 16:46:39 -05:00
Josh Aas
5c2f8c4d8c
More Carbon usage cleanup. b=550787 r=bsmedberg
2010-03-10 14:30:11 -05:00
Steven Michaud
c3cac2c620
Bug 541809 - Firefox autoreleasing objects without pool in place. r=josh,jfkthame
2010-03-09 10:37:56 -06:00
Steven Michaud
e4958ecdca
get rid of nsIInternetConfigService. b=489864 r=josh sr=roc
2009-06-23 14:09:19 -05:00
Josh Aas
45e9c08915
Port uriloader to 64-bit Mac OS X. b=489344 r=smichaud sr=roc
2009-04-22 09:06:58 -04:00
Josh Aas
dde6460538
Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg
2009-03-19 10:41:13 -07:00
Daniel Holbert
4301671b45
Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg
2009-01-21 22:55:08 -08:00
Håkan Waara ext:(%2C%20Shawn%20Wilsher%20%3Csdwilsh%40shawnwilsher.com%3E)
38c98eaa3d
Bug 422511 - "Open with 'TextEditor.app'" Should be "Open with 'TextEditor'"
...
This changeset gets an application bundle's name instead of the bundle's file
name on OS X.
Original patch by Håkan Waara, updated by Shawn Wilsher.
Original patch r=sdwilsh, sr=biesi
Updated patch r=hwaara, sr=biesi
2008-09-03 12:22:16 -04:00
Mark Banner
65b358d63d
Core parts of Bug 378991 - Enable IDN link support in messages for Thunderbird and only pass punycode values to external apps. r=masayuki,dmose,sr=biesi
2008-06-03 13:05:59 +01:00
vladimir@pobox.com
958f67e316
Followup to 414201, get rid of some release calls
2008-03-20 16:22:41 -07:00
vladimir@pobox.com
a8432bdec9
b=414201, [relanding] JPEG images dragged to Finder have file extension changed to .jfif; r=stan,sr=shaver,a=beltzner
2008-03-20 15:57:44 -07:00
vladimir@pobox.com
2ad261f33d
backing out 414201 because I hate 10.4
2008-03-20 14:56:31 -07:00
vladimir@pobox.com
7f0c005ec5
b=414201, JPEG images dragged to Finder have file extension changed to .jfif; r=stan,sr=shaver,a=beltzner
2008-03-20 14:39:09 -07:00
joshmoz@gmail.com
54c1211ebb
protect against obj-c exceptions in uriloader. b=419390 r/sr=roc
2008-03-04 00:14:47 -08:00
joshmoz@gmail.com
e905c9a56a
rename files to .mm. b=419390,419392 r/sr=roc
2008-02-26 18:03:08 -08:00
joshmoz@gmail.com
3b6a639adb
When opening a .dmg file downloaded from site, user receives error message. p=shebs b=394342 r=dmose sr=roc
2008-02-21 18:24:42 -08:00
dmose@mozilla.org
fffca71f6a
Fix SunOS build bustage + wrongly typed return value in landing of bug 395277, a=build-bustage
2008-02-19 22:10:33 -08:00
dmose@mozilla.org
aba72c6e99
Add an l10n strategy for web-based protocol handler updating (bug 395277); r=myk, sr=biesi, r=gavin (for browser/ pieces), a=blocking-1.9+; late-l10n checkin
2008-02-19 20:46:35 -08:00
florian@queze.net
d63886d4d3
Bug 412907 - Failure to find the system default application. r+sr=vlad, a1.9=schrep
2008-01-18 11:03:51 -08:00
dmose@mozilla.org
7e25c58d74
First part of fix for web-based protocol handlers failing in certain situations (bug 394483); r=biesi, sr=sicking
2007-10-03 23:10:47 -07:00
roc+@cs.cmu.edu
9972360428
Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky
2007-09-18 16:12:06 -07:00
dmose@mozilla.org
4ad19860ce
Fix for protocol handling dialog throwing exception when a web handler is selected (bug 392957), r=biesi, sr=mconnor, a=bz
2007-09-02 21:44:25 -07:00
dmose@mozilla.org
99d771c3e9
Split nsIHandlerInfo.launchWithURI into nsIHandlerInfo.launchWithURI and nsIMIMEInfo.launchWithFile (bug 391194) r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu
2007-08-20 17:47:47 -07:00
myk@mozilla.org
19a8ec0efa
bug 389969: followup patch that makes the protocol handling dialog work on Mac as well;
...
r=biesi
sr=dmose
a=schrep for M7
2007-07-30 21:57:37 -07:00
sdwilsh@shawnwilsher.com
09e384652c
Bug 389969 - There is no protocol handling dialog. r=cbiesinger, sr=dmose, a=schrep
2007-07-30 16:33:16 -07:00
dmose@mozilla.org
b5e04de117
local protocol handling apps can be chosen but don't work (bug 389758); patch by dolske and me, r=biesi, sr=bz, a=mconnor
2007-07-28 20:38:52 -07:00
dmose@mozilla.org
2b71ae690f
nsExternalHelperAppService::ExternalProtocolHandlerExists (almost) always sets aHandlerExists to PR_TRUE, enabling gnomevfs protocols, patch by Karl Tomlinson <mozbugs@karlt.net, r+sr=biesi,dmose; a=roc
2007-07-27 11:31:13 -07:00
sdwilsh@shawnwilsher.com
801e29f7d0
Bug 385065 - protocol handling dialog. I accidentally reverted this change when I landed Bug 385065. r=cviesinger, sr=dmose
2007-07-26 14:23:56 -07:00
sdwilsh@shawnwilsher.com
ca6da5a72e
Bug 385065 - protocol handling dialog. toolkit: r=mano; uriloader: r=cbiesinger, sr=dmose general: ui-r=beltzner
2007-07-25 21:24:25 -07:00
myk@mozilla.org
236dc4d488
bug 388388: (relanding updated patch) differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi
2007-07-25 13:40:41 -07:00
dmose@mozilla.org
bdec3dea6b
Back out MIME/protocol handler work from bug 388388 because of difficult to diagnose unit test lossage on windows. Note that Windows tinderboxen will go and stay red until they are clobbered because of dependency system lossage.
2007-07-24 16:38:29 -07:00
myk@mozilla.org
d97160dca2
bug 388388: differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi
2007-07-24 13:29:50 -07:00
sdwilsh@shawnwilsher.com
d813830a5f
Bug 388701 - nsExternalHelperAppService::GetProtocolHandlerInfo should get OS Specific implementation. r=cbiesinger, sr=dmose
2007-07-22 11:40:24 -07:00
dmose@mozilla.org
8753e89bc4
Change nsIHandlerInfo::LaunchWithFile to be launchWithURI (bug 386078), r+sr=biesi
2007-07-17 15:59:58 -07:00
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
dmose@mozilla.org
ec036ba262
Refactor nsIMIMEInfo and nsExternalHelperAppService to support local and web-based protocol handlers (bug 384374), r=biesi, sr=sicking
2007-07-05 12:31:44 -07:00
dmose@mozilla.org
12f5a83e26
Implement backend changes for web-based protocol handlers a la WhatWG HTML5 draft (bug 380415). r=cbiesinger@gmx.at, sr=jonas@sicking.cc
2007-05-25 08:17:44 -07:00
cbiesinger%web.de
c2d981f764
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
timeless%mozdev.org
9b0852aaf7
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
mozilla.mano%sent.com
4b7eb569d7
Bug 301281 - Remove 10.1 code from nsInternetConfigService. r=jhpedemonte, sr=smfr, a=bsmedberg.
2005-07-20 19:44:54 +00:00
mozilla.mano%sent.com
ec33eaa645
Bug 264648 - Implement nsOSHelperAppService::GetApplicationDescription for OS X (in order to show an application description in the confirmation dialog for). r=jhpedemonte, sr=smfr, a=asa.
2005-07-20 19:03:41 +00:00
bsmedberg%covad.net
3219ac4125
Bug 282057 - brand.dtd/properties live in the wrong chrome package... xulrunner apps cannot provide these files, which means they can't use various toolkit features r=darin moa=Neil (seamonkey)
2005-03-10 04:38:35 +00:00
bzbarsky%mit.edu
5b1084a5a5
Add the prompt-service contract to nsEmbedCID.h
2005-03-07 16:07:11 +00:00
dveditz%cruzio.com
430d42c69d
bug 263546: move external protocol warning down a level, r=jsr,sr=darin
2004-10-25 07:46:01 +00:00
cbiesinger%web.de
23938c8252
bug 235505 make nsIMIMEInfo::MIMEType readonly
...
r=bzbarsky sr=darin
2004-06-11 15:47:57 +00:00
gerv%gerv.net
f7f3cb2736
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 16:52:41 +00:00
cbiesinger%web.de
19e7aa65ac
backing out last patch for bug 240771 - causes crashes on mac.
2004-04-17 12:13:55 +00:00
cbiesinger%web.de
f0944a3ee7
arrg, more osx fixes
2004-04-15 22:08:21 +00:00
cbiesinger%web.de
0155a1bd28
more mac bustage...
2004-04-15 21:38:31 +00:00
cbiesinger%web.de
14177dedcb
Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
...
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
cbiesinger%web.de
b8e807e85b
fixing bug 235832 in a better way, by using dynamic_cast.
...
r=bzbarsky sr=darin
2004-04-13 19:40:08 +00:00
cbiesinger%web.de
f37da693e3
bug 235695, one constructor is enough for nsMIMEInfoBase and subclasses
...
r=bzbarsky sr=darin
2004-03-06 14:43:30 +00:00
cbiesinger%web.de
d4e5220db0
bug 235832, dynamic_cast crashes. replace with static_cast.
...
r=bzbarsky sr=darin
2004-03-01 21:18:19 +00:00
cbiesinger%web.de
83ba2b8b73
next try: fixing mac bustage
2004-02-23 23:49:49 +00:00
cbiesinger%web.de
c5ee81540e
fix mac bustage
2004-02-23 23:29:38 +00:00
cbiesinger%web.de
7ea034fb6b
bug 78919, last part. r=bzbarsky sr=darin.
...
This adds a new method launchWithFile on nsIMIMEInfo which takes care of opening
the selected (preferred or default) application on the mime info with a
specified document. defaultDescription is now readonly, and defaultApplication
no longer available.
This also removes the clone method which was unused in the entire tree.
2004-02-23 22:49:28 +00:00
pinkerton%aol.net
719ba07a9f
fix bad merging of code for 183848 when moving from camino 1.0 branch to trunk
...
(r=biesi, sr=sfraser)
2004-02-23 15:20:55 +00:00
cbiesinger%web.de
19a2c89d03
trying to fix mac bustage
2004-01-28 15:08:46 +00:00
cbiesinger%web.de
242ffb7490
bug 78919, part 3: Move nsMIMEInfoImpl to exthandler, and don't allow to CreateInstance it
...
r=bzbarsky sr=darin
2004-01-28 14:48:22 +00:00
dbaron%dbaron.org
8b9610f595
Include nscore.h instead of nsCom.h. b=226555 r=dougt sr=darin a=asa
2003-11-29 18:56:10 +00:00
justdave%syndicomm.com
e986880dd7
Bug 166369: Documents that require a helper app to view were not viewable if you chose your helper apps using an old CFM version of Mozilla. The old pathname format is now supported again (in addition to the new one).
...
r= mozeditor@floppymoose.com , sr= bz-vacation@mit.edu , a= asa@mozilla.org
2003-11-21 06:45:25 +00:00
cbiesinger%web.de
d167f8dd89
fixing mac bustage
2003-11-15 15:29:14 +00:00
cbiesinger%web.de
e92cc5ddfd
78919 part 2. always return a nsIMIMEInfo from the OS HelperAppServices, and don't
...
create MIMEInfos outside of them directly.
r=bzbarsky sr=darin
2003-11-15 15:01:39 +00:00
bzbarsky%mit.edu
d595463f9b
Report a useful error when encountering a CFM app path in a Mach-o build. Bug
...
166369, patch by biesi, r=bzbarsky, sr=sfaser.
2003-10-19 21:36:39 +00:00
cbiesinger%web.de
bb37693039
147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
...
this merges nsIMIMEService::GetFromType and GetFromExtension
2003-07-25 16:48:00 +00:00
jaggernaut%netscape.com
83c571e877
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
2003-07-20 07:47:59 +00:00
sfraser%netscape.com
70407c0aee
Fix bug 183848: if Internet Config fails to give us info about the app used to launch a file, ask Launch Services directly. Patch by sdagley, r=ccarlen, sr=sfraser.
2003-04-22 04:16:49 +00:00
bzbarsky%mit.edu
845bc3e721
nsInternetConfigService needs to set the default app/description rather than
...
the "preferred" one. Bug 189094, r=pkw@us.ibm.com , sr=sfraser
2003-01-14 22:29:48 +00:00
bzbarsky%mit.edu
c2c1454b02
Fix mac bustage...
2003-01-12 02:22:23 +00:00
bzbarsky%mit.edu
4d2505d4e4
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.
2003-01-12 01:14:35 +00:00
dbaron%dbaron.org
b9083989bb
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 23:19:20 +00:00
sdagley%netscape.com
4eab84537c
Fix #179592 - wrong IC constant mapping. r=ccarlen,rs=sfraser
2002-12-03 21:00:45 +00:00
syd%netscape.com
2946606f52
Fix case for Mach o UFS builds. http://bugzilla.mozilla.org/show_bug.cgi?id=182425 , r=seawood, sr=fraser
2002-12-02 15:39:04 +00:00
darin%netscape.com
106b80519b
remove dead mime code, b=172963 r=dougt sr=alecf
2002-11-24 03:31:47 +00:00
sdagley%netscape.com
7d06b13bcd
Oops, Jaguar == Mac OS X 10.2, not OS X 12.0. No bug, just brain fade. rs=sfraser
2002-10-02 01:46:37 +00:00
sdagley%netscape.com
a50ca5627d
Re-landing #169667 - use LaunchServices APIs instead of InternetConfig APIs when appropriate (fixed mach-o and Mac Classic build issues from 1st landing try). r=ccarlen,sr=sfraser
2002-10-01 05:27:15 +00:00
sdagley%netscape.com
afb40734b1
Landing #152231 on trunk mach-o build - move nsInternetConfig into uriloader. Original patch by ccarlen, r=sdagley, sr=darin
2002-10-01 01:00:09 +00:00
darin%netscape.com
6cddc87b2e
backing out sdagley's patch for bug 169667 to clear up mac build bustage.
2002-09-27 04:35:33 +00:00
sdagley%netscape.com
64420945dd
Landing #169667 - Clean up InternetConfigService and use LaunchServices APIs where appropriate. r=ccarlen,sr=sfraser
2002-09-26 23:38:08 +00:00
dougt%netscape.com
68faeb5241
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
cathleen%netscape.com
64856eb68b
clean up last traces of nsCRT::strlen(char* s), bug 124536 r=dp, sr=brendan
2002-06-04 23:05:39 +00:00
dougt%netscape.com
c683a217ab
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
2002-05-15 18:55:21 +00:00
darin%netscape.com
6fd5862e6e
fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
...
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
sdagley%netscape.com
86136e0bf0
Fix #116079 - if a file with no extension is dragged to Mozilla and it has a file type of 'TEXT' treat it as text/plain rather than application/octet-stream. r=bryner, sr=hyatt
2002-04-29 07:01:44 +00:00
darin%netscape.com
e554d83626
fixes bug 129279 "nsIFile unicode/utf8/ascii task"
...
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
darin%netscape.com
281c86ec58
b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
...
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
darin%netscape.com
f1a6738b6c
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +00:00
timeless%mac.com
3a7b20b848
Bug 124895 Improper definition of NS_PROMPTSERVICE_CID
...
r=danm sr=alecf
2002-02-12 03:32:14 +00:00
bzbarsky%mit.edu
aa018e0dfe
Fix helper apps not starting when the filename in the url is empty.
...
Also turn off caching of mime infos since we have no way to invalidate
this cache yet. Bug 121644, r=law, sr=mscott
2002-02-06 03:35:31 +00:00
cathleen%netscape.com
8605704b12
eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
2002-01-30 02:55:57 +00:00
cathleen%netscape.com
92d4fbf218
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
2002-01-12 03:18:55 +00:00
pinkerton%netscape.com
350e79a7ab
Change unsigned char* param to ConstStr255Param to make mach-o happier
...
r=sdagley/sr=blake. bug 118197.
2002-01-07 15:44:08 +00:00
ccarlen%netscape.com
525230cf76
Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com
2002-01-07 14:35:04 +00:00
ducarroz%netscape.com
6f175430bb
Fix for bug 111305. Check for null ptr before using it. Don't truncate and initialize a nsString with a length of -1, that cause the whole app to freeze. R=damn, SR=mscott, A=asa
2001-12-14 01:18:16 +00:00
ccarlen%netscape.com
c343dad63a
Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
2001-12-10 21:58:15 +00:00
jaggernaut%netscape.com
9bcc72064d
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
2001-11-02 06:39:49 +00:00
sdagley%netscape.com
d3f5cce299
Updating fix for #103612 from v1.14 after comments from pinkerton & sfraser. r=pinkerton,sr=sfraser
2001-10-08 20:20:57 +00:00
sdagley%netscape.com
502f98a507
Fix #103612 - work around bug in Mac OS X 10.1 Internet prefs panel when setting DL folder. r=dbaron. I'd wait for an sr= but I need trunk verification on this so I can get PDT approval for checking into the 0.9.4 branch.
2001-10-08 04:59:59 +00:00
jaggernaut%netscape.com
ca6197295f
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
2001-09-29 08:28:41 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00