Commit Graph

1253 Commits

Author SHA1 Message Date
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
beard%netscape.com
3cb1e6a525 Regenerated with GenToc. 1998-12-13 18:15:37 +00:00
beard%netscape.com
18984e5a80 First Checked In. 1998-12-13 05:01:04 +00:00
hyatt%netscape.com
8c0b8598ea Fixing a minor drawing bug (filling in of the blank lines in the tree). 1998-12-13 01:20:35 +00:00
hyatt%netscape.com
d22b37ac06 Fixing the content model structure and correcting a drawing error
in the tree view.
1998-12-11 23:01:09 +00:00
pinkerton%netscape.com
fb06b55da4 Explanation of why this file is obsolete but still in the tree. 1998-12-11 16:39:29 +00:00
pinkerton%netscape.com
c7d05faaaf use NS_STATIC_CAST. 1998-12-11 16:35:48 +00:00
pinkerton%netscape.com
aa2fea9544 fix a cast with the tree view because nsITreeView doesn't exist anymore. 1998-12-11 16:35:33 +00:00
pinkerton%netscape.com
e65fe08c19 make tree view implement nsIContentConnector, obsoleting nsITreeView 1998-12-11 16:35:08 +00:00
pinkerton%netscape.com
ef2d844690 Make toolbar manager implement nsIContentConnector and prepare for nsIToolbarManager to go away. 1998-12-11 16:34:46 +00:00
pinkerton%netscape.com
abc05dff5f Make toolbar implement nsIContentConnector and prepare for nsIToolbar to go away. 1998-12-11 16:34:25 +00:00
pinkerton%netscape.com
1f8ea0b1fc Export nsIContentConnector.h instead of nsITreeView.h 1998-12-11 16:33:40 +00:00
pinkerton%netscape.com
286d14c4dc First Checked In. 1998-12-11 16:32:39 +00:00
dcone%netscape.com
f5ac466f74 minor fix for the printers port 1998-12-11 16:09:28 +00:00
dcone%netscape.com
b5906d1304 Fixed it so that a control handle is not made unless a valid windowptr is passed in. This is needed for the printer port. 1998-12-11 16:05:54 +00:00
dcone%netscape.com
dbbc7656e0 Update routines for creating a rendering context, and fixed the printer routines. 1998-12-11 16:03:10 +00:00
pierre%netscape.com
1345c7c6ab Fixed Resize() and Invalidate() to make xpfe apps much faster 1998-12-11 01:11:23 +00:00
waterson%netscape.com
c6b11dbf11 Made sure to treat attribute value case-insenstively. Fixed QueryInterface() call. 1998-12-10 10:06:37 +00:00
waterson%netscape.com
83e935d289 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. 1998-12-10 10:05:32 +00:00
waterson%netscape.com
8929c3f950 Iterate through children of the <COLUMNS> node, not the original node. 1998-12-10 08:31:52 +00:00
waterson%netscape.com
67d8c358af Make sure to get the children of the <CHILDREN> node, not the original node. 1998-12-10 08:30:59 +00:00
waterson%netscape.com
c43768fe3b Make sure to addref the content node in the constructor. 1998-12-10 08:30:18 +00:00
sfraser%netscape.com
b2b751eef5 Convert AppleSingle->binary format. 1998-12-10 03:22:27 +00:00
hyatt%netscape.com
d446cfc376 Nodes now track their correct indentation levels (from the content model). 1998-12-10 00:21:44 +00:00
hyatt%netscape.com
a469d9466b Columns are now grabbed from the content model. 1998-12-09 23:08:32 +00:00
hyatt%netscape.com
4149297070 My previous checkin is going to break Linux. This checkin should fix the
build bustage.
1998-12-09 20:50:27 +00:00
hyatt%netscape.com
362e1987f8 Modifications to make the tree widget talk to nsIContent. 1998-12-09 19:57:15 +00:00
hyatt%netscape.com
33425774ac Modified the tree view interface so a content root can be set. 1998-12-09 19:56:55 +00:00
ramiro%netscape.com
6beb52bff6 Fix bugzilla bug 1822.
Memory clobber on 64-bit host.
Thanks to rth@cygnus.com for catching this and providing a fix.
1998-12-09 15:13:42 +00:00
pierre%netscape.com
35462c8d12 Implemented scrollbars as native controls. Still some bugs, should have live-scrolling, should be proportionnal under 8.5. 1998-12-09 13:26:49 +00:00
pierre%netscape.com
7b7acedec8 don't draw when not visible 1998-12-09 13:24:26 +00:00
pierre%netscape.com
38ef58f9a1 redraw on Scroll() 1998-12-09 13:24:09 +00:00
pierre%netscape.com
8716e7650b removed saari's hacks 1998-12-09 10:18:50 +00:00
pierre%netscape.com
f9c79d6e7d A bunch of changes: removed saari's hacks, fixed origins, clipping, resize and update 1998-12-09 10:18:30 +00:00
pierre%netscape.com
be8ec0def2 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 1998-12-09 10:18:03 +00:00
pierre%netscape.com
490706b04e 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. 1998-12-09 10:16:35 +00:00
pierre%netscape.com
cc250de8dd Removed the last of the Mac specific hacks added last week 1998-12-09 10:16:15 +00:00
pierre%netscape.com
eef6abc8c4 Use a better looking font on the Mac 1998-12-09 10:15:22 +00:00
pierre%netscape.com
8ad023962d Removed some include files 1998-12-09 10:14:46 +00:00
ramiro%netscape.com
2fa8b74cf6 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.
1998-12-07 06:51:26 +00:00
msw%gimp.org
eb5a46231c Resizing works again, but resizes seem behind by one step. 1998-12-07 05:08:00 +00:00
pierre%netscape.com
bc71cb7f74 removed the NS_NATIVE_OFFSET_IN_PORT hacks 1998-12-07 03:37:15 +00:00
beard%netscape.com
c77f1c7ae7 Implemented SetTitle using nsString::ToCString. Will need to revisit when UNICODE window titles are supported. 1998-12-07 03:08:07 +00:00
pavlov%pavlov.net
4ed36763d4 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
1998-12-06 15:56:43 +00:00
pavlov%pavlov.net
baafbee3a7 indent these files so they conform to the style and fix read only and password
fields.
1998-12-06 15:42:28 +00:00
pavlov%pavlov.net
3d3d6596f7 build TextWidget's correctly. 1998-12-06 15:40:48 +00:00
pavlov%pavlov.net
8f6501417b 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
1998-12-06 14:32:20 +00:00
wtc%netscape.com
a35e7983af In nsMenu::GetNativeParent, use the GTK_WIDGET macro (defined in
<gtk/gtkwidget.h>) to convert (void *) to (GtkWidget *).
1998-12-06 07:08:33 +00:00
ramiro%netscape.com
0c231eb66b Undo my previous screwup. I thought I was helping... 1998-12-06 06:23:31 +00:00
ramiro%netscape.com
1d24037e60 Fix Pavlov's bustage.
Thanks to Steve Morrison <smorrison@gte.com> for the fix.
1998-12-06 06:07:04 +00:00
ramiro%netscape.com
a852222b5a Added a type cast.
Thanks to Wan-Teh Chang <wtc@netscape.com> for the patch.
1998-12-06 05:32:57 +00:00
pavlov%pavlov.net
120268aa09 nsText* removed unused class variables.
nsWidget use the nsLookAndFeel values instead of defining the colors again.
1998-12-06 04:31:13 +00:00
pavlov%pavlov.net
7635f099df set texts for text boxes correctly. impliment InsertText. 1998-12-06 03:14:23 +00:00
pierre%netscape.com
154cd3db3b 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. 1998-12-06 00:51:16 +00:00
pierre%netscape.com
2a0605988d StartDraw() initializes the rendering context; it allows Update() to pass the rendering context to the children. 1998-12-06 00:37:46 +00:00
pierre%netscape.com
320e632b52 removed the ::IdleControl() stuff (it was intended for edit fields but they have been implemented as LPeriodicals) 1998-12-06 00:36:15 +00:00
ramiro%netscape.com
151ac529c1 This patch set just makes sure that all functions that are
supposed to return values actually do so, to keep the Solaris
native compiler happy.

Thanks to Tim Rowley <tor@cs.brown.edu> for the fix.
1998-12-05 11:54:00 +00:00
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
pavlov%pavlov.net
582b673aa6 Fix some code... its late isn't it? no more random looping due to resizing
code.
1998-12-05 03:54:30 +00:00
hyatt%netscape.com
f50cab1781 Oops. Fixing build bustage. 1998-12-04 23:55:48 +00:00
hyatt%netscape.com
cbbb240c02 Tweaks. 1998-12-04 23:05:50 +00:00
hyatt%netscape.com
0dab208fd2 Added support for vertical dividers. 1998-12-04 22:15:47 +00:00
pinkerton%netscape.com
c81964c2c5 Changed it so that triangle is drawn with lines instead of polygon
because of differences in gfx between platforms.
1998-12-04 21:36:43 +00:00