Commit Graph

2863 Commits

Author SHA1 Message Date
ramiro%netscape.com
6691dedd78 Add some invalidate and paint skid marks. 1999-09-05 13:50:54 +00:00
pavlov%netscape.com
76563c5a3e remove more code duplication 1999-09-05 03:40:32 +00:00
pinkerton%netscape.com
6a8a37ea44 add mac code to see if there is any data on the clipboard. 1999-09-05 02:29:02 +00:00
pinkerton%netscape.com
8a439fca22 use new mime mapper flag where appropriate. 1999-09-05 02:28:49 +00:00
pinkerton%netscape.com
8ca528f938 use xpidl macros. 1999-09-05 02:28:38 +00:00
pinkerton%netscape.com
21ae722449 add a new flag so mime types aren't added to the mapper if they are not found. 1999-09-05 02:27:54 +00:00
bienvenu%netscape.com
28cff6c100 fix build bustage 1999-09-04 21:23:08 +00:00
pinkerton%netscape.com
8862e68dd0 another attempt to stop copying data so much. 1999-09-04 20:04:26 +00:00
pinkerton%netscape.com
867ed4a72d idl-ifying nsIclipboard 1999-09-04 19:59:38 +00:00
pinkerton%netscape.com
398cc45dd0 IDL'ing nsIClipboard. 1999-09-04 19:58:06 +00:00
pinkerton%netscape.com
c961a4dbd1 First Checked In. 1999-09-04 19:57:42 +00:00
pavlov%netscape.com
44b8929649 use macros for getiid, isupport, etc 1999-09-04 08:13:41 +00:00
pavlov%netscape.com
c6fa2ca755 remove more code duplication 1999-09-04 08:12:23 +00:00
pavlov%netscape.com
37aa057cc9 remove more unused code.
work on getting pointer grabs working properly
1999-09-04 01:30:25 +00:00
shaver%netscape.com
129be14218 add IsChildOf 1999-09-03 23:45:50 +00:00
pavlov%netscape.com
8db78bf7bf move XIM code to the right place, fix crash on linux 1999-09-03 16:44:56 +00:00
rods%netscape.com
d50957395b Added metric for native TextField Border width 1999-09-03 14:19:08 +00:00
rods%netscape.com
2225b5e42e Added new Metric that provides the TextField's native border width 1999-09-03 14:15:16 +00:00
bruce%cybersight.com
64a22d4ee2 Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 14:08:47 +00:00
bruce%cybersight.com
c48109f575 Use nsCRT::free() instead of delete[] for char* data. Also, use nsAllocator instead of new[]. 1999-09-03 14:03:21 +00:00
bruce%cybersight.com
db6f44db20 Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 13:45:10 +00:00
duncan%be.com
01abb3a4a1 A bunch of things to get the BeOS build to work. Mostly
BeOS specific fixes, except for the change to nsinstall.c
that ignores trailing "/." in the function mkdirs (as
creating a "." dir fails under BeOS).
1999-09-03 12:54:05 +00:00
sspitzer%netscape.com
b494799f9e add newline to end of file to please certain UNIX compilers. 1999-09-03 10:43:00 +00:00
jefft%netscape.com
b5ce558746 made chooseOutputFile() more complete; imaplemented QueryInterface() to return nsIFileSpec too 1999-09-03 05:30:33 +00:00
jefft%netscape.com
1a826d143d revise chooseOutputFile() interface to take output filter mask 1999-09-03 02:24:39 +00:00
beard%netscape.com
075747c417 bug 9534: moved SetOrigin(0, 0) in HandleUpdateEvent so that updateRgn is in correct coordinate system. added BLINK_DEBUGGING code. 1999-09-03 02:08:44 +00:00
beard%netscape.com
7ede76e864 Cleaned up indentation. 1999-09-03 02:01:45 +00:00
ramiro%netscape.com
0dd06a4372 Comment out the stupid native menus to cut down on the daily saari carnage.
How ironic that changes to fix the one platform that uses native menus
breaks a bunch of others that dont...
1999-09-03 01:54:31 +00:00
bruce%cybersight.com
c09adf0abb Stub out functions for Saari so that this will build. 1999-09-03 01:53:42 +00:00
ramiro%netscape.com
e7997db3b4 quiet pavlov's debug noise 1999-09-03 01:44:17 +00:00
jdunn%netscape.com
6ae8f1cf4a Fixing int/enum conversion which the native unix compilers don't like.
( |= produces an int which you can't assign to an enum so you need the cast)
1999-09-03 00:24:23 +00:00
saari%netscape.com
c903641346 Chages to nsIMenu and nsIMenuItem for checkbox support and a more general way of IDing the Help menu (necessary for MacOS). Also, some changes to try and stop crashing when Palm software is installed on MacOS. 1999-09-02 23:48:39 +00:00
pinkerton%netscape.com
7f2ad65166 fix a comment a=mcafee. 1999-09-02 23:17:21 +00:00
pinkerton%netscape.com
5a953d6e18 making sure we call StartDragSession and EndDragSession. a=mcafee 1999-09-02 23:17:07 +00:00
cata%netscape.com
af4d979f29 Fixed the fix. 1999-09-02 22:35:00 +00:00
cata%netscape.com
34eebb2418 Fixed problem when calling deprecated method. 1999-09-02 22:20:23 +00:00
pavlov%netscape.com
d9a7dfb3f0 clean up uses of QI and friends to use the macros correctly
clean up resizing and moving code.
wrote initial unix drag and drop code
more good things to come soon.
1999-09-02 21:30:31 +00:00
erik%netscape.com
bc4be364b8 Thanks to Sun, we now have input method support (e.g. Japanese keyboard
input) on Unix. Contact erik and/or tague if there are any problems.
1999-09-02 21:26:40 +00:00
kipp%netscape.com
78bace2449 Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
rickg%netscape.com
a18e1e9444 trying to clear dependency build problem 1999-09-02 09:32:40 +00:00
pinkerton%netscape.com
bf83c74244 try not to copy the data so much. still working on this. 1999-09-02 06:57:38 +00:00
pinkerton%netscape.com
c058cf9f7e fix it so that we still get default drag rectangle when there is no region passed in. 1999-09-02 06:52:54 +00:00
danm%netscape.com
b78875c8f5 adding nsIDeviceContext::GetClientRect. a:dcone. 1999-09-02 05:37:14 +00:00
pavlov%netscape.com
ae217433aa stub out current api 1999-09-02 04:38:11 +00:00
ramiro%netscape.com
db481dee5e Fix licensing dumbness which I cut-n-pasted before. Silence debug noise
in non debug builds.
1999-09-02 03:25:31 +00:00
Jerry.Kirk%Nexwarecorp.com
96e3a34df9 Removed PR_LOG Hack that was keeping us from linking correctly. 1999-09-02 01:04:14 +00:00
Jerry.Kirk%Nexwarecorp.com
9948d07c97 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.
1999-09-02 00:59:06 +00:00
sdagley%netscape.com
bdb43118fc Need InternetConfig lib for future Mac file widget work. Adding now so I don't have to keep updating the project. 1999-09-01 23:53:19 +00:00
sfraser%netscape.com
b755a8ce00 Use an empty pascal string for the menu name. 1999-09-01 22:06:01 +00:00
sfraser%netscape.com
1cbdff5f88 Make sure we lock the MDEF handle, otherwise all hell breaks loose. 1999-09-01 22:05:36 +00:00
saari%netscape.com
6fc0a244c3 MacOS fix for 5562; menus should update their titles now 1999-09-01 20:57:39 +00:00
dcone%netscape.com
f823974e4a Fixed the NS_DIALOG_CID problem 1999-09-01 20:33:07 +00:00
tague%netscape.com
272551945b Fixed NS_OK direct comparisons. 1999-09-01 20:19:47 +00:00
pinkerton%netscape.com
58ab292e7d new clipboard apis and trying to reduce the number of copies we do in clipboard/d&d code. 1999-09-01 20:14:48 +00:00
dcone%netscape.com
41f921dca9 Added 2 CID's NS_POPUP_CID and NS_DIALOG_CID 1999-09-01 19:57:23 +00:00
akkana%netscape.com
6f70cdd3c2 control as well as alt events should return lower-case if shift isn't pressed 1999-09-01 19:56:35 +00:00
ramiro%netscape.com
8d89975243 add stubs for that evil bastard saari 1999-09-01 11:48:39 +00:00
Jerry.Kirk%Nexwarecorp.com
694b676c4b Added SetEnabled Method stub. 1999-09-01 11:46:25 +00:00
saari%netscape.com
39a38c5c06 Changes to allow menus to enable and disable. This should only be run on MacOS, but nsIMenu::SetEnable(PRBool) was added to all platforms. 1999-09-01 08:40:18 +00:00
saari%netscape.com
2668f7f02b Changing Mac Help menu to be non-dynamic to prevent crashing on some machines. Got permission from sdagley 1999-09-01 03:26:03 +00:00
cyeh%netscape.com
34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
ramiro%netscape.com
9cf6aaace1 Removed bogus assertions. 1999-08-31 14:36:53 +00:00
rods%netscape.com
6d8c1b766a changed the passing of the virtual key code from a zero to what is passed in 1999-08-31 13:36:40 +00:00
tague%netscape.com
97b0bd802c Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX. 1999-08-31 01:20:32 +00:00
pinkerton%netscape.com
c3917762df using new nsIScriptableRegion interface. 1999-08-30 21:54:33 +00:00
pinkerton%netscape.com
f8d4e75cb4 lowecased to match JS syntax. using new nsIScriptableRegion interface. 1999-08-30 21:54:23 +00:00
shawnp%earthling.net
18257fef09 Now set the title of the window properly. Now pass the correct parameters
into bitBlt() to handle partial repainting requests.
1999-08-30 02:59:54 +00:00
shawnp%earthling.net
9c1e832351 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.
1999-08-30 02:57:46 +00:00
shawnp%earthling.net
7311cdc9a1 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.
1999-08-30 02:47:25 +00:00
shawnp%earthling.net
cfb7be6cd2 Removed AdjustScrollBarPosition() function. 1999-08-30 02:45:47 +00:00
shawnp%earthling.net
a469158617 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.
1999-08-30 02:45:04 +00:00
shawnp%earthling.net
887df901ad nsQRadioButton now uses nsQEventHandler event handling. Added debugging
code to make sure that radio buttons actually work as they're supposed to.
1999-08-30 02:41:52 +00:00
shawnp%earthling.net
dcda2fd337 Added MouseMovedEvent(), KeyPressEvent(), KeyReleaseEvent() and GetNSKey()
functions.
1999-08-30 02:39:42 +00:00
shawnp%earthling.net
298d507918 Now catch MouseMove, KeyPress and KeyRelease events. Cleaned up the
handling of mouse press and release events. Added GetNSKey() function.
1999-08-30 02:38:38 +00:00
shawnp%earthling.net
974188d3c4 Corrected comments and improved logging output. 1999-08-30 02:31:34 +00:00
shawnp%earthling.net
741e94cf54 Removed unneeded member variable. 1999-08-30 02:30:47 +00:00
shawnp%earthling.net
5c47c4f896 Don't need to free the QStyle (it's freed by QApplication). 1999-08-30 02:30:21 +00:00
blizzard%redhat.com
055643445e get rid of the focus madness. start tracking focus virtually instead of dealing with X's completely broken focus handling. 1999-08-30 00:38:35 +00:00
bruce%cybersight.com
d4431a8205 Init refcnt. 1999-08-29 11:10:31 +00:00
akkana%netscape.com
309a290a03 Fix alt key char codes 1999-08-28 00:32:35 +00:00
saari%netscape.com
0a61a9b8c9 Fixing bug 12335. Mac only changes 1999-08-27 20:58:58 +00:00
dcone%netscape.com
2a2df6fd34 Fixed GetDeviceSurfaceDimensions() so the width and height are in appunits, and the routines who use them will convert properly. 1999-08-27 14:22:14 +00:00
Jerry.Kirk%Nexwarecorp.com
797013f70d Remove calls to old stuff that keeps this from compiling. It
now no longer works at all under Photon and needs an overhaul.
1999-08-27 14:01:50 +00:00
Jerry.Kirk%Nexwarecorp.com
cdab7a1bf7 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.
1999-08-27 13:35:11 +00:00
ramiro%netscape.com
d3031d8625 lower the volume on printf noise. 1999-08-27 09:38:44 +00:00
cls%seawood.org
0ebd87b28a Fix for gcc 2.95 1999-08-27 06:23:59 +00:00
bruce%cybersight.com
4397f0e95f Fix for initializing refcnt. 1999-08-27 06:10:05 +00:00
beard%netscape.com
3fadca59b0 bug 11312: fixed Invalidate() of entire bounds, need to use (0, 0)-based rectangle. 1999-08-27 04:02:09 +00:00
pinkerton%netscape.com
215b9b4f1b File Removed. 1999-08-27 03:45:14 +00:00
pinkerton%netscape.com
ea28d30d31 remove nsIContentConnector.h exports. 1999-08-27 03:42:42 +00:00
rods%netscape.com
4d8da33c9c 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
1999-08-26 14:41:17 +00:00
pavlov%netscape.com
3fa54f8ec7 hack for silly behavior so that xpmenus popup and show the first time 1999-08-26 10:07:39 +00:00
pavlov%netscape.com
c8ecb3f2e6 fix crash when copying japaneese text to an xterm a=mcafee 1999-08-26 07:55:40 +00:00
pavlov%netscape.com
4f61a74d16 my compiler sucks. i'm buying a mac. fix build bustage 1999-08-26 03:49:49 +00:00
pavlov%netscape.com
7a7259d237 fix memory leak 1999-08-26 03:11:30 +00:00
beard%netscape.com
f04efea49f fixing a smashed memory block problem, wasn't allocating enough space for the '\0' terminator. 1999-08-26 02:39:53 +00:00
pavlov%netscape.com
e9a4611715 fix for 12501 and make the rest of the widgets use NS_* macros 1999-08-26 02:06:24 +00:00
sdagley%netscape.com
6925331053 Fix #6860. We were using the wrong constant in nsFileWidget::PutFile which resulted in the open file dialog being displayed instead of the save file dialog. Yes the Windows build is red as I check this in but it's not related to the problem and mcafee has approved the checkin. 1999-08-26 00:59:16 +00:00
ramiro%netscape.com
245edac916 stub 1999-08-25 23:43:25 +00:00
saari%netscape.com
4396733119 Continuing previous checking w. merge 1999-08-25 23:02:16 +00:00