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
akkana%netscape.com
5da3c4fcdf
base/src/nscore.h
1998-12-04 21:36:23 +00:00
pinkerton%netscape.com
6aa787e50c
now draws triangle in upper right to indicate this button has a menu. Draws in gray when the button is disabled.
1998-12-04 16:34:56 +00:00
dcone%netscape.com
88115c192c
Added printing support
1998-12-04 15:02:57 +00:00
dcone%netscape.com
67bb22ffd2
First Checked In.
1998-12-04 15:02:26 +00:00
pinkerton%netscape.com
343027d449
lighten the widget bg colors so this things finally looks like macNavigator again.
1998-12-04 01:39:36 +00:00
slamm%netscape.com
45fedef1f0
Add support for hyatt's treeview.
1998-12-04 01:06:58 +00:00
slamm%netscape.com
1bae821802
Build hyatt's treeview on Unix.
1998-12-04 01:06:53 +00:00
hyatt%netscape.com
ef3edbb7b0
Tweaked the tree colors.
1998-12-03 23:55:15 +00:00
hyatt%netscape.com
4af3f59416
The tree view column pushers disable properly. Hidden/shown columns remember
...
their desired widths.
1998-12-03 22:15:51 +00:00
pinkerton%netscape.com
7c7b712223
make sure the port is set correctly before we call ::SetOrigin on mouse events.
1998-12-03 22:05:49 +00:00
mjudge%netscape.com
669742abb5
changing enumerator interface again
1998-12-03 21:46:27 +00:00
mjudge%netscape.com
6a4ef991ee
changing enumerator interface
1998-12-03 21:46:06 +00:00
wtc%netscape.com
014c54462a
Added a static cast from void* to GtkWidget*.
1998-12-03 06:35:05 +00:00
saari%netscape.com
1576d7c24e
Mac - Temporarly turning off the passing down of rendering contexts to children during updates to facilitate a hack that improves rendering. The hack is getting around the Windows centric XP code.
1998-12-03 04:26:46 +00:00
pinkerton%netscape.com
fff8fe4b1e
replace NS_IMETHOD with expanded version to make vc6 happy.
1998-12-03 01:45:40 +00:00
pinkerton%netscape.com
d28de534ca
move the tree and toolbar files into their own group.
1998-12-03 01:27:41 +00:00
pinkerton%netscape.com
f8f5bef93e
general cleanup, change PaintLines() to PaintRows(), cleaned up cntr.
1998-12-03 01:27:24 +00:00
pinkerton%netscape.com
cbea612556
make the toolbar inherit from the dataModelWidget class like the trees.
1998-12-03 01:26:39 +00:00
pinkerton%netscape.com
4ad7e18ed5
clean up a warning and some comments.
1998-12-03 01:26:10 +00:00
pinkerton%netscape.com
cb881e2b8e
moved eDMImageLoaded constant here because this is the only place it is used.
1998-12-03 01:25:50 +00:00
pinkerton%netscape.com
291af9a28b
reshuffled some things to remove include dependancies, etc.
1998-12-03 01:25:26 +00:00
hyatt%netscape.com
0279740d43
Removal of the mutable keyword (to keep VC4.2 happy), and a fix to make
...
sure the folder and trigger images load for everyone.
1998-12-02 23:04:55 +00:00
pavlov%pavlov.net
b47b3876de
removed extranious #include "gtklayout.h"'s and #ifndef GTK_HAVE_FEATURES_1_1_6
...
in gtklayout.c and nsWidget.h so that we use the gtklayout from gtk 1.1.6 if
available.
1998-12-02 19:54:34 +00:00
pinkerton%netscape.com
0393426e92
add the files to build the xpfe tree view.
1998-12-02 19:49:27 +00:00
pinkerton%netscape.com
7a96113028
export the tree view.
1998-12-02 19:49:06 +00:00
pinkerton%netscape.com
655f344bbe
add the tree view to the widget factory.
1998-12-02 19:48:55 +00:00
pinkerton%netscape.com
a530a48ff9
fix PRBool and an unwanted assignment in an if().
1998-12-02 19:48:28 +00:00
dcone%netscape.com
26ca8b6da1
Changed the name so the file can be used on the Mac
1998-12-02 16:06:31 +00:00
pierre%netscape.com
67e6a0fc37
changed eMetric_TextFieldHeight to 16 from 30
1998-12-02 10:15:55 +00:00
pierre%netscape.com
aa5b68b953
removed the 2 Resize() methods
1998-12-02 10:15:41 +00:00
pierre%netscape.com
2f80120a28
Update() receives the rendering context as a parameter and passes it to the children
1998-12-02 10:15:22 +00:00
hyatt%netscape.com
4f81d4781a
Eliminated my usage of the "mutable" keyword, since VC4.2 chokes on it.
1998-12-02 07:20:39 +00:00
saari%netscape.com
6691a47a01
----------------------------------------
mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly
1998-12-02 02:43:19 +00:00
saari%netscape.com
1bbd74bf37
This is the first in what will probably be a series of checkins addressing rendering on the Mac.
Changed files:
----------------------------------------
mozilla/gfx/src/mac/nsRenderingContextMac.h
mozilla/gfx/src/mac/nsRenderingContextMac.cpp
- Major changes to the Mac rendering context implementation. nsRenderingContextMac now keeps the majority of its state in a GraphicsState object, not in member variables. Setting ports and origins is now a more tightly controlled process. Offscreen buffers don't work correctly yet.
To Do:
- Remove ::SetOrigin calls from most nsRenderingContextMac drawing methods
- Some old variables need to be fully obsoleted
- Offscreen GWorlds currently do not work correctly. This will be addressed shortly.
----------------------------------------
mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly
----------------------------------------
mozilla/widget/public/nsIWidget.h
- Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP.
/\/\/\/\/\//\
mozilla/widget/src/mac/nsWindow.h
mozilla/widget/src/mac/nsWindow.cpp
- Added mMacPortRelativeRegion
----------------------------------------
mozilla/widget/src/mac/nsScrollbar.cpp
- Support the new nsWindow constructs
----------------------------------------
1998-12-02 02:42:19 +00:00
saari%netscape.com
6091559407
This is the first in what will probably be a series of checkins addressing rendering on the Mac.
Changed files:
----------------------------------------
mozilla/gfx/src/mac/nsRenderingContextMac.h
mozilla/gfx/src/mac/nsRenderingContextMac.cpp
- Major changes to the Mac rendering context implementation. nsRenderingContextMac now keeps the majority of its state in a GraphicsState object, not in member variables. Setting ports and origins is now a more tightly controlled process. Offscreen buffers don't work correctly yet.
To Do:
- Remove ::SetOrigin calls from most nsRenderingContextMac drawing methods
- Some old variables need to be fully obsoleted
- Offscreen GWorlds currently do not work correctly. This will be addressed shortly.
----------------------------------------
mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly
----------------------------------------
mozilla/widget/public/nsIWidget.h
- Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP.
/\/\/\/\/\//\
mozilla/widget/src/mac/nsWindow.h
mozilla/widget/src/mac/nsWindow.cpp
- Added mMacPortRelativeRegion
----------------------------------------
mozilla/widget/src/mac/nsScrollbar.cpp
- Support the new nsWindow constructs
----------------------------------------
1998-12-02 02:26:08 +00:00
hyatt%netscape.com
748accd789
Fixing the widget factory for tree views.
1998-12-02 01:45:15 +00:00
hyatt%netscape.com
a1d435f489
Fixing the widget factory for the tree view.
1998-12-02 01:44:53 +00:00
hyatt%netscape.com
d973cca63c
The tree view interface.
1998-12-02 01:44:24 +00:00
hyatt%netscape.com
eea32baf14
Initial checkin of the tree widget and the data model architecture (that will
...
be used for toolbars and trees).
1998-12-02 01:43:26 +00:00
hyatt%netscape.com
6ba325dd88
Deletion of outdated tree widget and toolbar interfaces and updating of
...
the appropriate makefiles.
1998-12-02 01:38:54 +00:00
beard%netscape.com
c504261ae7
Moved to shared libraries, building in mozilla/dist, linking against many fewer libraries.
1998-12-01 22:25:36 +00:00
mjudge%netscape.com
46a8b56138
fix for mac no ')'
1998-12-01 21:39:13 +00:00
mjudge%netscape.com
076c10919b
didnt check in the one file i needed!! not my day
1998-12-01 21:04:33 +00:00
mjudge%netscape.com
b52a87e5f8
fixing mac build bustages
1998-12-01 20:58:53 +00:00
mjudge%netscape.com
d6fc29ce6a
casting like mad
1998-12-01 20:56:29 +00:00
mjudge%netscape.com
d3453f41c2
fixing build bustage!
1998-12-01 20:28:34 +00:00
mjudge%netscape.com
dd39138c7f
fixing bug in windows code for build
1998-12-01 20:20:40 +00:00
mjudge%netscape.com
b29ecad268
fixing mac build bustage
1998-12-01 20:17:01 +00:00
beard%netscape.com
1cc22fb274
Uses shared libraries, targets get built in mozilla/dist/viewer[Debug].
1998-12-01 20:00:35 +00:00
mjudge%netscape.com
ab27bd9d39
fixing tests to use the enumerator correctly
1998-12-01 17:58:50 +00:00
mjudge%netscape.com
43d3cd4a56
fixing enumerator to do the right thing
1998-12-01 17:58:27 +00:00
mjudge%netscape.com
5969fa01ca
changes enumerator to do the right thing
1998-12-01 17:58:10 +00:00
beard%netscape.com
c0c7bc482d
Mac shared library migration.
1998-11-30 22:15:00 +00:00
msw%gimp.org
ada6ca7ced
Rewrote the resize handler. This fixes the crashes at startup. There are
...
still conditions to make this go into infinite loop.
All callbacks/event handlers now return proper values.
1998-11-30 05:53:17 +00:00
michaelp%netscape.com
337fdd7b1a
fixed resource leak.
1998-11-28 04:24:15 +00:00
michaelp%netscape.com
6458aae507
added missing NS_INIT_REFCNT().
1998-11-28 04:21:40 +00:00
shaver%netscape.com
b1bc8c407e
revert pavlov's changes at his request
1998-11-25 17:50:35 +00:00
pavlov%pavlov.net
2eefc27dbf
remove my last commit. these caused more bugs than they were intended to
...
catch
1998-11-25 12:51:53 +00:00
kipp%netscape.com
0b34fa58c9
Fixed compilation bug with method signature not matching baseclass method
1998-11-25 04:14:55 +00:00
pavlov%pavlov.net
c73b9d994a
updated gtklayout code. Added lots of assertions to the widget code
1998-11-25 02:34:40 +00:00
rods%netscape.com
b05e123c34
Added paint method for printing (and possible future owner draw)
1998-11-24 14:57:09 +00:00
joki%netscape.com
16d400d1bf
Add keypress event type to nsGUIEvent
1998-11-24 07:45:26 +00:00
pavlov%pavlov.net
4b088bfcea
import of new gtk code by Owen Taylor <otaylor@redhat.com>. This code should
...
support GTK_NO_WINDOW widgets now.
1998-11-24 02:06:29 +00:00
pavlov%pavlov.net
63d7de7066
remove shadow from menubar to provide a consistant look.
1998-11-23 23:41:47 +00:00
rpotts%netscape.com
3dd54dd7bb
Add a missing NS_RELEASE(...) for a QI(...)
1998-11-22 09:27:30 +00:00
pavlov%pavlov.net
b57394f76f
fix transparent icons and flipped the nscolor to gdkcolor R and B colors
1998-11-22 04:43:24 +00:00
pavlov%pavlov.net
5cf32dcba0
Setup the X hints for when mozilla is minimized. Added icon.
1998-11-21 21:49:17 +00:00
cyeh%netscape.com
65038e9551
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 .
1998-11-21 00:34:32 +00:00
pavlov%pavlov.net
17ead6a5c6
small bug fix.
1998-11-20 04:42:03 +00:00
pavlov%pavlov.net
fcfddbd59f
initial files for the tab widget
1998-11-20 04:27:32 +00:00
saari%netscape.com
19c5ad3406
Just a comment on nsWindow's mBounds member
1998-11-20 01:10:44 +00:00
pinkerton%netscape.com
feabe7080f
Added SetCursor() override so that we will change the cursor when layout tells us.
1998-11-19 21:54:35 +00:00
msw%gimp.org
b7e208be32
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.
1998-11-19 21:12:02 +00:00
msw%gimp.org
aabc8206e0
Implemented the start of the text widget onkey callback. You can now type
...
URLs in the location field of xpviewer and hit enter.
1998-11-19 05:33:13 +00:00
joki%netscape.com
77fd9c2652
Reworking internal event code to use nsIFrame::GetFrameForPoint
...
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
pavlov%pavlov.net
b08b22d323
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.
1998-11-18 03:58:54 +00:00
jfrancis%netscape.com
150af5ea50
more shared lib conversion work.
1998-11-18 02:44:02 +00:00
jfrancis%netscape.com
cd1419e599
more shared lib conversion work
1998-11-18 02:43:45 +00:00
jfrancis%netscape.com
f6a60f606a
shared lib conversion, phase 1
1998-11-18 00:55:05 +00:00
jfrancis%netscape.com
4b6357d0df
First Checked In.
1998-11-18 00:54:26 +00:00
pinkerton%netscape.com
6b9ba62564
Don't use screenbits.bounds for determining constraints on moving or growing windows. Use bounding rect of GetGrayRgn().
1998-11-18 00:46:22 +00:00
pinkerton%netscape.com
3441cc43d6
Added comments that these are the default implementations and that they can (and should) be replaced by embedding applications.
1998-11-17 17:34:47 +00:00
pinkerton%netscape.com
03125acd0c
since nsMacMessagePump is back (as a default imp), export it as well.
1998-11-17 17:22:05 +00:00
pinkerton%netscape.com
83a64aac74
Move default imps of AppShell and MessagePump back into widget. Clients may still provide their own.
1998-11-17 17:20:06 +00:00
pinkerton%netscape.com
e019f297bb
First Checked In.
1998-11-17 17:19:01 +00:00
msw%gimp.org
0f07dff43c
Implemented Invalidate class members, reverted Resize funkiness
1998-11-17 05:57:27 +00:00
jfrancis%netscape.com
798674dd4a
Shared Lib conversion
1998-11-17 05:37:42 +00:00
msw%gimp.org
b9efc8615c
Resizes are faster, deleted old Motif code in nsWindow::Scroll
1998-11-17 01:30:27 +00:00
pinkerton%netscape.com
75adbe82f7
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.
1998-11-17 01:08:01 +00:00
rods%netscape.com
3ab253fc87
Added checks for null objects so printing would work.
1998-11-16 22:18:30 +00:00
hyatt%netscape.com
ec9902304f
Tweaking interfaces to move some functionality out of the treedatamodel and into the base.
1998-11-16 20:53:27 +00:00
hyatt%netscape.com
23413a2894
Added SetOpenState.
1998-11-16 20:11:06 +00:00
pinkerton%netscape.com
e7bbdc3354
Turn on debugging info for message sink and text area cpp files.
1998-11-16 18:45:30 +00:00
beard%netscape.com
a4f8f936e9
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.
1998-11-15 23:31:37 +00:00
beard%netscape.com
468bed8b7c
Added ConvertToLocalCoordinates, WindowToLocalCoordinate for converting from window (device) coordinates to widget coordinates.
1998-11-15 23:30:19 +00:00
pavlov%pavlov.net
cd756a5873
removed unused files
1998-11-15 22:27:32 +00:00
beard%netscape.com
2395b90562
Fixed SetThumbSize to not crash when mContext == NULL.
1998-11-15 21:58:09 +00:00
beard%netscape.com
b78b9df184
Changed COLOR8TOCOLOR16 to an inline function that simply returns (color8 << 8) | color8. This properly maps 0xFF to 0xFFFF, etc.
1998-11-15 21:56:40 +00:00
pavlov%pavlov.net
9c932f10f0
removed lots of printf's that were no longer needed
1998-11-15 19:32:36 +00:00
pavlov%pavlov.net
6a78ddfb2c
more work on the resizing. this works a tad better
1998-11-15 18:59:09 +00:00
pavlov%pavlov.net
15a87bb4f4
Initial work on resizing. This works somewhat
1998-11-15 18:28:16 +00:00
msw%gimp.org
ce8640cd4f
Oops - scrolling was set up backwards.
1998-11-15 17:30:31 +00:00
pavlov%pavlov.net
40b7030271
Impliment the key press events
1998-11-15 07:38:43 +00:00
msw%gimp.org
ee9e2e7e0d
Initial scrolling support - it's jumpy, but it works
1998-11-15 07:24:57 +00:00
pavlov%pavlov.net
f52a3251b8
add and remove items correctly. this fixes crashes on pages with comboboxes
1998-11-15 06:22:03 +00:00
pavlov%pavlov.net
311fa18fc8
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.
1998-11-14 21:08:27 +00:00
pavlov%pavlov.net
aa71fe03bd
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
1998-11-14 19:40:31 +00:00
pavlov%pavlov.net
64f20c0083
fix for removing children, add gtk_exit() to the exit call of nsAppShell and
...
redid a few move functions
1998-11-14 02:15:06 +00:00
michaelp%netscape.com
b731d5dc2c
changes to support printing architecture and actual printing under windows.
1998-11-14 02:05:13 +00:00
pavlov%pavlov.net
fbe9c5461a
fix gtklayout so that it removes children properly. add a few more debugging
...
messages to nsWidget and nsWindow
1998-11-14 01:42:42 +00:00
pavlov%pavlov.net
6bc7fc2e02
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 :-)
1998-11-13 16:37:03 +00:00
akkana%netscape.com
17fcf4b232
Fix more build bustage (IRIX)
1998-11-13 02:12:55 +00:00
akkana%netscape.com
25fac01ed2
Define gAppContext -- fix crash on startup
1998-11-13 00:23:16 +00:00
shaver%netscape.com
0b3a802ec5
add proper QI and Create calls for RO text widget
1998-11-12 23:54:34 +00:00
pinkerton%netscape.com
0ed71f1c71
Replacing message pump with message sink. The pump is "client" code and has been moved out there to better separate the event handling.
1998-11-12 21:25:26 +00:00
pinkerton%netscape.com
8af57bf976
Separate the event loop in the client from the nglayout/widget provided code. Now creates a message pump (client side) and a message sink (nglayout side) for event handling.
1998-11-12 21:24:16 +00:00
pinkerton%netscape.com
b3af37fea6
export nsMacMessageSink instead to separate the client from the internals of the event loop.
1998-11-12 21:23:02 +00:00
pinkerton%netscape.com
eb064c927c
Moved into viewer, since these are "client" routines and don't belong under
...
Widget.
1998-11-12 21:22:24 +00:00
pinkerton%netscape.com
73e3f11c22
First Checked In.
1998-11-12 21:20:36 +00:00
alecf%netscape.com
422187a877
fix Solaris/gcc bustage
1998-11-12 19:19:09 +00:00
pinkerton%netscape.com
29bed225ad
Use the correct prefix files to pick up all our settings.
1998-11-12 06:00:05 +00:00
pinkerton%netscape.com
1c038ee24d
Added specific mac toolbox include files (and helper macros) not covered in the widget prefix file.
1998-11-12 05:59:31 +00:00
pinkerton%netscape.com
4de682c0ce
First Checked In.
1998-11-12 05:57:33 +00:00
waterson%netscape.com
0de40c76c3
Added forward decl of nsIDMItem.
1998-11-12 02:11:07 +00:00
hyatt%netscape.com
57a1394928
Added a method for counting columns in the tree.
1998-11-12 01:03:25 +00:00
hyatt%netscape.com
05d245d2d1
Added initializers to the DataModel. Changed the interface hierarchy
...
again (after much debate).
1998-11-12 00:02:26 +00:00
alecf%netscape.com
15a0f19d2d
fix autoconf bustage
1998-11-11 23:48:24 +00:00
pavlov%pavlov.net
1cca075fad
implimentation of nsDialog, few scrollbar fixes
1998-11-11 23:09:04 +00:00
hyatt%netscape.com
3694db19c3
Adding the toolbar widget interface to the data model.
1998-11-11 22:10:50 +00:00
hyatt%netscape.com
21b75c4ff3
New tree widget interface.
1998-11-11 22:03:19 +00:00
hyatt%netscape.com
795f5cd07a
Added nsITreeDMWidget interface.
1998-11-11 22:03:02 +00:00
waterson%netscape.com
2e6dc2c908
Added forward declaration of nsIDMItem. Made sure that we actually
...
define NS_IDMWIDGET_IID here.
1998-11-11 20:58:23 +00:00
hyatt%netscape.com
ac9145084b
Adding new interfaces for toolbars.
1998-11-11 19:11:02 +00:00
hyatt%netscape.com
8e8b566a44
Modified a few interfaces and tweaked some of the names.
1998-11-11 19:10:18 +00:00
cls%seawood.org
5a73690128
Sync'd with Makefile
1998-11-11 18:37:33 +00:00
waterson%netscape.com
13a2ed25a3
Fixed unix bustage.
1998-11-11 06:28:46 +00:00
pavlov%pavlov.net
e00c2ffa73
impliment nsPopUpMenu code (it is identical to nsMenu.. why are these not
...
inheriting each other?)
1998-11-11 04:28:30 +00:00
waterson%netscape.com
ded42de2a7
Fixed enum declaration.
1998-11-11 03:39:28 +00:00