cls%seawood.org
8405a1984e
Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
...
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
dbaron%fas.harvard.edu
bf82abfd11
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
kandrot%netscape.com
d5bd552195
Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775 .
2001-05-05 05:33:37 +00:00
shaver%mozilla.org
e2dc3d6d88
75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
...
preloader strategy. r=jag, sr=attinasi.
2001-04-11 14:23:13 +00:00
mjudge%netscape.com
d8ad0a43f1
66318 r= kin, sr=kin tested by ducarozz ,phil chofmann approved..changing APIS to be idl so we can use in embedding land... lots of string changes too to nsAStrings
2001-04-07 00:45:26 +00:00
rickg%netscape.com
c1ce80ae83
preloader update. r=peterl, sr=attinasi
2001-04-03 22:58:59 +00:00
kin%netscape.com
b24b2c40c3
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
2001-01-23 21:55:04 +00:00
akkana%netscape.com
f60790d279
Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis
2000-11-17 00:25:31 +00:00
warren%netscape.com
4189314fdb
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
6e35f97e31
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
kin%netscape.com
b5284d98bd
Fix for bug #56159 (Crash when sending after copy/paste with Spell Check enabled)
...
mozilla/editor/base/nsEditorShell.cpp
- Make sure mSpellChecker is zeroed in Shutdown() just in case something went wrong.
mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
- Added checks to prevent iterating over a collapsed selection in FistSelectedBlock() and LastSelectedBlock().
r=brade@netscape.com sr,a=sfraser@netscape.com
2000-10-16 14:31:48 +00:00
mjudge%netscape.com
a2fa9edcb5
small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
2000-09-14 11:45:01 +00:00
rayw%netscape.com
6cc70ebd6c
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
anthonyd%netscape.com
52f1883f5b
fix for bug 48624 (hidden selection issues with plain text widgets)
...
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe
2000-08-24 03:54:30 +00:00
kin%netscape.com
d1fb8e5b98
Fix for bug #40392 : Crash on exit from composer due to spellchecker init failure
...
Modified First/LastSelectedBlock() to check if a range is collapsed before
trying to iterate over it.
editor/txtsvc/src/nsTextServicesDocument.cpp
r=jfrancis@netscape.com a=beppe@netscape.com
2000-05-31 03:18:46 +00:00
kin%netscape.com
df150785ad
Fixed spellchecker recheck bug.
...
mozilla/editor/base/nsEditorShell.cpp
mozilla/editor/idl/nsIEditorSpellCheck.idl
- Modified StartSpellChecking() so that it no longer calls
NextMisspelledWord().
- Renamed Start/CloseSpellChecking() to Init/UninitSpellChecker().
- Changed prototype of GetCurrentDictionary() in the idl file.
- Replaced all references of NS_SPELLCHECKER_CID with NS_SPELLCHECKER_PROGID.
mozilla/editor/txtsvc/public/nsISpellChecker.h
- Added NS_SPELLCHECKER_PROGID.
mozilla/editor/txtsvc/public/nsTextServicesCID.h
- Removed NS_SPELLCHECKER_CID.
mozilla/editor/ui/composer/content/ComposerCommands.js
- Replaced all calls to Start/CloseSpellChecking() with
Init/UninitSpellChecker().
- We now call GetNextMisspelledWord() after initing the spellchecker.
mozilla/editor/ui/dialogs/content/EdSpellCheck.js
- Dialog now assumes the spellchecker language has been set before the
dialog is invoked.
- Fixed Recheck() so that it now sets the language.
2000-05-05 14:58:43 +00:00
kin%netscape.com
b68c6a6249
Added spellchecker support for different dictionaries/languages:
...
mozilla\editor\base\nsEditorShell.cpp
mozilla\editor\idl\nsIEditorSpellCheck.idl
mozilla\editor\txtsvc\public\nsISpellChecker.h
- Added GetDictionaryList() and Get/SetCurrentDictionary() methods.
mozilla\editor\ui\dialogs\content\EdDialogCommon.js
- Added AppendValueAndDataToMenulist() function.
mozilla\editor\ui\dialogs\content\EdSpellCheck.xul
- We now import strres.js.
mozilla\editor\ui\dialogs\content\EdSpellCheck.js
- Added InitLanguageMenu().
2000-05-04 14:37:56 +00:00
mjudge%netscape.com
48f046e6b3
ender lite checkin.
2000-04-27 07:37:12 +00:00
scc%netscape.com
88c11720d3
making string conversions explicit
2000-04-18 05:51:09 +00:00
kin%netscape.com
7c71564185
Fix for bug #26100 (Spellchecker goes into infinite loop.)
...
- Modified DeleteNode() to increment nodeIndex to prevent
an infinite while loop.
- nsIContentIterator::Next() and Prev() now return NS_OK
if you iterate past the end of the list. Modified all
calls to Next() and Prev() so we can catch any errors.
r=jfrancis@netscape.com
2000-02-02 14:14:32 +00:00
kin%netscape.com
1b4e128575
Fix for bug #6544 : Cannot search on XML page
...
Modified all body methods to deal with the body node for HTML documents,
and the document root node for all other types of documents. Renamed
all body methods.
r=sfraser@netscape.com
2000-01-26 21:55:51 +00:00
pp%ludusdesign.com
13efd9e8c6
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
2000-01-11 20:49:15 +00:00
jfrancis%netscape.com
6b9ca53f07
fix for 20457: deletion in editor pretty darn screwy. Lots of changes to improve this. Document modifying entry points in editor now go thru a standard sandwich, which allows tracking of what changed in the doc, which allows proper post-processing of what changed. Also, all deletions now go thru the rules code, if applicable. Also some bugs in tracking the changed document portion have been fixed. Finally selection setting after a delete is improved.
1999-12-07 08:30:19 +00:00
jfrancis%netscape.com
09ed614b05
implemented a system to track what portion of a document is affect by an editor action. Used that system to help solve extensive whitespace handling problems, ans also problems with caret placement in response to returns (this lattter fix for html editors only - plaintext coming later). Fixed numerous list bugs involving outdenting, unlisting, and splitting lists.
Checkin addressees these bugzilla bugs:
2073 & 12337 - whitespace trouble when typing (you can end up with all nbsp's instead of spaces)
16715 - caret gone or wrong after hitting return
16988 - aim foiled by our mozDIVs
17908 - enter at end of document does nothing
16085 - 4.x mail replied foiled by mozDIVs
19368 - inline style lost after typing return
17059 - "normal" made a paragraph, but typing made a div. Now they both just use direct text in the body (or wherever)
18717 - exiting list gives UBER caret (note: this will only be fixed most of the time, not all)
17778 - cant type beside an image (it ends up above or below it) - this was a rather strange ramification of the old mozDIV
rules which are now gone.
1999-11-25 00:16:56 +00:00
dp%netscape.com
34c91743fc
- Converting to nsGenericModule
...
- Removed exported NS_New*()
- Using NS_IMPL_ISUPPORTS[0-9]
r=akkanna@netscape.com
1999-11-22 21:03:04 +00:00
dmose%mozilla.org
8535dda53e
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
tbogard%aol.net
ebcfb0c284
Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt
1999-11-01 21:27:09 +00:00
braddr%puremagic.com
d92727dc68
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
...
r=scc
1999-10-28 03:16:48 +00:00
braddr%puremagic.com
b49b3dbdce
Ooops.. tree closed, better back these out for now. Sorry.
1999-10-27 21:01:37 +00:00
braddr%puremagic.com
b2ea5b4c45
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
...
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
morse%netscape.com
6a3cdf94cc
fix bug 10434, memory leak detection, r=kin
1999-10-14 13:50:36 +00:00
waterson%netscape.com
c7347c6be0
Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
1999-10-12 03:05:10 +00:00
kin%netscape.com
6a0bf9b1e4
editor/txtsvc/public/nsITextServicesDocument.h
...
editor/txtsvc/src/nsTextServicesDocument.cpp
editor/txtsvc/src/nsTextServicesDocument.h
- Added ScrollSelectionIntoView() method to nsITextServicesDocument
interface and implementation.
1999-09-29 20:04:34 +00:00
sfraser%netscape.com
f412327b08
Fix bustage
1999-08-09 02:03:57 +00:00
sfraser%netscape.com
98818652df
Landing editor API changes. Removed nsITextEditor and nsTextEditor, split interfaces into more, non-overlapping interfaces, and other general cleanup.
1999-08-09 01:37:50 +00:00
mjudge%netscape.com
7ddf8fee55
massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape.
1999-07-18 02:27:19 +00:00
mjudge%netscape.com
795cc26dd3
checkin for carpool for multiple seleciton/ime selection and api changes
1999-07-15 18:19:20 +00:00
buster%netscape.com
87b3a69509
Preparation for ender-based text control
...
* added focus listener. Doesn't do much yet, but when focus notifications start appearing, we'll be ready for them. The code is in
place to hide selection when we lose focus and paint selection when we get focus. That's probably not quite right, but it's a start.
We will need to be able to determine the distinction between losing focus to another control within our app, and losing focus to
another app.
* added support for disabled and readonly states in the editor. This is accomplished by having flags set by the client, and letting the
rules system deal with those flags. The flags I added are:
TEXT_EDITOR_FLAG_PLAINTEXT 0x01 // only plain text editing is allowed
TEXT_EDITOR_FLAG_SINGLELINE 0x02 // enter key and CR-LF handled specially
TEXT_EDITOR_FLAG_PASSWORD 0x04 // text is not entered into content, only a representative character
TEXT_EDITOR_FLAG_READONLY 0x08 // editing events are disabled. Editor may still accept focus.
TEXT_EDITOR_FLAG_DISALBED 0x10 // all events are disabled (like scrolling). Editor will not accept focus.
* added WillInsertBreak/DidInsertBreak into text rules, so flags could be checked. This gets us readonly, disabled, and single line
behavior.
* cleaned up the code that allocates, registers, and destroys event listeners. Thanks to Kin and Simon for cleaning up the
ownership model on the listeners, it was a big help.
* added support for a max text length. You can now tell the text editor, be no bigger than n characters.
1999-05-28 21:24:18 +00:00
kin%netscape.com
adb10c8f60
Made read only parameters const.
1999-05-12 22:17:41 +00:00
kin%netscape.com
908707c455
Changed all references to nsVoidArray to nsStringArray.
1999-05-12 21:56:11 +00:00
sspitzer%netscape.com
89bd5f9318
fix pedantic build bustage. (thanks to kin for the fix)
1999-05-12 16:53:26 +00:00
kin%netscape.com
032e40d174
Added implementation for First/LastSelectedBlock().
...
Added better iterator status tracking.
1999-05-11 19:16:24 +00:00
kin%netscape.com
81566a48e3
Made Add/RemoveWordToPersonalDictionary pure virtual.
1999-05-11 19:14:43 +00:00
dp%netscape.com
cee9b8c834
Converting stray UnregisterFactory calls to UnregisterComponent
1999-05-06 01:37:04 +00:00
akkana%netscape.com
bbab32e6e7
Track change from iDirection to ECollapsedSelectionAction
1999-05-05 23:36:28 +00:00
kin%netscape.com
097d57f39c
Renamed NS_TEXTSERVICE_CID to NS_SPELLCHECKER_CID.
1999-05-04 22:03:32 +00:00
kin%netscape.com
d7969791ad
Initial checkin of file.
1999-05-04 21:54:11 +00:00
kin%netscape.com
2513a7f241
Removed enabled code that was ifdef'd with HAVE_EDIT_ACTION_LISTENERS.
1999-04-27 19:17:35 +00:00
kin%netscape.com
8474633cfe
Modified nsIEditActionListener to have Will*() and Do*() methods. Added
...
nsIEditActionListener support to nsEditor.cpp and nsEditor.h.
1999-04-27 17:14:28 +00:00
kin%netscape.com
bf0d1d3aa1
Misc changes to the nsITextServicesDocument interface.
1999-04-23 16:52:28 +00:00