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

2992 Коммитов

Автор SHA1 Сообщение Дата
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
saari%netscape.com d336c7e62d Fix for bug 9706, menu shortcut characters should be capitalized 1999-08-10 05:49:40 +00:00
pavlov%netscape.com 4159a6e360 fix for popups being too big 1999-08-10 05:31:06 +00:00
Jerry.Kirk%Nexwarecorp.com 47c19c60fa Adding SetDOMNode and GetDOMNOde to Photon UI 1999-08-10 00:57:57 +00:00
saari%netscape.com 66032b872e Fix for build break, one too many *s 1999-08-09 20:06:11 +00:00
sfraser%netscape.com 19d4959fb5 Optimization: don't invalidate and update the scroll bar if the value has not changed. 1999-08-09 19:34:34 +00:00
saari%netscape.com aba48e044c First Checked In. 1999-08-09 19:15:01 +00:00
saari%netscape.com c4dc3e2db6 Adding Mac dynamic menus support. This touches a little XP code, notably, adding GetDOMNode and SetDOMNode to nsIMenuItem. 1999-08-09 19:14:38 +00:00
danm%netscape.com e72ce5345d adding "default" window border type 1999-08-08 03:08:24 +00:00
joki%netscape.com da36d40b61 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
danm%netscape.com f221b4e5c7 corrected chrome behaviour in window.open. removed warnings in nsWebShellWindow. 1999-08-07 02:51:03 +00:00
tague%netscape.com 16b9302f4d Fix build bustage 1999-08-06 08:31:38 +00:00
tague%netscape.com 967ad6ea5c Added candidate window positioning for Win32 input methods 1999-08-06 07:42:35 +00:00
pierre%netscape.com 932fb88b4b Re-enabled the live-resizing just to see if people like it better now because the rendering is much faster. 1999-08-06 05:22:31 +00:00
tague%netscape.com 49bf2f127e Found missing file from checkin 1999-08-06 03:14:57 +00:00
pavlov%netscape.com b2749e6a85 lets try this again 1999-08-05 23:13:07 +00:00
rods%netscape.com f3a85ff8f9 Fixes bug# 11300, when mouse capture is on the wrong window is being set into
the MouseTrialer timer object. This gets the window under the cursor during
a mouse capture.
1999-08-05 14:56:21 +00:00
ramiro%netscape.com 1d4022c3d8 Add support for building more than one toolkit at once. Currently #ifdefed
off as part of the toolkit link time exorcism.
1999-08-05 05:12:56 +00:00
pinkerton%netscape.com 33f8f58cdc using the region pool stuff so we're not constantly creating/destroying regions in the smooth scrolling code. Also use a stackbased helper to simplify error handling. 1999-08-04 20:15:44 +00:00
mcafee%netscape.com 5bdfe5d9ca REALLY backing pavlov out 1999-08-04 03:09:28 +00:00
pavlov%netscape.com 7ca87b5c27 i suck. i broke the tree. 1999-08-04 01:59:30 +00:00
pavlov%netscape.com c0fd7a870a revert context menus to rev 1.2 and turn them on by default.. these don't work yet and may do bad things if you try and use them. 1999-08-04 01:37:21 +00:00
briano%netscape.com f1ffca414c Cleaned it up and got rid of the redundant HP-specific SHARED_LIBRARY_LIBS stuff. 1999-08-03 21:40:56 +00:00
pavlov%netscape.com 42ed379fc5 empty clipboard when we receive a clear notification 1999-08-03 20:46:50 +00:00
danm%netscape.com 9d29324b32 modal dialogs from C off the UI thread. a bit premature: works on Win and Mac. Issue addressed on gtk, but not there yet. 1999-08-03 07:06:32 +00:00
ramiro%netscape.com 49172a9310 Portability fixes. 1999-08-03 00:28:55 +00:00
sfraser%netscape.com b08e7e589e Cleanup, and fix for bug 6678. 1999-08-02 21:38:42 +00:00
sfraser%netscape.com 32e31cc28e Add stack-based GrafPtr setting class. 1999-08-02 21:38:24 +00:00
pinkerton%netscape.com d6dfc45b9f Add new smooth scrolling code from 4.5/MozClassic that uses CopyBits instead of ScrollRect to avoid those ugly gray flashes while scrolling quickly. 1999-08-02 21:35:53 +00:00
ramiro%netscape.com 1836ff810d Forgot a slash. 1999-08-02 14:48:05 +00:00
ramiro%netscape.com deb7d3b582 Landing unix toolkit exorcism changes. #ifdef-ed OFF for now. 1999-08-02 13:53:49 +00:00
ramiro%netscape.com 99dbd21fff Fix debug typo. 1999-08-02 11:58:11 +00:00
ramiro%netscape.com 33cc9c76e0 Add toolkit service. 1999-08-02 11:57:38 +00:00
Jerry.Kirk%Nexwarecorp.com f9a1ee0ccf Fix early realization problem with the nsMenuBar
Fix an "off-by-one" problem when redrawing rects with Photon
and other bugs.
1999-08-01 23:48:21 +00:00
blizzard%redhat.com 9beeb87833 support WM_DELETE window mananger protocol 1999-08-01 21:00:22 +00:00
blizzard%redhat.com ccccdd3fed implement nsAppShell::Exit() 1999-08-01 03:52:12 +00:00
sspitzer%netscape.com 6857b11132 changes to make nsIFileSpecWithUI useful from javascript.
now, this works from js:

