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

2863 Коммитов

Автор SHA1 Сообщение Дата
saari%netscape.com 0aa0e05e2e MacOS fix for 5562; menus should update their titles now 1999-09-01 20:57:39 +00:00
dcone%netscape.com a18edf0c1d Fixed the NS_DIALOG_CID problem 1999-09-01 20:33:07 +00:00
tague%netscape.com 27e99c527e Fixed NS_OK direct comparisons. 1999-09-01 20:19:47 +00:00
pinkerton%netscape.com e1a3608eb5 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 247169c62e Added 2 CID's NS_POPUP_CID and NS_DIALOG_CID 1999-09-01 19:57:23 +00:00
akkana%netscape.com 6d7fb057ef 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 4a4f5c85e2 add stubs for that evil bastard saari 1999-09-01 11:48:39 +00:00
Jerry.Kirk%Nexwarecorp.com 7a7bc3dce3 Added SetEnabled Method stub. 1999-09-01 11:46:25 +00:00
saari%netscape.com a4835fb7cd 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 c01eb0253d 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 26effbde96 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
ramiro%netscape.com eadd4f2d2b Removed bogus assertions. 1999-08-31 14:36:53 +00:00
rods%netscape.com 277cdad0ed 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 d22744e0e1 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 86c9ab2de7 using new nsIScriptableRegion interface. 1999-08-30 21:54:33 +00:00
pinkerton%netscape.com a23b74b3b1 lowecased to match JS syntax. using new nsIScriptableRegion interface. 1999-08-30 21:54:23 +00:00
shawnp%earthling.net 6e9df6bcb1 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 5d0904a087 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 06dea018ae 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 2de60cfbd6 Removed AdjustScrollBarPosition() function. 1999-08-30 02:45:47 +00:00
shawnp%earthling.net f16ffb661a 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 7b644ad1f0 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 b9b1cd0a4f Added MouseMovedEvent(), KeyPressEvent(), KeyReleaseEvent() and GetNSKey()
functions.
1999-08-30 02:39:42 +00:00
shawnp%earthling.net 29bd99b051 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 6fedd73ad2 Corrected comments and improved logging output. 1999-08-30 02:31:34 +00:00
shawnp%earthling.net eeb2c1f237 Removed unneeded member variable. 1999-08-30 02:30:47 +00:00
shawnp%earthling.net 218ae44301 Don't need to free the QStyle (it's freed by QApplication). 1999-08-30 02:30:21 +00:00
blizzard%redhat.com 50678acf82 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 6b8a763887 Init refcnt. 1999-08-29 11:10:31 +00:00
akkana%netscape.com d086cb4735 Fix alt key char codes 1999-08-28 00:32:35 +00:00
saari%netscape.com a1b40359ab Fixing bug 12335. Mac only changes 1999-08-27 20:58:58 +00:00
dcone%netscape.com df78c331fa 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 e57e933c78 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 edfeda9a0f 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 877421b755 lower the volume on printf noise. 1999-08-27 09:38:44 +00:00
cls%seawood.org 079ad9d8f8 Fix for gcc 2.95 1999-08-27 06:23:59 +00:00
bruce%cybersight.com 6353ddb746 Fix for initializing refcnt. 1999-08-27 06:10:05 +00:00
beard%netscape.com bb744f3cf4 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 8b02e76d79 File Removed. 1999-08-27 03:45:14 +00:00
pinkerton%netscape.com bf4595a5ae remove nsIContentConnector.h exports. 1999-08-27 03:42:42 +00:00
rods%netscape.com af70448f86 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 d91156813e hack for silly behavior so that xpmenus popup and show the first time 1999-08-26 10:07:39 +00:00
pavlov%netscape.com fecfb184dc fix crash when copying japaneese text to an xterm a=mcafee 1999-08-26 07:55:40 +00:00
pavlov%netscape.com dc83b0cc3c my compiler sucks. i'm buying a mac. fix build bustage 1999-08-26 03:49:49 +00:00
pavlov%netscape.com c4572ca892 fix memory leak 1999-08-26 03:11:30 +00:00
beard%netscape.com db284bfd76 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 72799fde14 fix for 12501 and make the rest of the widgets use NS_* macros 1999-08-26 02:06:24 +00:00
sdagley%netscape.com 7d24f6937d 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 80bfbc6983 stub 1999-08-25 23:43:25 +00:00
saari%netscape.com ec27380ec3 Continuing previous checking w. merge 1999-08-25 23:02:16 +00:00
saari%netscape.com d770a701f9 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 43b4c5e6b6 fix QI lameness and use macros. 1999-08-25 22:04:02 +00:00
sfraser%netscape.com d5f3150831 #ifdef out SysBeep()s in menu code 1999-08-25 21:55:01 +00:00
beard%netscape.com 8eb5f0225c bug 11312: fixed calls to Invalidate() when widget has (x, y) <> (0, 0). 1999-08-25 21:28:19 +00:00
jdunn%netscape.com 79ef71461f 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 105b2a7583 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 8c6cb1b304 Fix the timer names for these platforms. 1999-08-25 14:12:04 +00:00
ramiro%netscape.com 8644dc2074 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
ramiro%netscape.com 1b066bb64a Remove extraneous AddRef(). 1999-08-25 11:45:14 +00:00
pinkerton%netscape.com b5a1209d9f dumb compiler things. 1999-08-25 09:47:32 +00:00
pinkerton%netscape.com f4a7881b59 toString -> ToString idl change. 1999-08-25 09:15:18 +00:00
pinkerton%netscape.com edc17e7846 IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter. 1999-08-25 08:35:06 +00:00
pinkerton%netscape.com d08c3d748e First Checked In. 1999-08-25 08:34:46 +00:00
brendan%mozilla.org 10ccfa1568 Missed one during final precheckin update/merge. 1999-08-25 05:59:09 +00:00
brendan%mozilla.org bbe959f4d1 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 70cf5f8021 remove crufty comments 1999-08-25 01:51:25 +00:00
jdunn%netscape.com f0374764ce Fix AIX compiler errors. 1999-08-25 01:14:11 +00:00
saari%netscape.com e32e430ddb 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 67c2551d1a Added support for WM_INPUTLANGCHANGEREQUEST and WM_INPUTLANGCHANGE. Fixes bug #12317. 1999-08-24 21:46:43 +00:00
akkana%netscape.com 70ab0ba259 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 af14f75983 Fix for the sunos build. 1999-08-24 15:26:31 +00:00
ramiro%netscape.com dc1506b6f5 Set the timer libs in one place. 1999-08-24 14:58:43 +00:00
ramiro%netscape.com e1f2489b0c Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00
ramiro%netscape.com 184b6cba71 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 93c5e37bce Make chooseDirectory return a file URL string, like chooseFile does. 1999-08-24 01:01:38 +00:00
sfraser%netscape.com f260383c7b Make sure we initialize members of the base widget 1999-08-24 01:00:01 +00:00
pavlov%netscape.com 6c9cfdec94 initial work on doing filtering 1999-08-24 00:43:27 +00:00
pavlov%netscape.com 7ddce9995d fix clipboard brokeness on unix 1999-08-24 00:43:12 +00:00
briano%netscape.com 1cb1931f93 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 50f98c7b32 Cleanup. 1999-08-24 00:37:05 +00:00
briano%netscape.com 1929e4070d 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 afbbde9a99 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 8a0dc5fc0b 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 b4e7a8766a remove unused tab widget and tooltip widget as they have never been used 1999-08-23 12:15:57 +00:00
ramiro%netscape.com a0d8403b83 Comment out un impl class. 1999-08-22 16:07:43 +00:00
ramiro%netscape.com f24856cdb7 Remove hack. 1999-08-22 16:07:19 +00:00
mccabe%netscape.com b95a2bdd54 Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
ramiro%netscape.com 1d23cab69b Cleanup the jsdom and jsurl linking mess. 1999-08-22 11:05:45 +00:00
beard%netscape.com a22520cfca Added DispatchWindowEvent, added keyboard focus, and default keyboard input behavior. 1999-08-22 05:43:39 +00:00
cls%seawood.org ed99311f98 gcc 2.95 ANSI C++ compliance fix 1999-08-21 19:29:01 +00:00
ramiro%netscape.com 16bbd09726 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
ramiro%netscape.com 40297c98cb No longer needed. 1999-08-21 12:13:17 +00:00
ramiro%netscape.com 71c0c72565 Fix pavlov's bustage. 1999-08-21 10:29:34 +00:00
mccabe%netscape.com 779d51d186 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 4270d77429 change #define that I was using for debugging 1999-08-21 08:43:07 +00:00
pavlov%netscape.com f897628bbf remove unused tab widget and tooltip widget as they have never been used 1999-08-21 08:41:46 +00:00
pavlov%netscape.com 588f75cc4d fix brokeness from my previous checkin 1999-08-21 08:40:30 +00:00
beard%netscape.com 814b7396c6 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 5fb1e6b12f fixed zoom mouse tracking, now calls TrackBox properly. 1999-08-20 23:20:04 +00:00
beard%netscape.com 6fc8f3d208 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 030feb3a63 Using StRegionFromPool, fixed some widget clipping bugs (invisible siblings). 1999-08-20 23:17:45 +00:00
pollmann%netscape.com 2bd94df559 Fixing GTK widget tabbing for text inputs. 1999-08-20 23:10:54 +00:00
hyatt%netscape.com f1252f912a Renaming onaction to oncommand. 1999-08-20 22:58:32 +00:00
pavlov%netscape.com 85b0bdae46 clipboard fixes 1999-08-20 22:54:45 +00:00
akkana%netscape.com ed740dfd17 Handle backslash character 1999-08-20 22:38:08 +00:00
Dale.Stansberry%Nexwarecorp.com e79d09b1b1 - Major changes to reduce excess paints/widget damage 1999-08-20 14:15:16 +00:00
blizzard%redhat.com 35808c8ba6 fix xlib timer bug. this is not part of the build. 1999-08-20 03:26:54 +00:00
ramiro%netscape.com 4227258350 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 88a8db13a7 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 ef33a0f341 remove InvokeDragSessionSingle 1999-08-19 19:49:20 +00:00
pinkerton%netscape.com 4616264a3d add drag gesture event. 1999-08-19 19:48:58 +00:00
pinkerton%netscape.com 454f80e95f remove InvokeDragSessionSingle. 1999-08-19 19:48:18 +00:00
mcafee%netscape.com 569482643e Compiler warnings. 1999-08-19 05:21:34 +00:00
rods%netscape.com 8eaf5a836c HTML is placed on clipboard as Unicode and no longer stips remaining zeroes 1999-08-18 14:58:05 +00:00
rods%netscape.com 52f3bcdfe0 fixed minor casting warning 1999-08-18 14:57:06 +00:00
rods%netscape.com 952f852346 added Unicode support and multiply the length now by 2 because and changed it to put Unicode on the clipboard for HTML 1999-08-18 14:56:39 +00:00
rods%netscape.com 7a98b3503f Cleanup warnings 1999-08-18 14:40:21 +00:00
saari%netscape.com 626693c038 Fix for bug 11949 1999-08-18 01:20:52 +00:00
ramiro%netscape.com 0e1b8a922a Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com 4518a0a529 Fix for crash on startup. 1999-08-17 18:59:44 +00:00
ramiro%netscape.com 1c70d47cfb Fix windows bustage. My fault, i missed an EXPORTS. Sorry. 1999-08-17 17:56:55 +00:00
ramiro%netscape.com 5de5eb3b96 CLeanup the nsWidgetSupport.cpp mess on windows. Moved it to its own place. Its only
needed by test apps.
1999-08-17 16:31:52 +00:00
ramiro%netscape.com 824b05d915 Cleanup the nsWidgetSupport.cpp mess on unix. Windows next. 1999-08-17 16:09:40 +00:00
ramiro%netscape.com 0149d76208 Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
ramiro%netscape.com db81b7d904 Dont link in the parser into the app. Link it in dynamically where needed.
This makes the link depenencies on unix be more like windows.  Makes it
easier to track dependency problems and simplifies makefiles.
1999-08-17 13:54:48 +00:00
ramiro%netscape.com 94553bf419 Move nsIXlibWindowService.h to its own place. 1999-08-17 13:26:13 +00:00
ramiro%netscape.com f544ac5394 Link expat and xmltok into the htmlparser statically. Not into the app. 1999-08-17 12:46:23 +00:00
ramiro%netscape.com 33f8c1f169 Remove the TOOLKIT_EXORCISM hack. Make non-monolithic toolkit linking the
default for Linux and Solaris.  Need testing on other platforms (HELP!)
That means that toolkit libraries are not linked into the app - for truly
XP apps such as the apprunner.  The gecko viewer still needs to link in
the toolkit, cause it has toolkit code in its main().
Replace the hack with something more useful.  There is a
--enable-monolithic-toolkit flag for platforms with dumb linkers and runtime
loaders.

