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

3136 Коммитов

Автор SHA1 Сообщение Дата
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