Commit Graph

53979 Commits

Author SHA1 Message Date
troy%netscape.com
113c5409bc Added GetAdditionalChildListName() as a way to discover additional
named child lists at runtime


git-svn-id: svn://10.0.0.236/trunk@14290 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 19:59:33 +00:00
troy%netscape.com
cdf69643a6 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.


git-svn-id: svn://10.0.0.236/trunk@14289 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 19:40:27 +00:00
akkana%netscape.com
e1a7c441bf Fix nspr build line
git-svn-id: svn://10.0.0.236/trunk@14288 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 19:30:54 +00:00
troy%netscape.com
3f4e4b9185 Added a #define for NS_ERROR_INVALID_ARG to be the same as
NS_ERROR_ILLEGAL_VALUE. This helps make our error names more
consistent with COM


git-svn-id: svn://10.0.0.236/trunk@14286 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 19:03:05 +00:00
kipp%netscape.com
fddf21d369 Disabled some more dubious br/margin code
git-svn-id: svn://10.0.0.236/trunk@14285 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 17:54:37 +00:00
vidur%netscape.com
e67acdda42 Fix to GetFirstChild/GetLastChild from Michael Leventhal (mle@citec.fi)
git-svn-id: svn://10.0.0.236/trunk@14284 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 17:51:18 +00:00
kipp%netscape.com
fe24aed36f Repaired marginwidth/marginheight handling code
git-svn-id: svn://10.0.0.236/trunk@14283 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 17:51:05 +00:00
kipp%netscape.com
fc00faf9c4 Some spot error handling improvements to fix a crash in http://checkmate/raptor/js98/test3.html
git-svn-id: svn://10.0.0.236/trunk@14282 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 16:21:18 +00:00
pavlov%pavlov.net
598102d7c1 Patch from Owen Taylor <otaylor@redhat.com> that makes nsWidget inherit from
nsBaseWidget.  It moves the Create() functions into nsWidget for the base
creation so that the code is reused and not the same code in each file.  This
patch also fixes numerous nsWindow related issues.


git-svn-id: svn://10.0.0.236/trunk@14281 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 15:49:30 +00:00
pavlov%pavlov.net
3e54e2709e remove assertion in nsRenderingContextGTK and added gdk_rgb_init() to
nsDeviceContextGTK


