1366 Commits

Author SHA1 Message Date
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
jfrancis%netscape.com
dfe90b74d6 fix for 166524: forward delete key changes line order.
r=brade
sr=kin
a=asa


git-svn-id: svn://10.0.0.236/trunk@128943 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 04:27:06 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
jfrancis%netscape.com
7c2c2a1ee3 fix for 129763: edit this page and delete Personals section causes stray bullet r=glazman; sr=kin
git-svn-id: svn://10.0.0.236/trunk@128696 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 07:36:44 +00:00
jfrancis%netscape.com
09d3e8e707 fix for 161106: rewrite of deletion in editor. fixes various deletion probs. r=glazman; sr=kin
git-svn-id: svn://10.0.0.236/trunk@128444 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 07:49:31 +00:00
alecf%netscape.com
e3b2da9c83 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@128163 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:20:34 +00:00
mjudge%netscape.com
2f5c006a1d 4302 r=jfrancis sr=kin. pageup/down bug with navigation.
git-svn-id: svn://10.0.0.236/trunk@128157 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:55:30 +00:00
alecf%netscape.com
f0e3bbb854 ok, re-checking in bug 156567 because it did not affect startup time
git-svn-id: svn://10.0.0.236/trunk@128153 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:38:52 +00:00
alecf%netscape.com
b14dfc8e9b try backing out just the build-side changes to from bug 156567 to see if I caused the startup regression
git-svn-id: svn://10.0.0.236/trunk@128134 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 18:58:09 +00:00
jfrancis%netscape.com
62d2e71794 fix for 129763: edit this page and delete Personals section causes stray bullet
r=glazman; sr=kin


git-svn-id: svn://10.0.0.236/trunk@127966 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 18:14:30 +00:00
jfrancis%netscape.com
531d4ce862 fixes for:
159924:  table split up when applying paragraph style to select all
161723: backspace through list item when at beginning of document
r=glazman; sr=kin


git-svn-id: svn://10.0.0.236/trunk@127964 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 18:11:25 +00:00
jfrancis%netscape.com
c5067db88b fix for 159392: Composer add <br> to end everytime it opens a file.
r=brade; sr=kin


git-svn-id: svn://10.0.0.236/trunk@127961 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 17:57:51 +00:00
glazman%netscape.com
ff72c25261 Composer was unable to set upper-roman style to a list because it was erroneously lowercasing the html TYPE attribute; b=145311, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@127929 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 09:24:47 +00:00
alecf%netscape.com
213339e021 for bug 157567
combine txtsvc into libeditor - no need for seperate dlls
r=akkana, sr=kin


git-svn-id: svn://10.0.0.236/trunk@127885 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-22 22:08:36 +00:00
glazman%netscape.com
00757df453 Take advantage of fix for bug 60683 (thanks bz) in ChangeCSSInlineStyleTxn and then reduce a lot the size of the transaction, keeping only property values instead of a whole style attribute ; major memory impact in CSS mode; b=162473, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@127697 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 11:28:57 +00:00
seawood%netscape.com
829192b1b5 Removing unused _NS_IMPL_LAYOUT define.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162308 r=cls


git-svn-id: svn://10.0.0.236/trunk@127350 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 05:39:40 +00:00
glazman%netscape.com
1bb26c5aaa fixing crash in Composer when head sub-elements are displayed; b=162062, r=brade, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127147 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 10:01:52 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
brade%netscape.com
b812450ad0 call preventdefault for keypresses we insert (r=akkana, sr=sfraser) bug 158672 (and others)
git-svn-id: svn://10.0.0.236/trunk@126673 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 14:45:08 +00:00
akkana%netscape.com
b42d30d9d7 122992: remove a few more editorshell dependencies. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@126558 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 00:06:41 +00:00
akkana%netscape.com
06192e5146 118883: Fix a leak of nsHTMLCSSUtils. r=glazman sr=kin
git-svn-id: svn://10.0.0.236/trunk@126557 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 00:02:10 +00:00
akkana%netscape.com
8ffd323745 Bug 137253: don't break long words (like urls) during rewrap. r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@126553 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:54:19 +00:00
alecf%netscape.com
573e11653f bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
alecf%netscape.com
7e8aa74093 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@125791 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 18:31:10 +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
akkana%netscape.com
edb0a778de 126312: Remove the obsolete old find code. r=brade, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@124870 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 20:24:37 +00:00
jfrancis%netscape.com
86a10335a7 fix for 155629: deletion horked: cant delete br nodes. r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@124659 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 01:12:49 +00:00
jfrancis%netscape.com
c54d33f095 updating 83378 work with the correct patch this time
git-svn-id: svn://10.0.0.236/trunk@124363 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-30 02:52:56 +00:00
dbaron%fas.harvard.edu
7e821aaa94 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
kin%netscape.com
5817b5739c Fix for bug 152435 (Memory leak of 36 bytes from 1 block allocated in TypeInState::ClearProp)
Call Reset() in ~TypeInState() to release any data that may be in mClearedArray and mSetArray.

