warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
disttsc%bart.nl
98e8e25ea6
Fixes several Gdk related key event problems on Linux / Solaris. r=,mo=Pavlov, a=blizzard
...
bug 53667 - alt + left/right doesn't navigate back/forward
bug 55792 - ctrl + left/right not skipping words
bug 54694 - ctrl + left segfaults
git-svn-id: svn://10.0.0.236/trunk@81339 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 01:17:06 +00:00
mcafee%netscape.com
d8ad9ef70e
Fix alt-backarrow, alt-forwardarrow patch=jag, r=mcafee, sr=alecf (53667)
...
git-svn-id: svn://10.0.0.236/trunk@81238 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 21:40:19 +00:00
akkana%netscape.com
f8e7599ce6
More 50252: Handle the gtk keypad keys too. r=kin,pavlov
...
git-svn-id: svn://10.0.0.236/trunk@79582 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:02:30 +00:00
akkana%netscape.com
eac61c4ec3
50252: Fix non-alphabetic control/alt key events. r=kin,pavlov
...
git-svn-id: svn://10.0.0.236/trunk@79555 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:40:04 +00:00
akkana%netscape.com
eeebc2cd6a
50252: fix key events for printable but non-alphabetic keys. r=dr
...
git-svn-id: svn://10.0.0.236/trunk@79453 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:50:50 +00:00
bryner%uiuc.edu
76b362f237
This is a better fix for 42345. It should fix some of the "window opening
...
offscreen" problems people have been seeing. r=blizzard.
git-svn-id: svn://10.0.0.236/trunk@77267 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:37:47 +00:00
blizzard%redhat.com
27e8e339fc
back out changes described in bug #46901 since it breaks DOM key press events as described in bug #14856 . a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@76758 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 15:51:33 +00:00
bryner%uiuc.edu
fc97c0badb
Fixing bug 42345 - hook up NS_MOVE events when a toplevel window is moved
...
on Linux. Also use get_root_origin instead of get_origin so that we
persist the correct position. r=blizzard.
git-svn-id: svn://10.0.0.236/trunk@76574 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 20:51:43 +00:00
pavlov%netscape.com
b0f48e963e
avoid pulling the event out of the queue and putting it right back when typing.. working on linux performance bug 26502 r=beard
...
git-svn-id: svn://10.0.0.236/trunk@75865 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 05:16:17 +00:00
brade%netscape.com
68f69bf122
don't disable shift flag if any other modifiers are pressed and the key isPrintable (is a character); r=akkana, ftang; bug #46004
...
git-svn-id: svn://10.0.0.236/trunk@74740 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 14:12:39 +00:00
blizzard%redhat.com
467bf3303a
fix focus problems documented in bug #45351 . make sure that key press events are not passed to mozilla windows when an external gtk widget has focus and make sure that key press events are passed to mozilla when it has focus and a key press event happens outside of its windows. r=pavlov a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@74164 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 11:48:28 +00:00
blizzard%redhat.com
757fa0cb81
fix for bug #44116 . rewrite gtk focus handling. r=pavlov,akk a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@74035 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 21:57:43 +00:00
blizzard%redhat.com
0fd07c8cdf
fix for bug #43305 . reduce the number of paints and fix leaking items into a linked list when scrolling. this should make linux a little faster. r=bryner,pavlov,imoT a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@73655 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-04 19:05:47 +00:00
blizzard%redhat.com
16011dbc3d
Change the way that focus is handled for toplevel windows and the GtkMozArea. This will allow us to track whether or not any Mozilla window has the focus.
...
Add code to properly propagate key press/key release events to the toplevel window if a Mozilla window doesn't have focus. This fixes focus in the embedding case and will allow other gtk windows that have focus to get key events.
Add code to allow a Mozilla child window to be created as the child of any ol' GtkContainer class. This means that parent's don't have to worry about creating a superwin or any of that garbage. This makes embedding much, much easier. r=pavlov@netscape.com ,hidetoshi.tajima@eng.sun.com
git-svn-id: svn://10.0.0.236/trunk@67839 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:33:43 +00:00
bryner%uiuc.edu
9238a4494c
Stop building the unused native widgets (these were removed from the win32
...
build awhile back). Also remove unused code relating to these
widgets. r=blizzard.
git-svn-id: svn://10.0.0.236/trunk@67704 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 04:35:30 +00:00
akkana%netscape.com
3753603232
35961: Add missing keycodes for { } |
...
git-svn-id: svn://10.0.0.236/trunk@67146 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:54:53 +00:00
blizzard%redhat.com
60907f527e
fix for bug #14856 . this fixes DOM key events on linux so that a keyrepeat is keydown, keypress, keypress, keypress, keyup like it should be. r=syd
...
git-svn-id: svn://10.0.0.236/trunk@66171 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 04:45:08 +00:00
blizzard%redhat.com
d070060a8b
fix for 26508. when an event that happens on a real GtkWidget and it's the child of a superwin that is being grabbed, temporarily add a GtkGrab to that widget. r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@63683 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:45:51 +00:00
blizzard%redhat.com
264b160f08
fix for bug #26508 . rewrite the main event hander for gtk to properly handle all the possible grab combinations properly. this should fix problems with scrollbars on popups and on modal dialogs.
...
git-svn-id: svn://10.0.0.236/trunk@63318 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:05:00 +00:00
pavlov%netscape.com
349ffba06c
use a comptr for the nsIRegion in nsWidget, fix a leak with lookandfeel objects in widget that both dbaron@fas.harvard.edu and I found at about the same time. and clean up more carefully and avoid processing events if we are destroyed or being destroyed to avoid those natsty lil crashes. fixes bug 20291 and 29342
...
git-svn-id: svn://10.0.0.236/trunk@62692 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 07:26:04 +00:00
tajima%eng.sun.com
1e0ecbf684
Contributors:
...
Masaki Katakai (katakai@japana.sun.com )
Hidetoshi Tajima (tajima@eng.sun.com )
Reviewers:
Yung-Fong Tang (ftang@netscape.com )
Stuart Parmenter (pavlov@netscape.com )
Erik van del Poel (erik@netscape.com )
Submitter of code changes:
Hidetoshi Tajima (tajima@eng.sun.com )
Approver:
Chris Waterson (waterson@eng.sun.com )
Bugs fixed:
17916, 28022, 28875, 20983
git-svn-id: svn://10.0.0.236/trunk@61902 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 21:51:20 +00:00
blizzard%redhat.com
2bafe6dcf0
a real fix for #28216 instead of the previous work around. also fixes the unix part of bug #27791 .
...
git-svn-id: svn://10.0.0.236/trunk@61777 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 06:13:27 +00:00
pavlov%netscape.com
59543a6b11
fix for bug 27734 r=saari
...
git-svn-id: svn://10.0.0.236/trunk@60948 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 22:36:19 +00:00
pavlov%netscape.com
49aa03fcb7
remove bogus comments.
...
git-svn-id: svn://10.0.0.236/trunk@59717 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 02:03:36 +00:00
pp%ludusdesign.com
637edb15e8
Conversion of ::GetIID() to NS_GET_IID(). Bug #20232 , r=scc@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@59703 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 00:39:15 +00:00
ftang%netscape.com
586e502e5a
fix bug 24614 24615 and 20932. Move OnKey to nsWidget from nsWindow and rename it OnInput. Add OnText and OnComposition for text and composition event. remove duplicate XIC spot update code. Make the IME event go through the same code
...
which deliever key event so the focus will be correct. r=erik
git-svn-id: svn://10.0.0.236/trunk@58983 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 01:09:26 +00:00
ftang%netscape.com
1dab73272c
fix bug 7614. call the xterm keysym2ucs function to convert keysym which
...
XmbLookupString do not understand to unicode. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@57634 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 05:20:51 +00:00
pavlov%netscape.com
cb6ca83984
throw out some events cause they don't look too useful. r=alecf
...
git-svn-id: svn://10.0.0.236/trunk@56782 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 01:26:55 +00:00
ftang%netscape.com
cfa1a18207
partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@56377 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 07:56:40 +00:00
pavlov%netscape.com
8064935684
patch from tor@cs.brown.edu. fixes bustage on lots of silly compilers (bug 22133) r=me a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@56215 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-19 14:50:00 +00:00
pavlov%netscape.com
be820323ad
more work on drag and drop, fix some leaks and make handling of exposes faster and add a little icon so that if you minimize it in some wm's and apps you see the pretty mozilla star logo (icon patch from andersca@swipnet.se) r=blizzard a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@56157 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 23:46:56 +00:00
blizzard%redhat.com
2ee7529119
Paint the damaged region right after a scroll instead of polling for the event. Also, don't repaint those areas we know we took care of already. r=pavlov, a=shaver,brendan
...
git-svn-id: svn://10.0.0.236/trunk@56081 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 04:27:22 +00:00
blizzard%redhat.com
11a7886ad8
Start on DND for gtk. This is part of bug #9642 . r=pavlov a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@55975 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 05:15:30 +00:00
blizzard%redhat.com
31ec3a3962
code to prevent creating a window that is a child of an nsIWidget that has already been destroyed
...
git-svn-id: svn://10.0.0.236/trunk@54596 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 21:28:57 +00:00
akkana%netscape.com
c13d4152e3
Define semicolon as well as colon. r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@54345 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 00:04:20 +00:00
blizzard%redhat.com
6eaf2d5023
fix bug #14131 . popup windows on modal dialogs should work now.
...
git-svn-id: svn://10.0.0.236/trunk@54302 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 20:55:57 +00:00
ftang%netscape.com
c32a6e4c6f
fix 19132 19135 ane partial fix 12090. implement nsIKBStateContorl for gtk. call ResetInputState from mouse button press. force ime to commit in ResetInputState and send the uncommitted text by using composition start/end and text event. move unicode conversion for IME into nsGtkIMEHelper class. r=erik
...
git-svn-id: svn://10.0.0.236/trunk@53938 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 01:14:23 +00:00
blizzard%redhat.com
b0b5056241
fix for modal dialogs. fixes bug #16310 . r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@53814 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 03:19:43 +00:00
blizzard%redhat.com
ffeade219f
land SUPERWIN
...
git-svn-id: svn://10.0.0.236/trunk@53743 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 04:06:21 +00:00
erik%netscape.com
df64dd2187
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
git-svn-id: svn://10.0.0.236/trunk@53538 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 21:14:05 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
akkana%netscape.com
d167106925
Remove one GDK_question. Trivial one-line fix
...
git-svn-id: svn://10.0.0.236/trunk@52280 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 22:37:18 +00:00
akkana%netscape.com
e367bbd2be
17305: Add ? to the list of fakie-shifted keycodes. r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@52239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 19:33:57 +00:00
ftang%netscape.com
c3b0a312fc
remove unnecessary #ifdef USE_XIM. r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@52079 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 13:16:07 +00:00
akkana%netscape.com
018a1629cf
17305: Fix ? handling. Also add myself to a debug ifdef. r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@52011 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 22:53:52 +00:00
akkana%netscape.com
b3f6f6906c
15463: Re-enable XIM code, add keycode mappings for shifted characters
...
git-svn-id: svn://10.0.0.236/trunk@51748 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 22:11:23 +00:00
akkana%netscape.com
2a83eeebf7
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
git-svn-id: svn://10.0.0.236/trunk@51277 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 20:04:40 +00:00
pavlov%netscape.com
2a38ab0914
revert some key code to pre branch landing so that typing works correctly
...
git-svn-id: svn://10.0.0.236/trunk@50993 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 16:08:16 +00:00
pavlov%netscape.com
0d172a490d
work around for not being able to type in text fields on unix without them closing your apps.
...
16564 and 16542 r=smfr
git-svn-id: svn://10.0.0.236/trunk@50966 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-17 23:27:50 +00:00