Commit Graph

58 Commits

Author SHA1 Message Date
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +00:00
brade%netscape.com
eeab04ed71 fix paths for move to CW5 (bug #25779)
git-svn-id: svn://10.0.0.236/trunk@59524 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 15:27:53 +00:00
kin%netscape.com
bddacdd64c 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


git-svn-id: svn://10.0.0.236/trunk@59520 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 14:14:32 +00:00
kin%netscape.com
a078d80c75 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


git-svn-id: svn://10.0.0.236/trunk@58811 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 21:55:51 +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
jfrancis%netscape.com
edba5add24 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.
git-svn-id: svn://10.0.0.236/trunk@55568 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 08:30:19 +00:00
warren%netscape.com
eb9a891946 Eliminated the libs build pass.
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
jfrancis%netscape.com
6bcc04a122 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.


git-svn-id: svn://10.0.0.236/trunk@54462 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:16:56 +00:00
dp%netscape.com
d60d874245 - Converting to nsGenericModule
- Removed exported NS_New*()
- Using NS_IMPL_ISUPPORTS[0-9]
r=akkanna@netscape.com


git-svn-id: svn://10.0.0.236/trunk@54165 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 21:03:04 +00:00
jdunn%netscape.com
f0c83b3d5a Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688


git-svn-id: svn://10.0.0.236/trunk@53637 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 06:02:31 +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
tbogard%aol.net
46a7117699 Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@52414 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 21:27:09 +00:00
braddr%puremagic.com
d8fb5871d7 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc


git-svn-id: svn://10.0.0.236/trunk@52044 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 03:16:48 +00:00
braddr%puremagic.com
1dde1a4f56 Ooops.. tree closed, better back these out for now. Sorry.
git-svn-id: svn://10.0.0.236/trunk@51979 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 21:01:37 +00:00
braddr%puremagic.com
7767d9393b 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)


git-svn-id: svn://10.0.0.236/trunk@51977 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 20:24:21 +00:00
brade%netscape.com
6bc5327b10 add nspr shlb to optimized too (to fix probably future mac bustage); remove bad path (r=sfraser@netscape.com)
git-svn-id: svn://10.0.0.236/trunk@50694 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 20:34:38 +00:00
brade%netscape.com
9c363797fa add nspr shlb to debug to fix mac build bustage
git-svn-id: svn://10.0.0.236/trunk@50692 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 20:18:30 +00:00
morse%netscape.com
9cbd053f44 fix bug 10434, memory leak detection, r=kin
git-svn-id: svn://10.0.0.236/trunk@50677 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 13:50:36 +00:00
waterson%netscape.com
30e53d03e9 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
git-svn-id: svn://10.0.0.236/trunk@50416 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 03:05:10 +00:00
beard%netscape.com
da97767078 changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr
git-svn-id: svn://10.0.0.236/trunk@49690 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-03 20:46:23 +00:00
kin%netscape.com
790f8a923b editor/txtsvc/public/nsITextServicesDocument.h
editor/txtsvc/src/nsTextServicesDocument.cpp
editor/txtsvc/src/nsTextServicesDocument.h

  - Added ScrollSelectionIntoView() method to nsITextServicesDocument
    interface and implementation.


git-svn-id: svn://10.0.0.236/trunk@49314 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 20:04:34 +00:00
colin%theblakes.com
db1381d940 Add dist/bin to EXTRA_DSO_LDOPTS to locate xpcom. See bug 14562.
git-svn-id: svn://10.0.0.236/trunk@48883 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 00:27:00 +00:00
briano%netscape.com
6fe5ac28de General cleanup.
git-svn-id: svn://10.0.0.236/trunk@46494 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 03:34:19 +00:00
cyeh%netscape.com
c6342ee432 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:34 +00:00
sfraser%netscape.com
18a0f649f0 Fix bustage
git-svn-id: svn://10.0.0.236/trunk@42731 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 02:03:57 +00:00
sfraser%netscape.com
4dd92661ce Landing editor API changes. Removed nsITextEditor and nsTextEditor, split interfaces into more, non-overlapping interfaces, and other general cleanup.
git-svn-id: svn://10.0.0.236/trunk@42725 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 01:37:50 +00:00
mjudge%netscape.com
329d39ba11 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.
git-svn-id: svn://10.0.0.236/trunk@39971 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:27:19 +00:00
ramiro%netscape.com
fb88e9a762 Dont clobber the DEFINES macro.
git-svn-id: svn://10.0.0.236/trunk@39687 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 13:28:12 +00:00
mjudge%netscape.com
757f22388f checkin for carpool for multiple seleciton/ime selection and api changes
git-svn-id: svn://10.0.0.236/trunk@39542 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 18:19:20 +00:00
dveditz%netscape.com
1008384826 makeile cleanups
git-svn-id: svn://10.0.0.236/trunk@38041 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 13:38:47 +00:00
buster%netscape.com
9041cef161 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.