r=jfrancis@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@123932 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:02:25 +00:00
glazman%netscape.com
0aa2a089cd nsHTMLEditor::GetInlinePropertyBase() was not detecting when the selection ends before first char of a text node; b=128401, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@123498 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 09:20:07 +00:00
cmanske%netscape.com
3404165b95 Fixed crash when inserting column in table, b=152320, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@123450 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-17 20:40:47 +00:00
akkana%netscape.com
8c220f972c 145727: use nsString.FindChar, clean up conflicting string usages. Patch from skamio@netscape.net (Shotaro Kamio), r=akkana, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@123355 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 22:10:56 +00:00
kin%netscape.com
fa152a3def Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

    - Added aIsSynchronous arg to the ScrollSelectionIntoView()
      method of nsISelectionController and nsIFrameSelection.
      Updated all callers to pass new arg.

    - Modified selection to post a plevent to call which does the
      call to ScrollIntoView() in the async ScrollIntoView() case.

    - Edits in text widgets now use asynchronous reflow, paint,
      and scroll processing full time.

    - Removed redundant ScrollSelectionIntoView() calls in the
      editor event listeners.

    - Editor IME code now forced to flush reflows and paints before
      getting caret coordinates.

r=jfrancis@netscape.com  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@123236 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:35:12 +00:00
jfrancis%netscape.com
97060bb3df bug 83378: plaintext mail reply editong problem in quotes
git-svn-id: svn://10.0.0.236/trunk@123153 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 14:12:32 +00:00
jfrancis%netscape.com
ec1f2825a3 bug 146164: removing style can remove too much. r=glazman, sr=kin
git-svn-id: svn://10.0.0.236/trunk@123151 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 14:04:47 +00:00
akkana%netscape.com
ac744a4bf8 132352: Use the parser service for blockness detection. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@123066 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:43:49 +00:00
alecf%netscape.com
6ebda75c34 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
jfrancis%netscape.com
d370191df3 fixing 136165: crash after deleting styled text. r=cmanske sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@122099 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 22:05:35 +00:00
jfrancis%netscape.com
90c6f46b66 fix for 144787: multiple breaks inserted on return. r=fm;sr=kin
git-svn-id: svn://10.0.0.236/trunk@121731 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 02:44:55 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
jfrancis%netscape.com
7051a47928 fix for 108035: making a list out of several divs gave bad results sr=kin r=brade
git-svn-id: svn://10.0.0.236/trunk@121425 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:35:57 +00:00
jfrancis%netscape.com
64b7f510fc fix for 112167: pasting list items cal leave selection between items. Also allows you to type after pasted link without being in link. sr=kin r=fm
git-svn-id: svn://10.0.0.236/trunk@121418 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:05:37 +00:00
pinkerton%netscape.com
cdb4fe925b don't register image/jpeg, it only gets in the way of other things we do
support. r=brade/sr=alecf. bug# 69566


git-svn-id: svn://10.0.0.236/trunk@120462 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:02:54 +00:00
kin%netscape.com
68d79e4f6b Fix for bug 125345 (Font attributes disappear when you double click editor window)
Modified TypeInState::NotifySelectionChanged() to work around
bogus selection changed notifications (bug 140303). We now
call reset when the collapsed selection changes position, or
becomes uncollapsed.

  mozilla/editor/libeditor/html/TypeInState.cpp
  mozilla/editor/libeditor/html/TypeInState.h

r=jfrancis@netscape.com  sr=attinasi@netscape.com


git-svn-id: svn://10.0.0.236/trunk@120323 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 20:59:43 +00:00
alecf%netscape.com
61312b4eeb fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin


git-svn-id: svn://10.0.0.236/trunk@120220 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:29:54 +00:00
glazman%netscape.com
569c41821a weird crasher in |nsHTMLCSSUtils::GetElementContainerOrSelf|
b=138003, r=jfrancis, sr=kin


git-svn-id: svn://10.0.0.236/trunk@120187 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 10:13:23 +00:00
jaggernaut%netscape.com
fe68e4711d Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux.
git-svn-id: svn://10.0.0.236/trunk@119450 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:48:32 +00:00
jfrancis%netscape.com
9611b56ac2 more 136944: fixing typos in original patch. r=Aleksey Nogin, sr=kin. Thanks to Aleksey Nogin for catching these.
git-svn-id: svn://10.0.0.236/trunk@119382 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 07:43:19 +00:00
joki%netscape.com
568563a1cc Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.


git-svn-id: svn://10.0.0.236/trunk@119346 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:52:01 +00:00