hyatt%netscape.com
2bd2fc024d
Fixing the content model structure and correcting a drawing error
...
in the tree view.
git-svn-id: svn://10.0.0.236/trunk@16276 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:01:09 +00:00
pinkerton%netscape.com
7e05adc4f3
Explanation of why this file is obsolete but still in the tree.
...
git-svn-id: svn://10.0.0.236/trunk@16260 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:39:29 +00:00
pinkerton%netscape.com
5bfa89ff0f
use NS_STATIC_CAST.
...
git-svn-id: svn://10.0.0.236/trunk@16258 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:35:48 +00:00
pinkerton%netscape.com
1fc8a6851a
fix a cast with the tree view because nsITreeView doesn't exist anymore.
...
git-svn-id: svn://10.0.0.236/trunk@16257 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:35:33 +00:00
pinkerton%netscape.com
8787f20110
make tree view implement nsIContentConnector, obsoleting nsITreeView
...
git-svn-id: svn://10.0.0.236/trunk@16256 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:35:08 +00:00
pinkerton%netscape.com
e389e79aad
Make toolbar manager implement nsIContentConnector and prepare for nsIToolbarManager to go away.
...
git-svn-id: svn://10.0.0.236/trunk@16255 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:34:46 +00:00
pinkerton%netscape.com
4025e77255
Make toolbar implement nsIContentConnector and prepare for nsIToolbar to go away.
...
git-svn-id: svn://10.0.0.236/trunk@16254 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:34:25 +00:00
pinkerton%netscape.com
657877c4c1
Export nsIContentConnector.h instead of nsITreeView.h
...
git-svn-id: svn://10.0.0.236/trunk@16253 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:33:40 +00:00
pinkerton%netscape.com
31b61316a8
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@16252 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:32:39 +00:00
dcone%netscape.com
2cd6154e04
minor fix for the printers port
...
git-svn-id: svn://10.0.0.236/trunk@16251 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:09:28 +00:00
dcone%netscape.com
a1329a49b0
Fixed it so that a control handle is not made unless a valid windowptr is passed in. This is needed for the printer port.
...
git-svn-id: svn://10.0.0.236/trunk@16249 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:05:54 +00:00
dcone%netscape.com
2ba4d4bfa5
Update routines for creating a rendering context, and fixed the printer routines.
...
git-svn-id: svn://10.0.0.236/trunk@16247 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:03:10 +00:00
pierre%netscape.com
3b32ebb46e
Fixed Resize() and Invalidate() to make xpfe apps much faster
...
git-svn-id: svn://10.0.0.236/trunk@16195 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:11:23 +00:00
waterson%netscape.com
7934068503
Made sure to treat attribute value case-insenstively. Fixed QueryInterface() call.
...
git-svn-id: svn://10.0.0.236/trunk@16142 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 10:06:37 +00:00
waterson%netscape.com
f2f124c46b
Changed assumptions about where to find column info in the content model: specifically, removed the explicit <column> group required for every item. Hyatt, we'll need to talk about this.
...
git-svn-id: svn://10.0.0.236/trunk@16141 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 10:05:32 +00:00
waterson%netscape.com
bed6ef42c2
Iterate through children of the <COLUMNS> node, not the original node.
...
git-svn-id: svn://10.0.0.236/trunk@16133 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:31:52 +00:00
waterson%netscape.com
acc6954db5
Make sure to get the children of the <CHILDREN> node, not the original node.
...
git-svn-id: svn://10.0.0.236/trunk@16132 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:30:59 +00:00
waterson%netscape.com
ea4b313af5
Make sure to addref the content node in the constructor.
...
git-svn-id: svn://10.0.0.236/trunk@16131 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:30:18 +00:00
sfraser%netscape.com
e86e6a6910
Convert AppleSingle->binary format.
...
git-svn-id: svn://10.0.0.236/trunk@16118 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:22:27 +00:00
hyatt%netscape.com
e08a99eb10
Nodes now track their correct indentation levels (from the content model).
...
git-svn-id: svn://10.0.0.236/trunk@16108 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:21:44 +00:00
hyatt%netscape.com
4e2228aac7
Columns are now grabbed from the content model.
...
git-svn-id: svn://10.0.0.236/trunk@16100 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:08:32 +00:00
hyatt%netscape.com
58afbb9b75
My previous checkin is going to break Linux. This checkin should fix the
...
build bustage.
git-svn-id: svn://10.0.0.236/trunk@16093 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:50:27 +00:00
hyatt%netscape.com
c7cb6abc3b
Modifications to make the tree widget talk to nsIContent.
...
git-svn-id: svn://10.0.0.236/trunk@16084 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:57:15 +00:00
hyatt%netscape.com
b348c5d2bc
Modified the tree view interface so a content root can be set.
...
git-svn-id: svn://10.0.0.236/trunk@16082 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:56:55 +00:00
ramiro%netscape.com
3a5245952b
Fix bugzilla bug 1822.
...
Memory clobber on 64-bit host.
Thanks to rth@cygnus.com for catching this and providing a fix.
git-svn-id: svn://10.0.0.236/trunk@16055 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 15:13:42 +00:00
pierre%netscape.com
c43e0c95ac
Implemented scrollbars as native controls. Still some bugs, should have live-scrolling, should be proportionnal under 8.5.
...
git-svn-id: svn://10.0.0.236/trunk@16054 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 13:26:49 +00:00
pierre%netscape.com
fbec6c5006
don't draw when not visible
...
git-svn-id: svn://10.0.0.236/trunk@16053 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 13:24:26 +00:00
pierre%netscape.com
e23f728ea6
redraw on Scroll()
...
git-svn-id: svn://10.0.0.236/trunk@16052 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 13:24:09 +00:00
pierre%netscape.com
ea8b8fc593
removed saari's hacks
...
git-svn-id: svn://10.0.0.236/trunk@16050 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:18:50 +00:00
pierre%netscape.com
1a05cbde32
A bunch of changes: removed saari's hacks, fixed origins, clipping, resize and update
...
git-svn-id: svn://10.0.0.236/trunk@16049 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:18:30 +00:00
pierre%netscape.com
c8c24c8ec4
don't draw when not visible and don't draw in SetThumbSize() in order to fix a flicker of the horizontal sbar on resize when the text fits into the page
...
git-svn-id: svn://10.0.0.236/trunk@16048 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:18:03 +00:00
pierre%netscape.com
aab0e25c0f
Fixed the "GrowWindow" from DRAW_ON_RESIZE in order to have a minimum window size (Viewer and maybe XPViewer don't support very narrow windows). Added a WaitNextEvent for update events during the DRAW_ON_RESIZE after having fixed a related bug in nsWindow.
...
git-svn-id: svn://10.0.0.236/trunk@16045 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:16:35 +00:00
pierre%netscape.com
0b48a12c5b
Removed the last of the Mac specific hacks added last week
...
git-svn-id: svn://10.0.0.236/trunk@16044 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:16:15 +00:00
pierre%netscape.com
2883145fe2
Use a better looking font on the Mac
...
git-svn-id: svn://10.0.0.236/trunk@16042 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:15:22 +00:00
pierre%netscape.com
30222ada44
Removed some include files
...
git-svn-id: svn://10.0.0.236/trunk@16041 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:14:46 +00:00
ramiro%netscape.com
f097a21a0c
widget/tests/scribble/Makefile.in:
...
- Link with -lpwcac -ldbm on all platforms, not just Linux, FreeBSD, and
SunOS.
- Correct linking order: $(PNG_LIBS) needs to be after -limg.
widget/tests/scribble/main.cpp
- Declare extern "C" for the XP_ReBuffer stub.
- Declare main to return int because it does return a value.
Thanks to wtc@netscape.com (Wan-Teh Chang) for the fix.
git-svn-id: svn://10.0.0.236/trunk@15910 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 06:51:26 +00:00
msw%gimp.org
ed6c31de48
Resizing works again, but resizes seem behind by one step.
...
git-svn-id: svn://10.0.0.236/trunk@15906 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 05:08:00 +00:00
pierre%netscape.com
65003d55c3
removed the NS_NATIVE_OFFSET_IN_PORT hacks
...
git-svn-id: svn://10.0.0.236/trunk@15899 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:37:15 +00:00
beard%netscape.com
03f544c401
Implemented SetTitle using nsString::ToCString. Will need to revisit when UNICODE window titles are supported.
...
git-svn-id: svn://10.0.0.236/trunk@15897 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:08:07 +00:00
pavlov%pavlov.net
d1163274af
remove all references to TRUE and FALSE and replace them with PR_TRUE and
...
PR_FALSE (for consistancy) fix nsTextAreaWidget so that it doesn't default to ReadOnly
git-svn-id: svn://10.0.0.236/trunk@15887 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 15:56:43 +00:00
pavlov%pavlov.net
fda7f9ae59
indent these files so they conform to the style and fix read only and password
...
fields.
git-svn-id: svn://10.0.0.236/trunk@15886 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 15:42:28 +00:00
pavlov%pavlov.net
9d0eeb338f
build TextWidget's correctly.
...
git-svn-id: svn://10.0.0.236/trunk@15885 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 15:40:48 +00:00
pavlov%pavlov.net
4d6ee6e898
removed unused variables (this one compiles) in nsTextAreaWidget.[ch]
...
commented out size_allocate in nsWindow.cpp as this doesn't appear to be
needed any more
git-svn-id: svn://10.0.0.236/trunk@15884 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 14:32:20 +00:00
wtc%netscape.com
00941fcdb7
In nsMenu::GetNativeParent, use the GTK_WIDGET macro (defined in
...
<gtk/gtkwidget.h>) to convert (void *) to (GtkWidget *).
git-svn-id: svn://10.0.0.236/trunk@15883 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 07:08:33 +00:00
ramiro%netscape.com
5dcde7cf7d
Undo my previous screwup. I thought I was helping...
...
git-svn-id: svn://10.0.0.236/trunk@15880 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 06:23:31 +00:00
ramiro%netscape.com
1498a660af
Fix Pavlov's bustage.
...
Thanks to Steve Morrison <smorrison@gte.com> for the fix.
git-svn-id: svn://10.0.0.236/trunk@15879 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 06:07:04 +00:00
ramiro%netscape.com
947c778f9f
Added a type cast.
...
Thanks to Wan-Teh Chang <wtc@netscape.com> for the patch.
git-svn-id: svn://10.0.0.236/trunk@15878 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 05:32:57 +00:00
pavlov%pavlov.net
efbddb159f
nsText* removed unused class variables.
...
nsWidget use the nsLookAndFeel values instead of defining the colors again.
git-svn-id: svn://10.0.0.236/trunk@15877 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 04:31:13 +00:00
pavlov%pavlov.net
cfc7015655
set texts for text boxes correctly. impliment InsertText.
...
git-svn-id: svn://10.0.0.236/trunk@15875 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 03:14:23 +00:00
pierre%netscape.com
4f305cff94
Moved the Mac Toolbox initialization from nsToolkit to nsAppShell, the reason being that nsAppShell is destined to be replaced by embedding applications while nsToolkit isn't.
...
git-svn-id: svn://10.0.0.236/trunk@15873 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:51:16 +00:00