Commit Graph

3240 Commits

Author SHA1 Message Date
dp%netscape.com
be197fa7d8 Convering to nsIModule. r=kipp 1999-10-28 20:57:29 +00:00
dp%netscape.com
9db4e471e0 Remove delete on nsISupports. r=kipp 1999-10-28 20:44:45 +00:00
ftang%netscape.com
73e97ab329 remove unnecessary #ifdef USE_XIM. r=pavlov 1999-10-28 13:16:07 +00:00
Jerry.Kirk%Nexwarecorp.com
53fd291dfa Call PtAppAddFd instead of PtAppAddFdPri because of redraw bugs it
was causing.
r=kedl
1999-10-28 12:43:46 +00:00
dougt%netscape.com
c33e86ffb9 Fix for this mornings crasher (17352) r=pavlov, mscott 1999-10-28 06:44:36 +00:00
braddr%puremagic.com
ea13be0a26 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
ftang%netscape.com
7b8cfeb611 fix the delete last IME text problem. bug13494 . There are another fix in nsHTMLEditRules.cpp related this but I forget to put the bug # there. r=tague 1999-10-27 23:05:24 +00:00
akkana%netscape.com
5c1fcb1d22 17305: Fix ? handling. Also add myself to a debug ifdef. r=pavlov 1999-10-27 22:53:52 +00:00
mscott%netscape.com
0e7559139c Bug #17352 --> temporarily hide this crasher by inserting an extra
ref count of the event queue. this is horrible since we are introducing
a leak. we need to examine the ownership model of event queues for the app
shell. I'm going to get pavlov to help me look at fixing this bug for real.
r=dougt
a=gramps,granrose
1999-10-27 22:00:54 +00:00
braddr%puremagic.com
341c8b0054 Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com
55276cc3c4 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
Jerry.Kirk%Nexwarecorp.com
f8ec83c7ec Finished implementing ListenToEventQueue.
r=kedl
1999-10-27 11:36:21 +00:00
saari%netscape.com
bc126bc260 Making popups not steal activation on MacOS. r: pinkerton, no bug number that I'm aware of 1999-10-27 03:32:35 +00:00
ftang%netscape.com
2dadb6ad3a add debugging code. change code so we won't call MapDBCSAttributeArrayToUnicodeOffsets when we are not composition. Sent length == 0 TextEvent if we got nothhing in IME_COMPOSITION. This is needed to delete the last unconverted text in IME. r=tague 1999-10-27 00:14:46 +00:00
pinkerton%netscape.com
ed6895a1a4 add case for unicode flavor, which i guess was forgotten before. now apps that request unicode get unicode. bug# 16267 r=hyatt/pav. thanks to VYV03354@nifty.ne.jp for pointing this out. 1999-10-26 20:33:30 +00:00
pinkerton%netscape.com
dcfbdbd8cc Cleaned up the code and fixed a bug where data was not being null terminated on winNT.
partial fix for bug #16267 (r=hyatt/pav).
1999-10-26 20:31:54 +00:00
ftang%netscape.com
008f2c879c change #ifdef DEBUG_tague to #if defined(DEBUG_tague) || defined(DEBUG_ftang) 1999-10-26 20:17:36 +00:00
Jerry.Kirk%Nexwarecorp.com
f09a8af084 Trying to fix complex clipping to reduce redraws in apprunner.
Also fixed key handling for CTRL-keys.
r=kedl
1999-10-26 01:13:20 +00:00
scc%netscape.com
c84b487139 Don't |delete| interface pointers. Use |AddRef()| and |Release()| instead. Bug #16762, r=pinkerton. 1999-10-26 00:49:33 +00:00
Jerry.Kirk%Nexwarecorp.com
a0da8522a0 Pulling out changes that made nsAppShell inherit from nsIObserver
that danm thought I should make cause he changed his mind.
r=kedl
1999-10-26 00:42:08 +00:00
ftang%netscape.com
41a327641b delete nsTextRange array after dispatch the text event. fix wrong array indexing. Fix platform to NS attribute mapping problem. r=tague 1999-10-25 22:17:09 +00:00
akkana%netscape.com
d7ffe93214 15463: Re-enable XIM code, add keycode mappings for shifted characters 1999-10-25 22:11:23 +00:00
dp%netscape.com
b17616fba6 bug#16742 Fixing delete on nsISupports. Thanks for patch from <heikki@citec.fi> Plus using IMPL_ and DECL_ macros and removing operating on refcnt directly. r=dp 1999-10-24 04:41:17 +00:00
rods%netscape.com
4999da72d0 Simple changed from COLOR_DESKTOP to COLOR_APPWORKSPACE for appworkspace enum
for css 2 color setting
fixes bug 16853,r=none
1999-10-24 03:03:38 +00:00
troy%netscape.com
858aa1b3f9 Changed Run() to give priority to system messages when pumping
messsages. These are the same changes that I made to viewer's message
pump on 9/13/99
1999-10-23 03:09:30 +00:00
pavlov%netscape.com
4105801cb0 add ScrollRect method to nsIWidget -- implimented on linux and stubbed in nsBaseWidget for mac and windows. Added ifdef'd scrolling code that makes scrolling really fast on linux. Updated nsIWidget.idl (not built) to merge some changes from a branch and added ScrollRect. Added ifdefs for using gtk_fixed instead of gtk_layout as part of the new scrolling code. 1999-10-23 01:17:20 +00:00
danm%netscape.com
096a2012e0 set window title using multibyte. submitted by jamestoder@yahoo.com. r:ftang@netscape.com, by lack of timely objection. 1999-10-22 21:45:19 +00:00
danm%netscape.com
08f2867635 making GetACPString parameter const. part of submission from jamestoder@yahoo.com. r:me 1999-10-22 21:41:04 +00:00
jefft%netscape.com
99d739c7f5 fixed bug 17069 - Save As...File format list for saving a selected message shows a .hml for the HTML format; fix typo; r=bienvenu 1999-10-22 20:52:56 +00:00
kipp%netscape.com
25df3c7ad6 r=pavlov; fixed up prioritization of the plevent queue so that it's lower than the normal priority; this fixes UI starvation on long document loads AND lets timers through so that painting works (bugs 7455, 6048, etc.) 1999-10-22 02:47:02 +00:00
davidm%netscape.com
bce29dfcb6 2425 [PP] Mac: Apprunner doesn't gracefully quit at shutdown or r r = sdagley 1999-10-22 00:01:45 +00:00
danm%netscape.com
51b48ca17c adding method ListenToEventQueue (moving EventQueue observation from appshells to appshellservice) r:hyatt@netscape.com 1999-10-21 21:34:57 +00:00
akkana%netscape.com
7e020d46ef 16795: Make arrow keys work again.
The gtk event for arrow keys has length=0, but we still need to generate
KeyDown, KeyPress, etc. events for these keys.  r=pavlov
1999-10-20 20:04:40 +00:00
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