git-svn-id: svn://10.0.0.236/trunk@33153 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:24:18 +00:00
mcmullen%netscape.com
7328b9506b Removed obsolete base/baseDebug.shlb
git-svn-id: svn://10.0.0.236/trunk@33033 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:28:37 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
kin%netscape.com
802bb823c8 Made read only parameters const.
git-svn-id: svn://10.0.0.236/trunk@31294 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:17:41 +00:00
kin%netscape.com
120c8543f6 Changed all references to nsVoidArray to nsStringArray.
git-svn-id: svn://10.0.0.236/trunk@31288 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 21:56:11 +00:00
sspitzer%netscape.com
223e501705 fix pedantic build bustage. (thanks to kin for the fix)
git-svn-id: svn://10.0.0.236/trunk@31273 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 16:53:26 +00:00
kin%netscape.com
f21c805899 Added implementation for First/LastSelectedBlock().
Added better iterator status tracking.


git-svn-id: svn://10.0.0.236/trunk@31106 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:16:24 +00:00
kin%netscape.com
d2d60c4340 Made Add/RemoveWordToPersonalDictionary pure virtual.
git-svn-id: svn://10.0.0.236/trunk@31105 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:14:43 +00:00
kin%netscape.com
638c71981b Added nsISpellChecker.h to export list.
git-svn-id: svn://10.0.0.236/trunk@31104 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:13:39 +00:00
dp%netscape.com
f015deb427 Converting stray UnregisterFactory calls to UnregisterComponent
git-svn-id: svn://10.0.0.236/trunk@30485 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:37:04 +00:00
akkana%netscape.com
d6442ae892 Track change from iDirection to ECollapsedSelectionAction
git-svn-id: svn://10.0.0.236/trunk@30441 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:36:28 +00:00
kin%netscape.com
247bc45d35 Renamed NS_TEXTSERVICE_CID to NS_SPELLCHECKER_CID.
git-svn-id: svn://10.0.0.236/trunk@30225 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:03:32 +00:00
kin%netscape.com
e6a5300568 Initial checkin of file.
git-svn-id: svn://10.0.0.236/trunk@30224 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:54:11 +00:00
kin%netscape.com
f29814710c Removed enabled code that was ifdef'd with HAVE_EDIT_ACTION_LISTENERS.
git-svn-id: svn://10.0.0.236/trunk@29461 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 19:17:35 +00:00
kin%netscape.com
a32fea50dd Modified nsIEditActionListener to have Will*() and Do*() methods. Added
nsIEditActionListener support to nsEditor.cpp and nsEditor.h.


git-svn-id: svn://10.0.0.236/trunk@29438 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 17:14:28 +00:00
sfraser%netscape.com
4976da6903 Updated project
git-svn-id: svn://10.0.0.236/trunk@29222 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:52:04 +00:00
kin%netscape.com
7fd16575ef Misc changes to the nsITextServicesDocument interface.
git-svn-id: svn://10.0.0.236/trunk@28867 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:52:28 +00:00
kin%netscape.com
392640339b Removed spellchk from the list of directories to build.
git-svn-id: svn://10.0.0.236/trunk@28844 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 15:47:33 +00:00
sfraser%netscape.com
d809edfca5 Set export by pragma and fragment names.
git-svn-id: svn://10.0.0.236/trunk@28484 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:12:08 +00:00
kin%netscape.com
1246f8f46b Added code to track iterator status, and modified first/last/next/prev
methods to set the iterator based on this status.


git-svn-id: svn://10.0.0.236/trunk@28459 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 14:38:15 +00:00