Commit Graph

114 Commits

Author SHA1 Message Date
bsmedberg%covad.net
0b5159006b From bug 320988, remove references to nsCRT::strcmp
git-svn-id: svn://10.0.0.236/trunk@186528 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-23 14:16:20 +00:00
bsmedberg%covad.net
50c4961f96 Bug 315563 - Convert the activex code to use the frozen string API, r=darin
git-svn-id: svn://10.0.0.236/trunk@184909 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 15:58:53 +00:00
dougt%meer.net
ab8d20953c This fixes the NS_PRINTING configure option which got broken at some point. b=308629 r/sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@180345 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 02:25:37 +00:00
timeless%mozdev.org
817c61eb2d Bug 293124 useless initialization after memset in CMozillaBrowser::OnSaveAs
patch by bugzilla@mcsmurf.de r=timeless sr=tor a=shaver


git-svn-id: svn://10.0.0.236/trunk@173948 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 18:32:15 +00:00
bzbarsky%mit.edu
d1350f8017 Add the prompt-service contract to nsEmbedCID.h
git-svn-id: svn://10.0.0.236/trunk@170283 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 16:07:11 +00:00
darin%meer.net
360c091908 fixing win32 bustage
git-svn-id: svn://10.0.0.236/trunk@164747 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 21:16:18 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
cbiesinger%web.de
37ac24e778 261249 treat UTF-8 strings as UTF-8, not latin1. r=bzbarsky sr=darin
git-svn-id: svn://10.0.0.236/trunk@163007 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 14:23:49 +00:00
peterv%propagandism.org
01e29b99dc Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@162447 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 12:39:49 +00:00
darin%meer.net
0c01061c22 fixes bug 106940 "ActiveX browser should use the newer nsIPrefService APIs instead of nsIPref" patch by gerlofs@us.ibm.com, r=mkaply, sr=darin
git-svn-id: svn://10.0.0.236/trunk@159543 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-20 18:31:57 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
locka%iol.ie
dad38613e7 Add page setup dialog to ActiveX control & fix com exception in IOleCommandTargetImpl. b=225045 r=atemon@elansoftware.com sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@154785 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 09:21:06 +00:00
locka%iol.ie
8826abbf5f Fix "View Source" operation on popup menu. Move default profile into a member variable. b=228600 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@153496 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 21:24:19 +00:00
locka%iol.ie
0229f3f43a Move profile opening to after component registration to prevent locked profiles from causing strange behaviour in the control. b=224455 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@149163 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-11 20:38:51 +00:00
locka%iol.ie
241a418373 Fix (long broken) editor mode to provide barebones functionality. Update all adamlock addresses to eircom.net. Fix some arcane comments referring to webshell / NGLayout. b=220092 r=blizzard@mozilla.org sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@147409 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 21:17:24 +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
dwitte%stanford.edu
d1b7c5043f followup to jag's bustage checkin saga - removing some unnecessary CID's and some crufty files. (there may have been a grand plan behind guids.h, but as it stands there's no point)
r=the tim dude at rit, aka riceman, aka sirLurxalot, sr=lumpy


git-svn-id: svn://10.0.0.236/trunk@145004 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 15:40:34 +00:00
dwitte%stanford.edu
3125c92677 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@144960 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 20:01:09 +00:00
locka%iol.ie
adcb330801 Check if data: protocol exists before loading a data url in design mode. b=208834 r=darin@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@143944 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 18:49:11 +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
dbaron%dbaron.org
daa2fa4b45 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135995 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:51:43 +00:00
locka%iol.ie
9bf3e06ceb Change registry key const to load browser helper objects from another location instead of using IE's list. Also fix some naming convention. b=171063 r=chak@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@135987 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 15:35:18 +00:00
locka%iol.ie
4a9f325a8b Add directory service provider to control (no more MozillaControl profile pollution). b=76664 r=ccarlen@netscape.com sr=blizzard@mozilla.org a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@134986 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 18:15:50 +00:00
locka%iol.ie
335b81ec98 Move IWebBrowser impl into a template class so it can be shared with plugin. Fixed postdata, headers and target args. b=100629 r=chak@netscape.com rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@134719 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 21:20:57 +00:00
locka%iol.ie
a37ceea7c5 Fix print cancel behaviour in control and add a couple of null pointer checks. b=179021 r=rods@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@134221 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 23:38:26 +00:00
locka%iol.ie
0302fed96a Rewrite PropertyList to remove STL, fix various issues in ControlSite and add control download & install. b=178542 r=peterl@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@133337 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 23:06:08 +00:00
locka%iol.ie
fdb5a68e3a Disable XUL progress dialog and fix print progress listener. b=168510 r=rods@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@133145 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 12:14:59 +00:00
locka%iol.ie
6a64bf064c Implement put_innerHTML and some other simple methods. Fix property page to display proper content type for document. b=171769 r=chak@netscape.com sr=rpotts@netscape.com a=a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@132231 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 11:39:57 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
locka%iol.ie
7eebd21c28 Fix buffer issue highlighted by flawfinder b=173630 r=chak@netscape.com sr=heikki@netscape.com a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@132027 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 18:38:31 +00:00
henry.jia%sun.com
148ed167a2 5th patch for bug 158080
Description: replace the hardcode of @mozilla.org/embedcomp/window-watcher;1 with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@126456 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 06:20:45 +00:00
locka%iol.ie
4990bc8a8d Remove MozillaControl.html. b=150618 r=chak@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123719 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 21:33:59 +00:00
locka%iol.ie
7ad7793c14 Add application launcher dialog to activex control, plus some member variable cleanup. b=126245 r=chak@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123520 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 20:47:41 +00:00
rpotts%netscape.com
07329cd38e bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener)
git-svn-id: svn://10.0.0.236/trunk@121674 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:57:37 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
locka%iol.ie
04f3b2d7c5 Implement GUID comparison method inilne rather than rely on ATLs constantly changing method. b=127982 r=chak@netscape.com sr=rpotts@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@116896 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 22:28:50 +00:00
alecf%netscape.com
ad52b938ba *sigh* fix activeX bustage
git-svn-id: svn://10.0.0.236/trunk@116850 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 08:22:02 +00:00
rods%netscape.com
fd4d2132df 1) Removes most all the unneeded data from nsPrintOptions service. All data should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings object. The items not saved are those used during the printing process and it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings. If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS. Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific set of prefs. Then if a printer name is available in the PS then it tries
to initialize itself from the printer specific prefs. This enables to define "back stop" prefs for picking up first. Then the printer specific prefs can override those settings. For example, we may define in prefs that the default paper size 8.5x11, then if if the "save PS prefs" is turned on, for a given printer it might save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read or written.
Bug 128142 r=dcone sr=attinasi a=shaver


