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

2984 Коммитов

Автор SHA1 Сообщение Дата
ramiro%netscape.com fe8795534f quiet pavlov's debug noise 1999-09-03 01:44:17 +00:00
jdunn%netscape.com aafaaebd10 Fixing int/enum conversion which the native unix compilers don't like.
( |= produces an int which you can't assign to an enum so you need the cast)
1999-09-03 00:24:23 +00:00
saari%netscape.com 5463aa2188 Chages to nsIMenu and nsIMenuItem for checkbox support and a more general way of IDing the Help menu (necessary for MacOS). Also, some changes to try and stop crashing when Palm software is installed on MacOS. 1999-09-02 23:48:39 +00:00
pinkerton%netscape.com 9c2d1b71b2 fix a comment a=mcafee. 1999-09-02 23:17:21 +00:00
pinkerton%netscape.com 4a0e263d64 making sure we call StartDragSession and EndDragSession. a=mcafee 1999-09-02 23:17:07 +00:00
cata%netscape.com f3252a682a Fixed the fix. 1999-09-02 22:35:00 +00:00
cata%netscape.com 916f222b5e Fixed problem when calling deprecated method. 1999-09-02 22:20:23 +00:00
pavlov%netscape.com 93145abc11 clean up uses of QI and friends to use the macros correctly
clean up resizing and moving code.
wrote initial unix drag and drop code
more good things to come soon.
1999-09-02 21:30:31 +00:00
erik%netscape.com eb74d6a831 Thanks to Sun, we now have input method support (e.g. Japanese keyboard
input) on Unix. Contact erik and/or tague if there are any problems.
1999-09-02 21:26:40 +00:00
kipp%netscape.com a99f5ec06a Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
rickg%netscape.com 04ae16b6b0 trying to clear dependency build problem 1999-09-02 09:32:40 +00:00
pinkerton%netscape.com 69d64c3a85 try not to copy the data so much. still working on this. 1999-09-02 06:57:38 +00:00
pinkerton%netscape.com 1c74e883e1 fix it so that we still get default drag rectangle when there is no region passed in. 1999-09-02 06:52:54 +00:00
danm%netscape.com 378fa0edc3 adding nsIDeviceContext::GetClientRect. a:dcone. 1999-09-02 05:37:14 +00:00
pavlov%netscape.com fe64a5b42a stub out current api 1999-09-02 04:38:11 +00:00
ramiro%netscape.com 59631f35a1 Fix licensing dumbness which I cut-n-pasted before. Silence debug noise
in non debug builds.
1999-09-02 03:25:31 +00:00
Jerry.Kirk%Nexwarecorp.com 24e2be9ec5 Removed PR_LOG Hack that was keeping us from linking correctly. 1999-09-02 01:04:14 +00:00
Jerry.Kirk%Nexwarecorp.com 4e731e57e5 Make the Photon timer safer so it doesn't give an error if its destroyed
before its used or multiple times. Also takes care of problem:

"Assertion: "Time to next timeout func is null." (nsnull != sFunc) at
 file nsAppShell.cpp, line 117"  as seen at the start of apprunner.
1999-09-02 00:59:06 +00:00
sdagley%netscape.com f42377a8fc Need InternetConfig lib for future Mac file widget work. Adding now so I don't have to keep updating the project. 1999-09-01 23:53:19 +00:00
sfraser%netscape.com 5d022396fd Use an empty pascal string for the menu name. 1999-09-01 22:06:01 +00:00
sfraser%netscape.com 8ac77ab75a Make sure we lock the MDEF handle, otherwise all hell breaks loose. 1999-09-01 22:05:36 +00:00
saari%netscape.com 0aa0e05e2e MacOS fix for 5562; menus should update their titles now 1999-09-01 20:57:39 +00:00
dcone%netscape.com a18edf0c1d Fixed the NS_DIALOG_CID problem 1999-09-01 20:33:07 +00:00
tague%netscape.com 27e99c527e Fixed NS_OK direct comparisons. 1999-09-01 20:19:47 +00:00
pinkerton%netscape.com e1a3608eb5 new clipboard apis and trying to reduce the number of copies we do in clipboard/d&d code. 1999-09-01 20:14:48 +00:00
dcone%netscape.com 247169c62e Added 2 CID's NS_POPUP_CID and NS_DIALOG_CID 1999-09-01 19:57:23 +00:00
akkana%netscape.com 6d7fb057ef control as well as alt events should return lower-case if shift isn't pressed 1999-09-01 19:56:35 +00:00
ramiro%netscape.com 4a4f5c85e2 add stubs for that evil bastard saari 1999-09-01 11:48:39 +00:00
Jerry.Kirk%Nexwarecorp.com 7a7bc3dce3 Added SetEnabled Method stub. 1999-09-01 11:46:25 +00:00
saari%netscape.com a4835fb7cd Changes to allow menus to enable and disable. This should only be run on MacOS, but nsIMenu::SetEnable(PRBool) was added to all platforms. 1999-09-01 08:40:18 +00:00
saari%netscape.com c01eb0253d Changing Mac Help menu to be non-dynamic to prevent crashing on some machines. Got permission from sdagley 1999-09-01 03:26:03 +00:00
cyeh%netscape.com 26effbde96 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
ramiro%netscape.com eadd4f2d2b Removed bogus assertions. 1999-08-31 14:36:53 +00:00
rods%netscape.com 277cdad0ed changed the passing of the virtual key code from a zero to what is passed in 1999-08-31 13:36:40 +00:00
tague%netscape.com d22744e0e1 Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX. 1999-08-31 01:20:32 +00:00
pinkerton%netscape.com 86c9ab2de7 using new nsIScriptableRegion interface. 1999-08-30 21:54:33 +00:00
pinkerton%netscape.com a23b74b3b1 lowecased to match JS syntax. using new nsIScriptableRegion interface. 1999-08-30 21:54:23 +00:00
shawnp%earthling.net 6e9df6bcb1 Now set the title of the window properly. Now pass the correct parameters
into bitBlt() to handle partial repainting requests.
1999-08-30 02:59:54 +00:00
shawnp%earthling.net 5d0904a087 Now implement WidgetToScreen() and ScreenToWidget(). Now resize the QPixmap
associated with a widget in Resize() as well as the widget. OnResize() now
passes the correct size parameters to DispatchWindowEvent(). No longer
erase the widget when repainting it. Added code that gets animated gifs
going, but at too high a price for other web pages - so it's currently
commented out until I find a better solution. Added more code to output
logging info.
1999-08-30 02:57:46 +00:00
shawnp%earthling.net 06dea018ae Disabled code that was trying to outsmart the painting mechanism. Added
code in SetSelection() to handle the case where the caller wants to clear
the selection.
1999-08-30 02:47:25 +00:00
shawnp%earthling.net 2de60cfbd6 Removed AdjustScrollBarPosition() function. 1999-08-30 02:45:47 +00:00
shawnp%earthling.net f16ffb661a Now listen for the valueChanged() signal from Qt so that we don't have an
echoing effect dealing with scrolling. Removed AdjustScrollBarPosition()
function. Adjusted the value that is given to Qt as the maximum scroll
position - I now discount the thumb size.
1999-08-30 02:45:04 +00:00
shawnp%earthling.net 7b644ad1f0 nsQRadioButton now uses nsQEventHandler event handling. Added debugging
code to make sure that radio buttons actually work as they're supposed to.
1999-08-30 02:41:52 +00:00
shawnp%earthling.net b9b1cd0a4f Added MouseMovedEvent(), KeyPressEvent(), KeyReleaseEvent() and GetNSKey()
functions.
1999-08-30 02:39:42 +00:00
shawnp%earthling.net 29bd99b051 Now catch MouseMove, KeyPress and KeyRelease events. Cleaned up the
handling of mouse press and release events. Added GetNSKey() function.
1999-08-30 02:38:38 +00:00
shawnp%earthling.net 6fedd73ad2 Corrected comments and improved logging output. 1999-08-30 02:31:34 +00:00
shawnp%earthling.net eeb2c1f237 Removed unneeded member variable. 1999-08-30 02:30:47 +00:00
shawnp%earthling.net 218ae44301 Don't need to free the QStyle (it's freed by QApplication). 1999-08-30 02:30:21 +00:00
blizzard%redhat.com 50678acf82 get rid of the focus madness. start tracking focus virtually instead of dealing with X's completely broken focus handling. 1999-08-30 00:38:35 +00:00
bruce%cybersight.com 6b8a763887 Init refcnt. 1999-08-29 11:10:31 +00:00
akkana%netscape.com d086cb4735 Fix alt key char codes 1999-08-28 00:32:35 +00:00
saari%netscape.com a1b40359ab Fixing bug 12335. Mac only changes 1999-08-27 20:58:58 +00:00
dcone%netscape.com df78c331fa Fixed GetDeviceSurfaceDimensions() so the width and height are in appunits, and the routines who use them will convert properly. 1999-08-27 14:22:14 +00:00
Jerry.Kirk%Nexwarecorp.com e57e933c78 Remove calls to old stuff that keeps this from compiling. It
now no longer works at all under Photon and needs an overhaul.
1999-08-27 14:01:50 +00:00
Jerry.Kirk%Nexwarecorp.com edfeda9a0f Adding SetNativeData(void*) to nsIMenu, which was needed for making the Help
menu on MacOS merge with the XUL help menu. I copied this straight from GTK.
1999-08-27 13:35:11 +00:00
ramiro%netscape.com 877421b755 lower the volume on printf noise. 1999-08-27 09:38:44 +00:00
cls%seawood.org 079ad9d8f8 Fix for gcc 2.95 1999-08-27 06:23:59 +00:00
bruce%cybersight.com 6353ddb746 Fix for initializing refcnt. 1999-08-27 06:10:05 +00:00
beard%netscape.com bb744f3cf4 bug 11312: fixed Invalidate() of entire bounds, need to use (0, 0)-based rectangle. 1999-08-27 04:02:09 +00:00
pinkerton%netscape.com 8b02e76d79 File Removed. 1999-08-27 03:45:14 +00:00
pinkerton%netscape.com bf4595a5ae remove nsIContentConnector.h exports. 1999-08-27 03:42:42 +00:00
rods%netscape.com af70448f86 Changed EnableDropFile to EnableDragDrop. D&D is now NOT automatically registered for all windows during
creation and initialization. The method EnableDragDrop is not used to "turn it on".
The method nsIView::CreateView has parameter that indicates whether it should be turned on or not
This make it configurable from the outside, it is needed for the editor
1999-08-26 14:41:17 +00:00
pavlov%netscape.com d91156813e hack for silly behavior so that xpmenus popup and show the first time 1999-08-26 10:07:39 +00:00
pavlov%netscape.com fecfb184dc fix crash when copying japaneese text to an xterm a=mcafee 1999-08-26 07:55:40 +00:00
pavlov%netscape.com dc83b0cc3c my compiler sucks. i'm buying a mac. fix build bustage 1999-08-26 03:49:49 +00:00
pavlov%netscape.com c4572ca892 fix memory leak 1999-08-26 03:11:30 +00:00
beard%netscape.com db284bfd76 fixing a smashed memory block problem, wasn't allocating enough space for the '\0' terminator. 1999-08-26 02:39:53 +00:00
pavlov%netscape.com 72799fde14 fix for 12501 and make the rest of the widgets use NS_* macros 1999-08-26 02:06:24 +00:00
sdagley%netscape.com 7d24f6937d Fix #6860. We were using the wrong constant in nsFileWidget::PutFile which resulted in the open file dialog being displayed instead of the save file dialog. Yes the Windows build is red as I check this in but it's not related to the problem and mcafee has approved the checkin. 1999-08-26 00:59:16 +00:00
ramiro%netscape.com 80bfbc6983 stub 1999-08-25 23:43:25 +00:00
saari%netscape.com ec27380ec3 Continuing previous checking w. merge 1999-08-25 23:02:16 +00:00
saari%netscape.com d770a701f9 Adding SetNativeData(void*) to nsIMenu, which was needed for making the Help menu on MacOS merge with the XUL help menu. The rest of the code is to achive the merge. 1999-08-25 22:53:25 +00:00
pinkerton%netscape.com 43b4c5e6b6 fix QI lameness and use macros. 1999-08-25 22:04:02 +00:00
sfraser%netscape.com d5f3150831 #ifdef out SysBeep()s in menu code 1999-08-25 21:55:01 +00:00
beard%netscape.com 8eb5f0225c bug 11312: fixed calls to Invalidate() when widget has (x, y) <> (0, 0). 1999-08-25 21:28:19 +00:00
jdunn%netscape.com 79ef71461f HP won't allow a delete on a 'void *' so change cast using REINTERPRET 1999-08-25 21:23:21 +00:00
akkana%netscape.com 105b2a7583 Pass KeyPress events even if modifier key is pressed; un-break editor control key bindings. a=leaf,mcafee 1999-08-25 19:24:18 +00:00
ramiro%netscape.com 8c6cb1b304 Fix the timer names for these platforms. 1999-08-25 14:12:04 +00:00
ramiro%netscape.com 8644dc2074 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
ramiro%netscape.com 1b066bb64a Remove extraneous AddRef(). 1999-08-25 11:45:14 +00:00
pinkerton%netscape.com b5a1209d9f dumb compiler things. 1999-08-25 09:47:32 +00:00
pinkerton%netscape.com f4a7881b59 toString -> ToString idl change. 1999-08-25 09:15:18 +00:00
pinkerton%netscape.com edc17e7846 IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter. 1999-08-25 08:35:06 +00:00
pinkerton%netscape.com d08c3d748e First Checked In. 1999-08-25 08:34:46 +00:00
brendan%mozilla.org 10ccfa1568 Missed one during final precheckin update/merge. 1999-08-25 05:59:09 +00:00
brendan%mozilla.org bbe959f4d1 Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
blizzard%redhat.com 70cf5f8021 remove crufty comments 1999-08-25 01:51:25 +00:00
jdunn%netscape.com f0374764ce Fix AIX compiler errors. 1999-08-25 01:14:11 +00:00
saari%netscape.com e32e430ddb Fix for bug 12145 and enabling check marks on mac menus. Both mac only changes. 1999-08-24 21:55:02 +00:00
tague%netscape.com 67c2551d1a Added support for WM_INPUTLANGCHANGEREQUEST and WM_INPUTLANGCHANGE. Fixes bug #12317. 1999-08-24 21:46:43 +00:00
akkana%netscape.com 70ab0ba259 Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
ramiro%netscape.com af14f75983 Fix for the sunos build. 1999-08-24 15:26:31 +00:00
ramiro%netscape.com dc1506b6f5 Set the timer libs in one place. 1999-08-24 14:58:43 +00:00
ramiro%netscape.com e1f2489b0c Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00
ramiro%netscape.com 184b6cba71 Fix for bug 11964. Leaking timers. This time ita a real fix. Refcnt was
one too much cause of an extra QueryInterface() call.
1999-08-24 14:09:48 +00:00
sfraser%netscape.com 93c5e37bce Make chooseDirectory return a file URL string, like chooseFile does. 1999-08-24 01:01:38 +00:00
sfraser%netscape.com f260383c7b Make sure we initialize members of the base widget 1999-08-24 01:00:01 +00:00
pavlov%netscape.com 6c9cfdec94 initial work on doing filtering 1999-08-24 00:43:27 +00:00
pavlov%netscape.com 7ddce9995d fix clipboard brokeness on unix 1999-08-24 00:43:12 +00:00
briano%netscape.com 1cb1931f93 Cleaned it up and made it descend into unix_services for all Unix platforms. 1999-08-24 00:38:01 +00:00
briano%netscape.com 50f98c7b32 Cleanup. 1999-08-24 00:37:05 +00:00
briano%netscape.com 1929e4070d Other files use nsIUnixToolkitService.h, so this now gets built on all Unix platforms. 1999-08-24 00:36:32 +00:00
briano%netscape.com afbbde9a99 Slight rewrite to allow other platforms to build the toolkit_service stuff without problems. 1999-08-24 00:34:47 +00:00
blizzard%redhat.com 8a0dc5fc0b take out some extra XSync() calls and _Xdebug symbol. should make it a bit faster. also, if an X event is passed in and we don't know anything about the window then don't crash. 1999-08-23 12:50:53 +00:00
Jerry.Kirk%Nexwarecorp.com b4e7a8766a remove unused tab widget and tooltip widget as they have never been used 1999-08-23 12:15:57 +00:00
ramiro%netscape.com a0d8403b83 Comment out un impl class. 1999-08-22 16:07:43 +00:00
ramiro%netscape.com f24856cdb7 Remove hack. 1999-08-22 16:07:19 +00:00
mccabe%netscape.com b95a2bdd54 Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
ramiro%netscape.com 1d23cab69b Cleanup the jsdom and jsurl linking mess. 1999-08-22 11:05:45 +00:00
beard%netscape.com a22520cfca Added DispatchWindowEvent, added keyboard focus, and default keyboard input behavior. 1999-08-22 05:43:39 +00:00
cls%seawood.org ed99311f98 gcc 2.95 ANSI C++ compliance fix 1999-08-21 19:29:01 +00:00
ramiro%netscape.com 16bbd09726 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
ramiro%netscape.com 40297c98cb No longer needed. 1999-08-21 12:13:17 +00:00
ramiro%netscape.com 71c0c72565 Fix pavlov's bustage. 1999-08-21 10:29:34 +00:00
mccabe%netscape.com 779d51d186 First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.
1999-08-21 08:54:47 +00:00
pavlov%netscape.com 4270d77429 change #define that I was using for debugging 1999-08-21 08:43:07 +00:00
pavlov%netscape.com f897628bbf remove unused tab widget and tooltip widget as they have never been used 1999-08-21 08:41:46 +00:00
pavlov%netscape.com 588f75cc4d fix brokeness from my previous checkin 1999-08-21 08:40:30 +00:00
beard%netscape.com 814b7396c6 added mozilla/widget/src/support to access paths, to find new location for nsWidgetSupport.cpp. 1999-08-21 01:31:01 +00:00
beard%netscape.com 5fb1e6b12f fixed zoom mouse tracking, now calls TrackBox properly. 1999-08-20 23:20:04 +00:00
beard%netscape.com 6fc8f3d208 Moved StRegionFromPool to header file, using more consistently, fixed some child widget clipping bugs, changed scrolling to just repaint when complex clipping in use. 1999-08-20 23:19:06 +00:00
beard%netscape.com 030feb3a63 Using StRegionFromPool, fixed some widget clipping bugs (invisible siblings). 1999-08-20 23:17:45 +00:00
pollmann%netscape.com 2bd94df559 Fixing GTK widget tabbing for text inputs. 1999-08-20 23:10:54 +00:00
hyatt%netscape.com f1252f912a Renaming onaction to oncommand. 1999-08-20 22:58:32 +00:00
pavlov%netscape.com 85b0bdae46 clipboard fixes 1999-08-20 22:54:45 +00:00
akkana%netscape.com ed740dfd17 Handle backslash character 1999-08-20 22:38:08 +00:00
Dale.Stansberry%Nexwarecorp.com e79d09b1b1 - Major changes to reduce excess paints/widget damage 1999-08-20 14:15:16 +00:00
blizzard%redhat.com 35808c8ba6 fix xlib timer bug. this is not part of the build. 1999-08-20 03:26:54 +00:00
ramiro%netscape.com 4227258350 Fix bugs 6023, 8565 10077 and possibly 12091. All of these are gtk keyboard
scrolling problems or related.
1999-08-19 20:50:09 +00:00
pavlov%netscape.com 88a8db13a7 make resizing not suck!!!!!!!, fix clipboard bug were you couldn't copy/paste two times in a row, remove excess widget baggage 1999-08-19 19:51:33 +00:00
pinkerton%netscape.com ef33a0f341 remove InvokeDragSessionSingle 1999-08-19 19:49:20 +00:00
pinkerton%netscape.com 4616264a3d add drag gesture event. 1999-08-19 19:48:58 +00:00
pinkerton%netscape.com 454f80e95f remove InvokeDragSessionSingle. 1999-08-19 19:48:18 +00:00
mcafee%netscape.com 569482643e Compiler warnings. 1999-08-19 05:21:34 +00:00
rods%netscape.com 8eaf5a836c HTML is placed on clipboard as Unicode and no longer stips remaining zeroes 1999-08-18 14:58:05 +00:00
rods%netscape.com 52f3bcdfe0 fixed minor casting warning 1999-08-18 14:57:06 +00:00
rods%netscape.com 952f852346 added Unicode support and multiply the length now by 2 because and changed it to put Unicode on the clipboard for HTML 1999-08-18 14:56:39 +00:00
rods%netscape.com 7a98b3503f Cleanup warnings 1999-08-18 14:40:21 +00:00
saari%netscape.com 626693c038 Fix for bug 11949 1999-08-18 01:20:52 +00:00
ramiro%netscape.com 0e1b8a922a Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com 4518a0a529 Fix for crash on startup. 1999-08-17 18:59:44 +00:00
ramiro%netscape.com 1c70d47cfb Fix windows bustage. My fault, i missed an EXPORTS. Sorry. 1999-08-17 17:56:55 +00:00
ramiro%netscape.com 5de5eb3b96 CLeanup the nsWidgetSupport.cpp mess on windows. Moved it to its own place. Its only
needed by test apps.
1999-08-17 16:31:52 +00:00
ramiro%netscape.com 824b05d915 Cleanup the nsWidgetSupport.cpp mess on unix. Windows next. 1999-08-17 16:09:40 +00:00
ramiro%netscape.com 0149d76208 Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
ramiro%netscape.com db81b7d904 Dont link in the parser into the app. Link it in dynamically where needed.
This makes the link depenencies on unix be more like windows.  Makes it
easier to track dependency problems and simplifies makefiles.
1999-08-17 13:54:48 +00:00
ramiro%netscape.com 94553bf419 Move nsIXlibWindowService.h to its own place. 1999-08-17 13:26:13 +00:00
ramiro%netscape.com f544ac5394 Link expat and xmltok into the htmlparser statically. Not into the app. 1999-08-17 12:46:23 +00:00
ramiro%netscape.com 33f8c1f169 Remove the TOOLKIT_EXORCISM hack. Make non-monolithic toolkit linking the
default for Linux and Solaris.  Need testing on other platforms (HELP!)
That means that toolkit libraries are not linked into the app - for truly
XP apps such as the apprunner.  The gecko viewer still needs to link in
the toolkit, cause it has toolkit code in its main().
Replace the hack with something more useful.  There is a
--enable-monolithic-toolkit flag for platforms with dumb linkers and runtime
loaders.

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

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

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