48 Commits

Author SHA1 Message Date
neil%parkwaycc.co.uk
998c53a562 Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]


git-svn-id: svn://10.0.0.236/trunk@229689 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 08:46:49 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
mozilla.mano%sent.com
4f5fe9c938 Bug 279416 - Implement a controller for cmd_switchTextDirection. r=brade sr=neil (for editor/) r=smontagu sr=neil (for xpfe/) r=mconnor (for browser/)
git-svn-id: svn://10.0.0.236/trunk@168336 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-26 01:40:30 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
brade%netscape.com
74dd1c5ca9 code cleanup; r=timeless, sr=kin, bug=209548
git-svn-id: svn://10.0.0.236/trunk@144271 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 14:57:59 +00:00
brade%netscape.com
78e10f063e cmd_clearUndo implementation; r/sr=smfr a=sspitzer bug 195506
git-svn-id: svn://10.0.0.236/trunk@142272 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 18:21:00 +00:00
sfraser%netscape.com
4a0df27c9c Fix bug 201257 -- clean up use of nsIControllerCommandManager by editor:
Renaming nsIControllerCommandManager to nsIControllerCommandTable to reduce confusion.
Moving the immutability flag from the nsBaseCommandController to the nsControllerCommandTable.
Renaming the 'refcon' on nsIControllerContext to 'context', and giving nsIControllerContext an Init() method that optionally takes a command table.
Fixing the editor and composer module code to create pre-filled nsIControllerCommandTables as services, and the controller constructors to create singleton command tables with do_GetService.
r=brade, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@140988 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 18:44:03 +00:00
cmanske%netscape.com
d6cc98279b Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@133703 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 23:03:27 +00:00
brade%netscape.com
bcf7afd202 api changes (bug 157097, r=cmanske, sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@129377 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 19:09:19 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
mjudge%netscape.com
2210006d15 r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled.
git-svn-id: svn://10.0.0.236/trunk@125242 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 22:04:13 +00:00
dbaron%fas.harvard.edu
7e18e96015 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117344 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:16:54 +00:00
mjudge%netscape.com
40f7d1b02e 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work.
git-svn-id: svn://10.0.0.236/trunk@113507 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 05:13:56 +00:00
brade%netscape.com
f308140176 remove unused method (bug 115115; sr=smfr, r=cmanske)
git-svn-id: svn://10.0.0.236/trunk@111302 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 15:37:11 +00:00
gerv%gerv.net
3821428085 License changes, take 2. Bug 98089. mozilla/editor/.
git-svn-id: svn://10.0.0.236/trunk@103757 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:53:13 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
akkana%netscape.com
02dbe54c0d 66345: Factoring necessary for editor reorganization. sr=kin/sfraser, r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@91511 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 23:48:01 +00:00
sfraser%netscape.com
55a3a4f35d Fix for 74143, change nsIController to use DOMStrings. sr=hyatt, r=kin
git-svn-id: svn://10.0.0.236/trunk@91375 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 23:48:03 +00:00
waterson%netscape.com
072b4036bc Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@87623 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 03:01:34 +00:00
akkana%netscape.com
286762ff55 25779: Add/improve alternate windows cut/copy/paste key bindings: r=brade sr=sfraser.
68747: Remove redundant code in nsHTMLEditor. sr=sfraser.


git-svn-id: svn://10.0.0.236/trunk@87136 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:51:25 +00:00
cmanske%netscape.com
fdd20299b1 Removed redundant registering of command causing JS warning, r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84352 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 01:10:40 +00:00
mjudge%netscape.com
2fc6190bef 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
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
cmanske%netscape.com
54a0de7538 Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
git-svn-id: svn://10.0.0.236/trunk@76920 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:29:24 +00:00
anthonyd%netscape.com
81c7739c51 checkins for Hurricane
translation of all C++ functions to JS which included SaveDocument
which eventually will allow for the completeion of autosave
r: brade, anthonyd
a: waterson, cmanske


git-svn-id: svn://10.0.0.236/trunk@75726 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 21:12:18 +00:00
brade%netscape.com
bf018ca524 add missing move/selection command (cmd_selectBottom); bug #22529
git-svn-id: svn://10.0.0.236/trunk@75060 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 10:53:27 +00:00
brade%netscape.com
b1e26e8f35 remove registration of save and saveas commands (now handled in JS); submitted by rcassin@supernova.org (bug #16360)
git-svn-id: svn://10.0.0.236/trunk@75050 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 10:14:22 +00:00
cmanske%netscape.com
7d50f98cd8 Fixed list command problems: bug 41735, r=brade
git-svn-id: svn://10.0.0.236/trunk@72383 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:21:46 +00:00
sfraser%netscape.com
f7448c53e6 Belt-and-braces check for bug 42145; check for null args. r=akkana
git-svn-id: svn://10.0.0.236/trunk@72347 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 06:06:55 +00:00
cmanske%netscape.com
4d9e22e63c Fix for 41034 - new list submenu command support for doing DL lists. r=sfraser, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71542 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 20:26:40 +00:00
jfrancis%netscape.com
ed99ef899d fixes:
14753, 29843, 39864, 40141, 
40139, 36679, 39542, 34729, 
34855, 37216, 39292, 26447

r=sfraser,cmanske,fm; a=beppe


git-svn-id: svn://10.0.0.236/trunk@70759 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:00:24 +00:00
cmanske%netscape.com
6eede096f5 Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@68913 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:03:41 +00:00
sfraser%netscape.com
ce149a6b13 Big command tidyup. Make the distinction between editor and composer command clearer, and remove vestiges of the old singleton composer command manager. Also tidy up command node state attribute code.
git-svn-id: svn://10.0.0.236/trunk@68459 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:20:21 +00:00
sfraser%netscape.com
e1c3f451ab Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions.
git-svn-id: svn://10.0.0.236/trunk@67740 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:49:52 +00:00
mjudge%netscape.com
24b8f29c46 ender lite checkin.
git-svn-id: svn://10.0.0.236/trunk@67387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:37:12 +00:00
scc%netscape.com
4f0c5e3591 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66273 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 07:44:58 +00:00
sfraser%netscape.com
648cb7d34b No need to #include nsIGfxTextControlFrame.h any more.
git-svn-id: svn://10.0.0.236/trunk@65767 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:49:52 +00:00
scc%netscape.com
99d2180703 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64174 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 11:39:08 +00:00
akkana%netscape.com
03a096bec2 Warning fix -- remove unused variable
git-svn-id: svn://10.0.0.236/trunk@63237 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 02:10:55 +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
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
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
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
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
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