cmanske%netscape.com
7193e676db
Implement switching betweeen TH and TD elements for table editing. b=20973, r=jfrancis, akkana
2000-06-22 05:39:54 +00:00
brade%netscape.com
4aa46d5e76
fix returned error codes (as part of bug #42510 )
2000-06-20 14:25:34 +00:00
rbs%maths.uq.edu.au
26742e611c
Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com
2000-06-15 09:54:41 +00:00
cmanske%netscape.com
4f01ada9bf
New method for table editing (b=20973, r=jfrancis); Use nsIStyleSheet::SetEnable() for editmode stylesheets instead of removing and reloading -- necessary for bug 40767. r=sfraser
2000-06-14 04:58:29 +00:00
brade%netscape.com
fa8e2b58fc
drag within editor implemented; r=kin; a=beppe; bug#6255
2000-06-08 14:47:29 +00:00
kin%netscape.com
6790b4afdd
Fix for bugs:
...
41605 Crash doing editor.js:EditorShutdown() when doing File->close
41734 Applying Override StyleSheet causes Editor crash.
Added missing NS_IF_ADDREF in GetSelectedElement().
r=jfrancis@netscape.com a=beppe@netscape.com
2000-06-08 14:45:12 +00:00
mjudge%netscape.com
334756250b
regression fix. my bad. changing editor code to have some duplicate code from nsSelection to output the whole document. r=donm a=donm regression ect.
2000-06-07 22:44:52 +00:00
mjudge%netscape.com
9703a755f8
bug=34896 changing use of CreateElement to CreateElementNS. this was necessary outside of ender-lite also. good change. r=jfrancis a=beppe
2000-06-07 01:18:12 +00:00
warren%netscape.com
512c8bf433
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
2000-06-03 09:46:12 +00:00
jfrancis%netscape.com
e93fa5fecf
backend work for 41034: getting format feedback and list feedback untangled from each other.
2000-06-02 07:47:53 +00:00
sspitzer%netscape.com
1d1c974367
turn off mjudge's printf for everyone but mjudge
2000-06-01 23:04:46 +00:00
mjudge%netscape.com
6a340adf28
fixing caret usages. hiding caret now is done by giving the stack destructor a caret * not a presshell
2000-06-01 02:38:13 +00:00
akkana%netscape.com
313130d552
36559: run selection batching earlier in DeleteSelection, now that
...
the fix for 38713 allows it, so that deleting the selection doesn't
cause an autocopy. r=jfrancis a=beppe
2000-05-31 00:03:02 +00:00
jfrancis%netscape.com
f8789832b8
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
jst%netscape.com
930a889eb7
Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value.
2000-05-17 00:21:53 +00:00
mjudge%netscape.com
0e61917f36
no point in turning off the link handler if we are allready in text only mode.
2000-05-15 05:18:45 +00:00
mjudge%netscape.com
32eba0ac36
writing out from content start using domseelction
2000-05-13 08:04:29 +00:00
brade%netscape.com
de866a32ba
allow drop of files into Composer (create image or link as appropriate)
2000-05-12 14:57:03 +00:00
cmanske%netscape.com
66180a846b
Fixed SetBackgroundColor to remove 'bgcolor' when appropriate. Changed prompt for Title to use new string messages
2000-05-12 02:37:33 +00:00
mjudge%netscape.com
e1ad6bd23a
changes to add hidden attribute on selection. also to make setcaret go through the selection controller
2000-05-11 04:22:32 +00:00
cmanske%netscape.com
0aa739ecd5
Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser
2000-05-09 23:03:41 +00:00
jfrancis%netscape.com
307b8fbcc5
fixed bug where undo could cause extra break nodes; fixed bug 37845: plaintext gets clutered with empty text nodes; fixed bug where toolbar style feedback was wrong after typing a return.
2000-05-07 01:33:42 +00:00
jfrancis%netscape.com
b109f8dbd6
fixing bugs with paste; making paste not inherit local inline stlyes
2000-05-05 20:42:36 +00:00
cmanske%netscape.com
fdced22104
Replace GetBodyElement with GetRootElement to fix bustage
2000-05-04 14:32:07 +00:00
cmanske%netscape.com
3403bfda38
HTML Soure editor is working. Tweaked some dialog xul. Removed some unused stuff from EditorCommands.js
2000-05-04 14:02:03 +00:00
mjudge%netscape.com
ebafd36182
massive change to prepare for ender-lite. should be a no-op for current implementation
2000-05-04 08:33:48 +00:00
akkana%netscape.com
19c96db73d
Restoring one of Joe's fixes, apparently lost in a CVS merge in the last checkin
2000-05-03 23:38:36 +00:00
akkana%netscape.com
acb1acede5
37560: convert platform to dom newlines before inserting html. r=cmanske
2000-05-03 21:18:23 +00:00
jfrancis%netscape.com
509b944592
partial fix for bug 30763
2000-05-03 01:34:34 +00:00
jfrancis%netscape.com
f6251ee4f7
implementing list behavior spec, plus a few bug fixes
2000-05-03 00:14:28 +00:00
cmanske%netscape.com
003a94051d
Set focus when page is done loading. Fixed labels for menus and toolbars. Replaced 'vertical-align' with 'valign' for box alignment. Changed strings for Edit Modes. Unload style sheets when loading a url into existing window
2000-05-02 03:24:11 +00:00
sfraser%netscape.com
035965297d
Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions.
2000-05-01 21:49:52 +00:00
cmanske%netscape.com
457644b039
Fixed bug 37029, strip <body> from head output string. Last checkin fixed bug 36681: put last-modified date in Page Properties
2000-04-28 23:39:27 +00:00
mjudge%netscape.com
67a72ebc1e
massive change to stop the editor fromknowing about nsIPresShell or nsIDocument
2000-04-28 06:20:36 +00:00
cmanske%netscape.com
e78e6fbae6
Fixed Composer bugs 287475, 36937, 36981, 36996. More massive XUL skin conversion.
2000-04-28 05:59:16 +00:00
mjudge%netscape.com
2c0953e1be
ender lite checkin.
2000-04-27 07:37:12 +00:00
akkana%netscape.com
5709d8739f
Change Save File APIs in layout and editor to eliminate the specific
...
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.
2000-04-26 01:00:50 +00:00
brade%netscape.com
59f3e13cf7
factored paste so drop could use the common code; added InsertFromDrop, InsertFromTransferable, PrepareTransferable; r/tested=akkana; tested=jst
2000-04-25 14:15:04 +00:00
scc%netscape.com
8d5a2627d8
making string conversions explicit
2000-04-21 06:56:47 +00:00
sfraser%netscape.com
27b5192b2c
Fix for 29843 -- caret disappears on delete. r=jfrancis
2000-04-20 03:59:50 +00:00
jfrancis%netscape.com
9e1600956e
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
9ac6c4fb06
making string conversions explicit
2000-04-18 07:44:58 +00:00
akkana%netscape.com
b92f151eba
35814: add clipboard type to editor paste methods, and call the right type
2000-04-14 23:38:21 +00:00
cmanske%netscape.com
55e2ac48d1
Lots and lots of bug fixes and XUL widget conversions. Work in progress, but must checkin to allow XPFE to fix bugs
2000-04-14 03:19:31 +00:00
pinkerton%netscape.com
7990ffae73
new clipboard interfaces for unix selection clipboard.
2000-04-14 02:52:38 +00:00
jfrancis%netscape.com
0254b96365
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
cmanske%netscape.com
a70cf9ae17
Fixed window title bug (28591), spell check done notification (28152), validate param range in dialogs (33027), converted to using nsIFilePicker in dialogs, other skinability fixes. r=mjudge,jfrancis
2000-04-04 14:51:26 +00:00
cmanske%netscape.com
9a9c1a24e8
Show/hide paragraph marks (b=22181) and cleaned up style sheet code. 3-D shading fixed for HLine props (b=26841). Toolbar button spaces (b=12514). New color picker button and other conversions to new XUL widgets in dialogs. Optimizations in table editing. r=sfraser
2000-03-31 04:18:29 +00:00
akkana%netscape.com
f8828e55bf
33785: Fix PasteAsCitedQuotation. r=jfrancis
2000-03-30 22:26:06 +00:00
jfrancis%netscape.com
480a5dc8c6
turning back on password field handling in editor
2000-03-29 13:45:08 +00:00
jfrancis%netscape.com
af4644e7c8
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
akkana%netscape.com
c33c91200d
28317: pasting beyond textarea's visible bounds should scroll. r=sfraser
2000-03-28 00:34:26 +00:00
scc%netscape.com
fd8de8008f
small changes to clients of string converting APIs
2000-03-26 11:39:08 +00:00
jfrancis%netscape.com
0b23120401
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
cmanske%netscape.com
901944bd23
Finished implementation of menu-driven table selection. Implemented detection of row or column selection. r=mjudge
2000-03-21 06:05:24 +00:00
akkana%netscape.com
4038b1da98
30311: add a plain-vs-html flag to InsertAsCitedQuotation. r=rhp
2000-03-20 23:13:25 +00:00
akkana%netscape.com
55efbe2103
Remove a printf
2000-03-18 02:05:22 +00:00
cmanske%netscape.com
118b8c5669
Table row, column, all-cells selection now working. Menu items enabled. r=mjudge
2000-03-17 01:46:17 +00:00
cmanske%netscape.com
235ce19d67
Removed tableselection listener -- all selection now done in layout. Also added more table selection support for row, col from menu. r=mjudge
2000-03-16 23:45:41 +00:00
akkana%netscape.com
8f13e2f0b2
25645, fix delete line and kill to end
2000-03-14 02:58:14 +00:00
rickg%netscape.com
fb3041279a
replaced calls to deprecated string methods
2000-03-12 20:39:41 +00:00
jfrancis%netscape.com
e6db193491
fixe for 23558: windows ime bug - typing escape in ime can cause selection to move to top of document
r=mjudge, ftang; a=rickg
2000-02-25 23:50:17 +00:00
jfrancis%netscape.com
6d57ee0984
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
8f20e69369
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
cmanske%netscape.com
770a137b12
Added Page Properties (26889) and Page Colors dialogs (14344), removed debug menu only in release (27237), link dialog fixes (27308), lots of dialog rewrite to use titledbox instead of fieldset, rewrote insert table dialog to use boxes. Changed font size to use CSS strings, not <font size> for ui, but other bugs prevented inserting spans for size. Other small bug fixes. r=brade.
2000-02-15 15:54:05 +00:00
jfrancis%netscape.com
6939f0a6dd
fix for 27188: crash when making text bold
2000-02-13 12:52:15 +00:00
cmanske%netscape.com
afecaab477
Table editing work (bug 20973). Fixed background colorpicker (bug 21410), disable unimplemented menu items (25137), make property bundle strings more localizable (26050). r=mjudge
2000-02-10 05:14:52 +00:00
jfrancis%netscape.com
c9505c0fa5
implementing font increase/decrease size for html editor (bug 18774) r=floppy moose
2000-02-08 12:53:34 +00:00
sspitzer%netscape.com
9431eb3736
more changes to get everyone using my arbitrary command line handling.
...
removing "calendar" from the appearance pref panel, there is no calendar in
5.0.
r=mscott
2000-02-08 01:11:13 +00:00
akkana%netscape.com
784eafea80
22505 workaround: force plaintext editors to use font-family: monospace to make wrapping work. r=jfrancis
2000-02-04 23:39:31 +00:00
akkana%netscape.com
3ba836df7b
25251: use white-space: -moz-pre-wrap instead of pre wrap, suggested by pierre, r=buster
2000-02-03 23:17:00 +00:00
cmanske%netscape.com
894a83b297
More table editing work (bug 20973) and Page Properies dialog work (bug 14344). Added missing 'tbody' to nsIAtoms list. r=mjudge
2000-02-03 02:06:10 +00:00
jfrancis%netscape.com
395f325b0c
more inline style feedback fixes (24574). r=sfraser
2000-02-02 22:47:43 +00:00
pinkerton%netscape.com
ff5704575e
native clipboard/d&d impls now handle text/plain internally, always providing text/unicode to a client. fixes bugs 8427 and 24010. r=scc.
2000-02-01 22:26:21 +00:00
pp%ludusdesign.com
48e640ed4f
Conversion to NS_GET_IID(). Bug #20232 , r=scc@netscape.com
2000-02-01 14:26:27 +00:00
jfrancis%netscape.com
f91098d0f6
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
5e2f88b7f8
22662: Completely redesign the editor output formatting system.
...
Now, instead of inserting text nodes containing whitespace and newlines
into the content tree, the editor adds a fake attribute "_moz_dirty"
to every node it creates, and relies upon the output system to format
any node with that attribute (and, of course, not output the attribute).
r=jfrancis
2000-01-28 01:17:23 +00:00
nhotta%netscape.com
0044578da8
Insert/update META charset tag for charset menu operation, bug 17797, r=akkana.
2000-01-27 03:35:44 +00:00
jst%citec.fi
4104f66aa7
Fixing build bustage, added missing .get() in a nsCOMPtr comparison. r=vidur@netscape.com
2000-01-26 16:01:49 +00:00
cmanske%netscape.com
1a85d5b775
Table editing (bug 20973): added support for rowspan/colspan=0, Rewrote Spelling Dictionary dialog (bug 24264), removed beep from forceInteger filter, r=akkana
2000-01-26 14:57:43 +00:00
akkana%netscape.com
bb4e29cc50
Turn off debug printf and enable formatting. Still r=jfrancis
2000-01-26 02:31:30 +00:00
akkana%netscape.com
a3dbe39403
22662, 16720: greatly improve formatting of html source for inserted html tags. r=jfrancis
2000-01-26 00:57:37 +00:00
sfraser%netscape.com
a37b31dc09
WIP for 18395, various editor command handling and updating changes. r=akkana
2000-01-18 21:50:15 +00:00
jfrancis%netscape.com
634a777322
* 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
kin%netscape.com
3f215a5e83
We now cut the correct number of characters from the styleValue string.
...
Fixed bug that prevented us from removing properties starting at the
zeroth position in the string.
r=sfraser@netscape.com
2000-01-13 23:50:28 +00:00
cmanske%netscape.com
e70eaf046f
Table editing work and fixed bug 21389, r=buster. Added detecting table, row, or cell for setting background color, bug 7992, r=kin. Renamed overloaded GetDocumentTitle to GetDocumentTitleString and set new URL of saved page in webshell, bug 23726, r=mjudge
2000-01-13 23:33:00 +00:00
jfrancis%netscape.com
a5fc421d20
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
e72a2924a8
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
akkana%netscape.com
8c236a7d13
23169: Fix uninitialized variables, including one which was disallowing splitting lines by hitting return. r=jfrancis
2000-01-06 22:35:04 +00:00
akkana%netscape.com
0b23aa43ac
22655: add API to allow specifying charset when inserting/quoting html. r=rhp
...
16015: Add API and implementation for delete-to-beginning (^U). r=slamm,rhp
490: Insert formatting newlines when inserting new nodes. r=rhp
2000-01-04 20:38:12 +00:00
jfrancis%netscape.com
d6e95890c8
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
bryner%uiuc.edu
efb687dcad
Changing a char array to a PRUnichar array, to fix a build
...
warning. r=sspitzer.
1999-12-29 03:45:26 +00:00
cmanske%netscape.com
9192125ad9
Fixed bug 22072, loading style sheet in editor. a=jar, r=brade
1999-12-22 23:57:04 +00:00
kin%netscape.com
e328b78703
Fix for bug #21683 : [dogfood] Can't set focus to end of reply message to type
...
Added beginRulesSniffing local variable.
r=jfrancis@netscape.com a=chofmann@netscape.com
1999-12-16 00:59:08 +00:00
akkana%netscape.com
2f7ffefaf4
21534 (part of 18033 and 18046): handle delete word and to-end functionality
...
outside of any selection batching (didn't work when inside a batch).
r=jfrancis; part of Mike's 18046 fixes which are a=chofmann.
1999-12-14 23:07:12 +00:00
jfrancis%netscape.com
0cd5eba60e
fixes for bug 21030. again. really.
21030: html mail reply won't quote original message
r=kin; a=brendan
1999-12-10 23:16:02 +00:00
ftang%netscape.com
c3b2fbc5fd
fix bug 19358 r=jfrancis add IME force commit for Undo,SelectAll and Paste
1999-12-09 22:37:36 +00:00
jfrancis%netscape.com
f5410887be
fixes for bug 21158 and 21030.
21158: aplying text style deletes text
21030: html mail reply won't quote original message
r=kin; a=chofmann
1999-12-09 21:12:16 +00:00
ftang%netscape.com
c5a3d00653
fix bug 12090 19358. Implement ForceCompositionEnd and add it in the beginning of AddInlineProperty/RemoveInlineProperty/InsertElement/InsertHTML
1999-12-08 03:39:36 +00:00
jfrancis%netscape.com
167f9c0b74
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