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

3310 Коммитов

Автор SHA1 Сообщение Дата
erik%netscape.com a0a975eda2 bugs 15496 and 15520; put the input method window at the right location
when the user focusses a window and when the user types into the window;
coded by tajima@eng.sun.com; r=erik
1999-11-15 21:14:05 +00:00
ftang%netscape.com 4ebd4b8e05 add nsIKBStateControl for IME force commit and password field disable. Change window implementation to implement nsIKBStateControl in nsWindow. Fix 12250 by filtering out the composition window flag in OnIMESetContext. r=erik 1999-11-15 20:57:41 +00:00
pavlov%netscape.com b87b60347f I suck. 1999-11-15 11:40:00 +00:00
pavlov%netscape.com 34b945af4d add GetDefaultString() r=mozbot 1999-11-15 11:16:06 +00:00
pavlov%netscape.com aed6a85480 unix nsIFilePicker implimentation r=travis 1999-11-15 10:36:10 +00:00
pavlov%netscape.com fc62c33592 show returns a short instead of a boolean r=travis 1999-11-15 10:19:00 +00:00
pavlov%netscape.com a5fdd299a5 added files: mozilla/widget/public/nsIFilePicker.idl 1999-11-15 09:34:26 +00:00
pavlov%netscape.com eb302bc2d8 add nsIFilePicker.idl to the manifest 1999-11-15 09:33:34 +00:00
pavlov%netscape.com 297a5d2789 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 7624ca355d create one true scriptable file picker interface r=travis 1999-11-15 08:13:40 +00:00
tbogard%aol.net 4465f2b8b2 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 47612149af Removed nsKeyBindMgr.cpp from teh project. 1999-11-15 06:44:04 +00:00
tbogard%aol.net be0be2e059 Removed these two files which are no longer used. r=pavlov. 1999-11-15 05:09:39 +00:00
blizzard%redhat.com 5602ff2235 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 a37a27d9e9 Fixes for #10737 (ftp download), overhauled to work better with Necko; r=valeski 1999-11-13 05:37:00 +00:00
saari%netscape.com 80a7ab6371 Landing focus changes. R: joki 1999-11-13 05:16:33 +00:00
saari%netscape.com b2ccc11f94 gtk widget changes to facilitate new focus work. R: pavlov 1999-11-13 04:53:18 +00:00
sspitzer%netscape.com d610244e7a 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 6b664b2cf1 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 8f2bb27821 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 a9ecbd4d16 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 fe1e0f538c 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 63c3771c69 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 1ce32cac19 add the gtksuperwin library. this is not part of the build. a=granrose 1999-11-12 20:12:02 +00:00
warren%netscape.com 4471ddf809 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 130d8dcd0e 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 af9367b721 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 228e05bb4a 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 665b9c12f1 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 d7a4d3edb3 (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 e94a1494a8 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 5f5ab7ed4c 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 f1677eb066 remove ifdef gtk_fixed test stuff r=dmose 1999-11-11 20:47:10 +00:00
pinkerton%netscape.com f7cbebcf1a 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 5635b030d2 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 169248dffe 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 df3a5e0557 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 5b390883f8 Wire up margin settings from dialog. r=dcone 1999-11-11 14:20:19 +00:00
saari%netscape.com 309e64b61d part of previous checkin 1999-11-11 03:09:16 +00:00
saari%netscape.com c2d5ef5dfb 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 3ceebf8fe5 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 932064538c 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 f9183afae2 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 96956c48ff 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 e4e5a17e58 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 728dc4b6c8 fixes for pasting unicode text for bug 18276 r=akkana 1999-11-10 07:26:06 +00:00
pavlov%netscape.com 9feab124bd fix for bug 1004 (native system colors) r=blizzard,smfr 1999-11-10 07:20:33 +00:00
blizzard%redhat.com f6be9d7d8d include ctype.h so isprint() is defined. a=choffman 1999-11-09 19:20:24 +00:00
beard%netscape.com 75207edcd7 implementing InvalidateRegion. r=sfraser, a=chofmann, bug=porkjockey painting 1999-11-08 04:05:26 +00:00
dmose%mozilla.org 8535dda53e 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 42fc94a6ec 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 665c17b956 updated license boilerplated to xPL 1.1, a=chofmann 1999-11-06 02:06:26 +00:00
waterson%netscape.com e59f99022c Fix leak with nsCOMPtr. r=brendan, a=brendan 1999-11-05 00:52:23 +00:00
blizzard%redhat.com 0e157064bd patch to fix backspacing from quy@igelaus.com.au. a=choffman 1999-11-03 20:25:19 +00:00
pavlov%netscape.com 39e1ba4ea9 work on nsIWidget r=alecf 1999-11-03 08:04:59 +00:00
pavlov%netscape.com 186fceb15a work on scrolling, CSS2 native system colors, etc. r=mcafee 1999-11-03 07:34:50 +00:00
joki%netscape.com d5c05ea133 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 0d4199fcfa turn off very verbose debug output. r=saari 1999-11-02 21:39:47 +00:00
pinkerton%netscape.com 82257192f6 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 da2f224dee add debuggin message for bug 7571. r=nhotta 1999-11-02 06:54:37 +00:00
pavlov%netscape.com 05da7a8083 break in the switch, don't fall through *doh* r=duncan@be.com 1999-11-02 01:25:00 +00:00
alecf%netscape.com 13eaac5db2 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 3504d7782a Release mNativeDragTarget to fix leaks. no bug. reviewed by rods. 1999-11-01 21:53:06 +00:00
beard%netscape.com 42d488bfee changed gInstanceClassName from char[256] to const char* to save space. r=sfraser 1999-10-30 04:02:54 +00:00
beard%netscape.com ec47c4b52f 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 e52648cda0 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 8c6591565a Remove one GDK_question. Trivial one-line fix 1999-10-29 22:37:18 +00:00
akkana%netscape.com 782f82ec28 17305: Add ? to the list of fakie-shifted keycodes. r=pavlov 1999-10-29 19:33:57 +00:00
pavlov%netscape.com cb49a17dd5 remove some tabs and add a check for null (bug 17252) r=syd 1999-10-29 09:03:53 +00:00
dp%netscape.com 11efe4dae0 Converting to module. r=kipp 1999-10-28 20:59:49 +00:00
dp%netscape.com 427ac7cca8 Convering to nsIModule. r=kipp 1999-10-28 20:57:29 +00:00
dp%netscape.com 701bf2e8b3 Remove delete on nsISupports. r=kipp 1999-10-28 20:44:45 +00:00
ftang%netscape.com da018bef74 remove unnecessary #ifdef USE_XIM. r=pavlov 1999-10-28 13:16:07 +00:00
Jerry.Kirk%Nexwarecorp.com e51f67a4c2 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 4766bcd316 Fix for this mornings crasher (17352) r=pavlov, mscott 1999-10-28 06:44:36 +00:00
braddr%puremagic.com d92727dc68 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 23832e6971 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 6ce991ee21 17305: Fix ? handling. Also add myself to a debug ifdef. r=pavlov 1999-10-27 22:53:52 +00:00
mscott%netscape.com bc4f864ef1 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 b49b3dbdce Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com b2ea5b4c45 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 93356026cd Finished implementing ListenToEventQueue.
r=kedl
1999-10-27 11:36:21 +00:00
saari%netscape.com 3f5758610e 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 40d7a9cb87 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 a1a9cb36ac 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 241718109f 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 c6e8683b06 change #ifdef DEBUG_tague to #if defined(DEBUG_tague) || defined(DEBUG_ftang) 1999-10-26 20:17:36 +00:00
Jerry.Kirk%Nexwarecorp.com 457559aa6d 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 4125213bc3 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 b90b28b319 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 d637845c3f 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 50f782cd42 15463: Re-enable XIM code, add keycode mappings for shifted characters 1999-10-25 22:11:23 +00:00
dp%netscape.com 94d79e100e 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 04f7a46e8f 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 882fb6588b 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 4b37cca123 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 ad1fefa208 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 b75849086b making GetACPString parameter const. part of submission from jamestoder@yahoo.com. r:me 1999-10-22 21:41:04 +00:00
jefft%netscape.com 9cd9ecf3be 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 1eec67de2e 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 1ad50f605d 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 59ec625f46 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 7270edc714 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 fcc6a10651 eliminate warnings, r=shaver 1999-10-20 18:59:00 +00:00
Jerry.Kirk%Nexwarecorp.com 518c4dcade 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 25343319f0 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 9233e301f7 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 6d7d6e5e82 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 0394d00fd0 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 efdde5dfa6 revert some key code to pre branch landing so that typing works correctly 1999-10-18 16:08:16 +00:00
danm%netscape.com 08db617cad moving Push/PopThreadEventQueue to nsIEventQueueService. r:hyatt@netscape.com 1999-10-18 15:08:45 +00:00
buster%netscape.com ef2ac5b601 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 355daff0a4 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 527516876e 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 8fe0f11097 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 a71b5567c9 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 c359d33b9b fixed 2 string memory leaks (bug #15380). r=saari 1999-10-15 03:57:45 +00:00
rpotts%netscape.com e7151e6080 bug #16328. Share a single nsToolkit instance among all widgets. 1999-10-15 00:49:11 +00:00
ftang%netscape.com fe2a2bc6b9 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 e4972d7ffc 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 bb8634c69c 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 bd9000ea54 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 bb0c43c52f 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 b1319b4798 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 dd835b32b3 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 fcae07f751 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 0383260ad7 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 dedbcb3246 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 ab20f5e245 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 e4689200df 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 2b60c91417 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 a445cb0aaf fix memory leaks (nsMacMessage sink). r=pavlov, bug=15380 1999-10-09 03:08:56 +00:00
dveditz%netscape.com 19d2005552 fixing Win32 debug build bustage with NS_LOG_ADDREF. r=mccabe 1999-10-09 02:09:31 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com b90a06a288 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
pavlov%netscape.com def6537a32 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 440b8f8a14 15712: Fix gtk double-click events. r=pavlov 1999-10-06 22:57:00 +00:00
kmcclusk%netscape.com 07851890e7 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 02937b74c2 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 4ecf314241 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 729701c1ca Tweaked refcnt munging to better support refcnt tracking 1999-10-05 23:58:32 +00:00
kipp%netscape.com 1849660445 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 21475d7d1c 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 0efe46b221 Added in ctor/dtor counting 1999-10-05 14:53:40 +00:00
shawnp%earthling.net 9b6e581720 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 585ecaa93b 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 50b2b69765 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 cd9bb1e41a 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 c0f0b35219 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 0427b85334 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 9d5df7b930 Implemented stub SetCheckboxType() and GetCheckboxType() functions.
Reviewed by ramiro@netscape.com.
1999-10-05 01:27:44 +00:00
shawnp%earthling.net 5a99630c35 Implemented stub GetEnabled() and IsHelpMenu() functions. Reviewed by
ramiro@netscape.com.
1999-10-05 01:26:39 +00:00
shawnp%earthling.net 310fe3df5d 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 8ecc7f012b 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 9b46f1ef68 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 5f609f478d 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 55eb29fcd7 Hack into compileable shape. 1999-10-04 08:52:17 +00:00
ramiro%netscape.com c6973263b7 Fix for xlib build bustage. 1999-10-04 04:49:45 +00:00
beard%netscape.com 4d1ac7a47a calling __NSInitialize/__NSTerminate to enable GC leak detector. r=smfr 1999-10-03 20:53:11 +00:00
beard%netscape.com 26ba00f59b 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 3953f290cd 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 97115c270b Photon Only...
Added ConsumeEvents parameter to CaptureRollupEvents
r=Michael.Kedl@Nexwarecorp.com
1999-10-01 21:54:47 +00:00
pierre%netscape.com f588951106 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 1404c9b219 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 1741d6d1f1 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 890d074ae3 remove files since we have idl files for both of these r=pinkerton 1999-10-01 20:16:36 +00:00
ramiro%netscape.com 6ca405327d fix build bustage. 1999-10-01 12:21:33 +00:00
pavlov%netscape.com 74a9d78f66 clean up interface (not built) 1999-10-01 11:17:27 +00:00
pavlov%netscape.com 0bc1cc54aa removing nsui.h 1999-10-01 11:06:07 +00:00
pavlov%netscape.com d2350c5e00 remove unused file 1999-10-01 11:04:57 +00:00
pavlov%netscape.com c10884a6d2 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 34269f2f9b use correct return type 1999-10-01 09:24:34 +00:00
pavlov%netscape.com 4cbc9784d7 fix build bustage - use correct return type 1999-10-01 09:23:50 +00:00
pavlov%netscape.com 8b2016044d remove headers that are now in MANIFEST_IDL r=shaver 1999-10-01 08:38:16 +00:00
pavlov%netscape.com 18226019c7 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 16c3db7c13 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 7607481dd2 remove GetNativeData since it isn't used r=shaver (for the entire checkin) 1999-10-01 08:33:41 +00:00
pavlov%netscape.com b2c67ac60c use idl files for these things 1999-10-01 08:32:30 +00:00
pavlov%netscape.com 72c95c7b9d 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 ec4fc37707 adding new files (not built yet) and updated nsIWidget.idl (not built either) 1999-10-01 08:19:08 +00:00
beard%netscape.com 4cc9499736 remove htmlparser from static linkage. r=vidur 1999-10-01 00:43:54 +00:00
vidur%netscape.com 60739c3c3d Removed parser static linkage. 1999-09-30 22:23:21 +00:00
vidur%netscape.com 9f8bfee01d Converted parser into a module. Removed static linkage of parser. 1999-09-30 22:08:24 +00:00
rods%netscape.com cd2c3b0283 Added ConsumeEvents parameter to CaptureRollupEvents 1999-09-30 14:36:17 +00:00
Jerry.Kirk%Nexwarecorp.com 8a2c0f6484 Added debug and some error checking for Photon 1999-09-30 12:29:30 +00:00
rods%netscape.com 1997e3eb64 Changed the metric used to calculate the Horizontal Inside Padding 1999-09-30 11:48:52 +00:00
ramiro%netscape.com 3f4f667849 Fix for bug 15245. Patch by tor. r=me 1999-09-30 06:09:21 +00:00
saari%netscape.com 2ee263efc7 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 c810869399 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 31840257ed QNX-specific fix, map usleep to sleep since QNX doesn't have usleep. 1999-09-29 03:19:00 +00:00
beard%netscape.com 1a1b210a47 fixing leaking toolkit and device contexts. 1999-09-29 01:25:19 +00:00
saari%netscape.com 05078b007e 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 e960d85cef 14464: Track saari's changes to make XUL key bindings work again 1999-09-29 00:34:19 +00:00
briano%netscape.com c9d18cad42 Added CaptureRollupEvents to fix the Motif-specific breakage. 1999-09-28 04:29:59 +00:00
alecf%netscape.com 137a500221 implement SetTitle to fix bustage 1999-09-28 03:22:11 +00:00
alecf%netscape.com 2f44cdc2c9 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 bc705fb546 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 7c441572f5 make menus partially dismiss on unix 1999-09-27 02:16:18 +00:00
akkana%netscape.com cd4d6f7d02 14862: Send proper triple-click count on Linux. a=leaf/r=pavlov 1999-09-24 20:08:53 +00:00
sfraser%netscape.com 189ce71353 Fix for 14804 -- make double-click handling better. r pierre, a chofmann. 1999-09-24 04:52:04 +00:00
pavlov%netscape.com 8d00fc1ccd remove printfs 1999-09-24 00:37:58 +00:00
pavlov%netscape.com ead8983801 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 10e16725cd 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 0ca4aff3f2 bug #10503: added SetZIndex & GetZIndex. a=leaf, r=troy 1999-09-23 23:26:25 +00:00
mcafee%netscape.com d410741388 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 59ba46d7a8 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 fe91710aa1 change api for ConvertKeyEventToUnicode to return charCode 1999-09-23 14:47:00 +00:00
rods%netscape.com 409467491c fixed rollup notification code 1999-09-23 12:03:44 +00:00
pavlov%netscape.com c9439e7aa9 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 4f970a5810 removing printf for every mouse move 1999-09-22 07:56:37 +00:00
mcafee%netscape.com 41f5904967 Adding nsWindow::StoreProperty() so we can hang Xatoms on windows. 1999-09-22 07:38:28 +00:00
pavlov%netscape.com e5950c2444 fix for 14292, 4289, 13051 1999-09-22 06:25:13 +00:00
joki%netscape.com de1d4abc32 Adding support for event.clickCount, obsoleting old dblclick event. 1999-09-22 02:29:33 +00:00
pinkerton%netscape.com cf9007d2df Oops, forgot to #include something 1999-09-22 01:01:24 +00:00
pinkerton%netscape.com 06afa85917 turn back on using the disk for large data sets. 1999-09-22 00:41:49 +00:00
pinkerton%netscape.com b5705b8c0e use nsPrimitiveHelpers to get data into and out of nsISupportsPrimitives. 1999-09-22 00:40:14 +00:00
pinkerton%netscape.com c330438cea turn off live-reflow during resize until cmd-key is down. 1999-09-22 00:39:37 +00:00
saari%netscape.com 6df67e6af3 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 1d5c01ccad 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 8153bba33f add nsPrimitiveHelpers.cpp to build. 1999-09-21 21:39:08 +00:00
dcone%netscape.com 5dfec65480 *** empty log message *** 1999-09-21 21:19:03 +00:00
rods%netscape.com 1a0ec26774 fixed up the processing of rollup events 1999-09-21 21:18:46 +00:00
dcone%netscape.com 171ee122cc Support of Rollup code 1999-09-21 21:18:45 +00:00
Jerry.Kirk%Nexwarecorp.com 3689b9be81 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 97bd5a61f4 initial checkin 1999-09-21 11:50:22 +00:00
rods%netscape.com e5d23a394f added CaptureRollupEvents for indicating when a dropdown should be rolled up 1999-09-21 11:25:03 +00:00
rods%netscape.com 363066896b *** empty log message *** 1999-09-21 11:22:21 +00:00
pinkerton%netscape.com afa96f78e8 First Checked In. 1999-09-21 00:08:25 +00:00
akkana%netscape.com 152df0f9a0 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 23798c4eef fixed bug 14271, delete key not generating a keyPress event on windows 1999-09-20 21:07:39 +00:00
Jerry.Kirk%Nexwarecorp.com ddbfd98bdd 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 39e5fe6519 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 d398844172 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 e24c83a66c 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 e85708bef6 implement HasDataMatchingFlavors 1999-09-17 02:43:08 +00:00
Jerry.Kirk%Nexwarecorp.com 60d1b380e3 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 2565636ec1 fix bustage 1999-09-16 07:07:26 +00:00
pavlov%netscape.com 422ab25990 add css2 color support for native colors to unix 1999-09-16 06:38:19 +00:00
pinkerton%netscape.com 0ea3f1517d adding the css2, win32-centric enums to GetColor. Not implemented yet. 1999-09-16 03:44:14 +00:00
briano%netscape.com daf5c2e0b1 Fixed my breakage. 1999-09-16 03:07:57 +00:00
briano%netscape.com eeaaec1cad Fixed the breakage caused by MOZ_GTK_CFLAGS not being defined in INCLUDES. 1999-09-16 03:02:37 +00:00
briano%netscape.com ce50e33d17 General cleanup. 1999-09-16 01:09:42 +00:00
ramiro%netscape.com 26dd94b010 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
sfraser%netscape.com 948f302454 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 c72b08b8c9 Change assertion to warning, because it's so damn annoying. 1999-09-15 00:43:46 +00:00
sfraser%netscape.com f549ca9efa Change border width of HTML input fields from 4 to 2. 1999-09-15 00:43:19 +00:00
akkana%netscape.com 411d4a729e I'm tired of seeing all the clipboard debug messages 1999-09-14 21:31:32 +00:00
pierre%netscape.com 3701332b19 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 c5aa24634c 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 1401d9e382 change a few comments 1999-09-13 20:30:36 +00:00