376 Commits

Author SHA1 Message Date
blizzard%redhat.com
7d5eae27a1 fix spelling of hander to handler. bug #29407. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@61769 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-27 20:51:11 +00:00
sspitzer%netscape.com
5ea6a0cd6d fix for #28911, r=alecf, a=jar. avoid loading in unnecessary dlls at startup.
git-svn-id: svn://10.0.0.236/trunk@61734 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 03:52:06 +00:00
sspitzer%netscape.com
5aced0dc6b clean up -help output. fix bug #26959, make it so when you start
a browser window, the right page (home, blank or last page visted) gets
loaded.  clean up tasksOverlay.js, navigator.js and Ensure1Window()
use the browser's command line handler (remove duplicate code).
remove uri dispatching ui and js.  r=mscott


git-svn-id: svn://10.0.0.236/trunk@61086 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 06:22:03 +00:00
akkana%netscape.com
19ce15cb8e Fix build bustage -- case sensitivity error, apparently
git-svn-id: svn://10.0.0.236/trunk@61029 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 02:36:27 +00:00
sspitzer%netscape.com
fe94c02f8b not part of the build, yet.
git-svn-id: svn://10.0.0.236/trunk@61023 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 02:21:30 +00:00
sfraser%netscape.com
7fd02b94d1 Give the controller an Init method, and implement a bunch of commands the New Way. for bug 18395. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@61005 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:37:12 +00:00
sfraser%netscape.com
48d4c08c0d Expose the transaction manager to outside, for bug 18395. r=akkana
git-svn-id: svn://10.0.0.236/trunk@61004 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:36:30 +00:00
sfraser%netscape.com
a98536738c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@61001 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:33:03 +00:00
akkana%netscape.com
279d38edc9 27144: make sure the editor bogus node starts with _moz, and strip it out in html output. r=smfr
git-svn-id: svn://10.0.0.236/trunk@60566 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 01:58:40 +00:00
cmanske%netscape.com
e080bb6c86 Table editing work (bug 20973). Fixed background colorpicker (bug 21410), disable unimplemented menu items (25137), make property bundle strings more localizable (26050). r=mjudge
git-svn-id: svn://10.0.0.236/trunk@60284 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 05:14:52 +00:00
kmcclusk%netscape.com
31beeacc3d Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@60242 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 15:48:01 +00:00
jfrancis%netscape.com
056f231676 implementing font increase/decrease size for html editor (bug 18774) r=floppy moose
git-svn-id: svn://10.0.0.236/trunk@60127 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 12:53:34 +00:00
jfrancis%netscape.com
67fe76633b fixing warning; r=akkana
git-svn-id: svn://10.0.0.236/trunk@59675 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 23:29:09 +00:00
jfrancis%netscape.com
51357726e2 fix for 26299 - editor now uses reflow batching. Long live refow batching!
r=kin


git-svn-id: svn://10.0.0.236/trunk@59668 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 23:17:08 +00:00
cmanske%netscape.com
2ce1bef073 More table editing work (bug 20973) and Page Properies dialog work (bug 14344). Added missing 'tbody' to nsIAtoms list. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@59605 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 02:06:10 +00:00
buster%netscape.com
40bbaf6296 fixed bug 25767
r=beard


git-svn-id: svn://10.0.0.236/trunk@59362 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 05:12:25 +00:00
jfrancis%netscape.com
d8853e9b1b 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


git-svn-id: svn://10.0.0.236/trunk@59246 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 10:30:12 +00:00
akkana%netscape.com
831fa6d5c7 22662, 16720: greatly improve formatting of html source for inserted html tags. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@58667 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 00:57:37 +00:00
kin%netscape.com
74ed64327d Forgot to remove bogus NS_NOTREACHED line in IsMozEditorBogusNode().
git-svn-id: svn://10.0.0.236/trunk@58162 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 23:52:23 +00:00
kin%netscape.com
cccef73207 Fix for bug #24253: [REGRESSION] Redo adds newlines instead of redoing.
mozilla/editor/base/nsEditor.cpp
    mozilla/editor/base/nsEditor.h
      - Added IsMozEditorBogusNode() method.

    mozilla/editor/base/nsTextEditRules.cpp
      - Modified CreateBogusNodeIfNeeded() to check if bodyChild is a
        MozEditorBogusNode so that it doesn't create more than one.
      - Modified DidUndo() and DidRedo() to use IsMozEditorBogusNode().

r=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58161 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 23:45:35 +00:00
sfraser%netscape.com
a65a684b15 WIP for 18395, various editor command handling and updating changes. r=akkana
git-svn-id: svn://10.0.0.236/trunk@58123 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 21:50:15 +00:00
jfrancis%netscape.com
3384856d4f * 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 #)


