66 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
13b5500ba3 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
jaggernaut%netscape.com
51e0dc7a6c 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
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
jst%netscape.com
43eee52859 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
sfraser%netscape.com
05d0dfeb30 Fix for 76758, 63241 and 68307. Make Find search through all frames, bring the Find dialog up from JS, and make a docShell enumerator. r=adamlock, sr=kin
git-svn-id: svn://10.0.0.236/trunk@93298 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:11:03 +00:00
shaver%mozilla.org
c82d54c0b9 fix my braindead build bustage by _properly_ resolving that conflict (I'm a loser)
git-svn-id: svn://10.0.0.236/trunk@91979 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 15:00:25 +00:00
shaver%mozilla.org
8a65cf3329 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.


git-svn-id: svn://10.0.0.236/trunk@91976 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 14:23:13 +00:00
alecf%netscape.com
e6e918143c fix for bug 74908 r=jag, sr=shaver
the find component shouldn't be an appshell component, so it doesn't need to be loaded at startup.


git-svn-id: svn://10.0.0.236/trunk@91926 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 02:02:06 +00:00
rickg%netscape.com
75bb2ffbb9 preloader update. r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91193 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:58:59 +00:00
blakeross%telocity.com
eb806dd827 Removing duplicate include.
git-svn-id: svn://10.0.0.236/trunk@87144 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 22:41:44 +00:00
kin%netscape.com
5b0c6da155 Fix for bug #6254 (Find/Replace needs to be implemented.)
First pass implementation of Find and Replace.
sr=sfraser@netscape.com  r=ducarroz@netscape.com

New Files:

    editor/txtsvc/macbuild/txtsvcIDL.mcp
    editor/txtsvc/public/MANIFEST_IDL
    editor/txtsvc/public/nsIFindAndReplace.idl
    editor/txtsvc/src/nsFindAndReplace.cpp
    editor/txtsvc/src/nsFindAndReplace.h
    xpfe/components/find/resources/replacedialog.js
    xpfe/components/find/resources/replacedialog.xul
    xpfe/components/find/resources/locale/en-US/replacedialog.dtd


Modified Files:

    build/mac/build_scripts/MozillaBuildList.pm
    editor/base/nsEditorShell.cpp
    editor/idl/nsIEditorShell.idl
    editor/txtsvc/macbuild/txtsvc.mcp
    editor/txtsvc/public/Makefile.in
    editor/txtsvc/public/makefile.win
    editor/txtsvc/public/MANIFEST
    editor/txtsvc/src/Makefile.in
    editor/txtsvc/src/makefile.win
    editor/txtsvc/src/nsTextServicesFactory.cpp
    editor/ui/composer/content/ComposerCommands.js
    editor/ui/composer/content/editor.js
    editor/ui/composer/content/editorOverlay.xul
    editor/ui/composer/locale/en-US/editorOverlay.dtd
    mailnews/compose/resources/content/messengercompose.xul
    mailnews/compose/resources/content/MsgComposeCommands.js
    mailnews/compose/resources/locale/en-US/messengercompose.dtd
    xpfe/components/jar.mn
    xpfe/components/find/public/nsIFindComponent.idl
    xpfe/components/find/public/nsISearchContext.idl
    xpfe/components/find/resources/makefile.win
    xpfe/components/find/resources/MANIFEST
    xpfe/components/find/resources/locale/en-US/MANIFEST
    xpfe/components/find/src/nsFindComponent.cpp
    xpfe/components/find/src/nsFindComponent.h


git-svn-id: svn://10.0.0.236/trunk@85386 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 21:55:04 +00:00
blakeross%telocity.com
e93c7d194e Fix 63705: select field contents in find dialog onload, fix context persistence, other cleanup and dead code removal. r=timeless a=ben
git-svn-id: svn://10.0.0.236/trunk@84497 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:06:38 +00:00
alecf%netscape.com
4ffddeb00c #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz


git-svn-id: svn://10.0.0.236/trunk@82745 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 20:54:21 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
law%netscape.com
2e684abf9b Bug 37140; have Find Again open find dialog if no search has been performed yet; r=blakeross@telocity.com
git-svn-id: svn://10.0.0.236/trunk@78908 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 21:42:52 +00:00
vidur%netscape.com
b10d4adc57 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
scc%mozilla.org
27d2655b82 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76735 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 00:45:05 +00:00
law%netscape.com
1cff6bb8ff Bug #37009; Drop bogus refcount twiddling methods and rely on dependent=yes window attribute instead; r=radha
git-svn-id: svn://10.0.0.236/trunk@71744 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 00:40:05 +00:00
sfraser%netscape.com
4af814a535 Beep now when the search term is not found.
git-svn-id: svn://10.0.0.236/trunk@68297 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:21:34 +00:00
sfraser%netscape.com
5f7584275a Change the Find interface to use an nsIDOMWindow instead of a webshell, for better scriptability.
git-svn-id: svn://10.0.0.236/trunk@68016 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:24:16 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
tbogard%aol.net
99181b2034 GetContentViewer from DocShell instead of webShell.
git-svn-id: svn://10.0.0.236/trunk@62554 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:17:52 +00:00
law%netscape.com
eab591bbd8 Transfer focus to existing dialog, if there is one; b=23029, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@60240 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 15:39:21 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
tbogard%aol.net
08a26d790f When opening a "Find" dialog we should assure that a blank window is created. To do that we were passing in null which actually evaluates to the string "null". "_blank" ensures a new window. Fix for bug number 21331. r=law a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56009 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 00:53:52 +00:00
tbogard%aol.net
a9a3650565 Changed calls to nsIWebShell::GetRootWebShellEvenIfChrome() and further QI's to use the new nsIWebShell::GetTopLevelWindow().
git-svn-id: svn://10.0.0.236/trunk@53676 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 20:05:21 +00:00
sfraser%netscape.com
19850957f7 Fix warnings, bug 15588. r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@53123 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 00:24:18 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
law%netscape.com
64d7ceb5a2 Fix for bug #9131; add dependent=yes feature on find dialog so it behaves properly; r=matt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@51282 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 20:36:08 +00:00
pavlov%netscape.com
489535b9e0 fix bugs in find dialog and make it use the dialog overlay. make it not resizeable, fixed style rules on the windows and buttons. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@49808 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 05:20:29 +00:00
kin%netscape.com
c91a4d411c Added call to nsITextServicesDocument::ScrollSelectionIntoView().
git-svn-id: svn://10.0.0.236/trunk@49315 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 20:05:00 +00:00
mccabe%netscape.com
69a8cf7c7b Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.


git-svn-id: svn://10.0.0.236/trunk@48284 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 23:46:35 +00:00
law%netscape.com
1382360c56 New stream xfer dialog plus .dtds
git-svn-id: svn://10.0.0.236/trunk@41441 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 06:17:48 +00:00
law%netscape.com
ff74a2d61d New and improved find dialog implementation
git-svn-id: svn://10.0.0.236/trunk@39618 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 01:54:44 +00:00
law%netscape.com
a317187747 Fix for bug #5635; reviewed by hyatt, approved by chofmann
git-svn-id: svn://10.0.0.236/trunk@38933 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 21:39:29 +00:00
law%netscape.com
3aa02b0e09 Delay loading of app shell components till required
git-svn-id: svn://10.0.0.236/trunk@38206 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 00:39:37 +00:00
scc%netscape.com
a2d0be4d64 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
git-svn-id: svn://10.0.0.236/trunk@37444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:01:31 +00:00
danm%netscape.com
fe81f5f1a1 teach RunModalDialog to use extant windows; use one in NetSupportDialog (fixes bug 7858). remove AppShellService interface references
git-svn-id: svn://10.0.0.236/trunk@36668 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 03:29:22 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
sfraser%netscape.com
bf086c62e4 Leak fixing. CreateNewTopLevel window returns an AddReffed window. You must release it.
git-svn-id: svn://10.0.0.236/trunk@35921 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 21:53:00 +00:00
valeski%netscape.com
4fa4e2e84d NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00
sspitzer%netscape.com
3e326c02c9 fix warnings.
also Back() and Back(nsIWebShell *) existed, and this is bad.
Renamed Back(nsIWebShell *) to GoBack(nsIWebShell *).


git-svn-id: svn://10.0.0.236/trunk@35709 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:38:44 +00:00
law%netscape.com
45ed3c204e Switching xpfe components to use XPIDL
git-svn-id: svn://10.0.0.236/trunk@34676 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:43:08 +00:00
sfraser%netscape.com
4c3082ab0c New, improved Find that keys off the selection, rather than storing offsets inside the find context.
git-svn-id: svn://10.0.0.236/trunk@33780 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:48:47 +00:00
law%netscape.com
3acd77bd56 New and improved
git-svn-id: svn://10.0.0.236/trunk@31416 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 05:38:38 +00:00
hyatt%netscape.com
5bc525e44a Supporting nsIEventqueues.
git-svn-id: svn://10.0.0.236/trunk@30295 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:38:27 +00:00