var filePicker = Components.classes["component://netscape/filespecwithui"].createInstance();
filePicker = filePicker.QueryInterface(Components.interfaces.nsIFileSpecWithUI);
file = filePicker.chooseFile("Select a file");
1999-07-31 18:45:22 +00:00
hyatt%netscape.com 5b5ad0b54c Patching native menu implementations for phase 2. Mac is not patched
yet, so menus will not work on the Mac right now.  Patch for Mac
coming shortly.
1999-07-31 07:06:53 +00:00
hyatt%netscape.com 35fa9e4a68 Beginning phase 2 of the XP menu landing. Menus will be horked intermittently
on all platforms until I complete this landing.  Do not pull if this will be
a problem for you.
1999-07-31 06:30:43 +00:00
hyatt%netscape.com b25feb8317 Fixing Pav's bustage. Bad Pav for going to dinner! 1999-07-31 03:49:25 +00:00
pavlov%netscape.com 13f301d44c back out previous changes 1999-07-31 02:28:56 +00:00
hyatt%netscape.com 218a6c336e Phase 1 of the XP menu landing. Massaging the native menu syntax to make
it interoperable with the XP menu syntax.

Specific changes:
  (a) separator has been renamed to menuseparator
  (b) onclick has been renamed to onaction
  (c) name has been renamed to value
