1134 Commits

Author SHA1 Message Date
mcmullen%netscape.com
d530ae462b 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.
git-svn-id: svn://10.0.0.236/trunk@18692 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:11:56 +00:00
pinkerton%netscape.com
bb880b4b55 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.
git-svn-id: svn://10.0.0.236/trunk@18628 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 18:07:11 +00:00
waterson%netscape.com
98cfa2b5da Fixed capitalization error.
git-svn-id: svn://10.0.0.236/trunk@18573 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 04:03:59 +00:00
michaelp%netscape.com
25094ac7f0 moving headers from src to public. added support for dib sections to windows
drawing surface. WIP on making blender work with arbitrary pixel organizations.


git-svn-id: svn://10.0.0.236/trunk@18510 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:16:47 +00:00
akkana%netscape.com
006f55116c 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).


git-svn-id: svn://10.0.0.236/trunk@18507 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:10:48 +00:00
pinkerton%netscape.com
658c86f7a4 fixing a leak in GetChildren() and cleaning it up to use nsComPtr when creating a new enumerator.
git-svn-id: svn://10.0.0.236/trunk@18504 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 19:18:43 +00:00
pinkerton%netscape.com
8cad597409 Fix bug 2535 (memory leaks) with nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@18495 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 17:45:04 +00:00
sudu%netscape.com
d3239a027a OJI MozClassic to raptor merge
git-svn-id: svn://10.0.0.236/trunk@18465 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 08:05:00 +00:00
pavlov%pavlov.net
1174d93a4d only redraw the stuff that needs to be redrawn, not the entire widget.
git-svn-id: svn://10.0.0.236/trunk@18464 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 02:21:20 +00:00
pavlov%pavlov.net
2cfa0d9b30 fix button pressing
git-svn-id: svn://10.0.0.236/trunk@18458 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 00:51:21 +00:00
pavlov%pavlov.net
b732addd9c we require gtk 1.1.13, remove #ifdef's. clean up key press handling
git-svn-id: svn://10.0.0.236/trunk@18444 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 12:03:14 +00:00
pavlov%pavlov.net
9e1b689b9f fix text widgets getting focus.
git-svn-id: svn://10.0.0.236/trunk@18442 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 11:26:09 +00:00
pavlov%pavlov.net
f1d4e0ab8a animated things work, editor works, etc etc etc. be happy!
git-svn-id: svn://10.0.0.236/trunk@18395 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 01:58:45 +00:00
saari%netscape.com
c75d529454 Commenting out until I figure out what I horked
git-svn-id: svn://10.0.0.236/trunk@18394 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 01:08:17 +00:00
radha%netscape.com
e116442fb0 Use the EventQueue service provider instead of manipulating directly with PLEventQueue
git-svn-id: svn://10.0.0.236/trunk@18390 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:54:43 +00:00
saari%netscape.com
4a0954c052 Commenting out until I figure out what I horked
git-svn-id: svn://10.0.0.236/trunk@18381 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:46:57 +00:00
saari%netscape.com
1606aa27bf Commenting out until I figure out what I horked
git-svn-id: svn://10.0.0.236/trunk@18379 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:26:51 +00:00
mcafee%netscape.com
a33b370cfb Cleaning up whitespace
git-svn-id: svn://10.0.0.236/trunk@18374 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:02:41 +00:00
saari%netscape.com
cb9c9fb271 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18370 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:53:53 +00:00
saari%netscape.com
e67ca2314a Set mMenuListener to null in constructor
git-svn-id: svn://10.0.0.236/trunk@18368 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:25:16 +00:00
saari%netscape.com
f8cb83a03e 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.


git-svn-id: svn://10.0.0.236/trunk@18367 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:23:00 +00:00
blizzard%appliedtheory.com
66a6d1fe9b handle the top level widget special in resizing
git-svn-id: svn://10.0.0.236/trunk@18313 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 16:10:29 +00:00
blizzard%appliedtheory.com
13cedd6699 resizing fixes
git-svn-id: svn://10.0.0.236/trunk@18309 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 16:02:34 +00:00
pavlov%pavlov.net
2e6a02ca58 setup place for ramiro to fix bug 2503 easily
git-svn-id: svn://10.0.0.236/trunk@18293 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 12:10:43 +00:00
davidm%netscape.com
8ef5c8c436 2239 Crash when leaving test9
git-svn-id: svn://10.0.0.236/trunk@18248 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:49:08 +00:00
rods%netscape.com
4960f36497 Removed the GetFont method (this functionality is now a part of the nsIDeviceContext)
git-svn-id: svn://10.0.0.236/trunk@18226 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:59:14 +00:00
rods%netscape.com
d3e70b8d69 Added new Method for getting System Attributes (colors, fonts, sizes)
many of these are duplicated in nsLookAndFeel. The enums will be removed
from nsLookAndFeel.


