Commit Graph

3258 Commits

Author SHA1 Message Date
pavlov%netscape.com
221d930585 I suck. 1999-11-15 11:40:00 +00:00
pavlov%netscape.com
9ba39e01cd add GetDefaultString() r=mozbot 1999-11-15 11:16:06 +00:00
pavlov%netscape.com
5c6132303f unix nsIFilePicker implimentation r=travis 1999-11-15 10:36:10 +00:00
pavlov%netscape.com
1c08119ec7 show returns a short instead of a boolean r=travis 1999-11-15 10:19:00 +00:00
pavlov%netscape.com
6c82995254 added files: mozilla/widget/public/nsIFilePicker.idl 1999-11-15 09:34:26 +00:00
pavlov%netscape.com
a7b19f43de add nsIFilePicker.idl to the manifest 1999-11-15 09:33:34 +00:00
pavlov%netscape.com
1561439e1a leave nsIFileWidget, add nsIFilePicker as the one true file picker. add this to the build. r=travis 1999-11-15 09:32:51 +00:00
pavlov%netscape.com
d7186f075a create one true scriptable file picker interface r=travis 1999-11-15 08:13:40 +00:00
tbogard%aol.net
c1c0a44226 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov 1999-11-15 07:29:23 +00:00
sfraser%netscape.com
417c837351 Removed nsKeyBindMgr.cpp from teh project. 1999-11-15 06:44:04 +00:00
tbogard%aol.net
cfa842722b Removed these two files which are no longer used. r=pavlov. 1999-11-15 05:09:39 +00:00
blizzard%redhat.com
91b79bb677 return GDK_FILTER_REMOVE for ConfigureNotify events on the bin_window. this will prevent ConfigureNotify event compression from occuring with older versions of gtk. 1999-11-13 15:05:40 +00:00
law%netscape.com
88626d4e62 Fixes for #10737 (ftp download), overhauled to work better with Necko; r=valeski 1999-11-13 05:37:00 +00:00
saari%netscape.com
1cfbe7d9a6 Landing focus changes. R: joki 1999-11-13 05:16:33 +00:00
saari%netscape.com
587863609c gtk widget changes to facilitate new focus work. R: pavlov 1999-11-13 04:53:18 +00:00
sspitzer%netscape.com
176ee42b41 fix for #17954
before, if "mail.directory" was set, we'd assume the mail wasn't in the standard
default place, so we'd migrate Mail -> Mail5
now, we check if "mail.directory" == the default place.  if so, we migrate
it like we would if it wasn't set.
Mail -> Users50/<profile>/Mail

