rods%netscape.com
0035ef0bc5
initial checkin
1999-03-09 23:38:37 +00:00
mcafee%netscape.com
7697fc19e2
Protect against a copy of zero characters (zero-length buffer)
1999-03-09 09:49:32 +00:00
warren%netscape.com
4b2d56fbaa
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
pierre%netscape.com
4528e3226b
don't dispatch mouseMoved events when Raptor is in the background
1999-03-09 05:46:01 +00:00
pierre%netscape.com
b30c740d4c
dispatch suspend/resume events to Raptor
1999-03-09 05:44:47 +00:00
pierre%netscape.com
51c3957d62
fixed crash on delete (the OS deleted the menu a second time)
1999-03-09 05:01:45 +00:00
pierre%netscape.com
4b33ec0b5b
fixed display in SetSelectedIndices()
1999-03-09 04:11:25 +00:00
pierre%netscape.com
db64f03904
fixed index off by 1 in GetSelectedIndex()
1999-03-09 04:10:33 +00:00
pierre%netscape.com
99c7af8413
Fixed #2253 "Copy and Paste in text widget"
Fixed double-click
1999-03-09 02:58:14 +00:00
akkana%netscape.com
19102ddcc9
Hook up a debug implementation of paste
1999-03-08 22:45:56 +00:00
pierre%netscape.com
8e6ff55a0e
implemented nsListbox
1999-03-08 04:50:20 +00:00
pierre%netscape.com
9aa3f8bdca
Fixed several things. The popup now actually displays and works.
1999-03-08 04:48:55 +00:00
pierre%netscape.com
059bc15605
small change to make Move and Resize more efficient
1999-03-08 04:47:17 +00:00
beard%netscape.com
22a636b14b
fixed a crash caused by unitialized variable focusedWidget.
1999-03-07 23:56:22 +00:00
pavlov%pavlov.net
4fbe4854e8
fix bug 3079
1999-03-07 21:22:53 +00:00
cls%seawood.org
202df19f2e
Introduced separate CXXFLAGS for use with C++ code in the same style as the existing CFLAGS. Prepended _ to some configure.in private variables.
1999-03-07 05:18:45 +00:00
ramiro%netscape.com
3d3b807ede
Fix printf format. Thanks to (waqar@netscape.com).
1999-03-06 15:07:44 +00:00
syd%netscape.com
57202dd322
Fix for 2503.
...
Communicate GTK_DELETE event so that higher levels can deal with the window
closure.
1999-03-05 23:21:51 +00:00
alecf%netscape.com
79b56c0ef8
fix linux -pedantic casting problems
1999-03-05 21:39:55 +00:00
rods%netscape.com
0e427fc469
Made sure nsIRadioGroup has been removed
1999-03-05 21:06:09 +00:00
rods%netscape.com
0cf24ab8ac
cleaned up some comment and debugging
1999-03-05 21:04:57 +00:00
beard%netscape.com
184b80c843
Removed nsIRadioGroup.h (evidently obsolete?)
1999-03-05 20:59:34 +00:00
rods%netscape.com
f3adc9347d
Fixed crash bug on releaseing null pointer
1999-03-05 20:41:37 +00:00
rods%netscape.com
2e95280446
I have removed nsRadioGroup and nsIRadioGroup and all references to it.
1999-03-05 20:28:16 +00:00
rods%netscape.com
709113ddeb
Added ref counting to vertical scrollbar
1999-03-05 15:50:04 +00:00
rods%netscape.com
f99d52aa28
Major update for tracking the popping up and dropping down of menus.
...
Added Mouse Wheel tracking
1999-03-05 15:34:53 +00:00
rods%netscape.com
94be0cba76
Fixed voidarray problem and a few other minor things
1999-03-05 15:33:40 +00:00
rods%netscape.com
db5f268718
Fixed up ref counting issues
1999-03-05 15:32:54 +00:00
rods%netscape.com
a7814c2d62
Changed VoidArray to nsISupportsArray
1999-03-05 15:30:11 +00:00
rods%netscape.com
f03fb91a57
Added impl of SetVerticalScrollbar
1999-03-05 15:25:24 +00:00
rods%netscape.com
02488f4508
Added new method "SetVerticalScrollbar"
1999-03-05 15:25:21 +00:00
pierre%netscape.com
f94bae5e24
Fix #3408 "When mousedown, mousemoves should all go to same widget"
1999-03-05 10:04:07 +00:00
pierre%netscape.com
a5dde62b0e
Improved SetCursor() to use the Appearance Mgr
1999-03-05 10:02:16 +00:00
pierre%netscape.com
28326710c8
Added nsToolkit::HasAppearanceManager()
1999-03-05 10:01:07 +00:00
saari%netscape.com
095b5d3d77
Fixing menus on Win32
1999-03-05 07:31:54 +00:00
kipp%netscape.com
e4f95f00ec
Stop linking with other libraries to avoid finding symbols with dlsym that we don't want to find
1999-03-05 04:35:49 +00:00
pavlov%pavlov.net
90944754dd
start fixing file selector, fix menus under apprunner, fix font setting for
...
widgets.
1999-03-05 02:48:43 +00:00
scc%netscape.com
2ec0a397ea
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +00:00
rods%netscape.com
e03060858f
Added static IID() method
1999-03-03 15:17:33 +00:00
pierre%netscape.com
f0ce82f127
fix last part of #2336 "Miscellaneous cosmetic problems with scrollbars"
1999-03-03 09:05:50 +00:00
pierre%netscape.com
3fa93de57c
fix funny button hilites that happened when moving quickly the mouse after doing a dragWindow
1999-03-03 09:04:42 +00:00
pierre%netscape.com
db0c840742
fix #3358 "Missed mouse up events cause chaos"
fix double-clicks in buttons
1999-03-03 09:02:54 +00:00
pierre%netscape.com
8179724298
fix #3358 "Missed mouse up events cause chaos"
1999-03-03 09:01:58 +00:00
pierre%netscape.com
854c43fc25
updated some comments about nsIWindow
1999-03-03 09:00:44 +00:00
joki%netscape.com
0baca6512f
Adding new tab handling and focus support.
1999-03-02 19:19:24 +00:00
akkana%netscape.com
f246a5f0dc
nsWindow.cpp didn't like the fcn name SelectionClear
1999-03-02 19:06:28 +00:00
akkana%netscape.com
63f1f1e77a
Improvements in handling of the X selection, and some explanatory comments
1999-03-02 18:08:49 +00:00
alecf%netscape.com
964f022e13
fix AIX bustage - compiler confused by too much casting
1999-03-02 01:40:52 +00:00
pollmann%netscape.com
497799bce3
Allow windows text widgets to update readonly state on the fly, as gtk already does.
1999-03-02 00:48:22 +00:00
rods%netscape.com
1f1fe4ce0b
Added method
1999-03-01 17:52:22 +00:00
rods%netscape.com
b80b319d6d
Added forward decl
1999-03-01 17:08:13 +00:00
rods%netscape.com
bb64bb4329
Added new method
1999-03-01 17:03:21 +00:00
rods%netscape.com
52cc91c422
Added arible
1999-03-01 17:00:24 +00:00
rods%netscape.com
56cfd4410d
ifdef'ed out some menu code that does work yet.
1999-03-01 16:48:45 +00:00
rods%netscape.com
94e64adb3e
Added methods to header.
1999-03-01 16:48:19 +00:00
rods%netscape.com
6b6d319623
Added MenuDeselect to nsIMenuListener
1999-03-01 16:22:40 +00:00
ramiro%netscape.com
cef0e56005
Here is patch to add font-styles to gtk-widgets. It adds styles
...
to widgets on creation, and uses that style to change fonts.
Thanks to Tomi Leppikangas <Tomi.Leppikangas@oulu.fi>
1999-03-01 13:30:54 +00:00
saari%netscape.com
a94e23fc23
Making Mac menus work a little better again.
1999-02-27 08:30:32 +00:00
mcafee%netscape.com
ece5b77c37
Fixing solaris bustage. a/r=akkana,simon
1999-02-27 02:55:13 +00:00
ebina%netscape.com
174cec60e4
Changing RegisterFactory to use the new API.
1999-02-26 19:45:10 +00:00
akkana%netscape.com
eeb561dd9a
windows has NS_IMETHOD != virtual nsresult
1999-02-26 19:39:14 +00:00
akkana%netscape.com
0981dc8ed8
Turn on nsSelectionMgr for windows
1999-02-26 19:01:15 +00:00
akkana%netscape.com
84cc4f1260
Turn on nsSelectionMgr class for copy/paste
1999-02-26 19:00:17 +00:00
sfraser%netscape.com
84fea1dbc4
Add nsSelectionMgr.cpp for akkana
1999-02-26 18:59:33 +00:00
alecf%netscape.com
d495eba2a1
fix HPUX bustage - don't declare classnames inside class definitition
1999-02-26 17:25:31 +00:00
warren%netscape.com
44cae3cd3f
Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
1999-02-26 10:17:14 +00:00
saari%netscape.com
41444e6afe
Actually do menu creation on the create call.
Commented out SetLabel in nsWebShellWindow::LoadMenuItem
1999-02-26 02:45:55 +00:00
akkana%netscape.com
fca17ef807
Fixes to make the mac build; jfrancis will follow with the project file
1999-02-26 01:59:49 +00:00
sfraser%netscape.com
3a123c982b
Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order.
1999-02-26 00:54:57 +00:00
akkana%netscape.com
f017b98c31
Backing out my changes
1999-02-25 06:54:50 +00:00
akkana%netscape.com
913edb03a5
Add another ifdef to fix build
1999-02-25 06:13:48 +00:00
akkana%netscape.com
706fb1b011
turn on selection mgr in app shell; forgot this file in last check-in
1999-02-25 05:49:43 +00:00
akkana%netscape.com
9e90097ffe
Use the real nsISelectionMgr for doCopy
1999-02-25 05:32:30 +00:00
akkana%netscape.com
db4b6f7beb
Build nsSelectionMgr & include in nsAppShell on Unix
1999-02-25 02:54:50 +00:00
akkana%netscape.com
a612748acc
New SelectionMgr class
1999-02-25 02:42:06 +00:00
mcafee%netscape.com
7b56a37425
Need -lgfxps to link on linux
1999-02-24 08:29:11 +00:00
mcafee%netscape.com
6f57a34fdd
Solaris needs newline at end of file.
1999-02-24 07:06:01 +00:00
pierre%netscape.com
43a2bd99fb
Put back the code but this time using the newly defined nsIBidirectionalEnumerator
1999-02-23 18:49:57 +00:00
pierre%netscape.com
3adb2cae02
Backed out part of the previous checkin to turn Tinderbox green again.
1999-02-23 16:30:31 +00:00
pierre%netscape.com
515de5dbaf
Fixed #3154 "Events don't work with fixed positioning". Fixed "clicks in vScrollBar down arrow are ignored".
1999-02-23 12:53:28 +00:00
pierre%netscape.com
6dd9a16052
Restored the v1.76 code for the loops through the children (no nsCOMPtr, no RTTI - today's problem was one too many). Updated comments.
1999-02-23 09:14:36 +00:00
pierre%netscape.com
e6100af771
added some comments
1999-02-23 09:00:16 +00:00
warren%netscape.com
01dd4f0ed6
Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
1999-02-23 08:10:24 +00:00
pinkerton%netscape.com
8b2ff82ba7
Temp fix for RTTI problems that are holding the tree closed. beard and pierre will discuss a real fix later. My comment at the top of this file summarizes the problem.
1999-02-23 01:28:25 +00:00
saari%netscape.com
3a154cf421
tweak to mac menu logic
1999-02-22 19:10:05 +00:00
saari%netscape.com
cfa383e492
MacOS menus can support hierarchical menus now. nsWebShellWindow::LoadMenus() needs to be modified to support this.
1999-02-22 19:05:48 +00:00
kmcclusk%netscape.com
59fd81ffb1
Added support for creating a postscript device context for printing under GTK.
...
Sanitized the GTK nsDeviceContextSpecFactoryG, nsRenderingContextPS, nsDeviceContextPS,
and nsDeviceContextSpecG by removing WIN32 dependencies.
Added checks for null widgets in nsWidget and nsScrollbar GTK implementations.
1999-02-22 18:56:54 +00:00
pierre%netscape.com
41cec1d8a5
don't dispatch cursor keys
1999-02-22 11:21:23 +00:00
pierre%netscape.com
ad346120bc
don't dispatch cursor keys / minor fixes
1999-02-22 11:20:57 +00:00
pierre%netscape.com
ef4509ce73
added combobox (= popup) to the Mac
1999-02-22 10:22:45 +00:00
pierre%netscape.com
fb6c105126
inherits from Repeater
1999-02-22 10:21:51 +00:00
pierre%netscape.com
7432f07556
numerous changes
1999-02-22 10:21:37 +00:00
pierre%netscape.com
bb317347c6
added GetUniqueMenuID() (needed for popups)
1999-02-22 10:21:20 +00:00
pierre%netscape.com
236b42ddbe
added mMin/mMax (needed for popups)
1999-02-22 10:20:59 +00:00
pierre%netscape.com
c7123f17aa
removed outdated comments
1999-02-22 10:20:39 +00:00
rods%netscape.com
0c1a88f45d
Added Set/GetEnabled and Set/GetChecked methods
1999-02-21 14:31:19 +00:00
pierre%netscape.com
1508eb2396
made gWindowlessMenuEventHandler a private member variable ( #3203 : RX: Mac widgets)
1999-02-21 02:48:02 +00:00
pierre%netscape.com
ba9ac52664
added nsDeleteObserver ( #3147 : crashes on mouseMoved or closeWindow)
1999-02-21 02:10:36 +00:00
pierre%netscape.com
a15727eed8
First Checked In.
1999-02-21 02:01:46 +00:00
pierre%netscape.com
b377b8b625
removed outdated comments
1999-02-21 01:57:48 +00:00
pavlov%pavlov.net
faef147169
nsAppShell isn't an nsWidget, so don't cast it as so. This fixes the
...
nsRepository::CreateInstance for nsAppShell from viewer so it doesn't return
with an error for me.
1999-02-20 19:56:01 +00:00
mjudge%netscape.com
fbcb42974f
changing nsIEnumerator to use NS_IMETHOD not virtual nsresult
1999-02-19 23:43:20 +00:00
saari%netscape.com
e1d95977e4
enable menus on mac
1999-02-19 18:17:24 +00:00
ramiro%netscape.com
3ecfbe036f
Fix the row data problem; it was breaking on aix and probably elsewhere.
...
Also, unhardcoded the item length.
1999-02-19 11:09:25 +00:00
ramiro%netscape.com
3639776526
Use NS_STATIC_CAST instead of static_cast.
1999-02-19 11:05:16 +00:00
mcafee%netscape.com
a9492571a6
Solaris needs explicit casts here; NULL -> 0 solved some more cast problems.
1999-02-19 10:46:20 +00:00
dcone%netscape.com
3a17d6e7b2
Added the printer support files for GTK
1999-02-18 22:35:11 +00:00
cyeh%netscape.com
af4818f5e3
Remove mozilla/layout/config and use mozilla/config instead.
1999-02-18 18:16:21 +00:00
rods%netscape.com
388137e5ed
Removed the InsertItemAt method that takes a string, this was a conveince
...
method no one was implementing.
Changed The InsertMenuItemAt to nsISupports because either a nsIMenu or nsIMenuItem
can be inserted.
1999-02-18 15:17:11 +00:00
kipp%netscape.com
9cc931167f
Update window-manager hints so that the window is resizable after its shown
1999-02-18 03:33:00 +00:00
saari%netscape.com
a0bbebcaa3
/m/pub/mozilla/widget/src/mac/nsMenu.cpp
- unleash menu separators for mac
1999-02-18 00:42:06 +00:00
saari%netscape.com
8760c1b673
/m/pub/mozilla/widget/src/mac/nsMenu.cpp
- uncommented MenuSelected implementation
- cleaned up MenuSelected implementation
/m/pub/mozilla/widget/src/mac/nsMenuBar.cpp
- Uncomment MenuSelected() implementation
- Uncomment release of nsIMenuListener to avoid leak
/m/pub/mozilla/widget/src/mac/nsMenuItem.cpp
- #include "nsIMenuListener.h"
- Implement AddMenuListener()
- Implement MenuSelected()
/m/pub/mozilla/widget/src/mac/nsMenuItem.h
- Added nsIMenuListener * mXULCommandListener member
1999-02-17 22:45:34 +00:00
rods%netscape.com
8ad42453c2
Added methods for adding and removing nsMenuListeners
...
and
1999-02-17 14:34:33 +00:00
rods%netscape.com
566bfdafe4
Changed GetItemAt to return a nsISupports instead of a nsIMenuItem, this is
...
because a menu can hold both other menus and menu items.
Implemented several more of the menu methods and added the listenr methods to the
menu item.
1999-02-17 14:31:26 +00:00
rods%netscape.com
8b143ceb04
Added the dispatch to menu listeners
1999-02-17 14:30:47 +00:00
rods%netscape.com
cac090da2e
Added methods for adding and removing menu listeners
1999-02-17 14:29:51 +00:00
rods%netscape.com
6311232b8f
Changed GetItemAt to return a nsISupports instead of a nsIMenuItem, this is
...
because a menu can hold both other menus and menu items.
1999-02-17 14:29:15 +00:00
scc%netscape.com
9f4e08c3ba
changes for nsCOMPtr
1999-02-17 05:29:19 +00:00
mcafee%netscape.com
49b7e9fd37
Adding do_QueryInterface() wrapper for nsCOMPtr carpool
1999-02-17 02:23:56 +00:00
pinkerton%netscape.com
31c6a47f9f
no longer exports nsIToolbarItem because this interface is obsolete.
1999-02-16 17:37:40 +00:00
pinkerton%netscape.com
4ac9b0f1e5
No longer exports nsIToolbarItem because this interface is obsolete.
1999-02-16 17:37:00 +00:00
pavlov%pavlov.net
aee1386629
apply patch from Tomi Leppikangas <Tomi.Leppikangas@oulu.fi> to fix
...
nsTextHelper::SetText()
1999-02-15 01:54:08 +00:00
mcmullen%netscape.com
cb054e6776
Init the refcount.
1999-02-13 04:01:34 +00:00
blizzard%redhat.com
c0ca4a7787
Apply patch for crosshairs cursor. Fixes one crash on test9. Patch from Tomi Leppikangas <Tomi.Leppikangas@funet.fi>
1999-02-13 03:26:04 +00:00
pierre%netscape.com
8da5d28570
Made the ChildWindow destructor virtual
1999-02-12 19:15:32 +00:00
pierre%netscape.com
0ed32371e0
Fixed more problems with nsCOMPtrs
1999-02-12 19:15:03 +00:00
pierre%netscape.com
fc3b6587e2
Fixed the window-doesn't-close problem (backed out the nsCOMPtr conversions)
1999-02-12 11:47:25 +00:00
peterl%netscape.com
7f04fb00e6
changed all html atoms to lower case
1999-02-12 06:19:07 +00:00
blizzard%redhat.com
f6be47b6f0
make resizing go.
1999-02-12 06:07:24 +00:00
pinkerton%netscape.com
3288a5382a
Dont export or build toolbar or tree stuff.
1999-02-11 19:20:35 +00:00
pinkerton%netscape.com
836c38999e
Reexport nsIToolbarItem (for throbber).
1999-02-11 18:30:04 +00:00
pinkerton%netscape.com
9c1465de27
reexport nsIToolbarItem because the throbber needs it (this needs to be removed).
1999-02-11 18:29:05 +00:00
pinkerton%netscape.com
3442f409dc
Don't build or export the tree/toolbar stuff since they aren't widgets anymore
1999-02-11 18:08:25 +00:00
pinkerton%netscape.com
65b5710ba2
don't export tree or toolbar stuff.
1999-02-11 17:58:17 +00:00
pinkerton%netscape.com
a48d272b36
Removing tree and toolbar widgets from being created, as they are now frames.
1999-02-11 17:58:07 +00:00
rods%netscape.com
e5af8d2c81
Removed the commented out XULCommandCID
1999-02-11 15:20:42 +00:00
rods%netscape.com
a475436887
Moved XULCommand back to xpfe/appshell
1999-02-11 15:13:29 +00:00
dcone%netscape.com
58ad6f561d
Took out nsXULCommand.cpp
1999-02-11 15:13:20 +00:00
sfraser%netscape.com
6f32aa72a2
Temporary key handling code, so that basic navigation keys work.
1999-02-11 04:36:39 +00:00
pierre%netscape.com
30df698861
Added checkbox and radiobox size to the LookAndFeel (bug#2923 "Checkboxes don't display ")
1999-02-11 00:51:36 +00:00
sar%netscape.com
b2ad536a28
Turn of "modification date caching" so that dependencies are sure to work.
1999-02-11 00:04:46 +00:00
rods%netscape.com
2074e5a217
Added GetNativeEvent and DispatchNativeEvent, these are neded for future modal dialog support
1999-02-10 16:20:29 +00:00
pierre%netscape.com
17b0c21d87
Fixed a small bug when resizing very fast
1999-02-10 11:42:46 +00:00
dp%netscape.com
81c281f428
Adding libreg as xpcom depends on it
1999-02-10 02:01:50 +00:00
rods%netscape.com
655296f895
Fixed problem with marshalling the window create method
1999-02-09 18:20:18 +00:00
dcone%netscape.com
c04cbe9bf0
cleanup of nsIImage class. There were routines and methods no longer used or needed.
1999-02-08 16:34:56 +00:00
mcafee%netscape.com
2dd85694fe
Adding widget, scribble to tests; these are building on both Linux & Solaris
1999-02-08 08:00:53 +00:00
blizzard%redhat.com
07e17b5442
back out akk's commented out menubar call. the looping has been fixed.
1999-02-08 03:41:10 +00:00
mcafee%netscape.com
473ea4fe44
Get scribble to build on Solaris
1999-02-07 13:12:08 +00:00
mcafee%netscape.com
3d718ad21e
Wrapping tests with ENABLE_TESTS
1999-02-07 12:13:23 +00:00
blizzard%redhat.com
c9cabd839f
looping fixes. resizing still not 100% but we're getting there.
1999-02-07 03:03:07 +00:00
pavlov%pavlov.net
0045a0a3a8
file widget works for the most part
1999-02-06 19:38:30 +00:00
pavlov%pavlov.net
e09ac5c221
remove the nsWidget * cast on the nsFileWidget
1999-02-06 19:22:25 +00:00
pavlov%pavlov.net
71e0f78ad9
file selector work. almost working.
1999-02-06 19:21:33 +00:00
warren%netscape.com
af4892e337
Fixed unsigned problems.
1999-02-06 04:02:02 +00:00
pavlov%pavlov.net
75b1e7cf52
-Wall cleanups
1999-02-06 03:39:24 +00:00
akkana%netscape.com
0da666ad5a
Temporarily turn off menus until gtk code gets fixed; Approved by sar
1999-02-05 23:22:05 +00:00
pinkerton%netscape.com
a5e5905f95
Fixing bustage.
1999-02-05 19:38:09 +00:00
pavlov%pavlov.net
9d55a9a24d
fix invalidate async problem that michaelp reported.
1999-02-05 18:54:43 +00:00
pinkerton%netscape.com
1ca9c4d103
Fixed DOM and Netlib dependency for saari.
1999-02-05 17:34:20 +00:00
saari%netscape.com
797610d8d7
added network and netlib
1999-02-05 15:45:51 +00:00
saari%netscape.com
f74cc3467a
added DOM dependence
1999-02-05 15:01:33 +00:00
saari%netscape.com
d94f1b3b09
added netlib back
I don't know which is right, network or netlib
1999-02-05 14:34:44 +00:00
saari%netscape.com
9ab1597214
added netlib back to LINCS
I don't know which is right, network or netlib
1999-02-05 14:10:59 +00:00
saari%netscape.com
2e06f12f6d
changed requires netlib to network
1999-02-05 13:58:45 +00:00
saari%netscape.com
ee3b7627d7
trying to fix syntax error
1999-02-05 12:32:04 +00:00
saari%netscape.com
f2c2ba23f8
trying to fix syntax error
1999-02-05 11:45:38 +00:00
saari%netscape.com
697af47b54
add netlib dependency
1999-02-05 10:54:29 +00:00
saari%netscape.com
a62fe27ea3
*** empty log message ***
1999-02-05 10:31:54 +00:00
saari%netscape.com
c38fed34c0
File Removed.
1999-02-05 09:38:51 +00:00
saari%netscape.com
d6da5bf35c
First Checked In.
1999-02-05 09:38:16 +00:00
saari%netscape.com
975a7794e2
First Checked In.
1999-02-05 08:52:55 +00:00
saari%netscape.com
67796a307b
moving nsIXULCommand.h, nsXULCommand.h, and nsXULCommand.cpp to widget dll from appshell
1999-02-05 08:52:39 +00:00
pavlov%pavlov.net
041bf1fbce
...menus...
1999-02-05 08:17:42 +00:00
pavlov%pavlov.net
cc8144882e
more menu stuff
1999-02-05 08:15:36 +00:00
pavlov%pavlov.net
53ea64e7e2
make menus work with new menu code
1999-02-05 08:13:36 +00:00
saari%netscape.com
b98244c983
oops, changed wrong file
1999-02-05 03:07:42 +00:00
saari%netscape.com
22fe20f143
fixed horkage, exporting nsIXULCommand.h
1999-02-05 03:06:08 +00:00
saari%netscape.com
8f34c6bc3d
merged changes with gtk version that changed under me
1999-02-05 02:31:02 +00:00
saari%netscape.com
f874563422
Merged new changes with the gtk version that changed under me
1999-02-05 02:30:30 +00:00
saari%netscape.com
f19d7cd4d8
mozilla/widget/src/xpwidgets/nsBaseWidget.cpp
- included "nsIMenuListener.h"
- destructor releases mMenuListener
- AddMenuListener Releases a previously held nsMenuListener (nsMenuBar) before AddRefing the passed in one
mozilla/widget/public/nsIMenuItem.h
- included "nsIXULCommand.h"
- added SetXULCommand(nsIXULCommand*) which sets the XUL command for the menu item
mozilla/widget/src/mac/nsMenuItem.cpp
mozilla/widget/src/gtk/nsMenuItem.cpp
mozilla/widget/src/motif/nsMenuItem.cpp
mozilla/widget/src/windows/nsMenuItem.cpp
- QueryInterface supports nsIMenuListener interface.
- MenuSelected calls DoCommand on XULCommand (mac only right now)
- Added SetXULCommand() to set the nsXULCommand for this menuitem
mozilla/widget/src/mac/nsMenuItem.h
mozilla/widget/src/gtk/nsMenuItem.h
mozilla/widget/src/motif/nsMenuItem.h
mozilla/widget/src/windows/nsMenuItem.h
- nsMenuItem inherits from nsIMenuListener
- Added SetXULCommand() method
1999-02-05 02:19:46 +00:00
pavlov%pavlov.net
6715f847ef
Create() doesn't need to add the menu items anymore
1999-02-04 23:04:40 +00:00
saari%netscape.com
af6620a472
Updating the unix's widget factories for the menu changes
1999-02-04 11:16:40 +00:00
saari%netscape.com
3a41bf06b7
fixed Win32 widget factory
1999-02-04 10:49:00 +00:00
saari%netscape.com
ce9a00fe8f
made nsISupports inheritance more explicit
1999-02-04 07:29:18 +00:00
saari%netscape.com
15a956c152
nsMenu inherits from nsIMenuListener
1999-02-04 07:25:39 +00:00
saari%netscape.com
d79f7806de
kMenuBarIID should have been kIMenuBarIID
1999-02-04 06:19:45 +00:00
saari%netscape.com
169ff39a84
added the fix I made for Mac
1999-02-04 05:12:22 +00:00
saari%netscape.com
85d3749ac4
*** empty log message ***
1999-02-04 04:04:44 +00:00
saari%netscape.com
920129d70e
fixing another lame error
1999-02-04 04:03:22 +00:00
saari%netscape.com
71fef1d51b
fixed lame syntax error
1999-02-04 03:44:43 +00:00
saari%netscape.com
5b057eda81
fixes
1999-02-04 03:37:55 +00:00
saari%netscape.com
6a800ba571
...minimizing damage...
1999-02-04 03:01:05 +00:00
saari%netscape.com
44707703d4
...fixing breakage...
1999-02-04 02:54:56 +00:00
saari%netscape.com
b40c61628d
fixing build
1999-02-04 02:48:43 +00:00
saari%netscape.com
b69afc329e
*** empty log message ***
1999-02-04 02:46:19 +00:00
saari%netscape.com
2cdfa58f9b
windows, gtk, motif corrections for nsIMenuListener.h change
1999-02-04 02:46:17 +00:00
saari%netscape.com
a161e01330
fixing build one chunk at a time
1999-02-04 02:38:13 +00:00
saari%netscape.com
58d189b401
more hurried checkins.
windows, gtk, motif versions to follow
1999-02-04 02:32:01 +00:00
saari%netscape.com
360bf0dab5
On the road to fixing build breakage. More checkins to follow
1999-02-04 02:27:58 +00:00
saari%netscape.com
dd4f052884
mozilla/widget/src/mac/nsMenu.cpp
- define kIMenuIID
- QueryInterface supports nsIMenuListener
- implements MenuSelected() which does event dispatch (on mac only for this checkin)
mozilla/widget/src/mac/nsMenu.h
- include "nsIMenuListener.h"
- nsMenu inherits from nsIMenuListener
- keep an internal array of menuitems (on mac only for this checkin)
1999-02-04 02:13:25 +00:00
hyatt%netscape.com
6d9f531f24
Fixing a bug on Windows where CTRL, SHIFT, and ALT states were not being
...
set properly on mouse events.
1999-02-03 22:36:34 +00:00
pavlov%pavlov.net
a1f741849e
clean up menu code, et al.
1999-02-03 19:18:31 +00:00
kipp%netscape.com
b934447f29
Eliminate duplicate mRefCnt since base class declares one...
1999-02-03 17:35:52 +00:00
pierre%netscape.com
8fe63ff4d7
Fixed build bustage
1999-02-03 06:08:39 +00:00
kipp%netscape.com
37925789f7
init refcnt
1999-02-03 04:25:40 +00:00
kipp%netscape.com
7aa583c57b
Declare nsISupports methods instead of using NS_DECL_ISUPPORTS so that we don't have a dup mRefCnt
1999-02-03 04:25:20 +00:00
mcmullen%netscape.com
ce8d8da727
Don't pass "this" to a member class if the member class is going to Addref, and we haven't called NS_INIT_REFCNT first.
1999-02-03 03:24:54 +00:00
pierre%netscape.com
7c9133c5c1
#2600 "Live window resizing can be too slow"
1999-02-03 02:05:57 +00:00
pierre%netscape.com
bff1d0746c
#2815 "Password text field shows contents in clear-text"
1999-02-03 02:05:31 +00:00
pierre%netscape.com
b1cd0d3a65
#2816 "[PP] Mac doesn't handle NS_MOUSE_LEFT_DOUBLECLICK event" and #2692 "Window focus problems"
1999-02-03 02:04:41 +00:00
pierre%netscape.com
8ab85d5e8a
don't move or resize windows that belong to embedding apps
1999-02-03 02:04:15 +00:00
saari%netscape.com
121db48cc2
Check for null before calling through it... this should fix the windows crashing bug with menus.
1999-02-02 19:53:58 +00:00
kipp%netscape.com
b02236eabc
Disabled a not-yet-implemented assert
1999-02-02 17:41:05 +00:00
mcafee%netscape.com
56274059f5
widget test now builds on Linux
1999-02-02 05:42:37 +00:00
mcafee%netscape.com
820854cc3c
scribble now builds on Linux
1999-02-02 05:42:13 +00:00
kipp%netscape.com
6f8d5d8970
Added a missing init of the refcnt
1999-02-02 01:32:09 +00:00
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