git-svn-id: svn://10.0.0.236/trunk@18225 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:55:27 +00:00
pierre%netscape.com
a3439dbf47 Fix #2251 "Garbage renders over the back button"
git-svn-id: svn://10.0.0.236/trunk@18171 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 11:42:00 +00:00
pierre%netscape.com
dee020a45b Removed the obsolete 'mTE'.
git-svn-id: svn://10.0.0.236/trunk@18170 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 11:41:26 +00:00
pierre%netscape.com
ba1dd649af Removed the unused method DrawWidget()
git-svn-id: svn://10.0.0.236/trunk@18169 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 11:21:51 +00:00
pierre%netscape.com
bfde531d65 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>
git-svn-id: svn://10.0.0.236/trunk@18168 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 11:21:10 +00:00
pierre%netscape.com
daefb175d4 Mac only: added 'isCommand' in nsInputEvent
git-svn-id: svn://10.0.0.236/trunk@18164 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 09:52:07 +00:00
pierre%netscape.com
ee08981436 initialize the Rendering Context from a GrafPort to fix a crash on print
git-svn-id: svn://10.0.0.236/trunk@18158 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 08:41:21 +00:00
akkana%netscape.com
31b1c02876 Handle alphanumeric characters properly
git-svn-id: svn://10.0.0.236/trunk@18078 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 18:43:59 +00:00
rods%netscape.com
f46b63bfa0 Fixed scrollbar rendering problem by commenting out the WM_CTLCOLORSCROLLBAR
message in switch statement. (fix thanks to Michael Lowe)


git-svn-id: svn://10.0.0.236/trunk@18074 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 15:42:51 +00:00
pierre%netscape.com
ae42b2d56a display the AppearanceMgr frame around edit fields
git-svn-id: svn://10.0.0.236/trunk@18029 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 22:34:43 +00:00
pierre%netscape.com
f55ce79305 fixed Scroll() in case the caller passes a null clipRect
git-svn-id: svn://10.0.0.236/trunk@18022 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 19:29:43 +00:00
rods%netscape.com
529b6e8f8f Added new Method for Querying System Fonts
git-svn-id: svn://10.0.0.236/trunk@18019 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 17:36:19 +00:00
pinkerton%netscape.com
c0703d6b97 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).
git-svn-id: svn://10.0.0.236/trunk@18017 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 17:21:37 +00:00
pierre%netscape.com
b3fd92890d use the newly added HandleUpdateEvent() to redraw the top-level widget
git-svn-id: svn://10.0.0.236/trunk@18010 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 14:34:14 +00:00
pierre%netscape.com
449bfd60e6 fixed live scrolling
git-svn-id: svn://10.0.0.236/trunk@18009 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 14:33:47 +00:00
pierre%netscape.com
b4ea06ef45 added HandleUpdateEvent() and use ::BeginUpdate() in Update() in order to improve performance during live scrolling
git-svn-id: svn://10.0.0.236/trunk@18008 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 14:33:21 +00:00
pierre%netscape.com
6d58fb6b7c added Paste
git-svn-id: svn://10.0.0.236/trunk@18007 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 10:29:48 +00:00
pierre%netscape.com
505e3d5466 moved ConvertOSMenuResultToPPMenuResult() from nsMacMain
git-svn-id: svn://10.0.0.236/trunk@18006 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 10:29:30 +00:00
pierre%netscape.com
934589348e propagate menu event to focused widget and its parents
git-svn-id: svn://10.0.0.236/trunk@18004 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 10:28:53 +00:00
pierre%netscape.com
47bd3bb6e7 Fixed the clip rgn in Scroll(): the scrollbars no longer flicker.
git-svn-id: svn://10.0.0.236/trunk@17997 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 04:29:08 +00:00
pavlov%pavlov.net
319109dbd6 parse ~/.gtkrc (if it exists) file to make things look more consistant with
other gtk apps.


git-svn-id: svn://10.0.0.236/trunk@17991 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 02:45:55 +00:00
pavlov%pavlov.net
5b2738d43e return true for events that we handle and not false
git-svn-id: svn://10.0.0.236/trunk@17986 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 02:17:30 +00:00
pierre%netscape.com
39b1681518 Paint only the damaged area instead of the whole widget. Reuse the rendering context to update the children. Scroll the children.
git-svn-id: svn://10.0.0.236/trunk@17977 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 00:02:51 +00:00
pierre%netscape.com
5ff85d5f7b DoMessagePump() no longer returns a boolean
git-svn-id: svn://10.0.0.236/trunk@17975 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 00:01:41 +00:00