Граф коммитов

2900 Коммитов

Автор SHA1 Сообщение Дата
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
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
briano%netscape.com c7af4180f9 Slight rewrite to allow other platforms to build the toolkit_service stuff without problems. 1999-08-24 00:34:47 +00:00
blizzard%redhat.com bf7f63e205 take out some extra XSync() calls and _Xdebug symbol. should make it a bit faster. also, if an X event is passed in and we don't know anything about the window then don't crash. 1999-08-23 12:50:53 +00:00
Jerry.Kirk%Nexwarecorp.com e1ed42a402 remove unused tab widget and tooltip widget as they have never been used 1999-08-23 12:15:57 +00:00
ramiro%netscape.com 996b924d66 Comment out un impl class. 1999-08-22 16:07:43 +00:00
ramiro%netscape.com 58ef89909d Remove hack. 1999-08-22 16:07:19 +00:00
mccabe%netscape.com 381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
ramiro%netscape.com 56b62f3790 Cleanup the jsdom and jsurl linking mess. 1999-08-22 11:05:45 +00:00
beard%netscape.com c2c8296420 Added DispatchWindowEvent, added keyboard focus, and default keyboard input behavior. 1999-08-22 05:43:39 +00:00
cls%seawood.org d0c364352b gcc 2.95 ANSI C++ compliance fix 1999-08-21 19:29:01 +00:00
ramiro%netscape.com 2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
ramiro%netscape.com 5d2ddafb08 No longer needed. 1999-08-21 12:13:17 +00:00
ramiro%netscape.com a613bf91af Fix pavlov's bustage. 1999-08-21 10:29:34 +00:00
mccabe%netscape.com d98f4dca1d First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.
1999-08-21 08:54:47 +00:00
pavlov%netscape.com c34a3bbbba change #define that I was using for debugging 1999-08-21 08:43:07 +00:00
pavlov%netscape.com ebd04ecb57 remove unused tab widget and tooltip widget as they have never been used 1999-08-21 08:41:46 +00:00
pavlov%netscape.com 0c77f9a8c8 fix brokeness from my previous checkin 1999-08-21 08:40:30 +00:00
beard%netscape.com 389e93e774 added mozilla/widget/src/support to access paths, to find new location for nsWidgetSupport.cpp. 1999-08-21 01:31:01 +00:00
beard%netscape.com 003986dfd2 fixed zoom mouse tracking, now calls TrackBox properly. 1999-08-20 23:20:04 +00:00
beard%netscape.com ff33cdfed8 Moved StRegionFromPool to header file, using more consistently, fixed some child widget clipping bugs, changed scrolling to just repaint when complex clipping in use. 1999-08-20 23:19:06 +00:00
beard%netscape.com 11e51e17d9 Using StRegionFromPool, fixed some widget clipping bugs (invisible siblings). 1999-08-20 23:17:45 +00:00
pollmann%netscape.com a1f15c0597 Fixing GTK widget tabbing for text inputs. 1999-08-20 23:10:54 +00:00
hyatt%netscape.com d819a08a33 Renaming onaction to oncommand. 1999-08-20 22:58:32 +00:00
pavlov%netscape.com 0c67c7e7d4 clipboard fixes 1999-08-20 22:54:45 +00:00
akkana%netscape.com 456b84ab15 Handle backslash character 1999-08-20 22:38:08 +00:00
Dale.Stansberry%Nexwarecorp.com 6735fdc415 - Major changes to reduce excess paints/widget damage 1999-08-20 14:15:16 +00:00
blizzard%redhat.com c466ab950f fix xlib timer bug. this is not part of the build. 1999-08-20 03:26:54 +00:00
ramiro%netscape.com d1d6e2ff62 Fix bugs 6023, 8565 10077 and possibly 12091. All of these are gtk keyboard
scrolling problems or related.
1999-08-19 20:50:09 +00:00
pavlov%netscape.com 1e540fc022 make resizing not suck!!!!!!!, fix clipboard bug were you couldn't copy/paste two times in a row, remove excess widget baggage 1999-08-19 19:51:33 +00:00
pinkerton%netscape.com 2258de2dfa remove InvokeDragSessionSingle 1999-08-19 19:49:20 +00:00
pinkerton%netscape.com d1206fe5a3 add drag gesture event. 1999-08-19 19:48:58 +00:00
pinkerton%netscape.com 38ebcd20fd remove InvokeDragSessionSingle. 1999-08-19 19:48:18 +00:00
mcafee%netscape.com 024ea35904 Compiler warnings. 1999-08-19 05:21:34 +00:00