Граф коммитов

1040 Коммитов

Автор SHA1 Сообщение Дата
cmanske%netscape.com dacea5115d Small fix to UI JS 1999-07-28 01:39:55 +00:00
cmanske%netscape.com 7c8bb1af56 Fixed bug in GetElementOrParentByTagname 1999-07-28 01:37:51 +00:00
sfraser%netscape.com 68f9da156c Bring the table borders back! 1999-07-28 01:23:53 +00:00
cmanske%netscape.com 5262654f25 Fixed build bustage - removed references to removed .h files 1999-07-28 00:35:41 +00:00
mcafee%netscape.com c61b6e8749 cmanske forgot to remove one reference to a removed header file, fixing linux bustage. 1999-07-28 00:33:50 +00:00
cmanske%netscape.com 24ee7966ca Removing files no longer used. 1999-07-28 00:11:50 +00:00
cmanske%netscape.com 6709d09482 Removing files no longer used. 1999-07-28 00:02:45 +00:00
cmanske%netscape.com f6fef62102 Initial table editing stuff. Removed table editing transactions (use basic node txns). Fixed TrimString JS methods. Fixed setting border in insert table. 1999-07-27 23:59:22 +00:00
sfraser%netscape.com 5990427b75 Remove table editing transactions, for cmanske. 1999-07-27 23:58:28 +00:00
kin%netscape.com 88ee5389e9 Added code to EditorExecuteScript() that will
report the line number in the script where
an exception is thrown.
1999-07-27 23:18:03 +00:00
akkana%netscape.com ae367c4d25 Fix problem bringing up browser window 1999-07-27 21:19:16 +00:00
akkana%netscape.com 37834e49c8 Get rid of confusing duplicated paragraph 1999-07-27 21:18:51 +00:00
akkana%netscape.com de384c068e 490: Insert a line break after a br tag. Also fix some warnings 1999-07-27 21:18:10 +00:00
brade%netscape.com fd45bb19d8 First Checked In. 1999-07-27 21:06:25 +00:00
danm%netscape.com 743f1947e6 hooking up window OS border control from JS/C++ 1999-07-27 06:34:24 +00:00
evaughan%netscape.com 9276523fc5 Fixed infinite height bug in dialogs. Turns our HR is doing something wrong.
So for now I comented our the HR. Will add them back in when hr is fixed.
1999-07-27 02:21:07 +00:00
rhp%netscape.com 64cc6b88f5 Fix for stopper bug #10504 1999-07-26 18:05:41 +00:00
buster%netscape.com 9703391cfa Clean-up
1) fixed unit tests
2) fixed a bunch of leaks having to do with using enumerators.  Thanks for noticing these, Simon.
3) fixed a tiny problem in nsTextEditRules::WillDoAction().
This method was overly aggressive in checking input args, sel can be null for some operations.
1999-07-25 18:14:44 +00:00
jfrancis%netscape.com a2564d9b74 default to setting selection _after_ a created element 1999-07-25 09:25:02 +00:00
jfrancis%netscape.com e9c51239b6 making plaintext flag force a "white-space: pre" style on the body. this is a fix for bug 9153 1999-07-25 05:34:02 +00:00
evaughan%netscape.com e511ced9b1 Fixed a clipping bug. 1999-07-25 01:56:26 +00:00
cmanske%netscape.com c163d5dc76 Link dialog will select entire link 1999-07-25 01:24:51 +00:00
cmanske%netscape.com 5c9096197a Fixed GetSelectedElement to detect caret or selection inside link text. Link dialog will select entire link. Added GetParentLinkElement. 1999-07-25 01:24:12 +00:00
cmanske%netscape.com 5a825a3726 Fixed insert element bugs. Added message if no misspelled words. Changed 'More Atrributes' to 'Advanced Edit' in dialogs. Improved generic message dialog. Added remove link button to link dialog 1999-07-24 20:27:53 +00:00
cmanske%netscape.com 80d18a0ea9 Fixed bugs relating to insert element 1999-07-23 00:52:17 +00:00
sfraser%netscape.com 6c5abf43b8 Turn on selection for all documents that are being edited. This enables selection in GFX ender widgets. 1999-07-23 00:11:00 +00:00
sfraser%netscape.com 6e2c96b68d #ifdef out loading the string bundle, because it causes onEndDocumentLoad handlers to fire, which is very bad. 1999-07-22 23:52:08 +00:00
tague%netscape.com 5ba8ec2d70 Fixed bug #10242 - crash when typing space after IME composition 1999-07-22 23:13:59 +00:00
tao%netscape.com 475cd91987 Adopt new str res api prototype. 1999-07-22 04:41:11 +00:00
cmanske%netscape.com 747c061ff1 Changed editor chrome file references. Eliminated chrome/editor/editordlg 1999-07-21 19:56:21 +00:00
akkana%netscape.com 3e2c2dce23 Find file: URLs when searching for embedded elements -- bug 10134 1999-07-20 20:38:04 +00:00
kin%netscape.com 4c6bfbcc09 Switch from override style sheets to doc
style sheets.
1999-07-20 19:34:35 +00:00
akkana%netscape.com 674d1590fe Loop over embedded objects and print them 1999-07-19 22:55:01 +00:00
jfrancis%netscape.com 8e8f2f24ef assorted work to expose nav html dtd to the editor 1999-07-19 22:49:21 +00:00
akkana%netscape.com 13530acf98 Add GetEmbeddedObjects API to editor shell 1999-07-19 22:36:12 +00:00
tague%netscape.com 5b9e5316a1 Fixed crashing bug with IME support. 1999-07-19 21:16:42 +00:00
joki%netscape.com 0af283b8e2 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods. 1999-07-19 19:54:34 +00:00
akkana%netscape.com be21cf175a Fix paste html; remove some unneeded inclusions 1999-07-19 19:37:08 +00:00
akkana%netscape.com e93a9f9d7c Add GetEmbeddedObjects API for mail/news 1999-07-19 19:06:39 +00:00
brade%netscape.com 384514c780 constrainProportions 1999-07-19 14:03:12 +00:00
brade%netscape.com 5b31aa29b2 fix updating; add constrainProportions (thanks for petejc@postpagan.com and shaver@mozilla.org) 1999-07-19 14:02:24 +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
cmanske%netscape.com 4bfd1687d8 Added error-checking JS method and used it for named anchor properties dialog 1999-07-16 20:34:16 +00:00
cmanske%netscape.com 01eed0d246 Fixed getSelectionAsText breakage, added loading an editor-specific CSS file and switching between it and browser (ua.css) at runtime, removed Publish button. 1999-07-16 18:04:03 +00:00
ramiro%netscape.com 3926f17c8a Dont clobber the DEFINES macro. 1999-07-16 13:28:12 +00:00
warren%netscape.com c5684bf4d7 Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
brade%netscape.com 5b184d104d integration of forceInteger (Thanks to pete@postpagan.com!) 1999-07-16 09:10:35 +00:00
brade%netscape.com 1b9219bba4 changes for forceInteger by pete@postpagan.com 1999-07-16 09:10:08 +00:00
brade%netscape.com 4fa65442b6 forceInteger integration (thanks to pete@postpagan.com) 1999-07-16 09:08:13 +00:00
akkana%netscape.com 999aa1527f Fix JS error 1999-07-16 00:14:29 +00:00
akkana%netscape.com d7f8e4d941 Fix Paste As Quotation label 1999-07-16 00:14:18 +00:00
akkana%netscape.com 905fc39918 Add a sentence with a bunch of nbsp's 1999-07-16 00:13:57 +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
buster%netscape.com fa69f0e621 fixed tests 1999-07-15 19:08:49 +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
cmanske%netscape.com 42f3df044b Finished Personal Dictionary dialog. Added 4th button to generic message dialog. Cleaned up syntax errors for in params for spell checking methods 1999-07-15 14:43:48 +00:00
sfraser%netscape.com befd00635f Added various event listeners, in preparation for document modification state UI reflection. 1999-07-14 22:33:20 +00:00
sfraser%netscape.com 6cf1d0399c Fix window title entity, and add ID on save button. 1999-07-14 22:32:26 +00:00
sfraser%netscape.com e91f30b7e4 Change comment style the style block. 1999-07-14 22:31:43 +00:00
sfraser%netscape.com 12152a8eb7 Call a post-save method, and remove bogus nil check. 1999-07-14 22:31:19 +00:00
sfraser%netscape.com e2b540b307 Added attribute for document modification state 1999-07-14 22:30:55 +00:00
sfraser%netscape.com bc1f1d52d5 Tidy up the ctor, add a method for getting the document dirty state, and handle multiple loadURLs in the editor content window. 1999-07-14 22:30:39 +00:00
sfraser%netscape.com ceb8158380 Document modification count maintenance. 1999-07-14 22:29:39 +00:00
sfraser%netscape.com 86c0a4fcb6 Don't handle a key event as a keypress if the meta key is down. 1999-07-14 22:29:06 +00:00
brade%netscape.com c0d708c247 First Checked In. 1999-07-14 20:24:10 +00:00
tague%netscape.com 5913e0d61d Fix bug #8459, #6989 Can't move cursor within IME composition string. 1999-07-14 20:05:25 +00:00
brade%netscape.com 1116112b59 add locale 1999-07-14 19:56:08 +00:00
brade%netscape.com e55ca5fdaa First Checked In. 1999-07-14 19:55:23 +00:00
waterson%netscape.com cd0f76e1ae Use enum trick to get around VC++ braindead-ness wrt. 'const PRUin32'. 1999-07-14 19:42:55 +00:00
waterson%netscape.com a4827eaa9c Use allocated buffer instead of trying to allocate dynamic array on stack. 1999-07-14 19:41:05 +00:00
brade%netscape.com 6aeb2fcd4b First Checked In. 1999-07-14 19:20:54 +00:00
akkana%netscape.com 6d07c8eeb4 Restructure the editor output routines to allow passing in
a mime type and a flag argument.  Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
      editor is created.
