Commit Graph

3015 Commits

Author SHA1 Message Date
sfraser%netscape.com
b755a8ce00 Use an empty pascal string for the menu name. 1999-09-01 22:06:01 +00:00
sfraser%netscape.com
1cbdff5f88 Make sure we lock the MDEF handle, otherwise all hell breaks loose. 1999-09-01 22:05:36 +00:00
saari%netscape.com
6fc0a244c3 MacOS fix for 5562; menus should update their titles now 1999-09-01 20:57:39 +00:00
dcone%netscape.com
f823974e4a Fixed the NS_DIALOG_CID problem 1999-09-01 20:33:07 +00:00
tague%netscape.com
272551945b Fixed NS_OK direct comparisons. 1999-09-01 20:19:47 +00:00
pinkerton%netscape.com
58ab292e7d new clipboard apis and trying to reduce the number of copies we do in clipboard/d&d code. 1999-09-01 20:14:48 +00:00
dcone%netscape.com
41f921dca9 Added 2 CID's NS_POPUP_CID and NS_DIALOG_CID 1999-09-01 19:57:23 +00:00
akkana%netscape.com
6f70cdd3c2 control as well as alt events should return lower-case if shift isn't pressed 1999-09-01 19:56:35 +00:00
ramiro%netscape.com
8d89975243 add stubs for that evil bastard saari 1999-09-01 11:48:39 +00:00
Jerry.Kirk%Nexwarecorp.com
694b676c4b Added SetEnabled Method stub. 1999-09-01 11:46:25 +00:00
saari%netscape.com
39a38c5c06 Changes to allow menus to enable and disable. This should only be run on MacOS, but nsIMenu::SetEnable(PRBool) was added to all platforms. 1999-09-01 08:40:18 +00:00
saari%netscape.com
2668f7f02b Changing Mac Help menu to be non-dynamic to prevent crashing on some machines. Got permission from sdagley 1999-09-01 03:26:03 +00:00
cyeh%netscape.com
34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
ramiro%netscape.com
9cf6aaace1 Removed bogus assertions. 1999-08-31 14:36:53 +00:00
rods%netscape.com
6d8c1b766a changed the passing of the virtual key code from a zero to what is passed in 1999-08-31 13:36:40 +00:00
tague%netscape.com
97b0bd802c Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX. 1999-08-31 01:20:32 +00:00
pinkerton%netscape.com
c3917762df using new nsIScriptableRegion interface. 1999-08-30 21:54:33 +00:00
pinkerton%netscape.com
f8d4e75cb4 lowecased to match JS syntax. using new nsIScriptableRegion interface. 1999-08-30 21:54:23 +00:00
shawnp%earthling.net
18257fef09 Now set the title of the window properly. Now pass the correct parameters
into bitBlt() to handle partial repainting requests.
1999-08-30 02:59:54 +00:00
shawnp%earthling.net
9c1e832351 Now implement WidgetToScreen() and ScreenToWidget(). Now resize the QPixmap
associated with a widget in Resize() as well as the widget. OnResize() now
passes the correct size parameters to DispatchWindowEvent(). No longer
erase the widget when repainting it. Added code that gets animated gifs
going, but at too high a price for other web pages - so it's currently
commented out until I find a better solution. Added more code to output
logging info.
1999-08-30 02:57:46 +00:00
shawnp%earthling.net
7311cdc9a1 Disabled code that was trying to outsmart the painting mechanism. Added
code in SetSelection() to handle the case where the caller wants to clear
the selection.
1999-08-30 02:47:25 +00:00
shawnp%earthling.net
cfb7be6cd2 Removed AdjustScrollBarPosition() function. 1999-08-30 02:45:47 +00:00
shawnp%earthling.net
a469158617 Now listen for the valueChanged() signal from Qt so that we don't have an
echoing effect dealing with scrolling. Removed AdjustScrollBarPosition()
function. Adjusted the value that is given to Qt as the maximum scroll
position - I now discount the thumb size.
1999-08-30 02:45:04 +00:00
shawnp%earthling.net
887df901ad nsQRadioButton now uses nsQEventHandler event handling. Added debugging
code to make sure that radio buttons actually work as they're supposed to.
1999-08-30 02:41:52 +00:00
shawnp%earthling.net
dcda2fd337 Added MouseMovedEvent(), KeyPressEvent(), KeyReleaseEvent() and GetNSKey()
functions.
1999-08-30 02:39:42 +00:00
shawnp%earthling.net
298d507918 Now catch MouseMove, KeyPress and KeyRelease events. Cleaned up the
handling of mouse press and release events. Added GetNSKey() function.
1999-08-30 02:38:38 +00:00
shawnp%earthling.net
974188d3c4 Corrected comments and improved logging output. 1999-08-30 02:31:34 +00:00
shawnp%earthling.net
741e94cf54 Removed unneeded member variable. 1999-08-30 02:30:47 +00:00
shawnp%earthling.net
5c47c4f896 Don't need to free the QStyle (it's freed by QApplication). 1999-08-30 02:30:21 +00:00
blizzard%redhat.com
055643445e get rid of the focus madness. start tracking focus virtually instead of dealing with X's completely broken focus handling. 1999-08-30 00:38:35 +00:00
bruce%cybersight.com
d4431a8205 Init refcnt. 1999-08-29 11:10:31 +00:00
akkana%netscape.com
309a290a03 Fix alt key char codes 1999-08-28 00:32:35 +00:00
saari%netscape.com
0a61a9b8c9 Fixing bug 12335. Mac only changes 1999-08-27 20:58:58 +00:00
dcone%netscape.com
2a2df6fd34 Fixed GetDeviceSurfaceDimensions() so the width and height are in appunits, and the routines who use them will convert properly. 1999-08-27 14:22:14 +00:00
Jerry.Kirk%Nexwarecorp.com
797013f70d Remove calls to old stuff that keeps this from compiling. It
now no longer works at all under Photon and needs an overhaul.
1999-08-27 14:01:50 +00:00
Jerry.Kirk%Nexwarecorp.com
cdab7a1bf7 Adding SetNativeData(void*) to nsIMenu, which was needed for making the Help
menu on MacOS merge with the XUL help menu. I copied this straight from GTK.
1999-08-27 13:35:11 +00:00
ramiro%netscape.com
d3031d8625 lower the volume on printf noise. 1999-08-27 09:38:44 +00:00
cls%seawood.org
0ebd87b28a Fix for gcc 2.95 1999-08-27 06:23:59 +00:00
bruce%cybersight.com
4397f0e95f Fix for initializing refcnt. 1999-08-27 06:10:05 +00:00
beard%netscape.com
3fadca59b0 bug 11312: fixed Invalidate() of entire bounds, need to use (0, 0)-based rectangle. 1999-08-27 04:02:09 +00:00
pinkerton%netscape.com
215b9b4f1b File Removed. 1999-08-27 03:45:14 +00:00
pinkerton%netscape.com
ea28d30d31 remove nsIContentConnector.h exports. 1999-08-27 03:42:42 +00:00
rods%netscape.com
4d8da33c9c Changed EnableDropFile to EnableDragDrop. D&D is now NOT automatically registered for all windows during
creation and initialization. The method EnableDragDrop is not used to "turn it on".
The method nsIView::CreateView has parameter that indicates whether it should be turned on or not
This make it configurable from the outside, it is needed for the editor
1999-08-26 14:41:17 +00:00
pavlov%netscape.com
3fa54f8ec7 hack for silly behavior so that xpmenus popup and show the first time 1999-08-26 10:07:39 +00:00
pavlov%netscape.com
c8ecb3f2e6 fix crash when copying japaneese text to an xterm a=mcafee 1999-08-26 07:55:40 +00:00
pavlov%netscape.com
4f61a74d16 my compiler sucks. i'm buying a mac. fix build bustage 1999-08-26 03:49:49 +00:00
pavlov%netscape.com
7a7259d237 fix memory leak 1999-08-26 03:11:30 +00:00
beard%netscape.com
f04efea49f fixing a smashed memory block problem, wasn't allocating enough space for the '\0' terminator. 1999-08-26 02:39:53 +00:00
pavlov%netscape.com
e9a4611715 fix for 12501 and make the rest of the widgets use NS_* macros 1999-08-26 02:06:24 +00:00
sdagley%netscape.com
6925331053 Fix #6860. We were using the wrong constant in nsFileWidget::PutFile which resulted in the open file dialog being displayed instead of the save file dialog. Yes the Windows build is red as I check this in but it's not related to the problem and mcafee has approved the checkin. 1999-08-26 00:59:16 +00:00
ramiro%netscape.com
245edac916 stub 1999-08-25 23:43:25 +00:00
saari%netscape.com
4396733119 Continuing previous checking w. merge 1999-08-25 23:02:16 +00:00
saari%netscape.com
f9a4da9ef0 Adding SetNativeData(void*) to nsIMenu, which was needed for making the Help menu on MacOS merge with the XUL help menu. The rest of the code is to achive the merge. 1999-08-25 22:53:25 +00:00
pinkerton%netscape.com
019167bea9 fix QI lameness and use macros. 1999-08-25 22:04:02 +00:00
sfraser%netscape.com
4a7f7b54e2 #ifdef out SysBeep()s in menu code 1999-08-25 21:55:01 +00:00
beard%netscape.com
524a121598 bug 11312: fixed calls to Invalidate() when widget has (x, y) <> (0, 0). 1999-08-25 21:28:19 +00:00
jdunn%netscape.com
39babcedbe HP won't allow a delete on a 'void *' so change cast using REINTERPRET 1999-08-25 21:23:21 +00:00
akkana%netscape.com
68e327729e Pass KeyPress events even if modifier key is pressed; un-break editor control key bindings. a=leaf,mcafee 1999-08-25 19:24:18 +00:00
ramiro%netscape.com
99e19a1241 Fix the timer names for these platforms. 1999-08-25 14:12:04 +00:00
ramiro%netscape.com
5c9835cc68 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
ramiro%netscape.com
aed2f968ba Remove extraneous AddRef(). 1999-08-25 11:45:14 +00:00
pinkerton%netscape.com
7e95a7e21e dumb compiler things. 1999-08-25 09:47:32 +00:00
pinkerton%netscape.com
72c115383c toString -> ToString idl change. 1999-08-25 09:15:18 +00:00
pinkerton%netscape.com
268234cadd IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter. 1999-08-25 08:35:06 +00:00
pinkerton%netscape.com
e6c7e84a6c First Checked In. 1999-08-25 08:34:46 +00:00
brendan%mozilla.org
9cd191ad4f Missed one during final precheckin update/merge. 1999-08-25 05:59:09 +00:00
brendan%mozilla.org
defeffaabd Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
blizzard%redhat.com
03c4790395 remove crufty comments 1999-08-25 01:51:25 +00:00
jdunn%netscape.com
a646f41fd3 Fix AIX compiler errors. 1999-08-25 01:14:11 +00:00
saari%netscape.com
48cb6ffc78 Fix for bug 12145 and enabling check marks on mac menus. Both mac only changes. 1999-08-24 21:55:02 +00:00
tague%netscape.com
9e7fd8b55c Added support for WM_INPUTLANGCHANGEREQUEST and WM_INPUTLANGCHANGE. Fixes bug #12317. 1999-08-24 21:46:43 +00:00
akkana%netscape.com
ff7a19a5bd Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
ramiro%netscape.com
7f374f6c96 Fix for the sunos build. 1999-08-24 15:26:31 +00:00
ramiro%netscape.com
2d131e53c9 Set the timer libs in one place. 1999-08-24 14:58:43 +00:00
ramiro%netscape.com
ec21b9ecbc Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00
ramiro%netscape.com
d8ed9e19ea Fix for bug 11964. Leaking timers. This time ita a real fix. Refcnt was
one too much cause of an extra QueryInterface() call.
1999-08-24 14:09:48 +00:00
sfraser%netscape.com
3d71ad3bff Make chooseDirectory return a file URL string, like chooseFile does. 1999-08-24 01:01:38 +00:00
sfraser%netscape.com
a646de73bc Make sure we initialize members of the base widget 1999-08-24 01:00:01 +00:00
pavlov%netscape.com
0613595047 initial work on doing filtering 1999-08-24 00:43:27 +00:00
pavlov%netscape.com
1a8e0b9388 fix clipboard brokeness on unix 1999-08-24 00:43:12 +00:00
briano%netscape.com
a0f7330b4b Cleaned it up and made it descend into unix_services for all Unix platforms. 1999-08-24 00:38:01 +00:00
briano%netscape.com
ed962ad7ba Cleanup. 1999-08-24 00:37:05 +00:00
briano%netscape.com
10afe608e0 Other files use nsIUnixToolkitService.h, so this now gets built on all Unix platforms. 1999-08-24 00:36:32 +00:00
briano%netscape.com
c7af4180f9 Slight rewrite to allow other platforms to build the toolkit_service stuff without problems. 1999-08-24 00:34:47 +00:00
blizzard%redhat.com
bf7f63e205 take out some extra XSync() calls and _Xdebug symbol. should make it a bit faster. also, if an X event is passed in and we don't know anything about the window then don't crash. 1999-08-23 12:50:53 +00:00
Jerry.Kirk%Nexwarecorp.com
e1ed42a402 remove unused tab widget and tooltip widget as they have never been used 1999-08-23 12:15:57 +00:00
ramiro%netscape.com
996b924d66 Comment out un impl class. 1999-08-22 16:07:43 +00:00
ramiro%netscape.com
58ef89909d Remove hack. 1999-08-22 16:07:19 +00:00
mccabe%netscape.com
381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
ramiro%netscape.com
56b62f3790 Cleanup the jsdom and jsurl linking mess. 1999-08-22 11:05:45 +00:00
beard%netscape.com
c2c8296420 Added DispatchWindowEvent, added keyboard focus, and default keyboard input behavior. 1999-08-22 05:43:39 +00:00
cls%seawood.org
d0c364352b gcc 2.95 ANSI C++ compliance fix 1999-08-21 19:29:01 +00:00
ramiro%netscape.com
2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
ramiro%netscape.com
5d2ddafb08 No longer needed. 1999-08-21 12:13:17 +00:00
ramiro%netscape.com
a613bf91af Fix pavlov's bustage. 1999-08-21 10:29:34 +00:00
mccabe%netscape.com
d98f4dca1d First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.
1999-08-21 08:54:47 +00:00
pavlov%netscape.com
c34a3bbbba change #define that I was using for debugging 1999-08-21 08:43:07 +00:00
pavlov%netscape.com
ebd04ecb57 remove unused tab widget and tooltip widget as they have never been used 1999-08-21 08:41:46 +00:00
pavlov%netscape.com
0c77f9a8c8 fix brokeness from my previous checkin 1999-08-21 08:40:30 +00:00
beard%netscape.com
389e93e774 added mozilla/widget/src/support to access paths, to find new location for nsWidgetSupport.cpp. 1999-08-21 01:31:01 +00:00
beard%netscape.com
003986dfd2 fixed zoom mouse tracking, now calls TrackBox properly. 1999-08-20 23:20:04 +00:00
beard%netscape.com
ff33cdfed8 Moved StRegionFromPool to header file, using more consistently, fixed some child widget clipping bugs, changed scrolling to just repaint when complex clipping in use. 1999-08-20 23:19:06 +00:00
beard%netscape.com
11e51e17d9 Using StRegionFromPool, fixed some widget clipping bugs (invisible siblings). 1999-08-20 23:17:45 +00:00
pollmann%netscape.com
a1f15c0597 Fixing GTK widget tabbing for text inputs. 1999-08-20 23:10:54 +00:00
hyatt%netscape.com
d819a08a33 Renaming onaction to oncommand. 1999-08-20 22:58:32 +00:00
pavlov%netscape.com
0c67c7e7d4 clipboard fixes 1999-08-20 22:54:45 +00:00
akkana%netscape.com
456b84ab15 Handle backslash character 1999-08-20 22:38:08 +00:00
Dale.Stansberry%Nexwarecorp.com
6735fdc415 - Major changes to reduce excess paints/widget damage 1999-08-20 14:15:16 +00:00
blizzard%redhat.com
c466ab950f fix xlib timer bug. this is not part of the build. 1999-08-20 03:26:54 +00:00
ramiro%netscape.com
d1d6e2ff62 Fix bugs 6023, 8565 10077 and possibly 12091. All of these are gtk keyboard
scrolling problems or related.
1999-08-19 20:50:09 +00:00
pavlov%netscape.com
1e540fc022 make resizing not suck!!!!!!!, fix clipboard bug were you couldn't copy/paste two times in a row, remove excess widget baggage 1999-08-19 19:51:33 +00:00
pinkerton%netscape.com
2258de2dfa remove InvokeDragSessionSingle 1999-08-19 19:49:20 +00:00
pinkerton%netscape.com
d1206fe5a3 add drag gesture event. 1999-08-19 19:48:58 +00:00
pinkerton%netscape.com
38ebcd20fd remove InvokeDragSessionSingle. 1999-08-19 19:48:18 +00:00
mcafee%netscape.com
024ea35904 Compiler warnings. 1999-08-19 05:21:34 +00:00
rods%netscape.com
727c58b298 HTML is placed on clipboard as Unicode and no longer stips remaining zeroes 1999-08-18 14:58:05 +00:00
rods%netscape.com
65f9671b23 fixed minor casting warning 1999-08-18 14:57:06 +00:00
rods%netscape.com
eb1c5bef67 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
60f9b3d9e4 Cleanup warnings 1999-08-18 14:40:21 +00:00
saari%netscape.com
57bcf41380 Fix for bug 11949 1999-08-18 01:20:52 +00:00
ramiro%netscape.com
6eeeaf7730 Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com
dcc2f02b46 Fix for crash on startup. 1999-08-17 18:59:44 +00:00
ramiro%netscape.com
abdd53997b Fix windows bustage. My fault, i missed an EXPORTS. Sorry. 1999-08-17 17:56:55 +00:00
ramiro%netscape.com
4ef23c965a 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
fc948c159d Cleanup the nsWidgetSupport.cpp mess on unix. Windows next. 1999-08-17 16:09:40 +00:00
ramiro%netscape.com
ee33c47ded Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
ramiro%netscape.com
038e16b3a1 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
1d14f921fa Move nsIXlibWindowService.h to its own place. 1999-08-17 13:26:13 +00:00
ramiro%netscape.com
04349cdd68 Link expat and xmltok into the htmlparser statically. Not into the app. 1999-08-17 12:46:23 +00:00
ramiro%netscape.com
2835075ab2 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
1f3e145c8d Update for api change. Ignore generated files. 1999-08-17 06:57:31 +00:00
ramiro%netscape.com
9b64a66483 Fix the qt timers. 1999-08-17 06:56:13 +00:00
ramiro%netscape.com
336a61a9ec Fix for bug 11964. Timers were leaking again. Approved by jevering. 1999-08-17 01:05:09 +00:00
saari%netscape.com
744f6d1377 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
6fe0e9d480 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
8189904e06 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
1f0e6637c5 ifdef out some printfs to make akkana happy a=chofmann 1999-08-13 20:39:34 +00:00
pavlov%netscape.com
9b3f0a16e9 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
3da241e524 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
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