Commit Graph

1315 Commits

Author SHA1 Message Date
pavlov%pavlov.net
8ab767c382 make comboboxen look correct 1999-01-30 00:24:34 +00:00
sfraser%netscape.com
624dc50bde Fix a typo (== -> =) 1999-01-29 02:10:17 +00:00
troy%netscape.com
eefd7b4063 Added 'clipSiblings' to nsWidgetInitData struct 1999-01-28 17:06:39 +00:00
michaelp%netscape.com
c2113b6c95 modified for DrawString() API changes. 1999-01-28 05:06:06 +00:00
pavlov%pavlov.net
c5d29ae81b more gtk1.1.14isms 1999-01-28 01:42:49 +00:00
slamm%netscape.com
64582cfdf2 Get it linking. 1999-01-28 01:06:30 +00:00
slamm%netscape.com
7432e08676 Get link a little closer to reality. 1999-01-28 01:01:32 +00:00
pavlov%pavlov.net
aaac0e1d88 make things rock with gtk 1.1.14 1999-01-28 00:22:29 +00:00
pinkerton%netscape.com
ce67d4ad16 use nsCOMPtr to refcnt the interface pointers we use. 1999-01-28 00:20:42 +00:00
pinkerton%netscape.com
1ce1e6f589 appr for checkin while tree closed by sar. addref and release when we save a ptr to which widget the mouse is over or clicked on. Since we now do widget refcounting correctly, we need to do it correctly elsewhere ;) 1999-01-27 22:17:42 +00:00
slamm%netscape.com
6a6b2674ee Use TK_CFLAGS instead of TK_(MOTIF|GTK)_CFLAGS. Use TK_LIBS instead of TK_(MOTIF|GTK)_LIBS to simplify makefile rules. Also general Makefile clean up. 1999-01-27 19:54:40 +00:00
slamm%netscape.com
72511b424b Use TK_CFLAGS instead of TK_(MOTIF|GTK)_CFLAGS. Use TK_LIBS instead of TK_(MOTIF|GTK)_LIBS to simplify makefile rules. Also general Makefile clean up. The link line still needs some work. 1999-01-27 19:53:37 +00:00
slamm%netscape.com
4dc867a8d8 Use TK_CFLAGS instead of TK_MOTIF_FLAGS. 1999-01-27 19:53:18 +00:00
slamm%netscape.com
849749fc3d Use TK_CFLAGS instead of TK_GTK_FLAGS. 1999-01-27 19:53:07 +00:00
slamm%netscape.com
b78d7ef52a Use TK_CFLAGS instead of TK_(MOTIF|GTK)_CFLAGS. Use TK_LIBS instead of TK_(MOTIF|GTK)_LIBS to simplify makefile rules. 1999-01-27 19:51:59 +00:00
kipp%netscape.com
ba3278f97a Fixed build bustage 1999-01-27 17:40:10 +00:00
saari%netscape.com
6a0be0d0d6 fixing secondary build break nsMenu should be nsMenuItem 1999-01-27 17:38:43 +00:00
saari%netscape.com
f1a413f258 fixing secondary build break nsMenu not defined. Should be nsMenuItem 1999-01-27 17:37:42 +00:00
saari%netscape.com
e7db976ec4 fixing build break change AddItem to AddMenuItem 1999-01-27 17:00:11 +00:00
saari%netscape.com
12a066f392 /m/pub/mozilla/widget/public/nsIMenuItem.h - Added SetLabel method /m/pub/mozilla/widget/src/mac/nsMenuItem.h /m/pub/mozilla/widget/src/gtk/nsMenuItem.h /m/pub/mozilla/widget/src/motif/nsMenuItem.h /m/pub/mozilla/widget/src/windows/nsMenuItem.h - Added SetLabel method /m/pub/mozilla/widget/src/mac/nsMenuItem.cpp /m/pub/mozilla/widget/src/gtk/nsMenuItem.cpp /m/pub/mozilla/widget/src/motif/nsMenuItem.cpp /m/pub/mozilla/widget/src/windows/nsMenuItem.cpp - Added SetLabel method 1999-01-27 16:14:48 +00:00
saari%netscape.com
c656fedda3 /m/pub/mozilla/widget/public/nsIMenuBar.h - Added Paint method /m/pub/mozilla/widget/src/mac/nsMenuBar.h - Added Paint method - Mac implementation changes /m/pub/mozilla/widget/src/gtk/nsMenuBar.h /m/pub/mozilla/widget/src/motif/nsMenuBar.h /m/pub/mozilla/widget/src/windows/nsMenuBar.h - Added Paint method /m/pub/mozilla/widget/src/mac/nsMenuBar.cpp - Added Paint method - Mac implementation changes /m/pub/mozilla/widget/src/gtk/nsMenuBar.cpp /m/pub/mozilla/widget/src/motif/nsMenuBar.cpp /m/pub/mozilla/widget/src/windows/nsMenuBar.cpp - Added Paint method 1999-01-27 16:05:57 +00:00
saari%netscape.com
1507ffe918 /m/pub/mozilla/widget/public/nsIMenu.h - Changed AddItem to AddMenuItem /m/pub/mozilla/widget/src/mac/nsMenu.h /m/pub/mozilla/widget/src/gtk/nsMenu.h /m/pub/mozilla/widget/src/motif/nsMenu.h /m/pub/mozilla/widget/src/windows/nsMenu.h - Changed AddItem to AddMenuItem /m/pub/mozilla/widget/src/mac/nsMenu.cpp /m/pub/mozilla/widget/src/gtk/nsMenu.cpp /m/pub/mozilla/widget/src/motif/nsMenu.cpp /m/pub/mozilla/widget/src/windows/nsMenu.cpp - Changed AddItem to AddMenuItem 1999-01-27 15:57:57 +00:00
saari%netscape.com
6bf6cb7939 /m/pub/mozilla/widget/public/nsIWidget.h - Added AddMenuListener method 1999-01-27 15:48:22 +00:00
saari%netscape.com
1aeac01b4b Fixing missing return value breakage. 1999-01-27 10:39:52 +00:00
saari%netscape.com
53835338be /m/pub/mozilla/widget/src/mac/nsWindow.cpp /m/pub/mozilla/widget/src/motif/nsWindow.cpp /m/pub/mozilla/widget/src/windows/nsWindow.cpp - call nsMenuListener in DispatchEvent 1999-01-27 09:37:23 +00:00
saari%netscape.com
c802069025 /m/pub/mozilla/widget/src/mac/nsIMenuBar.cpp /m/pub/mozilla/widget/src/gtk/nsIMenuBar.cpp /m/pub/mozilla/widget/src/motif/nsIMenuBar.cpp /m/pub/mozilla/widget/src/windows/nsIMenuBar.cpp - Added MenuSelected routine /m/pub/mozilla/widget/src/mac/nsMenuBar.h /m/pub/mozilla/widget/src/gtk/nsMenuBar.h /m/pub/mozilla/widget/src/motif/nsMenuBar.h /m/pub/mozilla/widget/src/windows/nsMenuBar.h - nsMenuBar inherits from nsMenuListener 1999-01-27 09:02:51 +00:00
saari%netscape.com
f680767b34 nsIMenu.h - Add SetLabel method nsMenu.h - Added SetLabel method nsMenu.cpp - Added SetLabel method nsIWidget.h - Added AddMenuListener method /m/pub/mozilla/webshell/tests/viewer/nsSetupRegistry.cpp - Registered factories for nsMenuBar, nsMenu, and nsMenuItem 1999-01-27 07:51:20 +00:00
sfraser%netscape.com
8564accdcd Changes to avoid using window refCons for raptor data. Store a list of windows in nsMacMessageSink, pass all events to the sink, and return a boolean for handled status. In the window, add and remove raptor windows from the list. 1999-01-27 05:24:26 +00:00
saari%netscape.com
48601665e3 mozilla/widget/src/xpwidgets/nsBaseWidget.h uncommented nsIMenuListener *mMenuListener for XPToolkit menus Index: nsBaseWidget.cpp =================================================================== RCS file: /m/pub/mozilla/widget/src/xpwidgets/nsBaseWidget.cpp uncommented mMenuListener code for XPToolkit menus 1999-01-27 04:20:20 +00:00
mcmullen%netscape.com
a58105db04 Added a new InitializeMacToolbox() to NSStdLib (declared in macstdlibextras.h) and exported it. This makes all the Mac Toolbox Init calls, and also (if DEBUG) initializes SIOUX without menus. Safe to call this multiple times (it has a static boolean). Removed toolbox initialization from constructor of nsAppShell, and called InitializeMacToolbox() instead. Called InitializeMacToolbox from main in viewer app, and also from a static initializer in nsAppRunner.cpp. 1999-01-27 02:11:56 +00:00
pinkerton%netscape.com
4bddf368f9 fix a leak where the Enumerator would create itself with a refcnt of 1 and then we'd addref it again in GetChildren(). Fixed so that the Enumerator doesn't addref itself and added addref's in the appropriate places to correct that assumption. 1999-01-26 18:07:11 +00:00
waterson%netscape.com
c0e02d6247 Fixed capitalization error. 1999-01-26 04:03:59 +00:00
michaelp%netscape.com
c8e0ba6a08 moving headers from src to public. added support for dib sections to windows
drawing surface. WIP on making blender work with arbitrary pixel organizations.
1999-01-25 22:16:47 +00:00
akkana%netscape.com
5bfd3498e0 Pav's changes only work if you also have his fixes to gtk.
Since those aren't available yet, I've reverted his changes to make
selection and editor typein work.
When the new gtk is available, search for HAVE_GTK_BETTER_THAN_1_1_13
to see how to turn his changes back on (they are very worthwhile, we
just can't afford a regression while we wait for the new gtk).
1999-01-25 22:10:48 +00:00
pinkerton%netscape.com
6b59f526c9 fixing a leak in GetChildren() and cleaning it up to use nsComPtr when creating a new enumerator. 1999-01-25 19:18:43 +00:00
pinkerton%netscape.com
4a542f1451 Fix bug 2535 (memory leaks) with nsCOMPtr 1999-01-25 17:45:04 +00:00
sudu%netscape.com
c94385ee94 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
pavlov%pavlov.net
fd6d95cb42 only redraw the stuff that needs to be redrawn, not the entire widget. 1999-01-25 02:21:20 +00:00
pavlov%pavlov.net
fe6c96f077 fix button pressing 1999-01-25 00:51:21 +00:00
pavlov%pavlov.net
b65a8d8e3a we require gtk 1.1.13, remove #ifdef's. clean up key press handling 1999-01-23 12:03:14 +00:00
pavlov%pavlov.net
9c81f51d53 fix text widgets getting focus. 1999-01-23 11:26:09 +00:00
pavlov%pavlov.net
7813f9550b animated things work, editor works, etc etc etc. be happy! 1999-01-23 01:58:45 +00:00
saari%netscape.com
e5e34681bf Commenting out until I figure out what I horked 1999-01-23 01:08:17 +00:00
radha%netscape.com
401a862caa Use the EventQueue service provider instead of manipulating directly with PLEventQueue 1999-01-23 00:54:43 +00:00
saari%netscape.com
5ce5ba7d09 Commenting out until I figure out what I horked 1999-01-23 00:46:57 +00:00
saari%netscape.com
a0536ad096 Commenting out until I figure out what I horked 1999-01-23 00:26:51 +00:00
mcafee%netscape.com
4698b714f0 Cleaning up whitespace 1999-01-23 00:02:41 +00:00
saari%netscape.com
e1094ae9a6 First Checked In. 1999-01-22 23:53:53 +00:00
saari%netscape.com
17704064f5 Set mMenuListener to null in constructor 1999-01-22 23:25:16 +00:00
saari%netscape.com
67c5953284 Added nsIMenuListener.h and made a member variable in nsBaseWidget for holding one of these. This is for the XPToolkit menus to hook in and get notified of menu events. 1999-01-22 23:23:00 +00:00
blizzard%appliedtheory.com
9d810404ce handle the top level widget special in resizing 1999-01-22 16:10:29 +00:00
blizzard%appliedtheory.com
2ec8a1482c resizing fixes 1999-01-22 16:02:34 +00:00
pavlov%pavlov.net
a45ccf34de setup place for ramiro to fix bug 2503 easily 1999-01-22 12:10:43 +00:00
davidm%netscape.com
559c7cca3c 2239 Crash when leaving test9 1999-01-22 01:49:08 +00:00
rods%netscape.com
596b93e6f4 Removed the GetFont method (this functionality is now a part of the nsIDeviceContext) 1999-01-21 23:59:14 +00:00
rods%netscape.com
c6309515c4 Added new Method for getting System Attributes (colors, fonts, sizes)
many of these are duplicated in nsLookAndFeel. The enums will be removed
from nsLookAndFeel.
1999-01-21 23:55:27 +00:00
pierre%netscape.com
f54d74669d Fix #2251 "Garbage renders over the back button" 1999-01-21 11:42:00 +00:00
pierre%netscape.com
cb743ca193 Removed the obsolete 'mTE'. 1999-01-21 11:41:26 +00:00
pierre%netscape.com
60a129bc57 Removed the unused method DrawWidget() 1999-01-21 11:21:51 +00:00
pierre%netscape.com
cbe2cc8c3a Calls SetOrigin() in Invalidate(). Fixes the problem where on going to a new page the top of the html area gets drawn last. Thanks to Cyrus Harmon <cyrus@neomorphic.com> 1999-01-21 11:21:10 +00:00
pierre%netscape.com
514e1957db Mac only: added 'isCommand' in nsInputEvent 1999-01-21 09:52:07 +00:00
pierre%netscape.com
abd275880c initialize the Rendering Context from a GrafPort to fix a crash on print 1999-01-21 08:41:21 +00:00
akkana%netscape.com
e44e6a5256 Handle alphanumeric characters properly 1999-01-20 18:43:59 +00:00
rods%netscape.com
1e60f385e8 Fixed scrollbar rendering problem by commenting out the WM_CTLCOLORSCROLLBAR
message in switch statement. (fix thanks to Michael Lowe)
1999-01-20 15:42:51 +00:00
pierre%netscape.com
1892e8e3e5 display the AppearanceMgr frame around edit fields 1999-01-19 22:34:43 +00:00
pierre%netscape.com
23fc632663 fixed Scroll() in case the caller passes a null clipRect 1999-01-19 19:29:43 +00:00
rods%netscape.com
941a7a59f9 Added new Method for Querying System Fonts 1999-01-19 17:36:19 +00:00
pinkerton%netscape.com
6a22af3691 Added cut/copy to pierre's paste work and sync'd the work done in textWidget to that in textAreaWidget so both now support cut/copy/paste the same way (though the code isn't shared). 1999-01-19 17:21:37 +00:00
pierre%netscape.com
d223823ab0 use the newly added HandleUpdateEvent() to redraw the top-level widget 1999-01-19 14:34:14 +00:00
pierre%netscape.com
13ab192413 fixed live scrolling 1999-01-19 14:33:47 +00:00
pierre%netscape.com
d01457cc3e added HandleUpdateEvent() and use ::BeginUpdate() in Update() in order to improve performance during live scrolling 1999-01-19 14:33:21 +00:00
pierre%netscape.com
03b696e39b added Paste 1999-01-19 10:29:48 +00:00
pierre%netscape.com
daef1833b0 moved ConvertOSMenuResultToPPMenuResult() from nsMacMain 1999-01-19 10:29:30 +00:00
pierre%netscape.com
df3b9bf88b propagate menu event to focused widget and its parents 1999-01-19 10:28:53 +00:00
pierre%netscape.com
564b507f67 Fixed the clip rgn in Scroll(): the scrollbars no longer flicker. 1999-01-19 04:29:08 +00:00
pavlov%pavlov.net
cd9438eef5 parse ~/.gtkrc (if it exists) file to make things look more consistant with
other gtk apps.
1999-01-19 02:45:55 +00:00
pavlov%pavlov.net
e918229cc3 return true for events that we handle and not false 1999-01-19 02:17:30 +00:00
pierre%netscape.com
628f249ff3 Paint only the damaged area instead of the whole widget. Reuse the rendering context to update the children. Scroll the children. 1999-01-19 00:02:51 +00:00
pierre%netscape.com
0bacbb3d17 DoMessagePump() no longer returns a boolean 1999-01-19 00:01:41 +00:00
pavlov%pavlov.net
723c42a967 fix mouse clicking 1999-01-18 23:42:04 +00:00
pavlov%pavlov.net
2a7527ab5c fix Invalidate() and Update() 1999-01-17 19:30:13 +00:00
pavlov%pavlov.net
ca0005bb15 only create 1 GC since we are pushing the same visual for all of the widgets. 1999-01-17 18:58:28 +00:00
pavlov%pavlov.net
178678e9e2 fix bustage 1999-01-17 03:08:56 +00:00
pavlov%pavlov.net
a88c118c92 move the event queue into nsToolkit 1999-01-17 02:09:55 +00:00
pavlov%pavlov.net
a3f65b8ce0 Inherit nsDialog from nsWindow instead of nsWidget. s/Motif/GTK+/ in *.h for
some comments
1999-01-17 01:36:13 +00:00
pavlov%pavlov.net
d596158079 move some stuff from nsWindow to nsWidget. Removed more unused code, do
redraws correctly...
1999-01-16 23:12:35 +00:00
sfraser%netscape.com
a81f4408e0 Fix control key handling to call HandleControlKey, to fix the font problem. Also draw a box around the control for looks. 1999-01-16 00:42:33 +00:00
sfraser%netscape.com
b95bfa6057 Mcmullen's fixes for scroll bar behaviour, and override a method so that scroll bars are sized correctly. 1999-01-16 00:41:20 +00:00
sfraser%netscape.com
506cb229c1 Tweak the window size so that the scroll bar is correctly positioned, and create a root Mac control for the window (so that we get control embedding). 1999-01-16 00:40:26 +00:00
sfraser%netscape.com
a4ce9963ca mcmullen's scrollbar fixes (use 32-bit control values), some tweaks of Mac control visibility to avoid drawing controls in the wrong places, add a couple of utility methods for creating and adjusting Mac controls. 1999-01-16 00:39:28 +00:00
sfraser%netscape.com
5e99af5119 Optimization: don't refocus a widget if it is already focussed 1999-01-16 00:30:40 +00:00
pierre%netscape.com
d1c2b68f8d fixed the windowless menu handler to work with non-raptor windows (SIOUX debug window, for instance) 1999-01-15 22:34:59 +00:00
joki%netscape.com
827e8163ca Temporary fix to windows key events to give them a coord not associated with the mouse. 1999-01-15 22:24:23 +00:00
jfrancis%netscape.com
fee2fbb21c Removing Powerplant 1999-01-15 05:19:59 +00:00
jfrancis%netscape.com
f6f33a44f1 Powerplant removal 1999-01-15 05:11:22 +00:00
sfraser%netscape.com
fec13ce74f Bustage fix: adding PowerPlant library back (DEBUG target only) 1999-01-15 03:46:36 +00:00
jfrancis%netscape.com
d865420036 Removing Powerplant 1999-01-15 00:06:35 +00:00
sfraser%netscape.com
b6e3454fdd Call Inherited::SetFont in the SetFont method 1999-01-14 23:43:41 +00:00
pavlov%pavlov.net
38119bc6e7 #ifdef around some recent gtk changes 1999-01-14 23:02:50 +00:00
pinkerton%netscape.com
21de80b0dc fix misunderstanding with params to SetText() 1999-01-14 18:57:44 +00:00
pinkerton%netscape.com
ddb2c870bd fix misunderstanding with parameters in SetText() 1999-01-14 18:56:49 +00:00
pavlov%pavlov.net
d034ae6f97 fix bug 2352 1999-01-14 18:35:55 +00:00
sfraser%netscape.com
2686e6ba4e Fix build bustage (adding method CreateFontAliasTable()) 1999-01-14 07:14:24 +00:00
pierre%netscape.com
b29a5d79cd Fixed the mouseRgn in WaitNextEvent in order not to continuously send mouseMoved events. 1999-01-14 07:02:28 +00:00
sfraser%netscape.com
7b6f99501f No longer call the static method of nsFontMetricsMac in StartDraw; since nsMacControl implements SetFont now, this is no longer necessary. 1999-01-14 05:50:56 +00:00
sfraser%netscape.com
977e921c0f Override SetFont to setup the control font properly. Previously, it was being picked up from the port just before drawing, which no longer works after the font optimizations in GFX. 1999-01-14 05:48:29 +00:00
sfraser%netscape.com
9a281cb29a Override CreateFontAliasTable to tweak the font settings for Mac (specifically, use Courier in preference to Courier New for the fixed width font). Also #ifdef out the font num cache, now that nsFontMetricsMac is smarter about cacheing the font num. 1999-01-14 05:44:50 +00:00
sfraser%netscape.com
95f4527c07 Warnings fix (remove ; ) 1999-01-14 05:37:28 +00:00
pollmann%netscape.com
6b16ccfd7f Bug 2088 2099: Similar fixes for nsListBox (add PreCreateWidget to get mMultiSelect) 1999-01-13 07:27:24 +00:00
pollmann%netscape.com
d2cbe22864 Bug 2088 2099: Check the IsPassword and IsReadOnly data members on creation. 1999-01-13 07:14:22 +00:00
pollmann%netscape.com
abf305fdf3 Bug 2088 2099: Add PreCreateWidget method for password and readonly text elements. 1999-01-13 07:09:21 +00:00
pinkerton%netscape.com
901eaba192 fix problem where SetText would truncate text to 255. 1999-01-13 00:03:05 +00:00
pinkerton%netscape.com
ecb91bfb05 fix #2247 to fix lack of redraw when text is set 1999-01-13 00:02:51 +00:00
mcmullen%netscape.com
d302f50ba9 Fully implement scrollbars - live scrolling, etc. Includes changes by Cyrus Harmon. 1999-01-12 19:26:31 +00:00
blizzard%appliedtheory.com
cda0416652 clean up factories for gtk. make destroying for nsWidgets() cleaner. 1999-01-12 04:42:09 +00:00
pavlov%pavlov.net
1dcb52e842 sync all my changes. removed lots of code that is provided in nsBaseWidget,
added focus handlers, etc etc etc
1999-01-12 03:56:33 +00:00
pavlov%pavlov.net
95964f9dd1 set event.point.[xy] to 0 1999-01-11 23:06:13 +00:00
pavlov%pavlov.net
0f899d6caf allow nsWindow's to take focus. this should fix problem for editor people 1999-01-10 18:48:05 +00:00
pavlov%pavlov.net
6cd2b04993 halfway fix the excessive GC problem. more work on resizing 1999-01-09 21:16:20 +00:00
pavlov%pavlov.net
90c5886333 Resizing works.... somewhat. More to come 1999-01-09 17:41:20 +00:00
beard%netscape.com
24273af537 Turned off call to NET_PollSockets() on XP_MAC, to fix link error, not really needed anyway. 1999-01-08 22:43:45 +00:00
pavlov%pavlov.net
e3810cb6b6 use GDK bit stuff for the alt/ctrl/shift mods 1999-01-08 15:55:52 +00:00
pierre%netscape.com
17f6998e7d Fixed bug in SetPosition. Thanks to Cyrus Harmon <cyrus@neomorphic.com> 1999-01-08 05:36:06 +00:00
sfraser%netscape.com
8ca901203b Add SIOUX event handling in debug mode. Also remove a couple of unnecessary #defines and use the Universal Header versions. 1999-01-08 03:29:39 +00:00
sfraser%netscape.com
2da4e3d447 Change 'memory' include to search in system path 1999-01-08 03:28:47 +00:00
akkana%netscape.com
4c1b2e7357 1965: Fix mouse-down events 1999-01-07 21:06:21 +00:00
mcafee%netscape.com
6706bfaf61 Variable had wrong type (1229), thanks to tor@cs.brown.edu 1999-01-07 20:14:34 +00:00
brade%netscape.com
748aa65c90 reduce Macintosh compiler warnings by removing extra ; 1999-01-06 18:49:37 +00:00
warren%netscape.com
0a5bb289e6 Added check for null. 1999-01-06 00:06:14 +00:00
pierre%netscape.com
2a1a1341f0 removed the handle locking/unlocking in Init() 1999-01-05 04:07:23 +00:00
pierre%netscape.com
ac05cfa842 commented out an annoying assert 1999-01-05 03:51:17 +00:00
blizzard%appliedtheory.com
34a600b766 don't return the address of something allocated on the stack 1998-12-29 01:07:35 +00:00
pavlov%pavlov.net
0fdae13e51 yet another attempt to get resizing working 1998-12-24 21:06:27 +00:00
pavlov%pavlov.net
256513d2fb fix build, more event cleanups 1998-12-24 02:46:34 +00:00
pavlov%pavlov.net
6c5351f34b remove lots and lots and lots and lots of excess code that isn't used.
fix up a few events
1998-12-24 02:10:49 +00:00
pierre%netscape.com
0f51bd0e95 Export the 2 functions to fix link errors in embedding applications 1998-12-23 06:54:37 +00:00
pavlov%pavlov.net
8e28994bac comment something out 1998-12-23 04:17:30 +00:00
pavlov%pavlov.net
98f76e2272 Redo all the evil event handling. We still do not resize properly, but I am
getting closer.
1998-12-23 03:31:15 +00:00
pierre%netscape.com
359ab2058d moved nsRefData to nsMacMessageSink.h 1998-12-22 06:38:00 +00:00
pierre%netscape.com
1d6f733611 defined the Raptor windowKind bit and moved nsRefData to nsMacMessageSink.h 1998-12-22 06:37:46 +00:00
pierre%netscape.com
ca424fae3e Handle the Raptor windowKind bit 1998-12-22 06:37:32 +00:00
pierre%netscape.com
a0a0e2419a File Removed. 1998-12-22 02:04:26 +00:00
pierre%netscape.com
351701b45c Fixed for the Mac 1998-12-22 02:02:24 +00:00
pinkerton%netscape.com
0e730c41fe Get rid of obsolete interfaces. 1998-12-21 21:54:29 +00:00
pinkerton%netscape.com
3b684ee62d Decouple the toolbars from the toolbox once and for all. Implement collapsing/expanding toolbars with new grippy mechanism. 1998-12-21 21:54:17 +00:00
rods%netscape.com
8bbcbd7687 Added several enums for form's controls 1998-12-21 16:53:49 +00:00
brade%netscape.com
e74bb5d568 have SetAlignment return NS_OK (reduce Mac compiler warnings) 1998-12-21 16:51:19 +00:00
brade%netscape.com
48ee78c7ef reduce Mac compiler warnings by commenting out unused local variables 1998-12-21 16:48:35 +00:00
pierre%netscape.com
7cce6c062b Remove 'mBounds' that was hidding a recently added member variable with the same name in nsBaseWidget 1998-12-20 13:16:48 +00:00
pierre%netscape.com
03b472d939 Added a reminder to not always pass the entire widget rect in NS_PAINT_EVENTs 1998-12-20 13:14:29 +00:00
ramiro%netscape.com
c08bd84e76 Renamed 'main' to 'scribble'. 1998-12-20 08:22:02 +00:00
peterl%netscape.com
fb2058178f sync to new attribute api 1998-12-20 01:35:57 +00:00
pavlov%pavlov.net
8edbbe611d we require gtk 1.1.6 now 1998-12-19 20:10:31 +00:00
pavlov%pavlov.net
27fc609873 fix crash 1998-12-19 20:02:31 +00:00
pavlov%pavlov.net
192e7b7740 lots and lots of code cleanup. 1998-12-19 18:04:06 +00:00
hyatt%netscape.com
6484329b09 Implemented expanding/collapsing nodes in the tree view AND implemented
selection in the tree view.
1998-12-18 23:57:11 +00:00
pierre%netscape.com
1ca7c07405 Update() no longer passes the rendering context to the children 1998-12-18 13:34:39 +00:00
pierre%netscape.com
f6332bd996 Update() no longer passes the rendering context to the children and ignore invisible widgets 1998-12-18 13:34:22 +00:00
pierre%netscape.com
806a21d518 Fixed continuous drawing of controls by doing a ValidRect after DrawControl 1998-12-18 13:29:39 +00:00
pierre%netscape.com
55d8e8308c Call DeviceContextImpl::Init() just because Windows does it 1998-12-18 13:29:06 +00:00
shaver%netscape.com
af51904fec resprinkle NO_STATIC_LIB, but spare libpng so that viewer is cool. Also, repair some viewer/apprunner link foibles 1998-12-18 02:55:23 +00:00
blizzard%appliedtheory.com
22a93da773 only destroy the widget if it has actually been created 1998-12-18 02:52:55 +00:00
waterson%netscape.com
e7539c228e Fix build bustage. 1998-12-18 01:33:26 +00:00
mjudge%netscape.com
c98135bbb0 fixing build 1998-12-18 01:09:11 +00:00
davidm%netscape.com
fb2200ce16 Fix problems with multiple windows leaking the event queue 1998-12-17 23:10:42 +00:00
hyatt%netscape.com
fcd61896ea Fixing Pink's build bustage. 1998-12-17 22:48:36 +00:00
pinkerton%netscape.com
cc49c95daa using nsCOMPtr and grippies are now drawn by hand so we can get the right look and scaling. Separation of grippies from toolbar in place with ifdefs. 1998-12-17 22:15:48 +00:00
pinkerton%netscape.com
ac975ce29e using nsCOMPtr 1998-12-17 22:15:09 +00:00
pinkerton%netscape.com
e1b5a6e2a4 using nsCOMPtr and preparing for separation from grippy and toolbar manager with ifdefs. 1998-12-17 22:14:28 +00:00
pinkerton%netscape.com
68d610b7dc inserted IID() method for use with nsCOMPtr. 1998-12-17 22:13:41 +00:00
hyatt%netscape.com
9eb555209e Paving the way for the implementation of expanding/collapsing folders. 1998-12-17 22:11:51 +00:00
rods%netscape.com
7972c3adb0 Added LBS_EXTENDEDSEL flag to get the proper MULTIPLE seleciton behavior 1998-12-17 18:44:52 +00:00
hyatt%netscape.com
82ef5ad22e Fixing build bustage. Sorry! 1998-12-17 00:07:23 +00:00
hyatt%netscape.com
2d874870ea Fixing build bustage. Sorry! 1998-12-17 00:05:06 +00:00
hyatt%netscape.com
9dba4a3edb Added code for hit detection. (Can now detect a hit on the trigger and tell
which row/column was hit.)
1998-12-16 23:02:30 +00:00
hyatt%netscape.com
0dd9eae393 Modifications for rollover color support. 1998-12-16 22:06:26 +00:00
davidm%netscape.com
a01c0cc624 First pass at adding nspr event queue on the mac so that clicking on links works properly 1998-12-16 22:03:18 +00:00
dcone%netscape.com
f12f16d7ca fixed resoluton problem for printing. 1998-12-16 18:02:38 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
donm%netscape.com
37804b7a40 backing out Shaver's changes. -donm 1998-12-16 00:49:36 +00:00
dcone%netscape.com
031b91086c fixed the scaling bug 1998-12-15 22:22:40 +00:00
shaver%netscape.com
0161071aef Make apprunner link dynamically.
Sprinkle Makefile.ins with NO_STATIC_LIB to speed the build and reduce the disk
requirements.
1998-12-15 22:17:14 +00:00
dcone%netscape.com
b8ac234783 fixed some scaling issues for the mac, more to come 1998-12-15 16:56:53 +00:00
shaver%netscape.com
30635270f8 Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]
1998-12-15 16:32:37 +00:00
ramiro%netscape.com
73636abd84 Rename 'libdbm' to 'libmozdbm' and 'libutil' to 'libmozutil.
This will fix the problem many people are reporting wrt conflicts with
system libraries that have the same names.
1998-12-15 07:37:32 +00:00
ramiro%netscape.com
7769256dad Ignore generated files. 1998-12-15 07:32:11 +00:00
ramiro%netscape.com
85a05e17fc Make it link again. 1998-12-15 07:31:57 +00:00
michaelp%netscape.com
a9638b06e1 we now pass the damage region given to us in BeginPaint() into the
rendering context for better damage management.
1998-12-15 05:44:21 +00:00
pierre%netscape.com
725816ecf4 don't dispatch Update event when the widget has drawn itself already 1998-12-15 04:03:38 +00:00
pierre%netscape.com
a504a77878 added OnPaint() to return 'false' and notify nsWindow not to dispatch the Update event 1998-12-15 04:03:09 +00:00
sfraser%netscape.com
e949a694f4 Fixed Show() to store a full UNIX path to the selected file 1998-12-15 03:11:59 +00:00
pierre%netscape.com
863c7a9967 added nsDialog.cpp ans nsLabel.cpp 1998-12-15 03:05:50 +00:00
pierre%netscape.com
af189fe863 support nsDialog ans nsLabel 1998-12-15 03:05:06 +00:00
pierre%netscape.com
dc23c3bdda support dialogs 1998-12-15 03:03:10 +00:00
pierre%netscape.com
fdef79027c First Checked In. 1998-12-15 03:00:25 +00:00
pinkerton%netscape.com
e7502eb0a1 add nsHTToolbarContentModel.cpp to obj's as well as src's. Doh! 1998-12-15 00:42:55 +00:00
pinkerton%netscape.com
c4e73c1ca8 add nsHTToolbarContentModel.cpp 1998-12-14 23:51:34 +00:00
pinkerton%netscape.com
78494faf03 minor tweaks to nsBasicStyleInfo struct. 1998-12-14 23:51:04 +00:00
pinkerton%netscape.com
6323c73a20 Talk to new nsHTToolbarDataModel 1998-12-14 23:50:34 +00:00
pinkerton%netscape.com
6c242a4771 First Checked In. 1998-12-14 23:50:02 +00:00