Commit Graph

2876 Commits

Author SHA1 Message Date
pavlov%netscape.com
f2284ad072 fix for bug 11564. a=gramps 1999-08-12 21:48:43 +00:00
shawnp%earthling.net
c28c984e19 Initial version of qt timer files. Did just enough work to get it to work. 1999-08-12 02:33:43 +00:00
shawnp%earthling.net
a8a62d2f24 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
76605cc5e9 Add NS_NATIVE_PLUGIN_PORT case to GetNativeData() so that plugins will work. 1999-08-11 05:01:36 +00:00
blizzard%redhat.com
4963aaadbd expose event compression from aljones@lbl.gov. some refcnt fixes. a=mcafee 1999-08-11 02:07:47 +00:00
saari%netscape.com
0d22b54ded 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
3fee529ef2 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
ee51d555d9 xlib fixes. menus work now. 1999-08-10 19:19:33 +00:00
ramiro%netscape.com
54f0e20ba7 Build bustage - add stubs. 1999-08-10 14:54:54 +00:00
mccabe%netscape.com
2a403483de 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
2b294fe8f3 fix compileation issues on stupid sun compilers 1999-08-10 08:08:05 +00:00
pavlov%netscape.com
41525e161f first go at nsIWidget::CaptureMouse() 1999-08-10 07:38:26 +00:00
saari%netscape.com
b7ad7241f9 Fixing bug 4960, mac menu items reflect enabled/disabled state 1999-08-10 06:25:34 +00:00
saari%netscape.com
9725722a0b Fix for bug 9706, menu shortcut characters should be capitalized 1999-08-10 05:49:40 +00:00
pavlov%netscape.com
76c5fc7dad fix for popups being too big 1999-08-10 05:31:06 +00:00
Jerry.Kirk%Nexwarecorp.com
8cb978981d Adding SetDOMNode and GetDOMNOde to Photon UI 1999-08-10 00:57:57 +00:00
saari%netscape.com
6880f16fad Fix for build break, one too many *s 1999-08-09 20:06:11 +00:00
sfraser%netscape.com
a43c71eae4 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
556759446f First Checked In. 1999-08-09 19:15:01 +00:00
saari%netscape.com
3979d88e03 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
47baece26c adding "default" window border type 1999-08-08 03:08:24 +00:00
joki%netscape.com
11585608e8 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
danm%netscape.com
36cefdc1d3 corrected chrome behaviour in window.open. removed warnings in nsWebShellWindow. 1999-08-07 02:51:03 +00:00
tague%netscape.com
2caefffc6a Fix build bustage 1999-08-06 08:31:38 +00:00
tague%netscape.com
521eaee3e5 Added candidate window positioning for Win32 input methods 1999-08-06 07:42:35 +00:00
pierre%netscape.com
3c3be2f293 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
0912a6ece6 Found missing file from checkin 1999-08-06 03:14:57 +00:00
pavlov%netscape.com
de5383fa93 lets try this again 1999-08-05 23:13:07 +00:00
rods%netscape.com
d42873b0dc 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
692e429935 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
a4354658d0 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
28c4f4d101 REALLY backing pavlov out 1999-08-04 03:09:28 +00:00
pavlov%netscape.com
fedfe3401d i suck. i broke the tree. 1999-08-04 01:59:30 +00:00
pavlov%netscape.com
dd767fe13d 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
e2cc541f86 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
3396fd7b49 empty clipboard when we receive a clear notification 1999-08-03 20:46:50 +00:00
danm%netscape.com
27430e415c 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
9dc55ef31b Portability fixes. 1999-08-03 00:28:55 +00:00
sfraser%netscape.com
77acd9653c Cleanup, and fix for bug 6678. 1999-08-02 21:38:42 +00:00
sfraser%netscape.com
5f5ffd13d5 Add stack-based GrafPtr setting class. 1999-08-02 21:38:24 +00:00
pinkerton%netscape.com
2a242ff59e 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
00c3e1d976 Forgot a slash. 1999-08-02 14:48:05 +00:00
ramiro%netscape.com
e560b3661b Landing unix toolkit exorcism changes. #ifdef-ed OFF for now. 1999-08-02 13:53:49 +00:00
ramiro%netscape.com
40722a6bbc Fix debug typo. 1999-08-02 11:58:11 +00:00
ramiro%netscape.com
59f44df465 Add toolkit service. 1999-08-02 11:57:38 +00:00
Jerry.Kirk%Nexwarecorp.com
b57fe2f4b6 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
507a7c53b6 support WM_DELETE window mananger protocol 1999-08-01 21:00:22 +00:00
blizzard%redhat.com
8c845b3fb5 implement nsAppShell::Exit() 1999-08-01 03:52:12 +00:00
sspitzer%netscape.com
25e52a8e93 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
f88f8912b5 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
19678d492e 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
75e03ee20f Fixing Pav's bustage. Bad Pav for going to dinner! 1999-07-31 03:49:25 +00:00
pavlov%netscape.com
f69d3461a8 back out previous changes 1999-07-31 02:28:56 +00:00
hyatt%netscape.com
f7bbedf17f 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
b823aec86c fix it for real this time... 1999-07-31 01:54:26 +00:00
pavlov%netscape.com
43bc5a6517 fix mac bustage 1999-07-31 00:57:58 +00:00
Jerry.Kirk%Nexwarecorp.com
43f88e77b2 Fix Move and Resize methods change from PRUint to PRInt 1999-07-30 23:58:35 +00:00
pavlov%netscape.com
f60786e94f minimize/maximize/restore code 1999-07-30 23:53:17 +00:00
pavlov%netscape.com
01ca24fe0a 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
7d597fb8c2 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
440e0fadc5 really fix aix, hpux, etc a=cyeh 1999-07-30 02:39:17 +00:00
pavlov%netscape.com
77379b8430 fix solaris/aix/hpux/anal_compiler bustage a=cyeh 1999-07-29 22:53:41 +00:00
briano%netscape.com
5ca4aa0b87 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
98f9340259 Changed the Show method to included the SWP_NOACTIVATE falg for popup windows 1999-07-28 21:38:57 +00:00
duncan%be.com
49b6034fdb Fix the BeOS build. mcafee@netscape.com ok'd. 1999-07-28 10:11:09 +00:00
blizzard%redhat.com
ee92bddacf implement nsWidget::WidgetToScreen 1999-07-28 05:02:41 +00:00
blizzard%redhat.com
2b388d87e9 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
99fc2d5277 implement window creation OS chrome feature flags 1999-07-28 03:39:44 +00:00
blizzard%redhat.com
b722635460 change prototypes for recent widget interface changes. 1999-07-28 03:11:16 +00:00
blizzard%redhat.com
39e696088a fix another UMR. 1999-07-28 02:54:05 +00:00
blizzard%redhat.com
1691271f8d merge changes from timer/ directory that ramiro missed. this shouldn't affect anything. 1999-07-28 02:49:30 +00:00
blizzard%redhat.com
7f43907478 fix memory leak 1999-07-28 02:21:23 +00:00
blizzard%redhat.com
e0f95248b8 fix leaking nsRect in nsWindow::Invalidate() 1999-07-28 02:08:17 +00:00
blizzard%redhat.com
1a3600fea2 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
34d4830572 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
de03435b9a Fixing linux bustage. 1999-07-27 23:56:04 +00:00
mcafee%netscape.com
edd11a5e8c Fixing linux bustage with kmcclusk. 1999-07-27 23:52:41 +00:00
briano%netscape.com
007ea62765 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
f9b64e775c 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
a5bfeab9c4 straighten out OS chrome flags and synchronize in Windows source 1999-07-27 22:42:34 +00:00
mcafee%netscape.com
d29c666aff Removing DEBUG_mcafee from debug code. 1999-07-27 20:55:06 +00:00
joki%netscape.com
3c63bfd033 Fix event coords for focus/blur events 1999-07-27 20:50:05 +00:00
pavlov%netscape.com
6f24ee802e better comments describing the window border styles 1999-07-27 20:37:53 +00:00
pavlov%netscape.com
a8b41e680e cut down on debugging message spam 1999-07-27 08:25:52 +00:00
pavlov%netscape.com
6f87f14c94 fix border style setting 1999-07-27 07:55:10 +00:00
danm%netscape.com
25c2d9c6ad hooking up window OS border control from JS/C++ 1999-07-27 06:34:25 +00:00
pavlov%netscape.com
b6e3b25d41 return 0. fix build bustage 1999-07-27 04:56:48 +00:00
pavlov%netscape.com
96b4208fe4 window creation changes 1999-07-27 04:27:17 +00:00
dougt%netscape.com
5adb63dcaf Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
Dale.Stansberry%Nexwarecorp.com
4b5dc61c38 - Added window close handling (doesnt seem to work - ref counts off) 1999-07-26 14:03:22 +00:00
hyatt%netscape.com
aedcbd5d2b Defining the menu GUI events. 1999-07-26 09:19:18 +00:00
Jerry.Kirk%Nexwarecorp.com
856479746a Photon fix for NULL parented top level windows 1999-07-25 19:49:58 +00:00
duncan%be.com
9b48adc493 Fix stupid error. 1999-07-24 22:26:00 +00:00
zuperdee%penguinpowered.com
626f34ddab Removing some more deadwood. NOT PART OF MAIN BUILD. 1999-07-24 22:11:13 +00:00
duncan%be.com
a44c365623 Support sound. 1999-07-24 20:07:55 +00:00
zuperdee%penguinpowered.com
db241f1f5a 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
061e45aeec change sound interface to use an nsIFileSpec* instead of a const char* 1999-07-24 04:58:10 +00:00
zuperdee%penguinpowered.com
7d9a0857e1 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
5c8d555af7 Add IDS for unix toolkit timers. 1999-07-23 12:24:09 +00:00
ramiro%netscape.com
64c16183ef 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
86012d72ee stub out beos things so that their build will build 1999-07-23 07:02:17 +00:00
ramiro%netscape.com
9cfe9845f5 Cut down on the popup noise a bit. 1999-07-23 06:25:47 +00:00
pavlov%netscape.com
ca07e393c3 update qnx folks to the new sound stuff 1999-07-23 05:40:35 +00:00
gordon%netscape.com
ff98e6c26b Export NS_NewTimer() with PR_PUBLIC_API (this is a Mac-only file). 1999-07-23 05:18:18 +00:00
pavlov%netscape.com
35c8585197 changing sound implimentation to support playing of local files 1999-07-23 05:15:58 +00:00
beard%netscape.com
54afcac248 LMGetGrayRgn() -> GetGrayRgn(), to be Carbon compliant. 1999-07-23 02:45:42 +00:00
rods%netscape.com
a7f8331de8 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
eb513d087c 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
8c56ffebfe 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
acff27bf81 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
b4e60f5b6c removing IsMenuBarVisible -- it was a mistake, and unused 1999-07-22 23:41:50 +00:00
zuperdee%penguinpowered.com
44779d54be 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
dbf63f2cb8 ignore generated makefiles 1999-07-22 17:38:43 +00:00
pavlov%netscape.com
678a7c30d9 we now support lots of cool X clipboard things 1999-07-22 01:05:34 +00:00
zuperdee%penguinpowered.com
29bf130701 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
eef8c52830 add the xlib window interface header file to the list of exports 1999-07-21 22:16:00 +00:00
blizzard%redhat.com
37a1d99d2a xlib window service interface. this is xlib specific but is a public interface. 1999-07-21 22:15:34 +00:00
blizzard%redhat.com
38c30cf22b changes to support the xlib window service 1999-07-21 21:59:14 +00:00
blizzard%redhat.com
cf642f7c70 add files for Xlib window service 1999-07-21 21:57:43 +00:00
zuperdee%penguinpowered.com
018ac71c1f 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
e5e1feea7e Move the timers to their final resting group in mozilla/widget. 1999-07-21 20:13:06 +00:00
dougt%netscape.com
f4042f817d fixing build bustage. 1999-07-21 18:41:02 +00:00
zuperdee%penguinpowered.com
8cc5744e3b 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
1cc0ca3545 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
6281723f67 Fixing Motif bustage. NOT PART OF BUILD. 1999-07-20 22:47:32 +00:00
pavlov%pavlov.net
66cb825c59 drag and drop work 1999-07-20 22:35:12 +00:00
rods%netscape.com
ad9829ec9a Returns new memory from transferable 1999-07-20 21:04:14 +00:00
rods%netscape.com
a236c8a98b Now deletes memory returned from the transferable 1999-07-20 21:02:02 +00:00
pinkerton%netscape.com
ff8ed40229 fix clients of nsITransferable::GetTransferData() to consume the memory returned. 1999-07-20 19:40:54 +00:00
pinkerton%netscape.com
baae56cd90 moved MenusLib from widget to Interface.mcp for carbon porting ease. 1999-07-20 19:39:04 +00:00
zuperdee%penguinpowered.com
43d1cbdd92 Minor cleanups. 1999-07-20 11:14:27 +00:00
zuperdee%penguinpowered.com
dd359fd27b 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
3b6962781f Exorcise gAppContext. 1999-07-20 10:48:25 +00:00
mcafee%netscape.com
6b2b072163 Initializing some variables, fixing unhandled case statement warnings. 1999-07-20 08:35:50 +00:00
ramiro%netscape.com
a48362201d Move the timers again. Sorry for the screwup. 1999-07-20 08:23:29 +00:00
ramiro%netscape.com
ed261f8773 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
bbcdbd2004 Adding two debugging cases, TRACE_EVENTS_PAINT TRACE_EVENTS_CROSSING 1999-07-20 05:11:50 +00:00
pinkerton%netscape.com
a184950c98 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
06c764fef0 Making XP menus work with the ALT key on Windows. 1999-07-20 03:06:24 +00:00
pierre%netscape.com
71bc15f8d1 Fixed a crash in embedding apps (null check of mTSMDocument) 1999-07-20 00:04:46 +00:00
pavlov%pavlov.net
eb0dbad3ca drag and drop events get the correct coordinates now 1999-07-19 23:44:29 +00:00
tague%netscape.com
9bc9c45f61 Fixed crashing bug with IME support 1999-07-19 21:17:21 +00:00
zuperdee%penguinpowered.com
5f87f36aa4 Fixing 9808 on the Motif side, too. 1999-07-19 20:47:40 +00:00
ramiro%netscape.com
b031e46c56 Dispatch crossing events. Remove superflous DispatchFocusEvent() methods.
NOT PART OF BUILD.
1999-07-19 20:33:23 +00:00
joki%netscape.com
d752334449 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
079835191a 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
0852cb0bbe Respond to button motion. Fixes selection. 1999-07-19 19:14:16 +00:00
ramiro%netscape.com
67ce415714 Send a focus in event whenever we get a focus event. Fixes selection. 1999-07-19 19:13:36 +00:00
ramiro%netscape.com
c685347588 Move the trace ifdefs before they are used dumbass. 1999-07-19 18:51:43 +00:00
zuperdee%penguinpowered.com
7cc94f4df3 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
9cad0486d8 Let "alt" through for key events so that the xpmenu will work. 1999-07-19 10:12:06 +00:00
hyatt%netscape.com
a05d7023a3 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
d9a4dcd0c3 Fixing the Executor Tinderbox build bustage. 1999-07-19 02:57:03 +00:00
zuperdee%penguinpowered.com
4edfdb00a7 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
a04974f013 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
48b0e692c4 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
d21b5469c7 Fix sun brain damage. 1999-07-18 07:47:43 +00:00
ramiro%netscape.com
d3e75f8262 Fix build bustage - the old fashioned dumb way. 1999-07-18 06:57:22 +00:00
ramiro%netscape.com
022c21a37f Fix some of the carnage. 1999-07-18 06:19:48 +00:00
ramiro%netscape.com
699689b935 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
7945c53c1b sync to new color api 1999-07-18 00:36:25 +00:00
ramiro%netscape.com
fda4120340 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
d6078ab014 Was breaking with necko. Thanks to Andreas for pointing it out. 1999-07-17 23:46:02 +00:00
ramiro%netscape.com
f26f7f5fa2 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
73a5b47dcf 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
ed95a87077 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
7e5852a873 Fix some scrolling anomolies. This fixes bug #10058. 1999-07-17 17:24:04 +00:00
ramiro%netscape.com
a09ea8b7ca Landing timer move on unix. 1999-07-17 14:22:51 +00:00
rickg%netscape.com
79bb86ea7a still trying to fix mac bustage 1999-07-17 11:52:14 +00:00
zuperdee%penguinpowered.com
b4e7d14372 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
03ab1963e3 fixing AIX build breakage 1999-07-17 02:49:36 +00:00
pavlov%pavlov.net
a9ea16c10b fix tree brokenness 1999-07-16 22:37:18 +00:00
pavlov%pavlov.net
e737714098 distuinguish between dialogs and normal windows to set their border styles
appropriatly.
1999-07-16 22:24:06 +00:00
Jerry.Kirk%Nexwarecorp.com
b7a93d0cea Adding debug to fix ref counting - won't effect anyone but Photon 1999-07-16 20:16:00 +00:00
slamm%netscape.com
e33e65a165 Fix build warnings. 1999-07-16 20:06:37 +00:00
av%netscape.com
51eb48d73b Adding SETFOCUS event for winless plugin fixing crash 1999-07-16 20:02:20 +00:00
pavlov%pavlov.net
52b42a71f6 support a few more mime types 1999-07-16 17:57:00 +00:00
rods%netscape.com
1e6abe55a1 changed size_t to PRUint32 1999-07-16 14:59:38 +00:00
rods%netscape.com
ee46da1ed3 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
5da5b3df1d XIF data is now assumed to be double byte 1999-07-16 14:20:49 +00:00
rods%netscape.com
99a2196f9c switched to using nsCOMTypeInfo 1999-07-16 14:11:43 +00:00
Jerry.Kirk%Nexwarecorp.com
d2634260ce 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
8b3ddafc00 Remove obsolete dlldep hacks. 1999-07-16 12:03:34 +00:00
ramiro%netscape.com
b5287043f0 Fix for the annoying viewer/apprunner problem that wouldnt let you make a
window small.
1999-07-16 03:53:06 +00:00
pavlov%pavlov.net
51fc2a157a fix for bug 9618 1999-07-16 02:11:58 +00:00
duncan%be.com
0800fc8374 Clean up BeOS timers. Among other things there now is a single thread to do
the job. Also I now cache the references to the native GUI queue, burning
fewer CPU cycles. Thanks to Attila Lendvai <101@inf.bme.hu> for contributions
and ideas.
1999-07-15 15:32:44 +00:00
rods%netscape.com
bd7c50f72f Changed all GetIID to use the new nsCOMTypeInfo 1999-07-15 14:55:23 +00:00
rods%netscape.com
2c151c8f14 changed all IIDs to use NS_DEFINE_STATIC_IID_ACCESSOR 1999-07-15 14:54:02 +00:00
mcafee%netscape.com
2669aa23c9 Unused variable warning. 1999-07-15 04:42:43 +00:00
blizzard%redhat.com
aab306a649 text entry works 1999-07-15 03:35:41 +00:00
zuperdee%penguinpowered.com
e75e0af1e2 Minor fixes to various Motif files, mostly cosmetic changes, elimination of some unnecessary headers, and elimination of some deadwood. NOT PART OF BUILD. 1999-07-15 03:27:59 +00:00
blizzard%redhat.com
bf03dda86d more work to get keys working. not yet done but finished for the evening. 1999-07-15 02:26:31 +00:00
ramiro%netscape.com
75010b2d10 NOT PART OF BUILD. Get key event a little closer. 1999-07-15 00:01:46 +00:00
pinkerton%netscape.com
71c3d63cce remove annoying printf during every drag event. 1999-07-14 22:57:39 +00:00
pinkerton%netscape.com
2c98d735d3 fixing some off-by-one errors, some nsISupportsArray confusions with the calling code, removing some printf's. 1999-07-14 22:57:22 +00:00
pinkerton%netscape.com
86da534c31 lots of stuff for d&d, getting the drag service released at the right times, notifying the drag service of the drag action via modifier keys. 1999-07-14 22:56:42 +00:00
pinkerton%netscape.com
6b365e180c temp hacks for toolbar drag and drop until a general mime->flavor mechanism is implemented. 1999-07-14 22:55:27 +00:00
sfraser%netscape.com
fb54df165d Adding caret width and blink time to nsILookAndFeel 1999-07-14 22:16:59 +00:00
kmcclusk%netscape.com
d42e178f95 fixed bugs #6303, #6753, #6756, #6759
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.
1999-07-14 22:00:24 +00:00
tague%netscape.com
fad060dc5d Fixed bug #6898 unable to move cursor within IME composition string. 1999-07-14 20:08:02 +00:00
tague%netscape.com
a6a76c7c7b Fix bug #8459, #6989 Can't move cursor within IME composition string. 1999-07-14 20:05:25 +00:00
akkana%netscape.com
574ecb6079 Xlib clipboard implementation (not finished yet) 1999-07-14 18:55:46 +00:00
pavlov%pavlov.net
1377a0667e fix for 9774 and other misc things 1999-07-14 18:36:24 +00:00
Jerry.Kirk%Nexwarecorp.com
a9e4762c3c - fixed ref counting on widgets
- fixing resize / reflow hold offs
1999-07-14 17:06:09 +00:00
blizzard%redhat.com
2f7dce7fc9 Change DispatchEvent() to DispatchXEvent() since that's really what it's doing. 1999-07-14 16:39:31 +00:00
Jerry.Kirk%Nexwarecorp.com
021d37b23a - General cleanup. 1999-07-14 15:26:18 +00:00
blizzard%redhat.com
02170ee1ba Focus shags, baby. Also tracking visibility and map events so
nsWidget::IsVisible() is now implemented.  This is not part of the
build.
1999-07-14 04:34:31 +00:00
ramiro%netscape.com
184143e480 NOT PART OF BUILD. Adding these. 1999-07-13 19:40:15 +00:00
ramiro%netscape.com
d10b91ca09 NOT PART OF BUILD. Add event debugging. 1999-07-13 19:34:31 +00:00
ramiro%netscape.com
7c8d992ebe NOT PART OF BUILD. Get key events almost working. Add event debugging. 1999-07-13 19:30:42 +00:00
ramiro%netscape.com
d9b86f76c2 NOT PART OF BUILD. Add keycode stuff in its own place. 1999-07-13 19:17:35 +00:00
sspitzer%netscape.com
026c5516bc add the touch interface to the nsIFileSpec iterface and the appropriate implementations 1999-07-13 19:10:43 +00:00
blizzard%redhat.com
c99eee033f Start on infastructure for Focus events and Keypress events. This is not part of the build. 1999-07-13 17:50:28 +00:00
blizzard%redhat.com
5064350158 Fix clipping problem in nsWindow::Invalidate(). This problem was showing up when using the scrollbar to page up and down. This is not part of the build. 1999-07-13 16:19:17 +00:00
blizzard%redhat.com
7dfe5f86ed Fix incrorrect calculation of scrollbar geometry. This is not part of
the build.
1999-07-13 03:00:51 +00:00
mcafee%netscape.com
ee50921396 Solaris/CC needs a cast here. a=cyeh 1999-07-12 22:53:26 +00:00
joki%netscape.com
a37ff3b313 Fix for bug 9223, don't let Windows process messages for destroyed windows. A: chofmann, R: rods 1999-07-12 22:28:19 +00:00
duncan%be.com
814c448d15 A couple fixes for menus.
BeOS only checkin authorized by cyeh.
1999-07-12 19:44:47 +00:00
duncan%be.com
666f817c1e Misc fixes to unbreak Mozilla under BeOS.
BeOS only change authorized by cyeh.
1999-07-11 08:49:51 +00:00
blizzard%redhat.com
0401d94f71 always move the window, even if it hasn't been shown. this fixes gfx drop
down lists.
1999-07-10 23:27:25 +00:00
blizzard%redhat.com
2e94ee2ee8 native window scrolling fixes. this is not part of the build. 1999-07-10 23:20:41 +00:00
blizzard%redhat.com
5d592f0392 debugging information to track down resizing problems. this is not part
of the build.
1999-07-10 22:10:03 +00:00
blizzard%redhat.com
a7d9a9dd1d Make sure that when looking for extra ConfigureNotify events that you
check to make sure that the event that you get is actually a ConfigureNotify
event.  StructureNotifyMask includes other things, too.  "I can't believe
this ever worked."  This is not part of the build.
1999-07-10 20:51:18 +00:00
blizzard%redhat.com
dc793ce800 fix profile manager bustage for xlib widgets. this is not part of the build. 1999-07-10 00:23:05 +00:00
rods%netscape.com
b63737f9b2 Commented out the setting of the return value in bottom of ProcessMessage 1999-07-09 21:08:09 +00:00
rods%netscape.com
01da7a8017 Removed IIDs, now using GetIID
Added return of result code for various event methods (for Bug #8123)
Added some casts  in IME code to remove warnings
1999-07-09 19:41:46 +00:00
rods%netscape.com
5f57ef6305 Added support for HTML and for Images (fixes bug #9367) 1999-07-09 19:39:22 +00:00
rods%netscape.com
2f86d683c9 Turned off debuggin 1999-07-09 19:38:28 +00:00
pavlov%pavlov.net
f531067d2d fix to previous commit for intrinsic sizing 1999-07-09 18:02:05 +00:00
pavlov%pavlov.net
dc610ad202 turning intrinsic sizing on for unix part 1 r=saari a=chofmann 1999-07-09 17:24:16 +00:00
ramiro%netscape.com
14b5f3774e Polish. 1999-07-09 13:11:13 +00:00
ramiro%netscape.com
f9db338cc5 Polish. 1999-07-09 12:52:28 +00:00
ramiro%netscape.com
8a4543dc29 Add some useful debuggin information. This change does not affect any
functionality at all.  Its just a rearranging of some code and adding debug
stuff so that we can debug event related bugs.  In particular (but not
limited to) focus events.
1999-07-09 12:23:24 +00:00
ramiro%netscape.com
1c9b82ff42 Take out extra semicolon that is sure to break some compiler out there. 1999-07-09 12:15:12 +00:00
ramiro%netscape.com
5953cfe331 Add some useful debuggin information. This change does not affect any
functionality at all.  Its just a rearranging of some code and adding debug
stuff so that we can debug event related bugs.  In particular (but not
limited to) focus events.
1999-07-09 12:11:12 +00:00
ramiro%netscape.com
f2ce98faf9 Add some useful debuggin information. This change does not affect any
functionality at all.  Its just a rearranging of some code and adding debug
stuff so that we can debug event related bugs.  In particular (but not
limited to) focus events.
1999-07-09 11:15:59 +00:00
pavlov%pavlov.net
98550f261c fix bug 9446 and 9464
complete resizing work needed to turn intrinsic sizing on under linux (bugs 9443, 4439) except for one other problem not related to this code.  also fixes 9461
1999-07-09 01:01:23 +00:00
saari%netscape.com
1e850aab7a fixing bug 6741, just one more time... 1999-07-08 23:21:03 +00:00
blizzard%redhat.com
cef3e01741 native widget scrolling implemented. use PR_LOG for debugging messages. this is not part of the build. approved by cyeh. 1999-07-08 23:06:50 +00:00
blizzard%redhat.com
cc9a1bd4c8 start on infastructure for native widget scrolling 1999-07-08 03:08:35 +00:00
saari%netscape.com
44652397ac fixing bug 6741. Again. 1999-07-08 01:50:52 +00:00
saari%netscape.com
2c8075e773 fix for bug 9369 1999-07-08 01:25:56 +00:00
saari%netscape.com
f4c149eed7 A fix and a work around for M8 bugs 6741 and 7878 1999-07-07 23:40:31 +00:00
pinkerton%netscape.com
376f6f44fb implement WidgetToScreen and ScreenToWidget so screen coords will actually work. (appr cyeh, rev pavlov). Bug #9114. 1999-07-07 22:41:39 +00:00
pavlov%pavlov.net
018a7b9fde fix bug #5336 as well as fix moving toplevel windows and other misc resizing
fixes
1999-07-07 17:45:34 +00:00
blizzard%redhat.com
6f2122578d fix for --disable-static from Brian Ryner <bryner@uiuc.edu> 1999-07-07 14:50:41 +00:00
Dale.Stansberry%Nexwarecorp.com
8a08757971 - Fixed a damage blink bug on test9.html 1999-07-07 13:22:33 +00:00
ramiro%netscape.com
c8dc991105 Cut down on the noise. 1999-07-07 11:46:22 +00:00
ramiro%netscape.com
f3463fadba Less noise. 1999-07-07 11:01:29 +00:00
ramiro%netscape.com
c51bdfa4b4 Cut down on the noise a bit. 1999-07-07 10:56:01 +00:00
ramiro%netscape.com
1257dfd75f Turn of event debug print noise. 1999-07-07 10:46:44 +00:00
ramiro%netscape.com
1894629c29 Ressurect some more. 1999-07-07 09:37:40 +00:00
ramiro%netscape.com
3f8b031e9d Ressurect - again. 1999-07-07 09:29:35 +00:00
mcafee%netscape.com
3a1fea62cf Removing printf's 1999-07-07 09:27:38 +00:00
mcafee%netscape.com
413ded078c Adding drag & drop event support. 1999-07-07 09:05:44 +00:00
mcafee%netscape.com
e28d21967f Drag & drop event support 1999-07-07 09:02:50 +00:00
norris%netscape.com
06317a54b3 Tom Pixley's code for the beginnings of DOM security, with a fix for the previous Mac link failure. 1999-07-07 07:50:03 +00:00
ramiro%netscape.com
82a05e386b More noise. 1999-07-07 06:52:03 +00:00
ramiro%netscape.com
1741f603e5 Shutup pavlov's noisy code. 1999-07-07 06:50:17 +00:00
ramiro%netscape.com
d10a8bafa2 Global variable exorcism. 1999-07-07 06:09:21 +00:00
pavlov%pavlov.net
342cc9dcf7 resize changes/fixes/whatever_you_want_to_call_them_part_1 1999-07-07 05:30:31 +00:00
ramiro%netscape.com
5a295d632b Fix bustage. 1999-07-07 05:05:30 +00:00
ramiro%netscape.com
5cdb03367b Define the toolkit flags in one place an reuse that. Hopefully this will
put an end to the cut-n-paste insanity.
1999-07-07 04:38:18 +00:00
saari%netscape.com
53bb4b5881 fixing bug #8450, Mac only change 1999-07-07 03:13:42 +00:00
ramiro%netscape.com
41b52c4fa4 Global variable exorcism. 1999-07-07 02:25:11 +00:00
ramiro%netscape.com
ce1d9ee602 Cleanup externs. 1999-07-07 02:21:31 +00:00
ramiro%netscape.com
65385eb4f7 Final global variable exorcism. 1999-07-07 02:11:22 +00:00
ramiro%netscape.com
d408c28752 Exorcise gVisualInfo. 1999-07-07 01:41:43 +00:00
ramiro%netscape.com
2ac057aad6 Exorcise gVisualInfo. 1999-07-07 00:47:29 +00:00
ramiro%netscape.com
b9ee2dfb71 Exorcise gScreenNum. 1999-07-07 00:18:43 +00:00
ramiro%netscape.com
b9d9e64b07 Cleanup the widget api some. Move initialization of evil stuff to the gfx
end.  Dont leak the widget name.  Carry around Display* and friends in the
appshell.
1999-07-06 23:28:58 +00:00
saari%netscape.com
0d03ea2b1c Enabling Windows menu accelerators 1999-07-06 22:57:12 +00:00
Jerry.Kirk%Nexwarecorp.com
e45d55225d - menuitem tweak for photon 1999-07-06 14:59:34 +00:00
ramiro%netscape.com
d2b54f763e More menu stubs. Thank You. 1999-07-06 14:55:44 +00:00
pavlov%pavlov.net
0e3447b763 update to my new interface (files not built... yet) 1999-07-06 01:23:43 +00:00
Jerry.Kirk%Nexwarecorp.com
4a37b15ca8 -- Added stub functions for Get/SetModifiers and Get/SetShortcut 1999-07-05 23:28:18 +00:00
zuperdee%penguinpowered.com
eb66250faf Removed a couple of (what look like) obsolete functions from nsWindow, and fixed quite a lot of compiler warnings in nsWindow.cpp and nsXtEventHandler.cpp. 1999-07-05 22:08:41 +00:00
zuperdee%penguinpowered.com
a26420f722 Commenting out the SetTitle function for now, until I figure out how to do it right. 1999-07-05 20:50:37 +00:00
zuperdee%penguinpowered.com
a04d5ebc5e Unbreaking the Motif build by fixing my menu fixes (boy am I stupid). Also implemented the nsWindow:SetTitle function (reusing the code I wrote for the xlib port). 1999-07-05 20:15:54 +00:00
zuperdee%penguinpowered.com
55e9c01caf Lots of Motif menu code fixes. With these changes, hopefully it will no longer grab the mouse and refuse to release it, though the pulldown menus still don't quite work yet. 1999-07-05 07:57:04 +00:00
zuperdee%penguinpowered.com
9f6fb9b839 Attempting to fix the Motif nsMenu::Create function; it was horribly broken, and very ugly looking. It should mostly work now, but do *not* click on the menus yet, or it will grab your mouse, and not let go. Should be cleaner now too, since I managed to scrape out some cruft in the process. 1999-07-04 15:56:28 +00:00
duncan%be.com
f65548f632 Unbreak build under BeOS by adding new nsIMenuItem methods
(SetShortcutChar, GetShortcutChar, SetModifiers, GetModifiers).
1999-07-03 11:41:59 +00:00
ramiro%netscape.com
7e7a3a0b67 ifdef the dr evil changes that zuperdee accidentally checked in. 1999-07-03 06:28:22 +00:00
zuperdee%penguinpowered.com
f254f8b0e1 Cleaning out some deadwood from this file. 1999-07-03 05:11:23 +00:00
zuperdee%penguinpowered.com
85b0e5a3bb Boy am I dumb. Fixing my last checkin. 1999-07-03 04:39:22 +00:00
zuperdee%penguinpowered.com
7b1f61e24b Added stubs for the new SetShortcutChar, GetShortcutChar, SetModifiers, and GetModifiers functions. 1999-07-03 03:03:09 +00:00
danm%netscape.com
ed00b7d14c fixed egregious apostrophe 1999-07-03 01:31:18 +00:00
zuperdee%penguinpowered.com
0f1f11c2da Implemented the SetTitle function for Xlib. So the Xlib port should now be able to set its window title. 1999-07-03 01:24:46 +00:00
danm%netscape.com
e1b5c4fc53 balance window refcnt when traversing menus (fixes bug 7792) 1999-07-03 01:17:44 +00:00
saari%netscape.com
085975f73e Mac only support for menu accelerators 1999-07-02 23:51:42 +00:00
saari%netscape.com
b8a1c7a1bf trying the commit again... 1999-07-02 23:45:45 +00:00
saari%netscape.com
946c29e839 Adding support for menu accelerators to MacOS, and the framework for Win32 and GTK 1999-07-02 23:27:22 +00:00
tague%netscape.com
0b7a782118 Added TEXTRANGE_CARETPOSITION support for Input Methods to nsIDOMTextRange and nsGUIEvents 1999-07-02 22:21:03 +00:00
pavlov%pavlov.net
49742dd548 access keys on menus should work now... not menu items yet... 1999-07-02 22:02:35 +00:00
sfraser%netscape.com
1fd7387588 Add warnings when focus problems cause us to lose events. 1999-07-02 21:30:17 +00:00
joki%netscape.com
f550a8be68 New focus stuff for getting focus to the content area of the apprunner window. 1999-07-02 19:43:26 +00:00
Dale.Stansberry%Nexwarecorp.com
551c664df8 - Fixed a photon native rip (borders not drawing) 1999-07-02 15:25:24 +00:00
ramiro%netscape.com
43295086e9 Part I of Alexander Larsson's (alex@signum.se) patch to reduce symbol bloat.
All these changes are safely ifdefed out for the time being.
There are also a few implementation
DEFINES cleanups.
1999-07-02 14:59:36 +00:00
Jerry.Kirk%Nexwarecorp.com
0a44119603 - Cleaning up some misleading comments 1999-07-02 14:49:22 +00:00
dveditz%netscape.com
0eb6c820cf nakefile cleanups 1999-07-02 13:42:17 +00:00