git-svn-id: svn://10.0.0.236/trunk@57934 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 14:29:29 +00:00
akkana%netscape.com
b0e84c5792 23335: Don't return error codes from the editor controller; the resulting JS messages just confuse the user. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@57462 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 23:42:15 +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
426d03cf7e not all compilers created equal
git-svn-id: svn://10.0.0.236/trunk@57274 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 10:44:18 +00:00
jfrancis%netscape.com
8f19524dca 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.


git-svn-id: svn://10.0.0.236/trunk@57272 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 10:13:58 +00:00
akkana%netscape.com
740c96ed62 23169: Fix uninitialized variables, including one which was disallowing splitting lines by hitting return. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@57018 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 22:35:04 +00:00
jfrancis%netscape.com
150dc1a9ce continuing the war on the Case Of The Happy Caret
git-svn-id: svn://10.0.0.236/trunk@56838 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 12:24:10 +00:00
akkana%netscape.com
5bf44a084f 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


git-svn-id: svn://10.0.0.236/trunk@56743 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 20:38:12 +00:00
mcafee%netscape.com
5c5a5f7104 Fixing unix bustage.
git-svn-id: svn://10.0.0.236/trunk@56718 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 04:28:39 +00:00
jfrancis%netscape.com
93a07b1c09 adding construct-time value for an editor member bool.
git-svn-id: svn://10.0.0.236/trunk@56717 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 04:24:04 +00:00
jfrancis%netscape.com
11faed23b2 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).


git-svn-id: svn://10.0.0.236/trunk@56714 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 03:09:41 +00:00
buster%netscape.com
a788766929 fixed bug 22228
r=dcone
For this part of the fix, removed a precondition check for a null input param.  It's legal (and necessary) here.


git-svn-id: svn://10.0.0.236/trunk@56506 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 21:02:45 +00:00
ftang%netscape.com
cfa1a18207 partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56377 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 07:56:40 +00:00
brade%netscape.com
6b228873ec don't prompt to save changes to an empty/new window (bug #13933) fix by sfraser r=brade
git-svn-id: svn://10.0.0.236/trunk@56279 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 15:27:54 +00:00
mjudge%netscape.com
35eb4286a1 dont need that line good catch sfrasier.
git-svn-id: svn://10.0.0.236/trunk@56024 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:39:09 +00:00
mjudge%netscape.com
493e328e0f adding new files first stage of massive checkin for key bindings
git-svn-id: svn://10.0.0.236/trunk@56016 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:26:29 +00:00
akkana%netscape.com
130dea903e 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.


git-svn-id: svn://10.0.0.236/trunk@55995 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:07:12 +00:00
buster%netscape.com
8354ebec04 bug 21378
r=rods
a=chofmann

changed CanUndo and CanRedo to return the right value.  They were returning the opposite of what they ought to have returned.


git-svn-id: svn://10.0.0.236/trunk@55865 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 21:43:52 +00:00
ftang%netscape.com
607ad6701a fix bug 19358. r=jfrancis . Forece commit when we Undo, SelectAll or Paste
git-svn-id: svn://10.0.0.236/trunk@55817 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 22:35:17 +00:00
ftang%netscape.com
c02259352d fix bug 12090 19358. Implement ForceCompositionEnd and add it in the beginning of AddInlineProperty/RemoveInlineProperty/InsertElement/InsertHTML
git-svn-id: svn://10.0.0.236/trunk@55702 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:39:36 +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
ftang%netscape.com
199df01b45 add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550
git-svn-id: svn://10.0.0.236/trunk@55502 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 01:29:00 +00:00
akkana%netscape.com
52b17eda5e 18033: Editor changes to use the new nsISelectionController interface.
Triggered from key events.  Untested since the nsISelectionController
  implementation isn't in yet (bug 18046), but key events do call
  the stub routines.  r=mjudge


git-svn-id: svn://10.0.0.236/trunk@55085 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 21:47:30 +00:00
buster%netscape.com
08f62964bd warning cleanup, plus found an uninitialized int variable that I initialized to 0.
git-svn-id: svn://10.0.0.236/trunk@54912 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 15:29:52 +00:00
ftang%netscape.com
07f07a9e71 change debug code.
git-svn-id: svn://10.0.0.236/trunk@54832 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:35:31 +00:00
jfrancis%netscape.com
ae8be3e7b8 fixing iid of nsIAbsorbingTransaction
git-svn-id: svn://10.0.0.236/trunk@54754 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 14:31:47 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
pinkerton%netscape.com
f277a4033c removing obsolete d&d code and changing from CID's to progID's in d&d code. r=akkana.
git-svn-id: svn://10.0.0.236/trunk@54636 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:10:55 +00:00
akkana%netscape.com
4059b56e74 18033: Add editor API for delete methods, and hook up an initial
set of emacs key bindings for Unix.  r=jfrancis


git-svn-id: svn://10.0.0.236/trunk@54475 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 04:11:51 +00:00