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

3207 Коммитов

Автор SHA1 Сообщение Дата
scc%netscape.com e36b183d71 eliminate warnings, r=shaver 1999-10-20 18:59:00 +00:00
Jerry.Kirk%Nexwarecorp.com 0641cceb0c Fixes to correct lots of extra drawing because of incorrectly clipped regions
Bug #16698 r=kedl
1999-10-19 20:50:17 +00:00
rods%netscape.com 091b9a4c3a Added a method in the debug build to return the Navigator size for a given
for control for a given font family and size. Used for NavQuirks testing only.
r=kmcclusk, Bugs #3040, 4072
1999-10-19 11:34:00 +00:00
Jerry.Kirk%Nexwarecorp.com 884a207b92 moving Push/PopThreadEventQueue to nsIEventQueueService.
This is required to get anythinbg to work now...
r=danm@netscape.com
1999-10-19 02:26:53 +00:00
Jerry.Kirk%Nexwarecorp.com f460a870ed Removed some hacks that were no longer necessary because of fixes made
on GFX side to fix nsRegion and the double buffer routines. Also
removed the DOUBLE_CLICK messages as directed by someone, I forget now who.
Bug 16698 r=Michael.Kedl@Nexwarecorp.com
1999-10-19 00:29:33 +00:00
Jerry.Kirk%Nexwarecorp.com 6b5465c841 Installed our own PtMainLoop() function that can be exited to allow
the Create Profile Manager to display a dialog, then exit the GUI and display
a different dialog.
Bug# 16667 r=Michael.Kedl@Nexwarecorp.com
1999-10-18 19:34:07 +00:00
pavlov%netscape.com 4e1b456d92 revert some key code to pre branch landing so that typing works correctly 1999-10-18 16:08:16 +00:00
danm%netscape.com fdd0fccc59 moving Push/PopThreadEventQueue to nsIEventQueueService. r:hyatt@netscape.com 1999-10-18 15:08:45 +00:00
buster%netscape.com 6f0f66b0fc fixed bug 16486, r=brade@netscape.com
windows widget code handles control-key combinations correctly.
1999-10-18 03:39:48 +00:00
pavlov%netscape.com ebc293a7cd work around for not being able to type in text fields on unix without them closing your apps.
16564 and 16542 r=smfr
1999-10-17 23:27:50 +00:00
peterl%netscape.com d168caadef Added namespace ID to the AttributeChanged notification
Part of the fix for Bug 15153
r=troy
1999-10-15 23:17:53 +00:00
Jerry.Kirk%Nexwarecorp.com 37f76730a9 Handles KeyEvents the new way, not completely finished...
Bug # 16539 r=Michael.Kedl@Nexwarecorp.com
1999-10-15 21:10:36 +00:00
brade%netscape.com 0854956c5d fixes to handle for control keys (off by 1) (bug #15693) r=kin@netscape.com 1999-10-15 14:56:33 +00:00
beard%netscape.com b4206fabd2 fixed 2 string memory leaks (bug #15380). r=saari 1999-10-15 03:57:45 +00:00
rpotts%netscape.com fff994fd79 bug #16328. Share a single nsToolkit instance among all widgets. 1999-10-15 00:49:11 +00:00
ftang%netscape.com 47b49b14a9 fix Shift+a does not produce A in editor problem. We need to clean up isShift before we send. r=pavlov 1999-10-14 23:04:57 +00:00
ftang%netscape.com 7b77902a1e fix problem with url bar trancation. Do not send extra key press for non A-Z0-9 1999-10-14 21:49:49 +00:00
ftang%netscape.com a50be22bae fix the problem taht PageUp/PageDown/Up/Down/Left/Right/Home/End does not work after we land the keyevent branch. add missing isMeta code there 1999-10-14 20:03:00 +00:00
ftang%netscape.com 850606d07a landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +00:00
brade%netscape.com eda1a1125e remove dbl-click message (per joki); dblclick message is causing bug #14990; r=sfraser@netscape.com 1999-10-14 14:22:22 +00:00
Jerry.Kirk%Nexwarecorp.com 443763b3af These changes fix a draw problem when a top-level window was Move'd
Bug=16325 r=Michael.Kedl@Nexwarecorp.com
1999-10-14 00:33:49 +00:00
pinkerton%netscape.com 9bb07e9080 take a first stab at native system colors. obviously more work needs to be done to use appearance, but this will get us started. (r=sfraser, bug# 1021). 1999-10-13 00:08:17 +00:00
pinkerton%netscape.com ee816c9ef0 correctly trigger the sending of mouse_exit events when the mouse moves into the growBox. fixes a bug with gfx scrollbars in bookmarks when the window was resized. (r=sfraser, no explicit bug number). 1999-10-13 00:06:00 +00:00
Jerry.Kirk%Nexwarecorp.com 15558d7fa9 Fixed syntax error which caused invalidation not to work when logging
was turned off.
Bug# 16169 r=Dale.Stansberry@Nexwarecorp.com
1999-10-12 14:39:32 +00:00
mcafee%netscape.com 45701b9bfb Applying patch from buhr@stat.wisc.edu. Fixes destination widget confusion (14759). Unix-only, a=mscott 1999-10-12 07:26:47 +00:00
waterson%netscape.com 8241422540 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
kmcclusk%netscape.com adda5e2aff Changed WIN32 windows style from WS_EX_CLIENTEDGEto WS_EX_WINDOWEDGE to
stop drawing client windows sunken. bug=15151; r=rods@netscape.com
1999-10-11 23:56:55 +00:00
dveditz%netscape.com ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
beard%netscape.com 70619021e6 fix memory leaks (nsMacMessage sink). r=pavlov, bug=15380 1999-10-09 03:08:56 +00:00
dveditz%netscape.com 4ff472ecb9 fixing Win32 debug build bustage with NS_LOG_ADDREF. r=mccabe 1999-10-09 02:09:31 +00:00
kipp%netscape.com 65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com 8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
pavlov%netscape.com 3414502b7d unif 0 synchronous drawing on linux and add some checks to make sure we are visible and don't dump paint events when we are going to ignore them r=akkana 1999-10-07 20:49:11 +00:00
akkana%netscape.com 918cb332cf 15712: Fix gtk double-click events. r=pavlov 1999-10-06 22:57:00 +00:00
kmcclusk%netscape.com d2d24c96ac r=rods; bug=15478; Added WS_EX_TOOLWINDOW extended style for popup windows
to prevent popups from creating empty task bar buttons.
bug=6061; NS_DISPLAYCHANGE event is now generated when the display depth changes
on WIN32.
1999-10-06 21:54:49 +00:00
pavlov%netscape.com 7f2673dfa8 get CaptureRollupEvents working properly on unix. Fix focus problem that was being caused by grabbing the focus via SetFocus(). Fix potential crash in OnRealize(). fixes 15169, 15537, 15470 r=rods (for focus parts) r=blizzard@redhat.com (for all of it) 1999-10-06 14:04:05 +00:00
ramiro%netscape.com eba09bf679 Im an idiot, i applied the same patch twice. Sorry. Backout my last change. 1999-10-06 03:38:49 +00:00
kipp%netscape.com e985fb06bf Tweaked refcnt munging to better support refcnt tracking 1999-10-05 23:58:32 +00:00
kipp%netscape.com 85c7cde646 Fixed a memory leak of widgets triggered when the close box for a window is hit 1999-10-05 23:57:57 +00:00
ramiro%netscape.com 811f5ab835 Fix for bug 15245. Rearrange the inclusion of system headers to unbreak
some unix compilers.  Patch provided by tor@cs.brown.edu and reviewed by me.
1999-10-05 23:08:19 +00:00
kipp%netscape.com de44833a85 Added in ctor/dtor counting 1999-10-05 14:53:40 +00:00
shawnp%earthling.net 6dd37b6e8a To determine what gfx toolkit is being used at runtime, I added the
following functions to the nsIUnixToolkitService interface:
SetWidgetToolkitName(), SetGfxToolkitName(), IsValidWidgetToolkit(),
IsValidGfxToolkit(), GetWidgetToolkitName(), GetGfxToolkitName(). I also
added the implementation for these functions. Reviewed by
ramiro@netscape.com.
1999-10-05 01:35:21 +00:00
shawnp%earthling.net 8eb45b3a89 Improved info that is logged. Only bother to do something in OnPaint() if there
is a pixmap to copy from. Reviewed by ramiro@netscape.com.
1999-10-05 01:31:56 +00:00
shawnp%earthling.net 45893d6167 Implemented stub CaptureRollupEvents() and SetTitle() functions. Now handle
both Qt and Xlib gfx toolkits at runtime. Fixed a bug in SetCursor(). Can now
track cursor movement when no mouse button is pressed. Got rid of flickering
when repainting web pages. Reviewed by ramiro@netscape.com.
1999-10-05 01:31:18 +00:00
shawnp%earthling.net 0070ba00dc Now use separate PR_LOG module for scrolling. Stopped generation of double
scroll events. Reviewed by ramiro@netscape.com.
1999-10-05 01:30:23 +00:00
shawnp%earthling.net e216e42942 Added mouse enter/exit event. Added focus in/out event. Now use seperate PR_LOG
modules for events. Combined MousePressedEvent() and MouseReleasedEvent() into
MouseButtonEvent(). Reviewed by ramiro@netscape.com.
1999-10-05 01:29:07 +00:00
shawnp%earthling.net b8b7888624 Added constructor needed for integration with Xlib gfx toolkit. Reviewed by
ramiro@netscape.com.
1999-10-05 01:28:24 +00:00
shawnp%earthling.net a2846627fe Implemented stub SetCheckboxType() and GetCheckboxType() functions.
Reviewed by ramiro@netscape.com.
1999-10-05 01:27:44 +00:00
shawnp%earthling.net 6e54805ae8 Implemented stub GetEnabled() and IsHelpMenu() functions. Reviewed by
ramiro@netscape.com.
1999-10-05 01:26:39 +00:00
shawnp%earthling.net f3229171a3 Updated to better match values used by the gtk widget toolkit (assuming
those are more correct values). Reviewed by ramiro@netscape.com.
1999-10-05 01:24:46 +00:00
shawnp%earthling.net 153c96aa91 Added a static function to determine at runtime what gfx toolkit is being
used. Reviewed by ramiro@netscape.com.
1999-10-05 01:23:47 +00:00
shawnp%earthling.net d8db4adee0 Now link in libxlibgrb.so when building libwidgetqt.so so that Qt can work
with the Xlib gfx toolkit. Reviewed by ramiro@netscape.com.
1999-10-05 01:22:48 +00:00
kipp%netscape.com be1c67e0e0 r=ramiro; fix uninitialized refcnt bug that triggers an assertion when you're lucky 1999-10-05 00:31:55 +00:00
duncan%be.com 62996c9b41 Hack into compileable shape. 1999-10-04 08:52:17 +00:00
ramiro%netscape.com 91c4f34276 Fix for xlib build bustage. 1999-10-04 04:49:45 +00:00
beard%netscape.com b83f70fb4d calling __NSInitialize/__NSTerminate to enable GC leak detector. r=smfr 1999-10-03 20:53:11 +00:00
beard%netscape.com 208d328010 changed from directly using "MSL ShLibRuntime.Lib" to using "NSLibraryStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:47:12 +00:00
kmcclusk%netscape.com 12272aee6f r=rods; bug=15312 nsIWidget::GetParent now stops at the top of the widget hierarchy on WIN32
r=rods; bug=13644 Dropdown on WIN32 no longer causes parent window to change z-order or activation
1999-10-02 00:13:23 +00:00
Jerry.Kirk%Nexwarecorp.com 69a5b7023a Photon Only...
Added ConsumeEvents parameter to CaptureRollupEvents
r=Michael.Kedl@Nexwarecorp.com
1999-10-01 21:54:47 +00:00
pierre%netscape.com 675acb9003 Fixed #14416 "GFX combo boxes cause zombie windows": there was a memory leak in WidgetToScreen and ScreenToWidget. r=dcone/sfraser Fixed #14775 "Crash removing delete observer when closing windows": reshuffled nsToolkit and added nsMacFocusHandler to nsMacEventHandler. r=dcone/sfraser 1999-10-01 21:40:22 +00:00
pierre%netscape.com 8c4468746e Fixed #14775 "Crash removing delete observer when closing windows": reshuffled nsToolkit and added nsMacFocusHandler to nsMacEventHandler. r=dcone/sfraser 1999-10-01 21:40:04 +00:00
Jerry.Kirk%Nexwarecorp.com 745f8fadb0 Photon Only changes...
remove bogus call to nsIAppShell->GetNativeData since it isn't used
Added code for menu RollUp
Change Invalidate Code  not to when widget is not Realized
Changed mUpdateArea from nsRect to nsIRegion
Moved the HandleEvent code from nsWindow to nsWidget
r=Michael.Kedl@Nexwarecorp.com
1999-10-01 21:06:43 +00:00
pavlov%netscape.com 7e2a55ff0e remove files since we have idl files for both of these r=pinkerton 1999-10-01 20:16:36 +00:00
ramiro%netscape.com c5e75f9503 fix build bustage. 1999-10-01 12:21:33 +00:00
pavlov%netscape.com d0cc316a46 clean up interface (not built) 1999-10-01 11:17:27 +00:00
pavlov%netscape.com 0865e4a894 removing nsui.h 1999-10-01 11:06:07 +00:00
pavlov%netscape.com a102877734 remove unused file 1999-10-01 11:04:57 +00:00
pavlov%netscape.com 5b1befe314 rename declaration of [ptr] native nsIWidget so it doesn't conflict when nsIWidget.idl is built (no real change) r=syd 1999-10-01 09:55:20 +00:00
pavlov%netscape.com 7b14c1107a use correct return type 1999-10-01 09:24:34 +00:00
pavlov%netscape.com 4e0b7b3813 fix build bustage - use correct return type 1999-10-01 09:23:50 +00:00
pavlov%netscape.com 2cede8bc92 remove headers that are now in MANIFEST_IDL r=shaver 1999-10-01 08:38:16 +00:00
pavlov%netscape.com ebe72a2a81 removed bogus calls to nsIAppShell->GetNativeData since it isn't used r=shaver (for the entire checkin) 1999-10-01 08:36:23 +00:00
pavlov%netscape.com b3d403e8eb remove bogus call to nsIAppShell->GetNativeData since it isn't used r=shaver (for the entire checkin) 1999-10-01 08:34:33 +00:00
pavlov%netscape.com d85fdda346 remove GetNativeData since it isn't used r=shaver (for the entire checkin) 1999-10-01 08:33:41 +00:00
pavlov%netscape.com 4c9e093757 use idl files for these things 1999-10-01 08:32:30 +00:00
pavlov%netscape.com 823582adf4 added files: mozilla/widget/public/nsIAppShell.idl, mozilla/widget/public/nsIToolkit.idl, mozilla/widget/public/nsIRollupListener.idl 1999-10-01 08:29:38 +00:00
pavlov%netscape.com 4ceb743715 adding new files (not built yet) and updated nsIWidget.idl (not built either) 1999-10-01 08:19:08 +00:00
beard%netscape.com 680752dbde remove htmlparser from static linkage. r=vidur 1999-10-01 00:43:54 +00:00
vidur%netscape.com 6c78aabdfe Removed parser static linkage. 1999-09-30 22:23:21 +00:00
vidur%netscape.com 709afba09a Converted parser into a module. Removed static linkage of parser. 1999-09-30 22:08:24 +00:00
rods%netscape.com dffe42e2b3 Added ConsumeEvents parameter to CaptureRollupEvents 1999-09-30 14:36:17 +00:00
Jerry.Kirk%Nexwarecorp.com ab368fb45b Added debug and some error checking for Photon 1999-09-30 12:29:30 +00:00
rods%netscape.com 91e5a08688 Changed the metric used to calculate the Horizontal Inside Padding 1999-09-30 11:48:52 +00:00
ramiro%netscape.com 6c10f4393c Fix for bug 15245. Patch by tor. r=me 1999-09-30 06:09:21 +00:00
saari%netscape.com fb2a2d0f0b Making the Mac key event generation code follow the new spec for autokeys generate keypress events. Brade has run this change on her machine for about a week, I tested it on my machine without any problems. Reviewed by Brade and Dagley. 1999-09-30 01:44:42 +00:00
ramiro%netscape.com 7c52f573e8 Make paint flashing happen only if caps lock is down to make it easier
to target specific rendering problems.  r=pavlov.  bug 15234.
1999-09-30 01:17:34 +00:00
briano%netscape.com 49007a1d94 QNX-specific fix, map usleep to sleep since QNX doesn't have usleep. 1999-09-29 03:19:00 +00:00
beard%netscape.com 8e59ef4795 fixing leaking toolkit and device contexts. 1999-09-29 01:25:19 +00:00
saari%netscape.com 96ce14e798 Helping to fix M10 bug 14464 a: chofmann r: akkana Tested on Mac, Win, and Linux. 14464 requires other checkins to be fully fixed. 1999-09-29 00:49:11 +00:00
akkana%netscape.com d8f21148ef 14464: Track saari's changes to make XUL key bindings work again 1999-09-29 00:34:19 +00:00
briano%netscape.com 2d6aa35321 Added CaptureRollupEvents to fix the Motif-specific breakage. 1999-09-28 04:29:59 +00:00
alecf%netscape.com 7590c1db6b implement SetTitle to fix bustage 1999-09-28 03:22:11 +00:00
alecf%netscape.com d5979814b4 fix xlib bustage by implementing SetTitle and CaptureRollupEvents
(xlib not part of the default build)
1999-09-28 02:25:20 +00:00
pavlov%netscape.com 945164901c work to get drawing done based on regions and not rects. remove unneeded code in nsBaseWidget and removed tabs. add InvalidateRegion() method to nsIWidget. did InvalidateRegion implimentation on unix. a=shaver r=beard 1999-09-28 01:31:41 +00:00
pavlov%netscape.com 68a0eee3bb make menus partially dismiss on unix 1999-09-27 02:16:18 +00:00
akkana%netscape.com 17f95b1afa 14862: Send proper triple-click count on Linux. a=leaf/r=pavlov 1999-09-24 20:08:53 +00:00
sfraser%netscape.com 128581e5a2 Fix for 14804 -- make double-click handling better. r pierre, a chofmann. 1999-09-24 04:52:04 +00:00
pavlov%netscape.com c9c010813a remove printfs 1999-09-24 00:37:58 +00:00
pavlov%netscape.com 169d45b9e9 fix for 13140, make painting on linux not suck. a=leaf r=ramiro i=rule 1999-09-24 00:36:00 +00:00
pinkerton%netscape.com eae6916b01 don't invalidate the control if it's already enabled. (rev sfraser/appr leaf) 1999-09-23 23:26:37 +00:00
beard%netscape.com f5d90bf87d bug #10503: added SetZIndex & GetZIndex. a=leaf, r=troy 1999-09-23 23:26:25 +00:00
mcafee%netscape.com 7ef10865d3 Casting arguments to gdk_property_change() to make some non-Linux platforms happier. r=slamm, a=leaf 1999-09-23 21:43:04 +00:00
brade%netscape.com 2b0ad595ce bug #14493; a=leaf; r=saari,sfraser. Start to implement proposed key spec (enough to match current editor assumptions). Send KeyPress events for all keydowns. Set or zero charCode and keyCode as appropriate. Have ConvertKeyEventToUnicode return the charCode (only for keypress). Add some additional infrastructure for when the spec is finalized. 1999-09-23 14:47:09 +00:00
brade%netscape.com df733e60f2 change api for ConvertKeyEventToUnicode to return charCode 1999-09-23 14:47:00 +00:00
rods%netscape.com 954e0cfbbd fixed rollup notification code 1999-09-23 12:03:44 +00:00
pavlov%netscape.com 6279366e5c fix for build breakage on aix, hpux and other platforms no one uses a=briano 1999-09-23 04:21:58 +00:00
pavlov%netscape.com 19e600d0ca removing printf for every mouse move 1999-09-22 07:56:37 +00:00
mcafee%netscape.com 9e76ffca3a Adding nsWindow::StoreProperty() so we can hang Xatoms on windows. 1999-09-22 07:38:28 +00:00
pavlov%netscape.com 22ac4d8c66 fix for 14292, 4289, 13051 1999-09-22 06:25:13 +00:00
joki%netscape.com 4016178c5d Adding support for event.clickCount, obsoleting old dblclick event. 1999-09-22 02:29:33 +00:00
pinkerton%netscape.com 559eccd0ef Oops, forgot to #include something 1999-09-22 01:01:24 +00:00
pinkerton%netscape.com ff1dbad9b1 turn back on using the disk for large data sets. 1999-09-22 00:41:49 +00:00
pinkerton%netscape.com 064ccf67be use nsPrimitiveHelpers to get data into and out of nsISupportsPrimitives. 1999-09-22 00:40:14 +00:00
pinkerton%netscape.com 6fa8f72c61 turn off live-reflow during resize until cmd-key is down. 1999-09-22 00:39:37 +00:00
saari%netscape.com cb935f51c7 Changing broadcaster to use onbroadcast instead of oncommand. Adding the "braodcast" "commandupdate" and "input" events. Changed all xul observes nodes to use onbroadcast instead of onchange. 1999-09-21 23:02:35 +00:00
akkana%netscape.com a90a8696f5 Partial fix for 14464: the gtk handler was doing the wrong thing, but XUL still isn't firing even after I fix this 1999-09-21 21:45:38 +00:00
pinkerton%netscape.com aa4bafa6bd add nsPrimitiveHelpers.cpp to build. 1999-09-21 21:39:08 +00:00
dcone%netscape.com dd719f42fc *** empty log message *** 1999-09-21 21:19:03 +00:00
rods%netscape.com d58242ce78 fixed up the processing of rollup events 1999-09-21 21:18:46 +00:00
dcone%netscape.com 0960b12391 Support of Rollup code 1999-09-21 21:18:45 +00:00
Jerry.Kirk%Nexwarecorp.com 2bdb73c8e2 Adding more debug and hacks for Photon UI to try to get drawing of
the preference dialog working.
1999-09-21 13:12:00 +00:00
rods%netscape.com 7454b15220 initial checkin 1999-09-21 11:50:22 +00:00
rods%netscape.com 8b5f572a78 added CaptureRollupEvents for indicating when a dropdown should be rolled up 1999-09-21 11:25:03 +00:00
rods%netscape.com 3aa1c8aa81 *** empty log message *** 1999-09-21 11:22:21 +00:00
pinkerton%netscape.com 625ed2d4c4 First Checked In. 1999-09-21 00:08:25 +00:00
akkana%netscape.com 04ddfb5ccc 13447: fix regression in backspace/delete handling. Send char code or key code, but never both 1999-09-20 22:10:03 +00:00
buster%netscape.com 3bb7c6529c fixed bug 14271, delete key not generating a keyPress event on windows 1999-09-20 21:07:39 +00:00
Jerry.Kirk%Nexwarecorp.com 94f9ebd760 Code Cleanup for Photon and a couple of strategic strikes to get the
new text widget to work.
1999-09-20 11:44:23 +00:00
mccabe%netscape.com 4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
davidm%netscape.com 9f58a14d92 3924 [PP]Can't make an apprunner window as narrow as Comm 4.51- Change min width to 125 1999-09-19 06:44:26 +00:00
pinkerton%netscape.com 6fc5b8622b respond to the paint flashing debug pref in debug builds by flashing the area to be repainted. 1999-09-17 23:09:54 +00:00
danm%netscape.com 446f3bd345 implement HasDataMatchingFlavors 1999-09-17 02:43:08 +00:00
Jerry.Kirk%Nexwarecorp.com 90c6c1c1d3 Checkin changes to sorta make the URLBar work at the top of apprunner for Photon 1999-09-16 19:18:15 +00:00
pavlov%netscape.com a0e173f100 fix bustage 1999-09-16 07:07:26 +00:00
pavlov%netscape.com 5684c8089d add css2 color support for native colors to unix 1999-09-16 06:38:19 +00:00
pinkerton%netscape.com 7583cde6b1 adding the css2, win32-centric enums to GetColor. Not implemented yet. 1999-09-16 03:44:14 +00:00
briano%netscape.com ae4fee7c77 Fixed my breakage. 1999-09-16 03:07:57 +00:00
briano%netscape.com 2e989c6f6c Fixed the breakage caused by MOZ_GTK_CFLAGS not being defined in INCLUDES. 1999-09-16 03:02:37 +00:00
briano%netscape.com 337d868c65 General cleanup. 1999-09-16 01:09:42 +00:00
ramiro%netscape.com e8ba593918 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
sfraser%netscape.com 649e1ae0b2 Ooops, I didn't mean to change the caret width. Putting that back to 20 twips. 1999-09-15 01:03:52 +00:00
sfraser%netscape.com 8130ca728b Change assertion to warning, because it's so damn annoying. 1999-09-15 00:43:46 +00:00
sfraser%netscape.com 2494553f4a Change border width of HTML input fields from 4 to 2. 1999-09-15 00:43:19 +00:00
akkana%netscape.com f615951d2c I'm tired of seeing all the clipboard debug messages 1999-09-14 21:31:32 +00:00
pierre%netscape.com 7832f1619c Fixed #9456 "[PP]DOM Event listeners don't get MouseOut events when mouse leaves window": mLastWidgetHit and mLastWidgetPointed are now static variables. 1999-09-13 23:18:28 +00:00
kmcclusk%netscape.com dd221ea8c5 Use HWND_TOPMOST instead of HWNT_TOP when setting the window z-order for popups. 1999-09-13 20:33:34 +00:00
pavlov%netscape.com 9b07d23e39 change a few comments 1999-09-13 20:30:36 +00:00
Jerry.Kirk%Nexwarecorp.com 34c4e6f3ba Lots of changes to try and get modal preferences dialog to work. 1999-09-13 18:35:19 +00:00
dcone%netscape.com 3e559186f3 Added popup support. 1999-09-13 15:05:16 +00:00
dcone%netscape.com 60ada85519 Added popup support 1999-09-13 15:00:07 +00:00
cls%seawood.org 9403bee785 Add -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 as appropriate with __STRICT_ANSI__ defined in <prinet.h> 1999-09-13 05:09:53 +00:00
pavlov%netscape.com 3ea05ab63b remove warning 1999-09-13 03:40:34 +00:00
pavlov%netscape.com 9cd324db7c new file. not built. work in progress. 1999-09-13 02:23:47 +00:00
cls%seawood.org adf94e4618 Add -D_POSIX_SOURCE to DEFS to get rid of those useless 'index shadow' warnings. Add either -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 to whichever Makefile.ins need it to accommodate for Posix' strictness. Add check for getopt.h for nsinstall.c. 1999-09-12 14:25:28 +00:00
colin%theblakes.com 6453ee5f21 Build widget/timer before gfx, dom, etc since they all need the timer code 1999-09-12 12:33:52 +00:00
pavlov%netscape.com ae80769478 release the rendering context after we paint 1999-09-11 02:51:38 +00:00
pavlov%netscape.com 21479b681f fix gfx combo boxes on unix r=mcafee a=trudelle 1999-09-11 00:20:56 +00:00
pavlov%netscape.com cc1faf8d2f nsIWidget::CaptureMouse works almost 1999-09-10 23:09:32 +00:00
dougt%netscape.com 00725ef8f7 changing GetDiskSpaceAvailable to return a signed 64 bit value 1999-09-10 20:03:56 +00:00
rods%netscape.com 0669abfd0a Added new CSS 2 color values, not being used yet by nsCSSProps 1999-09-10 18:30:55 +00:00
rods%netscape.com 42c4a5ea79 Changes SelectPalette forground/background param to TRUE from FALSE
this is a stop gap to stop 8 bit from crashing Bug# 7426
1999-09-10 14:24:20 +00:00
pavlov%netscape.com 9075f17606 remove debugging printf 1999-09-10 09:31:17 +00:00
pavlov%netscape.com 3cddcb8db3 workaround for x,y positioning problems, window showing before resized and moved problem 1999-09-10 09:31:00 +00:00
pinkerton%netscape.com 72754b171b fix crash when can't load data from a file for some reason. GetData couldn't handle a null data pointer. 1999-09-10 05:45:08 +00:00
akhil.arora%sun.com d6993f5c6d cast needed for building with workshop4.2 compiler on solaris 1999-09-10 01:28:25 +00:00
dougt%netscape.com 41a7fa078c nsFileSpec::GetDiskSpace now returns a PRUint64. (12479)
thanks to Chet Murphy <cmurphy@modelworks.com> for the windows code!
1999-09-09 19:20:35 +00:00
akkana%netscape.com 733677f07b Temporarily disable XIM code, to fix editor/gfx text widget bustage 1999-09-09 19:16:29 +00:00
rods%netscape.com 3061eb534b Bizzare edge case where click and then dragging outside the window into the console
window crashes in MouseTrailer. This had to do with an invalid window getting set
into the MouseTrailer. The invalid window comes from the mouse hitting the frame of
the app and then the console window. Bug #12848
1999-09-09 13:38:30 +00:00
Jerry.Kirk%Nexwarecorp.com b1d4b96543 The Clipboard for Photon is now totally bit rotted but this fix will
at least keep it compiling until I get around to fixing it.
1999-09-09 13:05:39 +00:00
duncan%be.com 51c4392b68 One last fix to the BeOS build. Now compiles fully. 1999-09-09 12:24:29 +00:00
cls%seawood.org 6fcda40546 Removed check for usleep() as it did not fix the OSF/1 build and does not appear to be needed for anyone else 1999-09-09 06:24:11 +00:00
ramiro%netscape.com 398eeefe67 Make event debuggin more useful on windows. 1999-09-09 03:47:26 +00:00
ramiro%netscape.com ecb55d81de Fix typo. 1999-09-09 02:41:13 +00:00
ramiro%netscape.com 0dd37aec4a Add better event debugging. 1999-09-09 02:32:54 +00:00
briano%netscape.com b660ad4475 General cleanup. 1999-09-09 02:14:10 +00:00
briano%netscape.com 202e970483 Removed the obsolete non-NECKO leftovers. 1999-09-09 00:21:43 +00:00
pavlov%netscape.com 724172f068 explaination of key event signals here so i don't get confused later 1999-09-08 19:40:12 +00:00
pavlov%netscape.com 0849767a0e fix for my XIM changes that broke the original XIM stuff the other day 1999-09-08 19:18:22 +00:00
briano%netscape.com 8c3e597d8f Hack to get this to compile with DEC's picky C++ compiler. 1999-09-08 04:15:00 +00:00
ramiro%netscape.com cae8fc76b7 Make paint flashing respond to a pref instead of an #ifdef. 1999-09-07 19:37:43 +00:00
ramiro%netscape.com 978cd66eb6 Fix update event bounds (width and height were reversed). Also set the event
time to PR_Now().
1999-09-07 14:11:13 +00:00
ramiro%netscape.com 2d9455fa1c Make TRACE_PAINT_FLASH flash only the event rect area. Remove some duplicate
code in GetNativeData().
1999-09-07 13:05:46 +00:00
ramiro%netscape.com 6ef223a76c Another beos fix. 1999-09-06 08:52:06 +00:00
cls%seawood.org b7635b625f Added test for usleep() as OSF/1 apparently does not have it. Use select if usleep is not found. 1999-09-06 07:47:08 +00:00
beard%netscape.com 9b2a049a87 changed superclass to nsChildWindow, to inherit proper sibling clipping. 1999-09-06 04:32:10 +00:00
beard%netscape.com 7176b29d4b added option to UpdateWidget() to draw from front to back, to see sibling clipping bugs. 1999-09-06 04:30:44 +00:00
beard%netscape.com 761c316007 bug #10503's test case didn't display correctly, because sibling clipping wasn't working properly. fixed CalcWindowRegions() to correctly transform sibling rectangles into widget coordinates, and to subtract only siblings that are in front of the child window. 1999-09-06 04:29:07 +00:00
ramiro%netscape.com 5e20ce88e3 Add Invalidate() and OnPaint() skid marks. 1999-09-06 03:22:42 +00:00
duncan%be.com d984a33f47 More changes to fix the BeOS build. 1999-09-06 02:03:19 +00:00
pinkerton%netscape.com 6b69093276 get rid of unknown pragma warning. 1999-09-05 22:14:44 +00:00
cls%seawood.org 05a48cd387 Casts needed to compile using WorkShop 4.2 (fugu tinderbox). Thanks to Brian Ryner <bryner@uiuc.edu> for providing the fix. 1999-09-05 21:46:19 +00:00
cls%seawood.org 4d9a80dea3 Casts needed to compile with GNUPro v2.0. 1999-09-05 21:15:57 +00:00
shaver%netscape.com 476c58c77b native Sun compiler doesn't like NULL for non-|void *| pointer init, thanks to bryner@uiuc.edu for the catch 1999-09-05 17:14:18 +00:00
ramiro%netscape.com 2063b093e8 Add gle support. 1999-09-05 15:53:04 +00:00
ramiro%netscape.com 6691dedd78 Add some invalidate and paint skid marks. 1999-09-05 13:50:54 +00:00
pavlov%netscape.com 76563c5a3e remove more code duplication 1999-09-05 03:40:32 +00:00
pinkerton%netscape.com 6a8a37ea44 add mac code to see if there is any data on the clipboard. 1999-09-05 02:29:02 +00:00
pinkerton%netscape.com 8a439fca22 use new mime mapper flag where appropriate. 1999-09-05 02:28:49 +00:00
pinkerton%netscape.com 8ca528f938 use xpidl macros. 1999-09-05 02:28:38 +00:00
pinkerton%netscape.com 21ae722449 add a new flag so mime types aren't added to the mapper if they are not found. 1999-09-05 02:27:54 +00:00
bienvenu%netscape.com 28cff6c100 fix build bustage 1999-09-04 21:23:08 +00:00
pinkerton%netscape.com 8862e68dd0 another attempt to stop copying data so much. 1999-09-04 20:04:26 +00:00
pinkerton%netscape.com 867ed4a72d idl-ifying nsIclipboard 1999-09-04 19:59:38 +00:00
pinkerton%netscape.com 398cc45dd0 IDL'ing nsIClipboard. 1999-09-04 19:58:06 +00:00
pinkerton%netscape.com c961a4dbd1 First Checked In. 1999-09-04 19:57:42 +00:00
pavlov%netscape.com 44b8929649 use macros for getiid, isupport, etc 1999-09-04 08:13:41 +00:00
pavlov%netscape.com c6fa2ca755 remove more code duplication 1999-09-04 08:12:23 +00:00
pavlov%netscape.com 37aa057cc9 remove more unused code.
work on getting pointer grabs working properly
1999-09-04 01:30:25 +00:00
shaver%netscape.com 129be14218 add IsChildOf 1999-09-03 23:45:50 +00:00
pavlov%netscape.com 8db78bf7bf move XIM code to the right place, fix crash on linux 1999-09-03 16:44:56 +00:00
rods%netscape.com d50957395b Added metric for native TextField Border width 1999-09-03 14:19:08 +00:00
rods%netscape.com 2225b5e42e Added new Metric that provides the TextField's native border width 1999-09-03 14:15:16 +00:00
bruce%cybersight.com 64a22d4ee2 Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 14:08:47 +00:00
bruce%cybersight.com c48109f575 Use nsCRT::free() instead of delete[] for char* data. Also, use nsAllocator instead of new[]. 1999-09-03 14:03:21 +00:00
bruce%cybersight.com db6f44db20 Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 13:45:10 +00:00
duncan%be.com 01abb3a4a1 A bunch of things to get the BeOS build to work. Mostly
BeOS specific fixes, except for the change to nsinstall.c
that ignores trailing "/." in the function mkdirs (as
creating a "." dir fails under BeOS).
1999-09-03 12:54:05 +00:00
sspitzer%netscape.com b494799f9e add newline to end of file to please certain UNIX compilers. 1999-09-03 10:43:00 +00:00
jefft%netscape.com b5ce558746 made chooseOutputFile() more complete; imaplemented QueryInterface() to return nsIFileSpec too 1999-09-03 05:30:33 +00:00
jefft%netscape.com 1a826d143d revise chooseOutputFile() interface to take output filter mask 1999-09-03 02:24:39 +00:00
beard%netscape.com 075747c417 bug 9534: moved SetOrigin(0, 0) in HandleUpdateEvent so that updateRgn is in correct coordinate system. added BLINK_DEBUGGING code. 1999-09-03 02:08:44 +00:00
beard%netscape.com 7ede76e864 Cleaned up indentation. 1999-09-03 02:01:45 +00:00
ramiro%netscape.com 0dd06a4372 Comment out the stupid native menus to cut down on the daily saari carnage.
How ironic that changes to fix the one platform that uses native menus
breaks a bunch of others that dont...
1999-09-03 01:54:31 +00:00
bruce%cybersight.com c09adf0abb Stub out functions for Saari so that this will build. 1999-09-03 01:53:42 +00:00
ramiro%netscape.com e7997db3b4 quiet pavlov's debug noise 1999-09-03 01:44:17 +00:00
jdunn%netscape.com 6ae8f1cf4a 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 c903641346 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 7f2ad65166 fix a comment a=mcafee. 1999-09-02 23:17:21 +00:00
pinkerton%netscape.com 5a953d6e18 making sure we call StartDragSession and EndDragSession. a=mcafee 1999-09-02 23:17:07 +00:00
cata%netscape.com af4d979f29 Fixed the fix. 1999-09-02 22:35:00 +00:00
cata%netscape.com 34eebb2418 Fixed problem when calling deprecated method. 1999-09-02 22:20:23 +00:00
pavlov%netscape.com d9a7dfb3f0 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 bc4be364b8 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 78bace2449 Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
rickg%netscape.com a18e1e9444 trying to clear dependency build problem 1999-09-02 09:32:40 +00:00
pinkerton%netscape.com bf83c74244 try not to copy the data so much. still working on this. 1999-09-02 06:57:38 +00:00
pinkerton%netscape.com c058cf9f7e 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 b78875c8f5 adding nsIDeviceContext::GetClientRect. a:dcone. 1999-09-02 05:37:14 +00:00
pavlov%netscape.com ae217433aa stub out current api 1999-09-02 04:38:11 +00:00
ramiro%netscape.com db481dee5e 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 96e3a34df9 Removed PR_LOG Hack that was keeping us from linking correctly. 1999-09-02 01:04:14 +00:00
Jerry.Kirk%Nexwarecorp.com 9948d07c97 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 bdb43118fc 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 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