1999-07-31 02:07:17 +00:00
pavlov%netscape.com 23343b3db3 fix it for real this time... 1999-07-31 01:54:26 +00:00
pavlov%netscape.com 143420dcd1 fix mac bustage 1999-07-31 00:57:58 +00:00
Jerry.Kirk%Nexwarecorp.com 60758f3368 Fix Move and Resize methods change from PRUint to PRInt 1999-07-30 23:58:35 +00:00
pavlov%netscape.com b69849a8bf minimize/maximize/restore code 1999-07-30 23:53:17 +00:00
pavlov%netscape.com 6869abd55e fix for scrolling problems in trees so mailnews doesn't scroll really really badly 1999-07-30 19:56:35 +00:00
zuperdee%penguinpowered.com 9a26c6d7bc Unbreaking the Motif port by changing the Move and Resize functions to match the new virtual prototypes. NOT PART OF MAIN BUILD. 1999-07-30 18:27:23 +00:00
pavlov%netscape.com d71982851f really fix aix, hpux, etc a=cyeh 1999-07-30 02:39:17 +00:00
pavlov%netscape.com 251e66f987 fix solaris/aix/hpux/anal_compiler bustage a=cyeh 1999-07-29 22:53:41 +00:00
briano%netscape.com ea37bbc00a Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org. 1999-07-29 01:18:12 +00:00
rods%netscape.com 5a1743e501 Changed the Show method to included the SWP_NOACTIVATE falg for popup windows 1999-07-28 21:38:57 +00:00
duncan%be.com 4dfa276491 Fix the BeOS build. mcafee@netscape.com ok'd. 1999-07-28 10:11:09 +00:00
blizzard%redhat.com 0acd4d8045 implement nsWidget::WidgetToScreen 1999-07-28 05:02:41 +00:00
blizzard%redhat.com c7eb463783 fix broken debugging messages and fix bounds condition where a window
should be mapped.
1999-07-28 04:53:49 +00:00
danm%netscape.com ff8d34bac2 implement window creation OS chrome feature flags 1999-07-28 03:39:44 +00:00
blizzard%redhat.com 43fb701d0f change prototypes for recent widget interface changes. 1999-07-28 03:11:16 +00:00
blizzard%redhat.com 5bfd052c4c fix another UMR. 1999-07-28 02:54:05 +00:00
blizzard%redhat.com c3dba557f6 merge changes from timer/ directory that ramiro missed. this shouldn't affect anything. 1999-07-28 02:49:30 +00:00
blizzard%redhat.com 64a127ce48 fix memory leak 1999-07-28 02:21:23 +00:00
blizzard%redhat.com 8bd7e118e9 fix leaking nsRect in nsWindow::Invalidate() 1999-07-28 02:08:17 +00:00
blizzard%redhat.com d742ef9376 fix UMRs as reported by the great and powerful bruce. this closes bug 10625. 1999-07-28 02:02:21 +00:00
bruce%cybersight.com c0f663865b Add some includes to make it more explicit. (This was breaking under some changes I have locally to minimize include graph without this). Also fixes a gcc 2.7.2.3 issue. 1999-07-28 01:45:57 +00:00
mcafee%netscape.com 737c1acedd Fixing linux bustage. 1999-07-27 23:56:04 +00:00
mcafee%netscape.com b78df3f38f Fixing linux bustage with kmcclusk. 1999-07-27 23:52:41 +00:00
briano%netscape.com d99daeea9b Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
kmcclusk%netscape.com 18b946cc00 bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.
1999-07-27 23:26:36 +00:00
danm%netscape.com 9ff13525b3 straighten out OS chrome flags and synchronize in Windows source 1999-07-27 22:42:34 +00:00
mcafee%netscape.com 2aa98e7923 Removing DEBUG_mcafee from debug code. 1999-07-27 20:55:06 +00:00
joki%netscape.com 0449f5890c Fix event coords for focus/blur events 1999-07-27 20:50:05 +00:00
pavlov%netscape.com b1580727e7 better comments describing the window border styles 1999-07-27 20:37:53 +00:00
pavlov%netscape.com 1204d052f8 cut down on debugging message spam 1999-07-27 08:25:52 +00:00
pavlov%netscape.com 4ba9281425 fix border style setting 1999-07-27 07:55:10 +00:00
danm%netscape.com 743f1947e6 hooking up window OS border control from JS/C++ 1999-07-27 06:34:24 +00:00
pavlov%netscape.com 79ff0505ea return 0. fix build bustage 1999-07-27 04:56:48 +00:00
pavlov%netscape.com 8b8b9c3727 window creation changes 1999-07-27 04:27:17 +00:00
dougt%netscape.com 69178099d5 Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
Dale.Stansberry%Nexwarecorp.com 8b53553ce8 - Added window close handling (doesnt seem to work - ref counts off) 1999-07-26 14:03:22 +00:00
hyatt%netscape.com 6124dba693 Defining the menu GUI events. 1999-07-26 09:19:18 +00:00
Jerry.Kirk%Nexwarecorp.com 4862750861 Photon fix for NULL parented top level windows 1999-07-25 19:49:58 +00:00
duncan%be.com 4375cd75d0 Fix stupid error. 1999-07-24 22:26:00 +00:00
zuperdee%penguinpowered.com d31327b60e Removing some more deadwood. NOT PART OF MAIN BUILD. 1999-07-24 22:11:13 +00:00
duncan%be.com cc5c038ccd Support sound. 1999-07-24 20:07:55 +00:00
zuperdee%penguinpowered.com f469d41e2d Lots of cosmetic cleanups and a few minor bug fixes to the Motif port of nsWindow. I've also made it extra noisy on the debug output, to assist me in my attempts to figure out what is going wrong with the resizing routines. NOT PART OF MAIN BUILD. 1999-07-24 08:46:50 +00:00
pavlov%netscape.com ac2a0c924c change sound interface to use an nsIFileSpec* instead of a const char* 1999-07-24 04:58:10 +00:00
zuperdee%penguinpowered.com 4da7b32cbe Fixed a bug that was causing both apprunner and viewer to segfault on startup in the Motif port. NOT PART OF MAIN BUILD. 1999-07-23 21:51:06 +00:00
ramiro%netscape.com 82f91fde46 Add IDS for unix toolkit timers. 1999-07-23 12:24:09 +00:00
ramiro%netscape.com cad8a489dd Exorcise the evil global app context thing and replace it with an xpcom thing. 1999-07-23 12:12:08 +00:00
pavlov%netscape.com dead7777e3 stub out beos things so that their build will build 1999-07-23 07:02:17 +00:00
ramiro%netscape.com 2d4d961b81 Cut down on the popup noise a bit. 1999-07-23 06:25:47 +00:00
pavlov%netscape.com 88a6036294 update qnx folks to the new sound stuff 1999-07-23 05:40:35 +00:00
gordon%netscape.com b0941b1631 Export NS_NewTimer() with PR_PUBLIC_API (this is a Mac-only file). 1999-07-23 05:18:18 +00:00
pavlov%netscape.com c99cada05a changing sound implimentation to support playing of local files 1999-07-23 05:15:58 +00:00
beard%netscape.com 22708a8d17 LMGetGrayRgn() -> GetGrayRgn(), to be Carbon compliant. 1999-07-23 02:45:42 +00:00
rods%netscape.com af9280a08a Need to multiple the number of incoming chars by two because they are double byte. 1999-07-23 02:27:09 +00:00
beard%netscape.com 478b3de4ef bug #7796: changed nsDeviceContextMac::GetDeviceSurfaceDimensions() to return the dimensions of the entire Mac desktop using LMGetGrayRgn(). 1999-07-23 01:59:18 +00:00
beard%netscape.com a01ab3db19 bug #8627: simulates NS_MOUSE_LEFT_BUTTON_UP after TrackControl/LClick calls which eat the native mouseUp event. This enables correct DOM event filtering. 1999-07-23 00:27:05 +00:00
zuperdee%penguinpowered.com 3c8617e9cf Making another attempt to fix the SunOS 5.5.1 Motif build bustage. NOT PART OF MAIN BUILD. 1999-07-23 00:12:38 +00:00
danm%netscape.com 2e39eab67d removing IsMenuBarVisible -- it was a mistake, and unused 1999-07-22 23:41:50 +00:00
zuperdee%penguinpowered.com a92a04b56a Attempting to fix the SunOS 5.5.1 Motif build bustage. NOT PART OF MAIN BUILD. 1999-07-22 22:16:09 +00:00
sspitzer%netscape.com 79d291e429 ignore generated makefiles 1999-07-22 17:38:43 +00:00
pavlov%netscape.com 07155e01b4 we now support lots of cool X clipboard things 1999-07-22 01:05:34 +00:00
zuperdee%penguinpowered.com 382961c0fe Adding #ifdef for HK_ISO_Left_Tab, because some OS's, like SunOS 5.5.1, don't have it. 1999-07-22 00:49:06 +00:00
blizzard%redhat.com 5ae57eecfc add the xlib window interface header file to the list of exports 1999-07-21 22:16:00 +00:00
blizzard%redhat.com 9fac3fbaab xlib window service interface. this is xlib specific but is a public interface. 1999-07-21 22:15:34 +00:00
blizzard%redhat.com 719a7b71c2 changes to support the xlib window service 1999-07-21 21:59:14 +00:00
blizzard%redhat.com 4c927725a1 add files for Xlib window service 1999-07-21 21:57:43 +00:00
zuperdee%penguinpowered.com 0175077105 Fixing the SunOS 5.5.1 Motif build bustage. Thanks to Tomi Leppikangas for this patch. 1999-07-21 21:48:13 +00:00
ramiro%netscape.com c6a24a45e9 Move the timers to their final resting group in mozilla/widget. 1999-07-21 20:13:06 +00:00
dougt%netscape.com b87a7785d4 fixing build bustage. 1999-07-21 18:41:02 +00:00
zuperdee%penguinpowered.com 6883bf1a64 Adding keysymsdef.h to nsXtEventHandler.cpp in an attempt to fix the Solaris Motif bustage. NOT PART OF BUILD. 1999-07-21 10:11:45 +00:00
zuperdee%penguinpowered.com fce77b6176 Fixed infinite looping in nsWindow::Resize on Solaris 7. Special thanks to Tomi Leppikangas (Tomi.Leppikangas@oulu.fi) for the fix. Also added a comment to one of the Create routines. 1999-07-21 01:51:51 +00:00
zuperdee%penguinpowered.com 38418dcf31 Fixing Motif bustage. NOT PART OF BUILD. 1999-07-20 22:47:32 +00:00
pavlov%pavlov.net d1b7d773e8 drag and drop work 1999-07-20 22:35:12 +00:00
rods%netscape.com 1a03d9e6db Returns new memory from transferable 1999-07-20 21:04:14 +00:00
rods%netscape.com 50dddccd6d Now deletes memory returned from the transferable 1999-07-20 21:02:02 +00:00
pinkerton%netscape.com ecee0a2537 fix clients of nsITransferable::GetTransferData() to consume the memory returned. 1999-07-20 19:40:54 +00:00
pinkerton%netscape.com 0080230603 moved MenusLib from widget to Interface.mcp for carbon porting ease. 1999-07-20 19:39:04 +00:00
zuperdee%penguinpowered.com 0db9f5ee24 Minor cleanups. 1999-07-20 11:14:27 +00:00
zuperdee%penguinpowered.com e4dc325617 Minor cleanups. Also, setting a halfway reasonable color on this widget (it can be changed with the greatest of ease later). NOT PART OF BUILD. 1999-07-20 11:09:59 +00:00
ramiro%netscape.com 604ab0d472 Exorcise gAppContext. 1999-07-20 10:48:25 +00:00
mcafee%netscape.com 6602884317 Initializing some variables, fixing unhandled case statement warnings. 1999-07-20 08:35:50 +00:00
ramiro%netscape.com b7848b84b0 Move the timers again. Sorry for the screwup. 1999-07-20 08:23:29 +00:00
ramiro%netscape.com 94b703fd6b Move the timers to their final resting ground. Im sorry. I screwed up
last time by putting them on the top level.  Ive learned my lesson.  Dont
scrweup unless you can really get away with it.
1999-07-20 06:18:42 +00:00
mcafee%netscape.com a31c505e6d Adding two debugging cases, TRACE_EVENTS_PAINT TRACE_EVENTS_CROSSING 1999-07-20 05:11:50 +00:00
pinkerton%netscape.com e366fcccef rewritten to use the new nsMimeMapper class, which now correctly maps arbitrary mime types to mac types and back by generating a separate mapping data flavor which needs to accompany the data. 1999-07-20 04:38:10 +00:00
hyatt%netscape.com 1a5310d75d Making XP menus work with the ALT key on Windows. 1999-07-20 03:06:24 +00:00
pierre%netscape.com 01386f1b6a Fixed a crash in embedding apps (null check of mTSMDocument) 1999-07-20 00:04:46 +00:00
pavlov%pavlov.net 77ae7b227e drag and drop events get the correct coordinates now 1999-07-19 23:44:29 +00:00
tague%netscape.com 9a7a285a82 Fixed crashing bug with IME support 1999-07-19 21:17:21 +00:00
zuperdee%penguinpowered.com e1bedb1cea Fixing 9808 on the Motif side, too. 1999-07-19 20:47:40 +00:00
ramiro%netscape.com d06fdf498d Dispatch crossing events. Remove superflous DispatchFocusEvent() methods.
NOT PART OF BUILD.
1999-07-19 20:33:23 +00:00
joki%netscape.com 0af283b8e2 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods. 1999-07-19 19:54:34 +00:00
ramiro%netscape.com 81b06e9e0e Fix bug 9808. Tab key event not being dispatched. Thanks to Alex
Larsson for the patch.
1999-07-19 19:40:02 +00:00
ramiro%netscape.com 5c71a7f350 Respond to button motion. Fixes selection. 1999-07-19 19:14:16 +00:00
ramiro%netscape.com 78be0ab16b Send a focus in event whenever we get a focus event. Fixes selection. 1999-07-19 19:13:36 +00:00
ramiro%netscape.com 7c415902a3 Move the trace ifdefs before they are used dumbass. 1999-07-19 18:51:43 +00:00
zuperdee%penguinpowered.com 11bf8a8a9a Removed some more deadwood, fixed some more bugs, and enabled some useful debugging output. 1999-07-19 10:24:01 +00:00
ramiro%netscape.com 7acb53b77c Let "alt" through for key events so that the xpmenu will work. 1999-07-19 10:12:06 +00:00
hyatt%netscape.com 179556f7ff Hack to ensure that the ALT key press goes into the DOM (for XP menus). 1999-07-19 08:08:57 +00:00
zuperdee%penguinpowered.com 12e4a5ef50 Fixing the Executor Tinderbox build bustage. 1999-07-19 02:57:03 +00:00
zuperdee%penguinpowered.com 09e66f6cd8 Fixes to get the Motif port to compile on Solaris 7 with native compiler (5.0). Special thanks to Tomi Leppikangas (tomilepp@ousrvr2.oulu.fi) for this patch. 1999-07-19 02:23:52 +00:00
zuperdee%penguinpowered.com d270d60eae The SetTitle function has been implemented in nsWindow, so it shouldn't be necessary to have stubs for this function here as well. 1999-07-18 10:27:30 +00:00
zuperdee%penguinpowered.com d7d4496a0f Removed some deadwood, eliminated some compiler warnings, and fixed some nasty bugs in the OnPaint and Scroll routines. Scrolling and Repainting in the Motif port should be slightly faster now. 1999-07-18 10:12:04 +00:00
ramiro%netscape.com 43cb25b1c9 Fix sun brain damage. 1999-07-18 07:47:43 +00:00
ramiro%netscape.com 0630e7557f Fix build bustage - the old fashioned dumb way. 1999-07-18 06:57:22 +00:00
ramiro%netscape.com 8195bd0ea3 Fix some of the carnage. 1999-07-18 06:19:48 +00:00
ramiro%netscape.com 4407e08674 Build the DSOs in the toolkit dirs, not in build. So that multiple toolkit
implementations can be built of the same tree.
1999-07-18 04:09:51 +00:00
peterl%netscape.com 3a3bf98b3e sync to new color api 1999-07-18 00:36:25 +00:00
ramiro%netscape.com ca57fc99d2 Step 3 of cleaning up link time toolkit dependencies. Name the timer libs
according to the toolkit they match.  Also set the damn name in one place to
make it easy to change in the future.
1999-07-17 23:52:12 +00:00
ramiro%netscape.com a716d68e72 Was breaking with necko. Thanks to Andreas for pointing it out. 1999-07-17 23:46:02 +00:00
ramiro%netscape.com b69b9faa9a Step 2 of cleaning up link time toolkit dependencies. Change the names of
the gfx and widget dsos to be readable by normal human beings that expect
some kind of spacer between cryptic acronyms.  Thank you.
1999-07-17 22:24:49 +00:00
ramiro%netscape.com dd6bc0aafc Add scribble to match windows and because I want to eyeball the case where
there are widget or gfx linking problems on the dumbass unix platforms.
1999-07-17 22:10:02 +00:00
ramiro%netscape.com 88f8771c1b Step 1 of cleaning up link time toolkit dependencies. Put the widget
factories in the toolkit specific widget libs.
1999-07-17 21:23:46 +00:00
blizzard%redhat.com 8e070764aa Fix some scrolling anomolies. This fixes bug #10058. 1999-07-17 17:24:04 +00:00
ramiro%netscape.com 342b5083f1 Landing timer move on unix. 1999-07-17 14:22:51 +00:00
rickg%netscape.com f8ffe6984f still trying to fix mac bustage 1999-07-17 11:52:14 +00:00
zuperdee%penguinpowered.com cdcbda7c92 Implementing the SetCursor function for the wonderful raw Xlib port. (Copied almost verbatim from the Motif port, actually.) 1999-07-17 08:25:45 +00:00
pavlov%pavlov.net 196bd018ba fixing AIX build breakage 1999-07-17 02:49:36 +00:00
pavlov%pavlov.net 0ae7cd3409 fix tree brokenness 1999-07-16 22:37:18 +00:00
pavlov%pavlov.net 22cea43adc distuinguish between dialogs and normal windows to set their border styles
appropriatly.
1999-07-16 22:24:06 +00:00
Jerry.Kirk%Nexwarecorp.com c1d8b5a065 Adding debug to fix ref counting - won't effect anyone but Photon 1999-07-16 20:16:00 +00:00
slamm%netscape.com 27b8289eff Fix build warnings. 1999-07-16 20:06:37 +00:00
av%netscape.com 7440f67607 Adding SETFOCUS event for winless plugin fixing crash 1999-07-16 20:02:20 +00:00
pavlov%pavlov.net 990b132ac3 support a few more mime types 1999-07-16 17:57:00 +00:00
rods%netscape.com 652ca994ea changed size_t to PRUint32 1999-07-16 14:59:38 +00:00
rods%netscape.com e4edd6e1ee Huge changes to how data is chandled, now it can cache the data out to
a file.
1999-07-16 14:27:38 +00:00
rods%netscape.com b16fd029cf XIF data is now assumed to be double byte 1999-07-16 14:20:49 +00:00
rods%netscape.com b1e3fb0934 switched to using nsCOMTypeInfo 1999-07-16 14:11:43 +00:00
Jerry.Kirk%Nexwarecorp.com ab5107a7c5 Added code to remove a widget from the Damage Queue before it is ::Destroy'd 1999-07-16 12:15:05 +00:00
ramiro%netscape.com d8038d1037 Remove obsolete dlldep hacks. 1999-07-16 12:03:34 +00:00
ramiro%netscape.com a5ff1b6920 Fix for the annoying viewer/apprunner problem that wouldnt let you make a
window small.
1999-07-16 03:53:06 +00:00