Commit Graph

2832 Commits

Author SHA1 Message Date
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
saari%netscape.com
f9a4da9ef0 Adding SetNativeData(void*) to nsIMenu, which was needed for making the Help menu on MacOS merge with the XUL help menu. The rest of the code is to achive the merge. 1999-08-25 22:53:25 +00:00
pinkerton%netscape.com
019167bea9 fix QI lameness and use macros. 1999-08-25 22:04:02 +00:00
sfraser%netscape.com
4a7f7b54e2 #ifdef out SysBeep()s in menu code 1999-08-25 21:55:01 +00:00
beard%netscape.com
524a121598 bug 11312: fixed calls to Invalidate() when widget has (x, y) <> (0, 0). 1999-08-25 21:28:19 +00:00
jdunn%netscape.com
39babcedbe HP won't allow a delete on a 'void *' so change cast using REINTERPRET 1999-08-25 21:23:21 +00:00
akkana%netscape.com
68e327729e Pass KeyPress events even if modifier key is pressed; un-break editor control key bindings. a=leaf,mcafee 1999-08-25 19:24:18 +00:00
ramiro%netscape.com
99e19a1241 Fix the timer names for these platforms. 1999-08-25 14:12:04 +00:00
ramiro%netscape.com
5c9835cc68 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
ramiro%netscape.com
aed2f968ba Remove extraneous AddRef(). 1999-08-25 11:45:14 +00:00
pinkerton%netscape.com
7e95a7e21e dumb compiler things. 1999-08-25 09:47:32 +00:00
pinkerton%netscape.com
72c115383c toString -> ToString idl change. 1999-08-25 09:15:18 +00:00
pinkerton%netscape.com
268234cadd IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter. 1999-08-25 08:35:06 +00:00
pinkerton%netscape.com
e6c7e84a6c First Checked In. 1999-08-25 08:34:46 +00:00
brendan%mozilla.org
9cd191ad4f Missed one during final precheckin update/merge. 1999-08-25 05:59:09 +00:00
brendan%mozilla.org
defeffaabd Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
blizzard%redhat.com
03c4790395 remove crufty comments 1999-08-25 01:51:25 +00:00
jdunn%netscape.com
a646f41fd3 Fix AIX compiler errors. 1999-08-25 01:14:11 +00:00
saari%netscape.com
48cb6ffc78 Fix for bug 12145 and enabling check marks on mac menus. Both mac only changes. 1999-08-24 21:55:02 +00:00
tague%netscape.com
9e7fd8b55c Added support for WM_INPUTLANGCHANGEREQUEST and WM_INPUTLANGCHANGE. Fixes bug #12317. 1999-08-24 21:46:43 +00:00
akkana%netscape.com
ff7a19a5bd Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
ramiro%netscape.com
7f374f6c96 Fix for the sunos build. 1999-08-24 15:26:31 +00:00
ramiro%netscape.com
2d131e53c9 Set the timer libs in one place. 1999-08-24 14:58:43 +00:00
ramiro%netscape.com
ec21b9ecbc Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00
ramiro%netscape.com
d8ed9e19ea Fix for bug 11964. Leaking timers. This time ita a real fix. Refcnt was
one too much cause of an extra QueryInterface() call.
1999-08-24 14:09:48 +00:00
sfraser%netscape.com
3d71ad3bff Make chooseDirectory return a file URL string, like chooseFile does. 1999-08-24 01:01:38 +00:00
sfraser%netscape.com
a646de73bc Make sure we initialize members of the base widget 1999-08-24 01:00:01 +00:00
pavlov%netscape.com
0613595047 initial work on doing filtering 1999-08-24 00:43:27 +00:00
pavlov%netscape.com
1a8e0b9388 fix clipboard brokeness on unix 1999-08-24 00:43:12 +00:00
briano%netscape.com
a0f7330b4b Cleaned it up and made it descend into unix_services for all Unix platforms. 1999-08-24 00:38:01 +00:00
briano%netscape.com
ed962ad7ba Cleanup. 1999-08-24 00:37:05 +00:00
briano%netscape.com
10afe608e0 Other files use nsIUnixToolkitService.h, so this now gets built on all Unix platforms. 1999-08-24 00:36:32 +00:00