Commit Graph
45 Commits
Author SHA1 Message Date
pollmann@netscape.com 708f804d96 Nuke some warnings. 1999-09-14 01:15:33 +00:00
buster@netscape.com 1901197140 fixed an uninitialized variabled error. the result code in Reflow is
now initialized to NS_OK, because it's not used in all reflow paths.
1999-09-13 03:15:23 +00:00
buster@netscape.com 4a971089ef workaround needed as a result of hyatt's change to frame construction code and attribute notification. 1999-09-09 19:45:32 +00:00
hyatt@netscape.com 3261b63db6 Landing AttributeChanged alteration. AttributeChanged now fires even when the
style hint is REFLOW or VISUAL (and not just CONTENT).
1999-09-08 03:51:41 +00:00
rods@netscape.com dbaee656fc Fills in background color webshell gets centered and the size is large then the minium 1999-09-04 13:34:40 +00:00
rods@netscape.com 4bcdf5a1a9 it now does its own reflow in Quirks mode and paint its own border in Quirks mode
(the size of the native border from look and feel)
1999-09-03 14:50:23 +00:00
buster@netscape.com 36bf4f51fb fixed wrapping issues. dogfood bug 8984 1999-09-02 20:46:53 +00:00
kipp@netscape.com 0d0c583aac Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
buster@netscape.com 07aab88b9c clean up: better error handling and minor performance fixes 1999-08-30 22:14:44 +00:00
rods@netscape.com 3eb8eb48b3 Changed the view's widget create so it doesn't register D&D 1999-08-27 14:40:14 +00:00
akkana@netscape.com c359aafe41 Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
buster@netscape.com c9dbbd94da better use of the editor wrapping APIs
better initial placement of the caret in text controls
1999-08-24 13:52:45 +00:00
buster@netscape.com c4f94a46bd preliminary support for text area wrap
install text control's event listeners ahead of the editor's own default listeners.
1999-08-23 06:46:08 +00:00
rods@netscape.com 2a002c58d9 Now takes into account suggested size in the size calculation 1999-08-19 14:07:05 +00:00
buster@netscape.com c8699c63f1 added the ability to set content in a readonly or disabled control via DOM.
fixed some error checking
1999-08-19 13:43:33 +00:00
buster@netscape.com f3f616feea added KeyPress event propogation. This makes the editor image dialog work much better.
as part of this, I moved when I install event propogation listeners in the gfx text control frame.  nobody will notice
the difference, except keyPress notifications will work correctly.
1999-08-10 02:58:07 +00:00
buster@netscape.com 4b84148f6b enabled onSelect notifications 1999-08-09 20:10:59 +00:00
buster@netscape.com bcee5c1ab1 trivial fix to make sure we're storing an nsIHTMLEditor result in an
nsCOMPtr<nsIHTMLEditor> variable.
1999-08-09 19:37:18 +00:00
buster@netscape.com deee5eebae brought init code up to date with recent editor API changes. 1999-08-09 17:41:55 +00:00
sfraser@netscape.com c6f406e9fe Synch up with editor API changes. 1999-08-09 01:43:00 +00:00
joki@netscape.com 29600305de Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
buster@netscape.com bac8136765 style now gets propogated from text control frame to embedded webshell more correctly 1999-08-07 05:42:13 +00:00
ramiro@netscape.com bca5f7054f Backout my last changes to fix the mac and window builds. 1999-08-06 08:21:41 +00:00
ramiro@netscape.com 4e36b706ef Get the Inherited superclasses right. Suggested and reviewed by pierre. 1999-08-06 07:40:26 +00:00
ramiro@netscape.com a632421767 Fix gcc 2.7 bustage. It smells a lot like a bug in gcc. It was having
trouble dealing with the Inherited typedef in the class declaration.
I replaced |Inherited| with the real thing Inherited was aliasing and all is
ok.  Pierre code reviewed.
1999-08-06 07:14:43 +00:00
pierre@netscape.com 9e5067f4cd breaking up gfx & native widgets 1999-08-06 05:11:39 +00:00
buster@netscape.com 6c71f3d6a0 events are now propogated from the editor out to the containing document, as per Javascript/DOM spec.
onSelect doesn't work yet, I'm not sending the right event message yet.
1999-08-02 14:00:41 +00:00
buster@netscape.com 64b3f9db09 With this checkin, ender-based gfx rendered text controls now work properly both as HTML text controls and XUL text fields.
GFX text controls are not enabled by default.  The primary goal of the next few days is to stabilize the tree, so I thought it would be inappropriate to enable the new
feature by default. But you can still set your nglayout.widget.mode pref to enable them.

Here's what I did:
1) backed out a small part of Simon & Kin's fix to nsGFXTextControlFrame that was mistakenly setting up the text control's webshell as a frame.  It still (correctly)
isn't doing that, but it does not set the webshell's prefs from the outer webshell.
2) for output, I now ask for format="text/plain" rather than "text/html", since (for now) these are all plain text edit controls.  Soon, this will depend on the type of
edit control
3) fixed some ownership issues between the frame, the editor, and the subdocument being edited.  This fixes an assertion on dialog destruction if the dialog included
a GFX-rendered text widget, and some memory leaks.
4) set up DOM key listeners on the editor to propogate events from the editor to the parent document, so things like form submission on Enter, and onKeyUp
handlers work.  More work is needed here for other kinds of events.
1999-07-25 18:04:51 +00:00
morse@netscape.com 42c990a692 Remove wallet from layout 1999-07-24 01:39:58 +00:00
sfraser@netscape.com 414ee295f1 Fix for GFX ender text widgets; don't parent nsIWebShells that the text widget creates, because you don't want them to interfere with window.frames[]. 1999-07-22 23:48:48 +00:00
pollmann@netscape.com 47c267cb29 Bug 5403: Release services properly 1999-07-22 18:10:10 +00:00
mjudge@netscape.com 8e4c13fcd1 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
mjudge@netscape.com 3a1fd2bce3 checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection 1999-07-15 18:19:03 +00:00
akkana@netscape.com 3fd1dc7c68 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
warren@netscape.com 489c1d2df9 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
warren@netscape.com 1496c3eec1 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
sfraser@netscape.com e701e1d6e0 Call the Output routines with a new param for selection only. 1999-06-29 20:14:58 +00:00
buster@netscape.com c9e8e1f094 GFX text controls now hanlde max length, and max length set via DOM
GFX text controls now handle readonly and disabled states set via DOM
1999-06-28 13:48:38 +00:00
warren@netscape.com 6e21b88cd3 More necko changes. 1999-06-25 01:53:22 +00:00
buster@netscape.com b8f4e5ea21 fixed build bustage, forgo using nsCOMPtr on views, they can't be ref counted! 1999-06-24 23:49:03 +00:00
buster@netscape.com c19b1ddc21 attempt to fix mac build 1999-06-24 23:32:03 +00:00
buster@netscape.com c8f5676645 fixed problem that scrollbars would appear on single-line text controls
fixed API masking problem, thanks Simon!
1999-06-24 22:42:50 +00:00
warren@netscape.com 753ac43fff Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
jdunn@netscape.com f7f53d28bb HP requires a Newline at end of file 1999-06-15 23:32:44 +00:00
buster@netscape.com d278fc67a4 added support for Ender GFX-rendered text control
made nsTextControlFrame an abstract base class for nsGfxTextControlFrame and
nsNativeTextControlFrame
1999-06-12 22:29:54 +00:00