Commit Graph

3461 Commits

Author SHA1 Message Date
Jerry.Kirk%Nexwarecorp.com
dae1f43af1 Make the Photon timer safer so it doesn't give an error if its destroyed
before its used or multiple times. Also takes care of problem:

"Assertion: "Time to next timeout func is null." (nsnull != sFunc) at
 file nsAppShell.cpp, line 117"  as seen at the start of apprunner.


git-svn-id: svn://10.0.0.236/trunk@45598 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:59:06 +00:00
sdagley%netscape.com
be4d20877e Need InternetConfig lib for future Mac file widget work. Adding now so I don't have to keep updating the project.
git-svn-id: svn://10.0.0.236/trunk@45572 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 23:53:19 +00:00
sfraser%netscape.com
68053ccf86 Use an empty pascal string for the menu name.
git-svn-id: svn://10.0.0.236/trunk@45540 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 22:06:01 +00:00
sfraser%netscape.com
34f5f5fcd4 Make sure we lock the MDEF handle, otherwise all hell breaks loose.
git-svn-id: svn://10.0.0.236/trunk@45538 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 22:05:36 +00:00
saari%netscape.com
9f03b0bd45 MacOS fix for 5562; menus should update their titles now
git-svn-id: svn://10.0.0.236/trunk@45510 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:57:39 +00:00
dcone%netscape.com
f2f0337971 Fixed the NS_DIALOG_CID problem
git-svn-id: svn://10.0.0.236/trunk@45499 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:33:07 +00:00
tague%netscape.com
f747c2a384 Fixed NS_OK direct comparisons.
git-svn-id: svn://10.0.0.236/trunk@45496 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:19:47 +00:00
pinkerton%netscape.com
441d183083 new clipboard apis and trying to reduce the number of copies we do in clipboard/d&d code.
git-svn-id: svn://10.0.0.236/trunk@45493 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:14:48 +00:00
dcone%netscape.com
b290f16fd1 Added 2 CID's NS_POPUP_CID and NS_DIALOG_CID
git-svn-id: svn://10.0.0.236/trunk@45480 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 19:57:23 +00:00
akkana%netscape.com
551d3788c9 control as well as alt events should return lower-case if shift isn't pressed
git-svn-id: svn://10.0.0.236/trunk@45479 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 19:56:35 +00:00
ramiro%netscape.com
52ddc6b6f9 add stubs for that evil bastard saari
git-svn-id: svn://10.0.0.236/trunk@45469 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 11:48:39 +00:00
Jerry.Kirk%Nexwarecorp.com
a8dcfdf0af Added SetEnabled Method stub.
git-svn-id: svn://10.0.0.236/trunk@45468 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 11:46:25 +00:00
saari%netscape.com
b408f44224 Changes to allow menus to enable and disable. This should only be run on MacOS, but nsIMenu::SetEnable(PRBool) was added to all platforms.
git-svn-id: svn://10.0.0.236/trunk@45463 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 08:40:18 +00:00
saari%netscape.com
97f527bdf8 Changing Mac Help menu to be non-dynamic to prevent crashing on some machines.
Got permission from sdagley


git-svn-id: svn://10.0.0.236/trunk@45424 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 03:26:03 +00:00
cyeh%netscape.com
cfce14ff56 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45405 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:13:14 +00:00
ramiro%netscape.com
869bcbaf43 Removed bogus assertions.
git-svn-id: svn://10.0.0.236/trunk@45351 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 14:36:53 +00:00
rods%netscape.com
ede1cf0777 changed the passing of the virtual key code from a zero to what is passed in
git-svn-id: svn://10.0.0.236/trunk@45343 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:36:40 +00:00
tague%netscape.com
6bbc6c0935 Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX.
git-svn-id: svn://10.0.0.236/trunk@45252 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 01:20:32 +00:00
pinkerton%netscape.com
46d21a0e5f using new nsIScriptableRegion interface.
git-svn-id: svn://10.0.0.236/trunk@45162 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:54:33 +00:00
pinkerton%netscape.com
2ca02b0d85 lowecased to match JS syntax. using new nsIScriptableRegion interface.
git-svn-id: svn://10.0.0.236/trunk@45161 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:54:23 +00:00
shawnp%earthling.net
bd57e98d7c Now set the title of the window properly. Now pass the correct parameters
into bitBlt() to handle partial repainting requests.


git-svn-id: svn://10.0.0.236/trunk@45122 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 02:59:54 +00:00
shawnp%earthling.net
500974c157 Now implement WidgetToScreen() and ScreenToWidget(). Now resize the QPixmap
associated with a widget in Resize() as well as the widget. OnResize() now
passes the correct size parameters to DispatchWindowEvent(). No longer
erase the widget when repainting it. Added code that gets animated gifs
going, but at too high a price for other web pages - so it's currently
commented out until I find a better solution. Added more code to output
logging info.


git-svn-id: svn://10.0.0.236/trunk@45120 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 02:57:46 +00:00
shawnp%earthling.net
5e760370a2 Disabled code that was trying to outsmart the painting mechanism. Added
code in SetSelection() to handle the case where the caller wants to clear
the selection.


git-svn-id: svn://10.0.0.236/trunk@45116 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 02:47:25 +00:00
shawnp%earthling.net
8a6084e387 Removed AdjustScrollBarPosition() function.
git-svn-id: svn://10.0.0.236/trunk@45114 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 02:45:47 +00:00
shawnp%earthling.net
86084c765c Now listen for the valueChanged() signal from Qt so that we don't have an
echoing effect dealing with scrolling. Removed AdjustScrollBarPosition()
function. Adjusted the value that is given to Qt as the maximum scroll
position - I now discount the thumb size.