9470, 9488: allow explicit specification of formatted output.
1999-07-14 18:54:29 +00:00
brade%netscape.com 8723619c5e add GetTextLength() 1999-07-14 18:06:13 +00:00
brade%netscape.com ba38beda3e localization 1999-07-14 18:00:26 +00:00
brade%netscape.com e80ea22e6d localization 1999-07-14 17:37:08 +00:00
brade%netscape.com a875d34c6f forceInteger by pete@postpagan.com 1999-07-14 17:32:10 +00:00
kin%netscape.com 2644c77120 Fix for bug #9826: [malloc] memory allocation problems - editor tests
Added checks for NULL everywhere new and create are called.
1999-07-14 17:27:34 +00:00
cmanske%netscape.com 8f1b0f0e2f Generic message dialog, fix insert element-related bugs, initial personal dictionary dialog, other editor bugs 1999-07-14 15:24:33 +00:00
rods%netscape.com 159e84273c Fixed up paste code to help support HTML paste 1999-07-09 19:43:59 +00:00
brade%netscape.com 4f823327de localizable strings pulled out into entities 1999-07-08 20:05:35 +00:00
brade%netscape.com f0ec6ea430 remove hard-coded string; add a parameter to EditorInsertText 1999-07-08 20:05:03 +00:00
buster%netscape.com bc55cc6026 workaround for blocker bug 8123. approved by chofmann. 1999-07-08 19:52:44 +00:00
cmanske%netscape.com 091712f70a Simple removed '.' from the menu text so insert HTML menu item is activated 1999-07-08 17:28:00 +00:00
cmanske%netscape.com 0345565059 Fixed bug 9287. Reviewed by mjudge, approved by chofmann 1999-07-08 03:28:34 +00:00
cmanske%netscape.com 883427f419 Fixed editor dialogs to work with now-fixed autosizing window. Changed buttons to titledbuttons for better layout. Reviewed by sfraser, approved by chofmann 1999-07-08 03:21:01 +00:00
saari%netscape.com 9f860a03ca fixing bug 6741. Again. 1999-07-08 01:50:52 +00:00
saari%netscape.com 35a37bd7bb A fix and a work around for M8 bugs 6741 and 7878 1999-07-07 23:40:31 +00:00
akkana%netscape.com 4603f8ba86 9370: export insert html dialog. r=cmanske/a=chofmann 1999-07-07 22:43:04 +00:00
hyatt%netscape.com 310eb74dec Making the initial window size larger. 1999-07-07 00:40:56 +00:00
cmanske%netscape.com b6c78404ee Fixed crash in link dialog (but you still can't use OK or Cancel) 1999-07-07 00:08:27 +00:00
cmanske%netscape.com 654d262a20 Moved style attribute for progess area into CSS file 1999-07-06 23:49:54 +00:00
buster%netscape.com 206a9e8934 added code to manage setting/unsetting attribute-value pairs in complex selections.
cases like: <font color=blue>abc</font>some more text<font color=red>def</font>
with the selection from 'b' to 'e' and operations like "set font to green", and "remove font color"
1999-07-06 23:41:37 +00:00
cmanske%netscape.com e6211a8b11 Fixed small default window size for editor content window and changed min-width on toolbars to allow reducing content window to smaller than toolbars 1999-07-06 23:40:27 +00:00
buster%netscape.com 263623c628 minor fix for returning when a key is handled or not. This is a tiny part
of the fix for 8123, joki is working on the rest with tague and rods.
1999-07-06 23:31:08 +00:00
akkana%netscape.com 9e5868b5e5 Fix formatted plaintext output -- it wasn't following prettyprint or wrap length 1999-07-06 23:13:15 +00:00
kin%netscape.com ca5bda6648 Fix for bug #7495: [PP]Undo on Linux shows intermediate steps.
Modified Undo() and Redo() to call Begin/EndUpdateViewBatch().
1999-07-06 23:02:12 +00:00
kin%netscape.com 007ce38f0f Fixed warning message by adding missing return. 1999-07-06 23:00:30 +00:00
akkana%netscape.com c4851bb0bc version 1.3 caused this dialog to come up blank! Backing out, filed bug 9313 to track getting the right fix in 1999-07-06 22:44:49 +00:00
cmanske%netscape.com d92dbb6673 Trying to get dialogs to work again. 1999-07-06 00:19:40 +00:00
cmanske%netscape.com 2ea4597280 Fixed alignment popup 1999-07-05 23:08:01 +00:00
cmanske%netscape.com 370a89a358 Changed Named Anchor dialog to use autosizing 1999-07-05 18:36:50 +00:00
cmanske%netscape.com 4c9a7aad73 Trying to get popup XUL windows to behave: not correct yet, but checking in so others can examine 1999-07-04 23:14:36 +00:00
cmanske%netscape.com c4259079e5 Implemented insert named anchor and table. Fixed dialogs to utilize autosizing. Popups are screwed up because of stupid box layout behavior 1999-07-04 23:01:10 +00:00
jfrancis%netscape.com 69fcaf14ef SetParagraphFormat() to list item now does someting halfway sane 1999-07-04 00:34:58 +00:00
cmanske%netscape.com 75ee61ce4e Fixed SetCaretAfterElement (but cursor still not redrawn correctly) 1999-07-03 17:07:08 +00:00
jfrancis%netscape.com 4530910330 fix for bug 5903 1999-07-03 13:27:13 +00:00
jfrancis%netscape.com 98ef922bba turning off ill fated coercion of selection for plaintext editing. I'll turn this back on when I know how to correctly detect when it's needed. 1999-07-03 05:13:30 +00:00
cmanske%netscape.com b669ee5666 Modified InsertElement to insert a Named Anchor before the selection, completing that feature 1999-07-03 01:49:30 +00:00
cmanske%netscape.com cb64ee0c59 Fixed bug in inserting Named Anchor element 1999-07-03 00:57:19 +00:00
cmanske%netscape.com eaa80e2526 Simplified insert logic in dialogs 1999-07-03 00:54:23 +00:00
cmanske%netscape.com 2129a5adab Changes to editor XUL dialogs to accomodate new window-as-box changes 1999-07-02 22:52:34 +00:00
cmanske%netscape.com 6b64437d36 Small changes to editor xul files 1999-07-02 21:54:33 +00:00
sfraser%netscape.com 0bd6830519 Go back to a 1.6, and fix the HTML iframe content-primary attribute so that everything works again. 1999-07-02 21:08:33 +00:00
sfraser%netscape.com 11ff3751cb Fix comment style. 1999-07-02 20:55:46 +00:00
akkana%netscape.com c9092999b8 Reverting to version 1.3 since versions since then completely hork the plaintext editor window 1999-07-02 20:14:04 +00:00
brade%netscape.com 85f570d64f handle appropriate enabling/disabling of OK button based on whether any appropriate values have changed; change from html:select to xul:titledbutton class=popup; add popup menus for pixels/percent and imagetext alignment 1999-07-02 14:43:48 +00:00
brade%netscape.com 5965df8e70 handle enabling of "OK" to only when appropriate values have changed (doesn't handle cases where values aren't actually changed); comment out <label> enabling/disabling until layout bug is fixed; handle hspace/vspace/border 1999-07-02 14:34:42 +00:00
brade%netscape.com 4cf629f884 add SetPixelOrPercentByID() 1999-07-02 14:31:02 +00:00
dveditz%netscape.com ac92b86ba4 makeile cleanups 1999-07-02 13:38:47 +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
hyatt%netscape.com cfdf5ded57 Forgot the vertical alignment for the editor files. 1999-07-02 05:34:59 +00:00
hyatt%netscape.com 3c5b31cf02 Changing the editor main window to work with the new XUL changes (making
the window tag a box).
1999-07-02 05:26:18 +00:00
waterson%netscape.com ada67bac03 Fix nsCOMPtr bustage. 1999-07-02 05:20:31 +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
sfraser%netscape.com fcdec2a951 Added nsStyleSheetTxns.cpp 1999-07-02 04:01:38 +00:00
sfraser%netscape.com 2fa9524390 Added transactions for applying and removing style sheets 1999-07-02 03:57:50 +00:00
sfraser%netscape.com 2babf83eba Add EditorStyles1.css to the build 1999-07-02 03:57:20 +00:00
sfraser%netscape.com 6640543201 Add stuff for applying style sheets. 1999-07-02 03:56:59 +00:00
sfraser%netscape.com 7a64a88fd0 First Checked In. 1999-07-02 03:56:25 +00:00
cmanske%netscape.com 61ac94bd97 Fixed editor UI to be inline with hyatt's XUL popup window fixes 1999-07-01 23:44:59 +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
warren%netscape.com f6d827d932 Added necko util glue. 1999-07-01 21:49:24 +00:00
warren%netscape.com 54cceea1c5 Fixed NewURL for necko. 1999-07-01 21:48:46 +00:00
buster%netscape.com 069ebbe38f minor bug fixes 1999-07-01 20:46:59 +00:00
kin%netscape.com 41af01f373 Added ApplyStyleSheet() method to the various editor interfaces. 1999-07-01 19:32:35 +00:00
warren%netscape.com 8462929dda Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
akkana%netscape.com b7d203c681 Oops, making wrapcolumn unsigned was a mistake. (Thanks to slamm's
warnings page for showing me that!)  Change it back to signed.
1999-07-01 19:01:04 +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
buster%netscape.com c5a5df01c4 fixed unit test to handle new default doc 1999-07-01 18:24:07 +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 e367a4a5d7 Change (commented out) textarea line to be 6 rows long 1999-07-01 00:13:26 +00:00
cmanske%netscape.com cf6386f13e Removed old UI files 1999-06-30 21:09:29 +00:00
cmanske%netscape.com a1573c248a Removed guimanager from makefiles 1999-06-30 20:53:48 +00:00
akkana%netscape.com 830cc10614 - New dialog and editor shell API for Insert HTML Source
- Add wrapcolumn setting to document encoders, and use it in the editor
- Fix numbered lists in the html to text sink stream.
1999-06-30 19:26:08 +00:00
kin%netscape.com e7538328dc Fix Linux build bustage by including nsIDOMCharacterData.h. 1999-06-30 00:52:25 +00:00
cmanske%netscape.com 2ed387d0fa Fixed setting HLine height problems 1999-06-29 21:17:04 +00:00
tague%netscape.com 49953dbf81 Fixed conditional problem on Unix. 1999-06-29 21:12:43 +00:00
scc%netscape.com 54c96baa72 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00