839 Commits

Author SHA1 Message Date
rpotts%netscape.com
7182d2a5d0 Add a missing NS_RELEASE(...) for a QI(...)
git-svn-id: svn://10.0.0.236/trunk@15127 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 09:27:30 +00:00
pavlov%pavlov.net
b2b11721da fix transparent icons and flipped the nscolor to gdkcolor R and B colors
git-svn-id: svn://10.0.0.236/trunk@15121 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 04:43:24 +00:00
pavlov%pavlov.net
870924220c Setup the X hints for when mozilla is minimized. Added icon.
git-svn-id: svn://10.0.0.236/trunk@15109 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 21:49:17 +00:00
cyeh%netscape.com
79654fb86d Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@15084 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:34:32 +00:00
pavlov%pavlov.net
9d41cbaec7 small bug fix.
git-svn-id: svn://10.0.0.236/trunk@14989 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 04:42:03 +00:00
pavlov%pavlov.net
296103f679 initial files for the tab widget
git-svn-id: svn://10.0.0.236/trunk@14987 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 04:27:32 +00:00
saari%netscape.com
6f8340d89e Just a comment on nsWindow's mBounds member
git-svn-id: svn://10.0.0.236/trunk@14978 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 01:10:44 +00:00
pinkerton%netscape.com
295a1367c6 Added SetCursor() override so that we will change the cursor when layout tells us.
git-svn-id: svn://10.0.0.236/trunk@14961 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 21:54:35 +00:00
msw%gimp.org
bd8ac5c0c7 This is a hack to service the PLEventQueue that nsWebShell posts events to
such as anchor clicking.  This is only a temporary fix.  We need some other
way to do this.


git-svn-id: svn://10.0.0.236/trunk@14957 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 21:12:02 +00:00
msw%gimp.org
3161812f83 Implemented the start of the text widget onkey callback. You can now type
URLs in the location field of xpviewer and hit enter.


git-svn-id: svn://10.0.0.236/trunk@14935 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 05:33:13 +00:00
joki%netscape.com
f1462f4d55 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)


git-svn-id: svn://10.0.0.236/trunk@14864 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 05:25:26 +00:00
pavlov%pavlov.net
84e44d7068 made the gdkcolor to nscolor code a tad cleaner. removed the
gtk_layout_freeze and gtk_layout_thaw calls as the object being resized was
not always a layout.