git-svn-id: svn://10.0.0.236/trunk@116711 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 13:08:45 +00:00
rods%netscape.com
40889d01ed Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway
git-svn-id: svn://10.0.0.236/trunk@116643 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 14:49:09 +00:00
rods%netscape.com
58cfbb8ad2 1) Removes most all the unneeded data from nsPrintOptions service. All data
should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings
   object. The items not saved are those used during the printing process and
   it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings.
   If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS.
   Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific
   set of prefs. Then if a printer name is available in the PS then it tries
   to initialize itself from the printer specific prefs. This enables to define
   "back stop" prefs for picking up first. Then the printer specific prefs
   can override those settings.
   For example, we may define in prefs that the default paper size 8.5x11,
   then if if the "save PS prefs" is turned on, for a given printer it might
   save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read
   or written.


git-svn-id: svn://10.0.0.236/trunk@116641 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 13:55:54 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
rods%netscape.com
20b4083174 1) Removes the arg of nsIDOMWindow in the nsIWebBrowserPrint calls
2) Adds a couple of new methods and an attr to nsIWebBrowserPrint (navigate, is frameset, & exitPP)
3) Removes all but one method from nsIContentViewerFile.idl/h the remaining call is for print regression testing
4) Removes the "static" implementation of nsIContentViewerFile.h
5) Fixed up nsIContentViewerFile.idl and turned it back on so it is now generating the header file
6) Removed all uses of nsIContentViewerFile.h except for the WebCrawler (uses it for Printing Regression testing)
7) nsDocumentViewer.cpp now implements nsIWebBrowserPrint.idl this makes it easier to add new print functionality in one place
8) You can now ask an instance of the ContentViewer for a nsIWebBrowserPrint to do printing (it retruns the nsIWebBrowserPrint interface implemented by the nsDocumentViewer)
9) Anybody who was using nsIContentViewerFile to print will now use nsIWebBrowserPrint
10) You can now do a "GetInterface()" on a GlobalWindow for a nsIWebBrowserPrint
11) The browser UI now uses the GetInterface on the GlobalWindow to get a nsIWebBrowserPrint object to do printing and this can be used for all printing functionality
Bug 120622 r=dcone sr=waterson


git-svn-id: svn://10.0.0.236/trunk@113419 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 14:52:11 +00:00
locka%iol.ie
6c97ab4824 New parameters for nsIWebBrowserPersist saveURI & saveDocument. Caller may now specify target file as a uri or a file saveDocument has new flags for controlling encoding and line wrapping behaviour. b=110135 r=brade@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@112061 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 12:41:27 +00:00
locka%iol.ie
8433305171 Extremely obvious bug impacting some control users. Enclosed a section of code with an else statement. No bug number.
git-svn-id: svn://10.0.0.236/trunk@111299 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 14:29:06 +00:00
rods%netscape.com
ee8a5e4640 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@111213 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 12:58:53 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
pavlov%netscape.com
b7d549610f bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@110563 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 06:13:17 +00:00
rpotts%netscape.com
2faee254d0 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes...
git-svn-id: svn://10.0.0.236/trunk@109390 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:35:33 +00:00
locka%iol.ie
3b1d6316a3 Implement nsIWindowCreator service for ActiveX control. r=danm@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109012 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 20:13:43 +00:00