to help do this, I added Equals() to the nsIFileSpec interface, to compare
two nsIFileSpec's, it does this by comparing the nsFileSpecs.
1999-11-13 02:02:22 +00:00
danm%netscape.com
02f484a99c Gut modal event filtering (relying instead on glib modal window flag). part of fix for bug 14131. r:rods@netscape.com. 1999-11-12 23:46:36 +00:00
danm%netscape.com
7935f83bdc Add ModalEventFilter (originally nsAppShell::EventIsForModalWindow) and add parameter to SetModal. part of fix for bug 14131. r:rods@netscape.com. 1999-11-12 23:46:30 +00:00
danm%netscape.com
321a047de5 add (unimplemented) parameter to SetModal. part of fix for bug 14131. r:rods@netscape.com. 1999-11-12 23:46:23 +00:00
danm%netscape.com
108a065b67 moved nsAppShell::EventIsForModalWindow to nsWidget::ModalEventFilter, teach latter to accept events for modal window and any active rollup widget window. part of fix for bug 14131. r:rods@netscape.com. 1999-11-12 23:46:11 +00:00
danm%netscape.com
38ffc870e6 moved nsAppShell::EventIsForModalWindow to nsWidget::ModalEventFilter. part of fix for bug 14131. r:rods@netscape.com 1999-11-12 23:45:59 +00:00
blizzard%redhat.com
8964cbc3e9 add the gtksuperwin library. this is not part of the build. a=granrose 1999-11-12 20:12:02 +00:00
warren%netscape.com
7f04320416 Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf 1999-11-12 09:07:26 +00:00
sdagley%netscape.com
562c627456 Fix for #17694 - nsFileSpecWithUIImpl.cpp::ChooseOutputFile should preset the directory if one has been specified as a starting point. Code from vxir@concentric.net, r=sdagley 1999-11-12 04:27:57 +00:00
sdagley%netscape.com
46a4b9382b Fix for #17666 - nsFileSpecWithUIImpl.cpp::ChooseOutputFile was returning NS_OK when user actually canceled the file selection. Code from vxir@concentric.net, r=sdagley 1999-11-12 04:09:40 +00:00
syd%netscape.com
da7af98876 Don't flash window if paint message is ignored. r=kmcclusk@netscape.com 1999-11-12 02:49:48 +00:00
Jerry.Kirk%Nexwarecorp.com
72599041bf This fixes some clipping and sizing problems. Also converts the
drop down menus from containers to windows.
r=kedl
1999-11-12 02:20:07 +00:00
kmcclusk%netscape.com
4395520780 (Paint flashing debug option)Don't flash window if the paint is ignored. bug 16435; r=buster@netscape.com 1999-11-12 02:06:52 +00:00
ftang%netscape.com
6b48488199 add OnIMExx handler. Move IME code from case: block into OnIMExx handler. Change the IME ofset from 35 to 0 since nsCaret now return the bottom of the cursor instead of the top. r=cata 1999-11-11 22:28:52 +00:00
pinkerton%netscape.com
594c1f0c93 better stab at native system colors, provided by mpt26@student.canterbury.ac.nz. bug #1004, r=pavlov 1999-11-11 22:01:43 +00:00
pavlov%netscape.com
c31d7f52dc remove ifdef gtk_fixed test stuff r=dmose 1999-11-11 20:47:10 +00:00
pinkerton%netscape.com
f83ca3629c correctly send dragExit events when the mouse leaves the window (bug# 18356) r=saari. 1999-11-11 20:28:23 +00:00
Jerry.Kirk%Nexwarecorp.com
481eb99dd7 Removed code that kept us from creating timers with a delay of
more than 10 seconds.
r=kedl
1999-11-11 15:23:09 +00:00
Jerry.Kirk%Nexwarecorp.com
9ad39fd6a1 Added debug code to track my clipping. I am about to re-arrange some guts
so I wanted a fail-safe backup working version to be checked in.
r=kedl
1999-11-11 15:21:51 +00:00
Jerry.Kirk%Nexwarecorp.com
6f824c9d8e Adding static data member and accessor that keeps track of what the
PhDrawContext_t for Photon was when the program is first started.
r=kedl
1999-11-11 15:19:25 +00:00
syd%netscape.com
e7eb8f50e5 Wire up margin settings from dialog. r=dcone 1999-11-11 14:20:19 +00:00
saari%netscape.com
7511475ad8 part of previous checkin 1999-11-11 03:09:16 +00:00
saari%netscape.com
f448552385 Turning gFocusHandler into gEventDispatchHandler, a Mac event dispatch change. Should be fine without the rest of the focus changes, commiting to facilitate pink's need to change this file. R: pink 1999-11-11 03:08:31 +00:00
saari%netscape.com
39d29f17d7 Just checking in nsGUIEvent.h changes to start the focus landing... can't finish it without more reviews, but this change is reviewed and harmless. r: joki 1999-11-11 01:33:48 +00:00
ftang%netscape.com
5c0c5ef12e adjust XIM spot location code scince we change the nsCaret to return the bottom of the cursor intead of the top of the cursor ow. It look a little bit weired since the GFX didn't alight Japanese text base line right. r=erik 1999-11-11 00:58:14 +00:00
sfraser%netscape.com
41aec2efae Use OS call to get caret blink time on Windows, bug 15422. r=kin 1999-11-11 00:08:49 +00:00
ftang%netscape.com
5603e379d5 fix bug 17710, 12253, 18286. r=erik. hide the mIMEIsComposition into HandlStart/EndComposition method. +1 for size checking. remove startCompostion after we receive result. Add StartComposition if we have not start composition 1999-11-10 23:43:46 +00:00
ftang%netscape.com
92db3f78b1 1. fix 7571. review by ftang/pierre/saari 2. rewrite Mac IME code r=brade 1999-11-10 23:41:21 +00:00
pavlov%netscape.com
9729a5200f fixes for pasting unicode text for bug 18276 r=akkana 1999-11-10 07:26:06 +00:00
pavlov%netscape.com
de083ed17b fix for bug 1004 (native system colors) r=blizzard,smfr 1999-11-10 07:20:33 +00:00
blizzard%redhat.com
4b0bcc72c9 include ctype.h so isprint() is defined. a=choffman 1999-11-09 19:20:24 +00:00
beard%netscape.com
fd8a0a6599 implementing InvalidateRegion. r=sfraser, a=chofmann, bug=porkjockey painting 1999-11-08 04:05:26 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
dmose%mozilla.org
2270b25a3c updated license boilerplated to xPL 1.1, a=chofmann 1999-11-06 02:06:26 +00:00
waterson%netscape.com
d9a983939b Fix leak with nsCOMPtr. r=brendan, a=brendan 1999-11-05 00:52:23 +00:00
blizzard%redhat.com
8512fddc14 patch to fix backspacing from quy@igelaus.com.au. a=choffman 1999-11-03 20:25:19 +00:00
pavlov%netscape.com
ac4d4dc3e0 work on nsIWidget r=alecf 1999-11-03 08:04:59 +00:00
pavlov%netscape.com
21250b2278 work on scrolling, CSS2 native system colors, etc. r=mcafee 1999-11-03 07:34:50 +00:00
joki%netscape.com
1675be15e0 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
pinkerton%netscape.com
7bb51a30d4 turn off very verbose debug output. r=saari 1999-11-02 21:39:47 +00:00
pinkerton%netscape.com
5a870d01c1 set event struct type for drag events. previously uninitialized and caused random things to occur during drags (r=saari). 1999-11-02 21:04:40 +00:00
ftang%netscape.com
21f53bdfa9 add debuggin message for bug 7571. r=nhotta 1999-11-02 06:54:37 +00:00
pavlov%netscape.com
e7a37bf97c break in the switch, don't fall through *doh* r=duncan@be.com 1999-11-02 01:25:00 +00:00
alecf%netscape.com
649ac66265 cleanup NS_IMPL_MODULE and friends
- define new nsModuleComponentInfo and use it instead of components_t
- use size_t instead of unsigned int
- add some docs
- allow user to define own module name
1999-11-02 01:12:32 +00:00
putterman%netscape.com
78f2d9a8b7 Release mNativeDragTarget to fix leaks. no bug. reviewed by rods. 1999-11-01 21:53:06 +00:00
beard%netscape.com
e843778401 changed gInstanceClassName from char[256] to const char* to save space. r=sfraser 1999-10-30 04:02:54 +00:00
beard%netscape.com
8e7466a63f changed gInstanceClassName from char[256] to const char* to save space. added NS_IF_RELEASE(mFontMetrics) to destructor to fix memory leak. bug=15380, r=sfraser 1999-10-30 04:02:50 +00:00
Jerry.Kirk%Nexwarecorp.com
413c60e824 Changing mClipSibling to False in preparation to popup change
Pavlov is working on/thinking about... I'm sure he will see it my
way eventually...
r=kedl
1999-10-29 23:16:57 +00:00
akkana%netscape.com
17ebdf8aaa Remove one GDK_question. Trivial one-line fix 1999-10-29 22:37:18 +00:00
akkana%netscape.com
9816376095 17305: Add ? to the list of fakie-shifted keycodes. r=pavlov 1999-10-29 19:33:57 +00:00
pavlov%netscape.com
5ee5cd78a8 remove some tabs and add a check for null (bug 17252) r=syd 1999-10-29 09:03:53 +00:00
dp%netscape.com
ed4f0afe1a Converting to module. r=kipp 1999-10-28 20:59:49 +00:00
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