git-svn-id: svn://10.0.0.236/trunk@14855 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 03:58:54 +00:00
jfrancis%netscape.com
da170b8a62 more shared lib conversion work.
git-svn-id: svn://10.0.0.236/trunk@14851 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:44:02 +00:00
jfrancis%netscape.com
910475eaff more shared lib conversion work
git-svn-id: svn://10.0.0.236/trunk@14850 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:43:45 +00:00
jfrancis%netscape.com
b3f2408262 shared lib conversion, phase 1
git-svn-id: svn://10.0.0.236/trunk@14828 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 00:55:05 +00:00
jfrancis%netscape.com
5fd90b887b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14827 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 00:54:26 +00:00
pinkerton%netscape.com
7f42b90636 Don't use screenbits.bounds for determining constraints on moving or growing windows. Use bounding rect of GetGrayRgn().
git-svn-id: svn://10.0.0.236/trunk@14825 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 00:46:22 +00:00
pinkerton%netscape.com
d99502389c Added comments that these are the default implementations and that they can (and should) be replaced by embedding applications.
git-svn-id: svn://10.0.0.236/trunk@14810 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 17:34:47 +00:00
pinkerton%netscape.com
a25d78a7ef since nsMacMessagePump is back (as a default imp), export it as well.
git-svn-id: svn://10.0.0.236/trunk@14809 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 17:22:05 +00:00
pinkerton%netscape.com
ec770e398c Move default imps of AppShell and MessagePump back into widget. Clients may still provide their own.
git-svn-id: svn://10.0.0.236/trunk@14806 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 17:20:06 +00:00
pinkerton%netscape.com
13254b3c93 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14805 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 17:19:01 +00:00
msw%gimp.org
e7ea193c8d Implemented Invalidate class members, reverted Resize funkiness
git-svn-id: svn://10.0.0.236/trunk@14797 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:57:27 +00:00
jfrancis%netscape.com
b80ec268a0 Shared Lib conversion
git-svn-id: svn://10.0.0.236/trunk@14794 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:37:42 +00:00
msw%gimp.org
2ecb1c8140 Resizes are faster, deleted old Motif code in nsWindow::Scroll
git-svn-id: svn://10.0.0.236/trunk@14779 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:30:27 +00:00
pinkerton%netscape.com
fa6c94850f fix in SupportsNativeWidgets() to draw so we can continue working, but things are not fixed for real. Read the comment in that method for more details.
git-svn-id: svn://10.0.0.236/trunk@14775 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:08:01 +00:00
rods%netscape.com
8cacf168e5 Added checks for null objects so printing would work.
git-svn-id: svn://10.0.0.236/trunk@14758 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 22:18:30 +00:00
hyatt%netscape.com
8ee2eaab39 Tweaking interfaces to move some functionality out of the treedatamodel and into the base.
git-svn-id: svn://10.0.0.236/trunk@14750 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 20:53:27 +00:00
hyatt%netscape.com
44a586b358 Added SetOpenState.
git-svn-id: svn://10.0.0.236/trunk@14748 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 20:11:06 +00:00
pinkerton%netscape.com
803d9e359a Turn on debugging info for message sink and text area cpp files.
git-svn-id: svn://10.0.0.236/trunk@14739 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 18:45:30 +00:00
beard%netscape.com
991d915062 Added ConvertToLocalCoordinates, WindowToLocalCoordinate for converting from window (device) coordinates to widget coordinates. Moved some calls from Destroy to the destructor to deal with a refcounting bug.
git-svn-id: svn://10.0.0.236/trunk@14730 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 23:31:37 +00:00
beard%netscape.com
6c99d5aed6 Added ConvertToLocalCoordinates, WindowToLocalCoordinate for converting from window (device) coordinates to widget coordinates.
git-svn-id: svn://10.0.0.236/trunk@14729 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 23:30:19 +00:00
pavlov%pavlov.net
5ff1e9a95f removed unused files
git-svn-id: svn://10.0.0.236/trunk@14728 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 22:27:32 +00:00
beard%netscape.com
5ea03f970d Fixed SetThumbSize to not crash when mContext == NULL.
git-svn-id: svn://10.0.0.236/trunk@14727 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 21:58:09 +00:00
beard%netscape.com
33bc4f922b Changed COLOR8TOCOLOR16 to an inline function that simply returns (color8 << 8) | color8. This properly maps 0xFF to 0xFFFF, etc.
git-svn-id: svn://10.0.0.236/trunk@14726 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 21:56:40 +00:00
pavlov%pavlov.net
97b10e9705 removed lots of printf's that were no longer needed
git-svn-id: svn://10.0.0.236/trunk@14723 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 19:32:36 +00:00
pavlov%pavlov.net
274e6e4f5e more work on the resizing. this works a tad better
git-svn-id: svn://10.0.0.236/trunk@14722 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 18:59:09 +00:00
pavlov%pavlov.net
49e4bc2251 Initial work on resizing. This works somewhat
git-svn-id: svn://10.0.0.236/trunk@14721 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 18:28:16 +00:00
msw%gimp.org
9aed506fc8 Oops - scrolling was set up backwards.
git-svn-id: svn://10.0.0.236/trunk@14720 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 17:30:31 +00:00
pavlov%pavlov.net
257f830305 Impliment the key press events
git-svn-id: svn://10.0.0.236/trunk@14699 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 07:38:43 +00:00
msw%gimp.org
f7e05da556 Initial scrolling support - it's jumpy, but it works
git-svn-id: svn://10.0.0.236/trunk@14698 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 07:24:57 +00:00
pavlov%pavlov.net
1280035af5 add and remove items correctly. this fixes crashes on pages with comboboxes
git-svn-id: svn://10.0.0.236/trunk@14693 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 06:22:03 +00:00
pavlov%pavlov.net
7c905feb11 use gtk styles for the look and feel. this makes everything look much more
together.  use the correct window when we create the GC for nsWidgets, and
move one of the callbacks into the correct place.


git-svn-id: svn://10.0.0.236/trunk@14677 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 21:08:27 +00:00
pavlov%pavlov.net
4b8b51488c use the gdkrgb colormap/visual for the widget creation. put nscoord() around
two doubles in nsGtkEventHandler to fix a compiler warning.  call gdk_rgb_init
in nsAppShell and not in the gfx stuff multiple times


git-svn-id: svn://10.0.0.236/trunk@14675 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 19:40:31 +00:00
pavlov%pavlov.net
0d0c995122 fix for removing children, add gtk_exit() to the exit call of nsAppShell and
redid a few move functions


git-svn-id: svn://10.0.0.236/trunk@14653 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:15:06 +00:00
michaelp%netscape.com
7c96d12312 changes to support printing architecture and actual printing under windows.
git-svn-id: svn://10.0.0.236/trunk@14651 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:05:13 +00:00
pavlov%pavlov.net
f6b7bf5869 fix gtklayout so that it removes children properly. add a few more debugging
messages to nsWidget and nsWindow


git-svn-id: svn://10.0.0.236/trunk@14645 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:42:42 +00:00
pavlov%pavlov.net
867d43cb50 Fix gtklayout child sizing problems, add gtk_widget_set_name to all of the
widgets for a bunch of debugging into that is being printf'd.  Fixed most all
of nsListBox so that it works correctly.  We now have widgets working! yippie!
I almost have gfx working too... heehee :-)


git-svn-id: svn://10.0.0.236/trunk@14595 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 16:37:03 +00:00
akkana%netscape.com
6173d15046 Fix more build bustage (IRIX)
git-svn-id: svn://10.0.0.236/trunk@14567 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:12:55 +00:00
akkana%netscape.com
8195367fcf Define gAppContext -- fix crash on startup
git-svn-id: svn://10.0.0.236/trunk@14557 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 00:23:16 +00:00
shaver%netscape.com
d9f2935397 add proper QI and Create calls for RO text widget
git-svn-id: svn://10.0.0.236/trunk@14552 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:54:34 +00:00