scc%mozilla.org
63e86dc84f
bug #98089 : ripped new license
2001-09-19 20:09:47 +00:00
jfrancis%netscape.com
dddbea89ab
fixes 97797: empty solo list item won't indent. Changes to nsHTMLEditRules::WillMakeList() to not outsmart itself so badly. r=fm;sr=kin
2001-09-14 21:09:55 +00:00
jfrancis%netscape.com
9aa7cb1b47
fixes 98543: backspace/delete was crossing table structure boundaries. Also fixed other flavors of this bug that had not been discovered yet.
...
r=fm; sr=kin
2001-09-09 20:57:46 +00:00
jaggernaut%netscape.com
5979297126
Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc
2001-09-05 10:46:45 +00:00
jfrancis%netscape.com
2e6c041e29
fixes:
...
bug 83918 - Not able to start a list (number or bullets) when using Bold style
bug 62347 - Selecting "Body Text" doesn't change style if in <pre> text that has <br>
bug 86476 - ubercaret appears on multi-line text block
bug 87882 - pasting text from one bullet to another yields extra bullet
---------------
r=sfraser; sr=kin
2001-08-22 05:32:44 +00:00
jaggernaut%netscape.com
c14d9c09a1
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
kin%netscape.com
f546534009
Fix for bug #91310 (Align Right splits table) and
...
bug #91288 (Aligning blank table cell in show all tags mode splits table)
Modified WillAlign to prevent unnecessary splitting:
- Don't execute emptyDiv special case code when start container of the
selection is a table cell element, but not a table cell or caption.
- Prevent processing of whitespace between list/table structure nodes.
- Prevent splitting when processing sub lists.
r=brade@netscape.com sr=attinasi@netscape.com
2001-07-25 00:10:34 +00:00
kin%netscape.com
bc9b8572bb
Fix for bug #90499 : Can't delete selection if end of selection contains "<br>\n"
...
Modified nsHTMLEditRules::WillDeleteSelection() so that it uses
an nsAutoTxnsConserveSelection auto-variable to prevent the
call to nsWSRunObject::PrepareToDeleteRange() from changing
the selection.
r=brade@netscape.com sr=waterson@netscape.com
2001-07-18 21:22:31 +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
jfrancis%netscape.com
fb64a5d873
fixes:
...
69320: making new block must put selection in block
74722: pasting into a pre block should not nest pre's
82421: ubercaret after ending list
67847: deletion can put caret incorrectly at start of doc
2001-06-20 02:05:37 +00:00
jfrancis%netscape.com
5a79b7fffb
now with vitamin R for extra wholesome goodness!
...
(correcting snafu)
2001-06-18 21:43:20 +00:00
jfrancis%netscape.com
060c0f50ac
this checkin includes diff for 61232. was supposed to be in previous checkin. r=sfraser; sr=kin; a=asa
2001-06-18 21:35:07 +00:00
jfrancis%netscape.com
41bee3e1d9
fixes for:
...
61232 - Caret comes back to previous line after creating paragraph
54520 - Extra break with list items
54539 - Disappearing numbered list with outdent
60867 - Composer adds extra break when round-tripping empty document through View Source
62347 - Selecting Body Text doesn't work inside other blocks that have embedding breaks
2001-06-18 21:15:43 +00:00
kin%netscape.com
5a674a46cb
Fix for bug #62577 - Sublist content disappears when unlisting.
...
mozilla/editor/base/nsHTMLEditRules.cpp
- Moved list handling code in WillRemoveList() into a new recursive
method RemoveListStructure() which WillRemoveList() now calls.
- Modified WillOutdent() to call MoveNode() when a sublist is encountered.
- Made ConvertListType() recursive so that all sublists are coverted.
mozilla/editor/base/nsHTMLEditRules.cpp
- Added RemoveListStructure() method.
r=jfrancis@netscape.com sr=sfraser@netscape.com a=asa@mozilla.org
2001-06-15 13:57:01 +00:00
jfrancis%netscape.com
4c2113cd1b
fix for 82612: this is just asimple refactoring of a large routine so that we need less mem to do an optimized build.
...
r=kin; sr=sfraser; a=asa
2001-06-12 23:17:47 +00:00
jfrancis%netscape.com
dc595a7f92
fix for 54218: outdent was not enabled in many cases. Now we correctly examin parent heirarchy of selection for blockquotes. r=kin; sr=sfraser; a=asa
2001-06-12 23:03:12 +00:00
jfrancis%netscape.com
ced48fcc16
fix for 74122: distinquish between named anchors and links in deletion code. links are deleted if they become empty, but not anchors. r=brade; sr=kin; a=asa
2001-06-12 22:49:09 +00:00
jfrancis%netscape.com
908a89c870
fix for 67847 take 2: forgot to add in requested reviewer changes in previous checkin
2001-06-12 22:27:53 +00:00
jfrancis%netscape.com
64ef101b12
fix for 67847: forward delete can make caret go to start of doc. r=kin; sr=sfraser; a=asa
2001-06-12 22:21:12 +00:00
mkaply%us.ibm.com
e6051fdfae
#80550
...
r=jfrancis, sr=sfraser, r=leaf for build changes
Putting back Bidi selection code that was removed by 65557
2001-05-21 23:57:55 +00:00
jfrancis%netscape.com
0cf0561fd6
bug 65557 and cast of thousands: making the editor behave more intelligently wrt html whitespace rules. Improved ws handling for:
insert text,
insert break,
join blocks,
split block,
delete
Yet to be tackled is html copy & paste. r=fm; sr=kin
2001-05-11 12:43:22 +00:00
mjudge%netscape.com
9692e7d349
76442 sr= scc r= anthonyd. last minute fixes to editor to not do stupid copies and instead to use new case insensitive string compares.
2001-04-18 06:17:05 +00:00
jfrancis%netscape.com
d8cb6e9ef2
fixes for bugs:
75618 CR line breaks not recognized when inserting data in a plain
76258 IsEditable() needs to be smarter
72968 browser crashes when doing REDO after doing some cut/paste i
55224 switching from HTML Source mode to Normal causes dataloss
71355 style buttons do not work from 2nd cell onwards inside table
71362 empty tables inside (otherwise) empty list item disappears w
74655 40% of reply time in mailcompose spent converting linefeeds
r=fm; sr=kin
2001-04-17 10:15:05 +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
akkana%netscape.com
77bd006639
66345: Factoring necessary for editor reorganization. sr=kin/sfraser, r=jfrancis
2001-04-05 23:48:01 +00:00
pinkerton%netscape.com
57dab27cad
allow macs with low memory to build optimized by setting the |lowmem| option. bug 72945. r=peterv/sr=shaver.
2001-03-27 23:08:32 +00:00
erik%netscape.com
84ace96483
bug 71314; author=simon@softel.co.il; r=mjudge,anthonyd; sr=erik; changes
...
from IBM bidi project (Arabic, Hebrew, etc); some in ifdef for now
2001-03-21 01:16:22 +00:00
blakeross%telocity.com
4c8a38b2d1
Making editor's |dont_AddRef| usages easier on the eyes (56033). r=timeless sr=scc
2001-02-26 00:28:58 +00:00
jfrancis%netscape.com
99c9cbe27a
thank heavens i'm paranoid, or i wouldn't have found prob with ancient patch
2001-02-07 10:07:59 +00:00
jfrancis%netscape.com
d5e12cced2
bug 62235 All new data lost after deleting some text
bug 56880 backspace can delete entire contents of style node
bug 56168 Missing character after closing inline tag which spans lines
r=fm; sr=kin
2001-02-07 09:26:51 +00:00
bryner%uiuc.edu
959336880a
Bug 67709 - assertions when typing in editor due to uninitialized return value. r=blake, dbaron. sr=brendan.
2001-02-06 02:55:06 +00:00
dbaron%fas.harvard.edu
e0028605f5
Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl
2001-02-04 19:39:56 +00:00
jfrancis%netscape.com
1490101fe9
bug 67241: regression from the mongo embedding landing. now the smarts (for adding extra br's at the end of blocks when you hit return) are turned back on for html editors. r=fm; sr=kin
2001-01-31 23:58:42 +00:00
jfrancis%netscape.com
d9f4b4f5a9
bug 66290: embedding work: refactor editor to allow smaller plaintext only library. Embedding clients may be interested inthis library if they want to embed a browser but not composer/mail-compose. Reduces library footprint for plaintext-only library by over 50% on all three platforms. r=fm; sr=kin
2001-01-28 20:13:07 +00:00
blakeross%telocity.com
419564bb7e
Fix 59327: hwaara's patch to add an assertion. r=jag sr=blizzard
2001-01-17 20:01:11 +00:00
anthonyd%netscape.com
107c2088f3
bug fix for 62796
...
sr=kin@netscape.com
a=jfrancis@netscape.com
r=jst@netscape.com
2001-01-09 21:44:35 +00:00
anthonyd%netscape.com
395ac65d31
fix for bug#58028 - Range CompareBoundaryPoints returning incorrect values
...
r=jst,kin
a=kin
2000-12-27 00:37:01 +00:00
dbaron%fas.harvard.edu
33c4278ab5
Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
2000-12-09 04:46:08 +00:00
kin%netscape.com
2f644b83f5
Misc fixes for pedantic build warnings.
...
r=jfrancis@netscape.com a=sfraser@netscape.com
2000-11-29 22:06:02 +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
bryner%uiuc.edu
bb84427a7f
Trivial change, missing "return". r/sr/a=sfraser.
2000-11-16 02:13:30 +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
jfrancis%netscape.com
4962303d8f
fixes bug 54895: certain editor operations (like align) crashed when applied to mulit-cell table cell selections; r=kin; sr=sfraser; a=jar
2000-10-11 00:24:23 +00:00
jst%netscape.com
b3d9cbac12
Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
...
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).
Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
2000-10-07 10:57:30 +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
jfrancis%netscape.com
ed5ef690db
fixes for 45608, 51398, 51591; r=cmanske
2000-09-14 05:59:19 +00:00
cmanske%netscape.com
099cb64947
Adding comment concerning GetAlignment return values not showing mixed state
2000-09-07 14:33:06 +00:00
jfrancis%netscape.com
aa1005f51b
fix for bug 49889; r=fm
2000-08-30 04:26:55 +00:00
jfrancis%netscape.com
01c583fb06
fixing snafu
2000-08-28 08:40:22 +00:00
jfrancis%netscape.com
5c6d2e1fe7
fixes 40363, 40364: deletion bugs with tables; r=fm
2000-08-28 05:11:49 +00:00
jfrancis%netscape.com
1edcca94d8
fixes bugs 46782,50161,48643,49266,49265,46395;
groundwork for bugs 47931,49952;
r=fm
2000-08-26 04:03:50 +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
sfraser%netscape.com
e709e5e99e
Fixes for 48474 (JS errors typing in plain text compose), 44684 (make align buttons reflect state), 49155 (UMR in editor code). r=anthonyd
2000-08-24 01:20:29 +00:00
cmanske%netscape.com
5eafc0feeb
Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
2000-08-23 00:29:24 +00:00
jfrancis%netscape.com
ed997758ce
fixing 49392: editor spazzing uneeded br tags in tables; r=fm
2000-08-19 05:58:11 +00:00
jfrancis%netscape.com
0a99569fca
gave a pref a better name and a more traditional set of values.
2000-08-17 09:51:27 +00:00
jfrancis%netscape.com
5b83f16a12
adding a hidden pref for the editor:
editor.liReturnBehavior "no" will disable the default behavior of popping you out of lists if you hit return in an empty list item.
2000-08-17 05:26:32 +00:00
jfrancis%netscape.com
744e3f112d
44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection
2000-08-17 03:59:50 +00:00
jfrancis%netscape.com
008d4be4c9
groundwork for 44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection
2000-08-14 12:07:10 +00:00
jfrancis%netscape.com
43aec439d4
fix for 45281, cannot insert a table caption. r=fm
2000-08-13 23:53:34 +00:00
jfrancis%netscape.com
fde5fabb60
take 2: fix for 22227 and partial fix for 46209; r=mjudge; a=beppe
2000-07-27 01:03:16 +00:00
jfrancis%netscape.com
fc23a56c5b
fix for 33213; r=sfraser
2000-07-21 22:06:48 +00:00
jfrancis%netscape.com
8683ca1ef4
fix for 43903; making a list after inline contnet doesnt work
2000-07-12 23:21:49 +00:00
jfrancis%netscape.com
6669bb643d
bug fixes:
41744 - editor shouldnt be quite as loosy goosy about html 4.0 as CnavDTD is;
41746 - editor ui state (paragraph format feedback) wrong if a <br> is embedded inside the current block;
41971 - using alignment inside table cells gives unexpected results.
2000-06-29 09:23:41 +00:00
cmanske%netscape.com
e27221d200
Implement switching betweeen TH and TD elements for table editing. b=20973, r=jfrancis, akkana
2000-06-22 05:39:54 +00:00
jfrancis%netscape.com
8aa30d85db
fix for 41369: editor backspace crashes or loses data when at the beginning of text that has multiple br's before it. (dogfood+)
r=sfraser; a=beppe
2000-06-10 02:25:50 +00:00
cmanske%netscape.com
1f983fa5c8
Fix for 41034 - new list submenu command support for doing DL lists. r=sfraser, a=beppe
2000-06-05 20:26:40 +00:00
jfrancis%netscape.com
fe753fcd2a
backend work for 41034: getting format feedback and list feedback untangled from each other.
2000-06-02 07:47:53 +00:00
jfrancis%netscape.com
ab50efb62b
fixes
41075: forward delete can delete wrong char,
41149: incorrect format feedback when in lists
2000-06-02 06:03:46 +00:00
jfrancis%netscape.com
3557066e86
fixing unix nsCOMPtr usage
2000-05-24 23:59:45 +00:00
jfrancis%netscape.com
18736fd80c
fixes:
14753, 29843, 39864, 40141,
40139, 36679, 39542, 34729,
34855, 37216, 39292, 26447
r=sfraser,cmanske,fm; a=beppe
2000-05-24 23:00:24 +00:00
jfrancis%netscape.com
1ccf4a309f
fix for 38991: making lists screwed up
2000-05-12 23:43:50 +00:00
jfrancis%netscape.com
036ae8a748
editor embedding work; fixing bug with making lists
2000-05-09 21:06:49 +00:00
jfrancis%netscape.com
0ccb395970
splitting mail cites in replies now gives you the caret where you want it.
2000-05-05 21:22:09 +00:00
jfrancis%netscape.com
f20389fad6
fixing bugs with paste; making paste not inherit local inline stlyes
2000-05-05 20:42:36 +00:00
jfrancis%netscape.com
c6074113a2
fix for 29320; deletion putting caret in wrong table cell
2000-05-04 23:54:00 +00:00
mjudge%netscape.com
e983172b2f
massive change to prepare for ender-lite. should be a no-op for current implementation
2000-05-04 08:33:48 +00:00
jfrancis%netscape.com
b70e6e443b
partial fix for bug 30763
2000-05-03 01:34:34 +00:00
jfrancis%netscape.com
7a8d8c9f26
implementing list behavior spec, plus a few bug fixes
2000-05-03 00:14:28 +00:00
mjudge%netscape.com
48f046e6b3
ender lite checkin.
2000-04-27 07:37:12 +00:00
jfrancis%netscape.com
9176f7db24
lots of improvements to block transformations:
1) looks inside inlines for breaks;
2) fixes the "extra break when unlisting" bug
3) changing paragraph style to normal consistently gets breaks
4) any splitting needed occurs when blocks inserted
plus a lot of small bug fixes
2000-04-24 11:51:12 +00:00
jfrancis%netscape.com
9eff10efd4
tab in table, tab in lists, fixed inline style handling over multi-ranged selections
2000-04-18 21:39:35 +00:00
scc%netscape.com
23d6d5119e
making string conversions explicit
2000-04-18 07:52:02 +00:00
jfrancis%netscape.com
b7dd11f7bb
Wrote RemoveAllInlineProperties() to deal with clearing out inline style, and also fixed a bunch of IME bugs.
2000-04-13 21:50:19 +00:00
jfrancis%netscape.com
8427ca2d6b
fix for bug 31125: teleporting selection when typing in mail replies.
2000-04-04 13:06:48 +00:00
jfrancis%netscape.com
0f7d036df5
fixing windows bustage
2000-03-30 23:39:26 +00:00
jfrancis%netscape.com
1393a8f6a2
cleanup and small bug fixes
2000-03-30 22:57:19 +00:00
jim_nance%yahoo.com
005e33f06e
Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
...
days for module owners to comment on. r=troy@netscape.com
2000-03-30 03:21:26 +00:00
jfrancis%netscape.com
ef3121f481
stop leaking typeinstate items
2000-03-30 00:34:26 +00:00
jfrancis%netscape.com
19853bbf17
making editor hip to inline style changes on collapsed selections. plus lots of removal of unused code.
2000-03-29 12:53:23 +00:00
scc%netscape.com
bb71dd61c4
small changes to clients of string converting APIs
2000-03-26 11:39:08 +00:00
jfrancis%netscape.com
d043aa611d
improved paste performance in editor (WIP) (bug 28783)
set/remove inline stlye rewrite (lots of bug #s)
2000-03-24 00:26:47 +00:00
rickg%netscape.com
7c4f6b3293
landing phase 2 to remove deprecated string calls
2000-03-12 11:10:07 +00:00
jfrancis%netscape.com
9229dddc5e
fixes for the following bugs:
27914, 27305, 28690, 14608, 27306, 28757
These fixes reviewed by cmanske, apprvd rickg;
also fix for 28724 (caret positioning problems)
reviewed by mjudge, apprvd by jar.
2000-02-25 04:39:30 +00:00
jfrancis%netscape.com
36c6638555
fix for:
26624 - lists and inline style dont get along
r=sfraser; a=rickg
2000-02-18 01:10:21 +00:00
jfrancis%netscape.com
1ff627fe07
fixes for:
27959 - delete broken in editor
24694 - cant get out of link insertion
r=sfraser; a=phil
2000-02-17 19:40:18 +00:00
jfrancis%netscape.com
606f3f9122
fix for 17994: indent skips down a line
2000-02-13 13:06:21 +00:00
jfrancis%netscape.com
3385024fd0
implementing font increase/decrease size for html editor (bug 18774) r=floppy moose
2000-02-08 12:53:34 +00:00
jfrancis%netscape.com
ae816c1a66
make selection sticky across undo/redo (24573);
get bold/italic/underline toolbar feedback working (24574);
fix for 24856: unable to unbold text;
fix for 24572: cant get selection between split lists
2000-01-31 10:30:12 +00:00
akkana%netscape.com
5164d678e3
22662, 16720: greatly improve formatting of html source for inserted html tags. r=jfrancis
2000-01-26 00:57:37 +00:00
jfrancis%netscape.com
e81efa5842
fix for 21412 - backspace wouldn't remove list items in html editor.
In addition some improvements were made to the adjustment of selection after an edit action (example: backspacing through a list item now pops you up to the previous item)
2000-01-17 12:41:34 +00:00
jfrancis%netscape.com
193dcd8f13
* fixed 19596;
* fixed 23597;
* fixed deletion bug that could cause to breaks to be deleted instead of one, when backspacing once. (no #)
* partial fix for current paragraph style not being properly reported in the composer toolbar. (no #)
2000-01-15 14:29:29 +00:00
mjudge%netscape.com
e7a8417ee6
small fix for bug23833 r= jfrancis
2000-01-13 23:56:34 +00:00
jfrancis%netscape.com
8e3c4b54ad
fixed bug 20613 & 21121: both invloved newlines in preformatted text. Layout gives no frames for blanklines caused by newlines, so you cant click or arrow to them. I replace such newlines with breaks now.
fixed 21196: select all no longer selects the special break we use in empty documents (this would cause an invisible selection).
fixed 21430: choosing a new alignment in an empty doc used to do nothing. Now it works but I've exposed a selection bug inthe process...
fixed 22225: a little unintended re-entrancy caused multiple breaks to be inserted in empty table cells when doc read in.
2000-01-13 10:17:35 +00:00
jfrancis%netscape.com
67c2c1efa5
fix for bug 23595: lines permuted by forward delete of a break. one line fix - some misordered parameters.
2000-01-12 02:20:24 +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
92508d6f74
fixing VC5 build (missing return value)
2000-01-11 01:25:00 +00:00
jfrancis%netscape.com
e462c0cacf
fix for 11994, an IME bug. (accidentally left out of prior checkin)
2000-01-10 10:20:51 +00:00
jfrancis%netscape.com
0d229b7daa
added in some rules code for mail quoting. This
fixes bug: 19979 (extra blank line showing up in
mail that has quotes)
partial progress on block transformation work:
unlisting a list now works mostly correctly again,
instead of merging all the former list items into
one run of text (no bug number).
Moz-br's are now added in one more circumstance:
when you have a br at the end of some inline
content that is followed by a new block (like a
list, table, etc.). This is needed for the same
reason that the other moz-br's are: to generate a
blank line that the user expects after hitting
return. (no bug number)
DTD-related work to enable the editor to check if
you should be able to type given the current
selection.
fixed bug 22944: inserting an <A> in a table
splits the table.
Made some progress on text paste performance, but
it's still too slow. That's 19273, which I'm
leaving open
fixed bug 15258: selection capable of getting out
of the body element.
fixed a bug where code that merged adjacent text
nodes would merge the non-editable "formatting"
textnodes, (no bug number). Added code to prevent
selection from ending up inside a non-editable
text node.
fix for 11994, an IME bug.
2000-01-10 10:13:58 +00:00
jfrancis%netscape.com
c7d94b7a6b
fixing warnings
2000-01-06 00:16:18 +00:00
jfrancis%netscape.com
b69c7cb7fb
continuing the war on the Case Of The Happy Caret
2000-01-05 12:24:10 +00:00
jfrancis%netscape.com
07fcb7e952
Fix for bug 21346.
This is actually a major reworking of how the low level editor txns perturb selection. There is a mode now for telling the txns not to disturb the selection. There is also a fix for unlisting lists (sometimes list items got merged unintentionally when unlisting).
2000-01-04 03:09:41 +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
c4212ffcdf
fix for bug 19130 - hitting escape during ime entry can leave editor without a caret. r=kin
1999-12-05 00:29:34 +00:00
jfrancis%netscape.com
bf536b0811
* fix for PDT+ 16481: need rules for deleting in tables
* fix for 19395: protect against zero length text inserts
r = floppy moose
1999-12-01 14:32:55 +00:00
jfrancis%netscape.com
9def206553
fix for bug 20205: selection was getting jerked around by whitespace conversion code.
1999-11-30 21:58:37 +00:00
jfrancis%netscape.com
79218192b4
* ported the html editor work for the "caret doesn't move when i hit return" bug (16715) back to the plaintext editor.
* fixed a paste/rules interaction problem (19367)
* introduced an init time pass over html documents to populate empty list items and table cells with special breaks so that the user can click in them and actually get a caret
* fixed some warnings
r = floppy moose
1999-11-29 08:28:46 +00:00
jfrancis%netscape.com
fc7b2de133
cool! i cant believe it's not butter! (how did the mac ever compile this?)
fixing bizarre cut/paste error.
1999-11-25 01:34:42 +00:00
jfrancis%netscape.com
738f1d4415
fixing bad comptr usage (also not caught by mac compiler)
1999-11-25 00:39:55 +00:00
jfrancis%netscape.com
73c776acd1
fixing bad const in interface (not caught by mac compiler)
1999-11-25 00:36:34 +00:00
jfrancis%netscape.com
49e900609d
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)
1999-11-25 00:19:45 +00:00
sspitzer%netscape.com
7e2104aebd
fix for blocker bug #19083 , compose html message causes a crash.
...
r=sfraser.
1999-11-17 22:34:41 +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
jfrancis%netscape.com
66d3eb4808
fixes for bugs: 16361,12253,15696,15734; r=sfraser
1999-11-01 15:15:35 +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
jfrancis%netscape.com
20b9d0e2c5
fix for 17056: making a list in empty doc didnt work; also making a new list item didn't work. r=floppy moose
1999-10-27 23:44:33 +00:00
ftang%netscape.com
7acdbdeec7
add debugging code. fix remove last uncomited IMEText. r=jfrancis
1999-10-27 22:56:36 +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
jfrancis%netscape.com
62652e2962
revised rules system api to include "handled" parameter and ceased to overload the meaning of the "cancel" parameter; added TypedText() method to editor, editorshell, and logging, so that logging will work properly with typing; coallesce deletions for undo purposes r=buster@netscape.com
1999-10-06 19:34:09 +00:00
akkana%netscape.com
401214e3e3
14859: make rules code smarter about identifying blockquote type=cite
1999-09-29 20:20:31 +00:00
jfrancis%netscape.com
75ecd98021
revised UNDO; introduced first cut at the "mozdiv" typing rules
1999-09-29 20:08:15 +00:00
jfrancis%netscape.com
2569f4a0cb
fixing a heap-o-undo problems and some mBogusNode problems
1999-09-20 01:31:44 +00:00
jfrancis%netscape.com
7f1813ed34
fix bug 13469
1999-09-19 10:31:31 +00:00
jfrancis%netscape.com
63b3dce079
fix for bug 13500 - typo that broke deletion
1999-09-15 05:43:25 +00:00
jfrancis%netscape.com
51ef4144c9
fix for 12675; also added a wrapper for GetNextNode()/GetPriorNode() that checks for containment in the <body>
1999-09-12 01:36:07 +00:00
jfrancis%netscape.com
8afc93ce24
cleaning up warnings (bug 13469)
1999-09-11 00:20:59 +00:00
jfrancis%netscape.com
1cfeb34196
bug fix: paragraphs now merge properly.
1999-09-10 23:32:28 +00:00
jfrancis%netscape.com
89c84eeb43
fix for bug 13482
1999-09-09 22:22:14 +00:00
jfrancis%netscape.com
35644158db
making special mail-compose editing rules accessible to mail
1999-09-08 06:26:53 +00:00
jfrancis%netscape.com
5772ba3e39
implemented RemoveList();
deletion doesn't scatter so many empty nodes;
mailcite rules started;
general deletion work (still WIP);
several small bugfixes;
refactored list item outdenting code
1999-09-06 19:51:59 +00:00
sspitzer%netscape.com
189dd57d74
add newline to end of file to please certain UNIX compilers.
1999-09-03 10:43:00 +00:00
jfrancis%netscape.com
cb1186b037
more deletion work...
1999-09-01 21:23:47 +00:00
jfrancis%netscape.com
1a8dca5815
checkpointing some deletion work
1999-08-31 13:55:18 +00:00
mscott%netscape.com
2be91e72b5
Fix pedantic build breakage for unix.
1999-08-24 18:38:21 +00:00
jfrancis%netscape.com
16045e64a5
refactoring text insertion code; indent/outdent now work with lists and list items.
1999-08-24 08:56:51 +00:00
jfrancis%netscape.com
c37cc8a34d
some reorg of block transformation code; implemented make-{header,preformatted,address,normal}; tweaked make list to honor <br> in some circumstances; rewrote "return in list item" to pop you out of list if item is empty; rewrote "return in header" to work with non-trivial headers.
1999-08-18 08:13:06 +00:00
jfrancis%netscape.com
49d0dcd15b
let VC 5 live!
1999-08-10 22:02:27 +00:00
jfrancis%netscape.com
46a01fdc87
more block operation improvements to "make list"
1999-08-10 21:44:10 +00:00
jfrancis%netscape.com
f1e84c9d2d
begginning of block operations honoring breaks...
1999-08-09 23:39:48 +00:00
jfrancis%netscape.com
65ac5c1602
fixing bug 9366
1999-08-09 22:51:40 +00:00
jfrancis%netscape.com
90559d0488
smarts for creating empty lists in the right places;
prelim work for WillMakeHeader();
prelim work for indenting lists;
helper routine IsEmptyBlock();
1999-08-09 21:50:02 +00:00
buster%netscape.com
8e90ebd62a
moved handling of flags from rules constructor to rules init, so
...
rules code can call SetFlags with mEditor initialized and do real
processing if it wants to.
1999-08-09 18:39:49 +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
kin%netscape.com
efbd1160d8
Fixes for bug #10231 (crash making list after select all)
...
and bug #10815 (Crash deleting selected text and table)
mozilla/editor/base/nsHTMLEditRules.cpp
- Added check, in WillDeleteSelection(), to see if
endpoints of the range are in the body before calling
GetBlockNodeParent(). (Bug #10231 )
- Modified GetPromotedPoint() to check for NULL in the
case where aWhere == kEnd and GetChildAt() returns NULL.
(Bug #10815 )
mozilla/layout/base/src/nsGenericElement.cpp
- Modified RangeAdd() so that it doesn't add
a range if it's already in the list. (Bug #10231 )
mozilla/layout/base/src/nsRangeList.cpp
- Modified GetPrimaryFrameForFocusNode() to
initialize aReturnFrame and to return a failure
if ChildAt() returns NULL. (Bug #10231 )
1999-08-04 18:36:19 +00:00
rhp%netscape.com
64cc6b88f5
Fix for stopper bug #10504
1999-07-26 18:05:41 +00:00
jfrancis%netscape.com
8e8f2f24ef
assorted work to expose nav html dtd to the editor
1999-07-19 22:49:21 +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
buster%netscape.com
5c7a93503f
replaced IID's with CID's where they were appropriate, and removed lots of
...
NS_DEFINE_IID macros in favor of GetCID() wherever I could.
plus some minor bug fixes.
1999-07-15 19:13:46 +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
jfrancis%netscape.com
4530910330
fix for bug 5903
1999-07-03 13:27:13 +00:00
jfrancis%netscape.com
d9232acb8c
making the plain text selection pinning savvy to the other flavors of text editors, the ones that DONT have <pre> tags wrapping all the text
1999-07-02 07:53:08 +00:00
jfrancis%netscape.com
c06eaf8c23
bitten by lack of const enforcement in mac coimpiler once again.
1999-07-02 05:13:21 +00:00
jfrancis%netscape.com
1a1f4c3ba2
making rules savvy to multi-char insertions. this means that pasting in text with embedded tabs, returns, spaces, & nbsp's now get the full rules treatment.
1999-07-02 04:46:45 +00:00
akkana%netscape.com
ac39ef67ec
Oops, I misunderstood tor's fix for the sunos bustage
1999-07-01 23:41:29 +00:00
akkana%netscape.com
2338bab316
Fix gcc 2.7.2.3 build -- thanks to tor@boojum.cs.brown.edu (Tim Rowley) for the fix
1999-07-01 23:31:03 +00:00
buster%netscape.com
4abaa32e35
0. possible fix for Sun build bustage.
...
1. IsEditable is much less hacky. It basically says:
1. if the node is a special bogus text node, it's not editable
2. if the node is a text node with only newlines, then it's not editable
3. if the node has no frame associated with it, then it is not editable
4. otherwise, it is editable.
As part of this, I had to make IsEditable non-static. This had some cascading effects on static methods that called
IsEditable, which likewise had to be made non-static.
2. SetTextProperties now works when the endpoints are leaf nodes (like images), not just text. Charlie, you should
put this through some stress cases.
1999-07-01 18:42:28 +00:00
jfrancis%netscape.com
c491832078
some cleanup and also selection enforcement for plaintext documents: selection is pinned to within the PRE tag on any edit action
1999-07-01 13:42:03 +00:00
akkana%netscape.com
16bad475b7
Fix a warning
1999-06-28 21:26:31 +00:00
jfrancis%netscape.com
c1d7309997
these are not the droids you are looking for
1999-06-25 10:36:54 +00:00
jfrancis%netscape.com
563cf4e689
improvement of editing rules for insert list, indent, outdent, and change alignment
1999-06-25 09:33:02 +00:00
jfrancis%netscape.com
8f37d5de7e
bug 8300; rvd: floppy moose; aprvd: chofmann
1999-06-16 23:40:16 +00:00
jfrancis%netscape.com
de84bb53ed
editor rules framework for {make list, indent, outdent, change alignment}
1999-06-16 05:02:43 +00:00
buster%netscape.com
594211b55c
* Added nsAutoSelectionReset, a tiny class that resets the selection to what it was before a block transformation.
...
* Added some code to restore selection after RemoveTextProperty.
* Made a tiny change to the way the editor holds onto the transaction manager, so client (like the ender text control) can
turn undo on and off effectively
* Fixed a bug in IsNodeInline that was causing GetBlockParent to return the wrong parent node (and who knows what
other mischief) where atom compares were being done on strings of different case, for <B>, "b" vs. "B". The DOM
method nsIDOMElement::GetTagName forced the returned tag name to upper case. I don't know how long that has
been true, but I assume it's a fairly recent change (or something on our side related to it changed recently) or this method
never would have worked. I also found a few cases of nsString::Equals that I changed to EqualsIgnoreCase
* Made some general improvements to the interaction between editors and rules, so that the aCancel out param is always
intialized, and all rules with Will... are matched with a Did... call. Added Will/DidSetTextProperty() and
Will/DidRemoveTextProperty(). This helps enable plain text mode. Added a skeleton for max length support in text editor.
* fixed some warnings.
1999-06-08 06:04:51 +00:00
jfrancis%netscape.com
9cd009d527
groundwork for block transformation functionality
1999-06-03 06:01:08 +00:00
jfrancis%netscape.com
35b0d02e18
cleanup util function duplication
1999-05-28 21:17:30 +00:00
jfrancis%netscape.com
4c98c3ff1c
fix for bug 5979
1999-05-26 22:44:08 +00:00
akkana%netscape.com
4123eec5cf
- Rename iDirection enum to ECollapsedSelectionAction
...
- Initial implementation of Insert HTML
1999-05-05 23:27:17 +00:00
jfrancis%netscape.com
a90187c285
revamped join on deletion
1999-05-04 08:03:07 +00:00
sfraser%netscape.com
d342f3f5fe
Memory leak fixes for bug 5870. r mjudge, a chofmann.
1999-05-03 22:26:07 +00:00
jfrancis%netscape.com
9a540c8daf
fix for bug 5832; bad constant for nbsp value. rvd - floppy moose; appv - chofmann
1999-05-03 22:16:02 +00:00
jfrancis%netscape.com
7fb20b8fe5
fix for bug 5782 - check for null return when getting prev/next node is deletion rules; rvd floppy moose, appr chofmann
1999-05-01 19:37:50 +00:00
pinkerton%netscape.com
b446581eeb
fix build bustage comparing raw pointer to nsCOMPtr.
1999-04-29 01:01:04 +00:00
buster%netscape.com
1e084486b5
approved bug fix for infinite loop when typing a space in a document with only a single text node
1999-04-29 00:14:05 +00:00
jfrancis%netscape.com
cad36f972d
more html typing rules implementation
1999-04-26 14:08:52 +00:00
jfrancis%netscape.com
db6b94b114
more typing rules work - space and tab occassionally do the right thing now
1999-04-21 14:49:58 +00:00
jfrancis%netscape.com
849b6f7f33
merging in rules work with Simon's selection changes
1999-04-13 13:35:08 +00:00
sfraser%netscape.com
e9f94ca763
Updated to conform to new IDL-ized selection interfaces.
1999-04-13 01:33:32 +00:00
jfrancis%netscape.com
f02a1ba8ee
attempting to fix unix build
1999-04-12 14:10:24 +00:00
jfrancis%netscape.com
36a0cbad9e
checkpointing html typing rules
1999-04-12 12:01:32 +00:00
jfrancis%netscape.com
26aece12e6
redoing rules architecture
1999-04-05 17:21:59 +00:00
jfrancis%netscape.com
a9e8aaa72b
First Checked In.
1999-03-29 06:21:01 +00:00