43 Commits

Author SHA1 Message Date
buster%netscape.com
c0e7040977 workaround needed as a result of hyatt's change to frame construction code and attribute notification.
git-svn-id: svn://10.0.0.236/trunk@46606 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 19:45:32 +00:00
hyatt%netscape.com
1433b9452c Landing AttributeChanged alteration. AttributeChanged now fires even when the
style hint is REFLOW or VISUAL (and not just CONTENT).


git-svn-id: svn://10.0.0.236/trunk@46290 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:51:41 +00:00
rods%netscape.com
3de715c8ad Fills in background color webshell gets centered and the size is large then the minium
git-svn-id: svn://10.0.0.236/trunk@46004 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 13:34:40 +00:00
rods%netscape.com
fcf49d01c5 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)


git-svn-id: svn://10.0.0.236/trunk@45897 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:50:23 +00:00
buster%netscape.com
5055763304 fixed wrapping issues. dogfood bug 8984
git-svn-id: svn://10.0.0.236/trunk@45725 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 20:46:53 +00:00
kipp%netscape.com
eea3ab916a Updated SizeOf methods to not waste space when doing a non-debug build
git-svn-id: svn://10.0.0.236/trunk@45397 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:02:16 +00:00
buster%netscape.com
30737aca1f clean up: better error handling and minor performance fixes
git-svn-id: svn://10.0.0.236/trunk@45199 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:14:44 +00:00
rods%netscape.com
d3328c416d Changed the view's widget create so it doesn't register D&D
git-svn-id: svn://10.0.0.236/trunk@44841 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:40:14 +00:00
akkana%netscape.com
131d318ad4 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.


git-svn-id: svn://10.0.0.236/trunk@44308 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:30:19 +00:00
buster%netscape.com
bc5e5ff015 better use of the editor wrapping APIs
better initial placement of the caret in text controls


git-svn-id: svn://10.0.0.236/trunk@44287 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 13:52:45 +00:00
buster%netscape.com
d73d1687de preliminary support for text area wrap
install text control's event listeners ahead of the editor's own default listeners.


git-svn-id: svn://10.0.0.236/trunk@44122 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 06:46:08 +00:00
rods%netscape.com
2bb86ad135 Now takes into account suggested size in the size calculation
git-svn-id: svn://10.0.0.236/trunk@43597 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:07:05 +00:00
buster%netscape.com
4b7d68686a added the ability to set content in a readonly or disabled control via DOM.
fixed some error checking


git-svn-id: svn://10.0.0.236/trunk@43592 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 13:43:33 +00:00
buster%netscape.com
d74b7462e5 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.


git-svn-id: svn://10.0.0.236/trunk@42899 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 02:58:07 +00:00
buster%netscape.com
4a03d700c6 enabled onSelect notifications
git-svn-id: svn://10.0.0.236/trunk@42795 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 20:10:59 +00:00
buster%netscape.com
89f5e5cec1 trivial fix to make sure we're storing an nsIHTMLEditor result in an
nsCOMPtr<nsIHTMLEditor> variable.


git-svn-id: svn://10.0.0.236/trunk@42785 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 19:37:18 +00:00
buster%netscape.com
38375a8918 brought init code up to date with recent editor API changes.
git-svn-id: svn://10.0.0.236/trunk@42761 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 17:41:55 +00:00
sfraser%netscape.com
22f74dda79 Synch up with editor API changes.
git-svn-id: svn://10.0.0.236/trunk@42727 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 01:43:00 +00:00
joki%netscape.com
25eb777ec4 Adding new onselect event. Also slight modification to ender text widget focus behavior
git-svn-id: svn://10.0.0.236/trunk@42676 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 23:18:35 +00:00
buster%netscape.com
76b2185c50 style now gets propogated from text control frame to embedded webshell more correctly
git-svn-id: svn://10.0.0.236/trunk@42645 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 05:42:13 +00:00
ramiro%netscape.com
070499ff84 Backout my last changes to fix the mac and window builds.
git-svn-id: svn://10.0.0.236/trunk@42426 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 08:21:41 +00:00
ramiro%netscape.com
5e908b8af2 Get the Inherited superclasses right. Suggested and reviewed by pierre.
git-svn-id: svn://10.0.0.236/trunk@42415 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 07:40:26 +00:00
ramiro%netscape.com
6537159c2b 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.


git-svn-id: svn://10.0.0.236/trunk@42413 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 07:14:43 +00:00
pierre%netscape.com
6a1d462764 breaking up gfx & native widgets
git-svn-id: svn://10.0.0.236/trunk@42404 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 05:11:39 +00:00
buster%netscape.com
feecb3623b 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.


git-svn-id: svn://10.0.0.236/trunk@41822 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 14:00:41 +00:00
buster%netscape.com
e7c1159441 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.


git-svn-id: svn://10.0.0.236/trunk@41055 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 18:04:51 +00:00
morse%netscape.com
05e0844b4a Remove wallet from layout
git-svn-id: svn://10.0.0.236/trunk@40944 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 01:39:58 +00:00
sfraser%netscape.com
1e6d3a3340 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[].
git-svn-id: svn://10.0.0.236/trunk@40743 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 23:48:48 +00:00
pollmann%netscape.com
464c15169e Bug 5403: Release services properly
git-svn-id: svn://10.0.0.236/trunk@40670 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 18:10:10 +00:00
mjudge%netscape.com
329d39ba11 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.
git-svn-id: svn://10.0.0.236/trunk@39971 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:27:19 +00:00
mjudge%netscape.com
f9575d1f61 checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection
git-svn-id: svn://10.0.0.236/trunk@39541 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 18:19:03 +00:00
akkana%netscape.com
a878369d02 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.


git-svn-id: svn://10.0.0.236/trunk@39332 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 18:54:29 +00:00
warren%netscape.com
f165677628 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
git-svn-id: svn://10.0.0.236/trunk@38659 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 08:08:40 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
sfraser%netscape.com
20ffc454a0 Call the Output routines with a new param for selection only.
git-svn-id: svn://10.0.0.236/trunk@37426 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:14:58 +00:00
buster%netscape.com
51fd5f2d7e 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


git-svn-id: svn://10.0.0.236/trunk@37180 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 13:48:38 +00:00
warren%netscape.com
411f68d823 More necko changes.
git-svn-id: svn://10.0.0.236/trunk@36817 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 01:53:22 +00:00
buster%netscape.com
e2789e8e0d fixed build bustage, forgo using nsCOMPtr on views, they can't be ref counted!
git-svn-id: svn://10.0.0.236/trunk@36769 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 23:49:03 +00:00
buster%netscape.com
d1580b351a attempt to fix mac build
git-svn-id: svn://10.0.0.236/trunk@36762 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 23:32:03 +00:00
buster%netscape.com
b6ddc33395 fixed problem that scrollbars would appear on single-line text controls
fixed API masking problem, thanks Simon!


git-svn-id: svn://10.0.0.236/trunk@36752 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 22:42:50 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
jdunn%netscape.com
b9b1d37baa HP requires a Newline at end of file
git-svn-id: svn://10.0.0.236/trunk@35528 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:32:44 +00:00
buster%netscape.com
cf0489fb83 added support for Ender GFX-rendered text control
made nsTextControlFrame an abstract base class for nsGfxTextControlFrame and
nsNativeTextControlFrame


git-svn-id: svn://10.0.0.236/trunk@35041 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:29:54 +00:00