git-svn-id: svn://10.0.0.236/trunk@45113 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 02:45:04 +00:00
shawnp%earthling.net
c38bdc4b6b nsQRadioButton now uses nsQEventHandler event handling. Added debugging
code to make sure that radio buttons actually work as they're supposed to.


git-svn-id: svn://10.0.0.236/trunk@45112 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 02:41:52 +00:00
shawnp%earthling.net
752c2796fb Added MouseMovedEvent(), KeyPressEvent(), KeyReleaseEvent() and GetNSKey()
functions.


git-svn-id: svn://10.0.0.236/trunk@45111 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 02:39:42 +00:00
shawnp%earthling.net
d420ed784a Now catch MouseMove, KeyPress and KeyRelease events. Cleaned up the
handling of mouse press and release events. Added GetNSKey() function.


git-svn-id: svn://10.0.0.236/trunk@45110 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 02:38:38 +00:00
shawnp%earthling.net
d5f8d532f3 Corrected comments and improved logging output.
git-svn-id: svn://10.0.0.236/trunk@45109 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 02:31:34 +00:00
shawnp%earthling.net
dbedc79c72 Removed unneeded member variable.
git-svn-id: svn://10.0.0.236/trunk@45108 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 02:30:47 +00:00
shawnp%earthling.net
b61dcb3789 Don't need to free the QStyle (it's freed by QApplication).
git-svn-id: svn://10.0.0.236/trunk@45107 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 02:30:21 +00:00
blizzard%redhat.com
c13f5948d7 get rid of the focus madness. start tracking focus virtually instead of dealing with X's completely broken focus handling.
git-svn-id: svn://10.0.0.236/trunk@45099 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 00:38:35 +00:00
bruce%cybersight.com
908c1460ec Init refcnt.
git-svn-id: svn://10.0.0.236/trunk@45039 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 11:10:31 +00:00
akkana%netscape.com
91575850ce Fix alt key char codes
git-svn-id: svn://10.0.0.236/trunk@44954 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 00:32:35 +00:00
saari%netscape.com
127f519100 Fixing bug 12335. Mac only changes
git-svn-id: svn://10.0.0.236/trunk@44874 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 20:58:58 +00:00
dcone%netscape.com
63cd34d3cf Fixed GetDeviceSurfaceDimensions() so the width and height are in appunits, and the routines who use them will convert properly.
git-svn-id: svn://10.0.0.236/trunk@44835 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:22:14 +00:00
Jerry.Kirk%Nexwarecorp.com
54f66f332b Remove calls to old stuff that keeps this from compiling. It
now no longer works at all under Photon and needs an overhaul.


git-svn-id: svn://10.0.0.236/trunk@44832 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:01:50 +00:00
Jerry.Kirk%Nexwarecorp.com
651c4e09fe Adding SetNativeData(void*) to nsIMenu, which was needed for making the Help
menu on MacOS merge with the XUL help menu. I copied this straight from GTK.


git-svn-id: svn://10.0.0.236/trunk@44829 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 13:35:11 +00:00
ramiro%netscape.com
dc0d55bf2d lower the volume on printf noise.
git-svn-id: svn://10.0.0.236/trunk@44795 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 09:38:44 +00:00
cls%seawood.org
50814fcf84 Fix for gcc 2.95
git-svn-id: svn://10.0.0.236/trunk@44769 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 06:23:59 +00:00
bruce%cybersight.com
4add3eed4f Fix for initializing refcnt.
git-svn-id: svn://10.0.0.236/trunk@44763 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 06:10:05 +00:00
beard%netscape.com
53fef6f3e9 bug 11312: fixed Invalidate() of entire bounds, need to use (0, 0)-based rectangle.
git-svn-id: svn://10.0.0.236/trunk@44738 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 04:02:09 +00:00
pinkerton%netscape.com
319d439c19 File Removed.
git-svn-id: svn://10.0.0.236/trunk@44713 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 03:45:14 +00:00
pinkerton%netscape.com
c0dbb309b6 remove nsIContentConnector.h exports.
git-svn-id: svn://10.0.0.236/trunk@44711 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 03:42:42 +00:00
rods%netscape.com
bec1bc2434 Changed EnableDropFile to EnableDragDrop. D&D is now NOT automatically registered for all windows during
creation and initialization. The method EnableDragDrop is not used to "turn it on".
The method nsIView::CreateView has parameter that indicates whether it should be turned on or not
This make it configurable from the outside, it is needed for the editor


git-svn-id: svn://10.0.0.236/trunk@44672 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:41:17 +00:00
pavlov%netscape.com
a9b26ded6e hack for silly behavior so that xpmenus popup and show the first time
git-svn-id: svn://10.0.0.236/trunk@44663 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 10:07:39 +00:00
pavlov%netscape.com
fff518d7f0 fix crash when copying japaneese text to an xterm a=mcafee
git-svn-id: svn://10.0.0.236/trunk@44654 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 07:55:40 +00:00
pavlov%netscape.com
5fb19f2660 my compiler sucks. i'm buying a mac. fix build bustage
git-svn-id: svn://10.0.0.236/trunk@44635 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 03:49:49 +00:00
pavlov%netscape.com
6578f5f2ae fix memory leak
git-svn-id: svn://10.0.0.236/trunk@44627 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 03:11:30 +00:00
beard%netscape.com
9ac56824a8 fixing a smashed memory block problem, wasn't allocating enough space for the '\0' terminator.
git-svn-id: svn://10.0.0.236/trunk@44620 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 02:39:53 +00:00