Also landed the remainder of Shawn Packwood's qt port.
1999-08-17 09:33:48 +00:00
ramiro%netscape.com f51ce56866 Update for api change. Ignore generated files. 1999-08-17 06:57:31 +00:00
ramiro%netscape.com d702007e37 Fix the qt timers. 1999-08-17 06:56:13 +00:00
ramiro%netscape.com ad898912b6 Fix for bug 11964. Timers were leaking again. Approved by jevering. 1999-08-17 01:05:09 +00:00
saari%netscape.com 1a8558d958 Fix for Mac menu crasher. Same fix as hyatt did for XPMenus. Permission ala chofmann 1999-08-13 23:52:49 +00:00
pinkerton%netscape.com 1e3863c605 correctly check result codes of OS calls and null terminate the exported mappings for placing on the clipboard. Fixes bug #11569 (appr chofmann). 1999-08-13 21:05:49 +00:00
ramiro%netscape.com 26b800fd36 Fix for bug 2595. Thats the evil bug that causes widgets to be "messed up"
whenever a reflow happens.  The offset were being computed from the wrong
origin.  See comments in nsWidget::Move() if you want to be confused.
1999-08-13 20:56:40 +00:00
pavlov%netscape.com 952762fde6 ifdef out some printfs to make akkana happy a=chofmann 1999-08-13 20:39:34 +00:00
pavlov%netscape.com f2022e24b5 fix for bug 9446. only seen in viewer, doesn't effect apprunner a=gramps 1999-08-12 23:54:23 +00:00
danm%netscape.com 1d4d71b2ca Landing modal dialogs from JS. More like a feature than stabilization. Apologies. approved: chofmann,don 1999-08-12 22:08:17 +00:00
pavlov%netscape.com c65395e0b9 fix for bug 11564. a=gramps 1999-08-12 21:48:43 +00:00
shawnp%earthling.net 3ec4a66404 Initial version of qt timer files. Did just enough work to get it to work. 1999-08-12 02:33:42 +00:00
shawnp%earthling.net 194efaf42c Initial version of qt widget files. I've put quite a lot of work into most
of the classes, but there are still some major gaping holes in
functionality.
1999-08-12 02:30:02 +00:00
ramiro%netscape.com 4fce1e212d Add NS_NATIVE_PLUGIN_PORT case to GetNativeData() so that plugins will work. 1999-08-11 05:01:36 +00:00
blizzard%redhat.com 8a27692e73 expose event compression from aljones@lbl.gov. some refcnt fixes. a=mcafee 1999-08-11 02:07:47 +00:00
saari%netscape.com cd5188140a Mac only change Make Mac menu command symbol (clover leaf) show up in menus. 1999-08-11 00:00:55 +00:00
blizzard%redhat.com 9f8e16ebee fixes for scrolling and layout bounds calculation lameness. a=mcafee, doesn't affect build. 1999-08-10 21:14:27 +00:00
blizzard%redhat.com 4ba886877b xlib fixes. menus work now. 1999-08-10 19:19:33 +00:00
ramiro%netscape.com 2fc75ad2d6 Build bustage - add stubs. 1999-08-10 14:54:54 +00:00
mccabe%netscape.com d6e7410f31 Changes to the xpidl compiler -
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].

This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.

As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout.  As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
1999-08-10 12:18:01 +00:00
pavlov%netscape.com b6e93f2c7b fix compileation issues on stupid sun compilers 1999-08-10 08:08:05 +00:00
pavlov%netscape.com a5ecbd1156 first go at nsIWidget::CaptureMouse() 1999-08-10 07:38:26 +00:00
saari%netscape.com a6f60782da Fixing bug 4960, mac menu items reflect enabled/disabled state 1999-08-10 06:25:34 +00:00