git-svn-id: svn://10.0.0.236/trunk@14280 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 15:47:45 +00:00
pavlov%pavlov.net
3c65e04df8 Impliment Resize for nsWidget (and nsWindow (it calls nsWidget::Resize/Move)
Add patch for gtklayout from Owen Taylor that makes sure the widgets added are
shown and realized.  We now get a window popped up that shows the spinner,
toolbar, menu, etc etc etc.  its getting close!


git-svn-id: svn://10.0.0.236/trunk@14278 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 05:45:57 +00:00
pavlov%pavlov.net
9b477477c8 patch from Owen Taylor <otaylor@redhat.com> that allows you to draw on the
drawing area.


git-svn-id: svn://10.0.0.236/trunk@14277 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 03:03:09 +00:00
pavlov%pavlov.net
9e26b77291 Patch from Owen Taylor <otaylor@redhat.com> which uses the correct GdkWindow
to draw to.


git-svn-id: svn://10.0.0.236/trunk@14276 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 03:02:08 +00:00
guha%netscape.com
e1494f0946 More RDF fixing. Now ready for Raptor.
git-svn-id: svn://10.0.0.236/trunk@14275 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 01:28:58 +00:00
pavlov%pavlov.net
6cd3539dc6 nsComboBox implimentation from Chris Lahey <clahey@mich.net>
nsWidget and nsWindow changes (fix class inheritance, provide functions in
nsWidget and not nsWindow since everything is derived from nsWidget) patch
from Owen Taylor <otaylor@redhat.com>


git-svn-id: svn://10.0.0.236/trunk@14274 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 23:31:40 +00:00
pavlov%pavlov.net
8c7dd7cd60 call gtk_widget_show() on all the menuitems that are being added to the
menubar


git-svn-id: svn://10.0.0.236/trunk@14273 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 22:39:14 +00:00
mcafee%netscape.com
c54f6c616f Cut & Paste bug, double-freeing stuff. Thanks to Peter.vanHelden@net.HCC.nl for the fix.
git-svn-id: svn://10.0.0.236/trunk@14272 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 21:31:07 +00:00
terry%netscape.com
16710e429b If we fail to get slashdot data, don't let that stop us from trying
again in a couple of hours.


git-svn-id: svn://10.0.0.236/trunk@14271 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 21:12:12 +00:00
pavlov%pavlov.net
217523a5d1 Fixed nsMenu::AddMenu so that it adds menus to menus correctly.
git-svn-id: svn://10.0.0.236/trunk@14270 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 20:57:57 +00:00
pavlov%pavlov.net
0fe9befefc add 'this' to the userdata of the widget so that callbacks will have the info
they need


git-svn-id: svn://10.0.0.236/trunk@14269 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 20:45:53 +00:00
pavlov%pavlov.net
0e76c6696d patch from skinny@knowhere.net for the scrollbar widget implimentation.
git-svn-id: svn://10.0.0.236/trunk@14268 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 19:36:31 +00:00
pavlov%pavlov.net
1ca0554355 set the userdata for all of the widgets to 'this'. Use the userdata in the
callbacks in nsGtkEventHandler


git-svn-id: svn://10.0.0.236/trunk@14267 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 18:51:09 +00:00
pavlov%pavlov.net
3246866ead minor code cleanup in nsCheckButton.cpp. begin work on nsComboBox.
git-svn-id: svn://10.0.0.236/trunk@14266 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 18:19:37 +00:00
pavlov%pavlov.net
cc3b90eac2 Fix GTK Build so that it will compile without Motif. Remove extra mWidget's
from a few widgets that were provided mWidget from nsWidget.


git-svn-id: svn://10.0.0.236/trunk@14265 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 17:54:19 +00:00
rpotts%netscape.com
9a751e9735 Support asynchronous network notifications (instead of polling) if NO_NETWORK_POLLING is defined. Currently, this is only implemented for Win32
git-svn-id: svn://10.0.0.236/trunk@14264 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 09:04:54 +00:00
rpotts%netscape.com
bceab2e61f propagate abnormal stream termination correctly...
git-svn-id: svn://10.0.0.236/trunk@14263 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 09:03:02 +00:00
pavlov%pavlov.net
bab432bdde initial stab at converting GdkEvents into mozilla events.
git-svn-id: svn://10.0.0.236/trunk@14262 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 05:53:52 +00:00
pavlov%pavlov.net
7dda2eea3d blizzard%appliedtheory.com patch to allow this to compile without motif
installed.  this patch also fixes the arguments to the event callbacks to
those of Gtk


git-svn-id: svn://10.0.0.236/trunk@14261 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 04:34:08 +00:00
guha%netscape.com
0d5187ffa0 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@14260 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 04:29:07 +00:00
pavlov%pavlov.net
f8353761e5 fix ::Remove so that it works on both TextWidget and TextAreaWidget
git-svn-id: svn://10.0.0.236/trunk@14259 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 04:12:42 +00:00
pavlov%pavlov.net
fd6626fd2e Initial nsText* implimentation. This should be about 90% functional.
git-svn-id: svn://10.0.0.236/trunk@14258 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 04:05:34 +00:00
pavlov%pavlov.net
2d8a1c681b nsBrowserWindow.cpp:3220
change
if (nsnull == menu) {
to
if (NS_OK == rv) {
which makes submenus be added correctly.


git-svn-id: svn://10.0.0.236/trunk@14256 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 02:09:38 +00:00
pavlov%pavlov.net
3856fcd990 fix menu code... submenus are not added correctly for some reason, but the
earlier warnings are gone.


git-svn-id: svn://10.0.0.236/trunk@14255 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 02:05:02 +00:00
pavlov%pavlov.net
e64ca00484 Menu's are now displayed correctly (almost).
git-svn-id: svn://10.0.0.236/trunk@14251 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 01:13:43 +00:00
troy%netscape.com
14d17485ee That part about the frame deleted reflow command being a list was a
bit overzealous. It can't be. Maybe at some point we'll have an
argument that specifies the number of frames to delete


git-svn-id: svn://10.0.0.236/trunk@14248 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 00:26:56 +00:00
troy%netscape.com
68cb6349cf Added some comments clarifying that appended, inserted, and deleted reflow
commands take a child list (i.e. more than one frame)


git-svn-id: svn://10.0.0.236/trunk@14247 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 00:24:40 +00:00
pavlov%pavlov.net
bc53841b8e yet another patch from Owen Taylor <otaylor@redhat.com> that impliments
nsFontMetricsGTK


git-svn-id: svn://10.0.0.236/trunk@14246 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 23:21:18 +00:00
pavlov%pavlov.net
26fed3657e patch that impliments nsRenderingContextGTK from Owen Taylor
<otaylor@redhat.com>


git-svn-id: svn://10.0.0.236/trunk@14245 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 23:19:06 +00:00
ramiro%netscape.com
3590eb68fd Fix from Tim Rowley <tor@boojum.cs.brown.edu>.
The Sun compiler tossing the templated class into a template repository
(see Templates.DB in the directory layout/html/base/src).  At link time the
compiler doesn't know where that repository is, so it can't resolve that
symbol.
You can get the compiler to include the templated class in the shared library
by linking the objects together with "CC -xar".


git-svn-id: svn://10.0.0.236/trunk@14244 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 22:29:15 +00:00
pavlov%pavlov.net
221f39c0a2 Apply patch from Owen Taylor <otaylor@redhat.com> that does images the right
way.


git-svn-id: svn://10.0.0.236/trunk@14243 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 19:54:14 +00:00
msw%gimp.org
cec9a1349a Oops - not using this.
git-svn-id: svn://10.0.0.236/trunk@14242 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 18:43:17 +00:00
troy%netscape.com
77ba0862ca Changed PostCreateWidget() code to use the "default value" when setting
the widget's initial value


git-svn-id: svn://10.0.0.236/trunk@14241 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:47:57 +00:00
troy%netscape.com
221ed4cb8d Changed implementation of DefaultValue to use the value of the "value"
attribute


git-svn-id: svn://10.0.0.236/trunk@14240 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:46:12 +00:00
pavlov%pavlov.net
35e4f0d399 initialize mWidget to null
git-svn-id: svn://10.0.0.236/trunk@14239 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:30:50 +00:00
pavlov%pavlov.net
bae8029782 Implimented nsImageGTK. Fixed some compling problems in the other files due
to headers needed in nsImageGTK


git-svn-id: svn://10.0.0.236/trunk@14238 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:24:46 +00:00
pavlov%pavlov.net
2313f1b071 Add the menu bar to the Window correctly.
git-svn-id: svn://10.0.0.236/trunk@14237 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:23:30 +00:00
msw%gimp.org
43d0d8905a Move all the widget to inherit from nsWidget, not nsWindow. Add stub
for mouse events in nsWidget


git-svn-id: svn://10.0.0.236/trunk@14236 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:00:11 +00:00
pavlov%pavlov.net
3282afa5c2 convert nsLabel's to nsWidget instead of nsWindow. Impliment part of
nsPopUpMenu


git-svn-id: svn://10.0.0.236/trunk@14235 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 15:18:51 +00:00
msw%gimp.org
59f0348d97 set the size of buttons on creation. Need to check to make sure this
is the Right Way.


git-svn-id: svn://10.0.0.236/trunk@14234 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 05:43:47 +00:00
troy%netscape.com
d83f2d34ad Added code to StringToAttribute() to handle "border" attribute
git-svn-id: svn://10.0.0.236/trunk@14233 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 05:27:39 +00:00