4556 Commits

Author SHA1 Message Date
pinkerton%netscape.com
bd26e1a800 remove window tweaking and the hacks for it in the stub wdef. gets rid of negative width/height on windows when moving which OSX didn't like. prevent infinite recursion in live-resize code from us calling SizeWindow() ourselves. r=saari/sr=sfraser/a=asa, bugs 83629, 85110)
git-svn-id: svn://10.0.0.236/trunk@97126 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 04:56:32 +00:00
saari%netscape.com
78f08339d4 fix for 84501, focus memory broken on windows. a=blizzard, r=bryner, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@97121 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 03:46:35 +00:00
rods%netscape.com
d4d556c09e The problem is you can't do the roll up in the middle of a "hook" function call.
So a timer is native created and the DealWithPopups is called there.
Bug 83493 r=kmcclusk sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@97114 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 02:08:39 +00:00
blizzard%redhat.com
5499b261e4 Fix bug #83157. Make the embedding widget handle reparenting and unrealize/re-realize. r=bryner,sr=tor,a=asa
git-svn-id: svn://10.0.0.236/trunk@97113 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 02:07:04 +00:00
rods%netscape.com
7a486ef119 We will now be using the native print dialog and extending it with the Frame printing options
The localization is still done, but only on the new controls that are added.
So this removes the two unneeded dialogs
Bug 78319 r=kmcclusk sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@97105 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 01:07:59 +00:00
pavlov%netscape.com
af67a36bda patch from andrew.taylor@cal.montage.ca. r=pavlov sr=blizzard a=asa
git-svn-id: svn://10.0.0.236/trunk@97026 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 01:22:09 +00:00
pinkerton%netscape.com
d0f45dcc19 when responding to window change events, make sure that we're resizing the window before invalidating it. solves perf regression with moving windows. r=pchen/sr=sfraser/a=asa. bug# 84574
git-svn-id: svn://10.0.0.236/trunk@96993 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 23:21:26 +00:00
sfraser%netscape.com
9187bad8ce Fix for bug 82474; ignore the console window on Mac when sending off events. r=conrad, sr=scc, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@96906 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-11 23:44:46 +00:00
yokoyama%netscape.com
0038dd1b10 bug: 73882
Processing WM_FONTCHANGE msg and update font cache and global font list.
r=rbs, sr=blizzard, a=asa


git-svn-id: svn://10.0.0.236/trunk@96902 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-11 22:42:27 +00:00
blizzard%redhat.com
cd442dd6b2 Fix bug #82697. Crash when typing at the end of the location bar for systems that have gtk compiled with G_DISABLE_CHECKS defined. Also gets rid of the annoying Gtk warnings about gdk_window_ref() failing. r=pavlov,sr=tor,a=asa
git-svn-id: svn://10.0.0.236/trunk@96781 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 14:33:05 +00:00
pinkerton%netscape.com
f6f5aed0bc create a new window type for the hidden window so that we can recognize it from Widget. On MacOSX, override the carbon event that repositions windows on-screen for the hidden window only. Let normal windows pass-through. r=danm/sr=sfraser/a=asa. bug 84023.
git-svn-id: svn://10.0.0.236/trunk@96761 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 00:16:13 +00:00
pavlov%netscape.com
3a117dc62a fix for bug 55312 r=bzbarsky@mit.edu sr=blizzard a=tor
git-svn-id: svn://10.0.0.236/trunk@96747 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 21:59:37 +00:00
mkaply%us.ibm.com
aa81283ca4 EMX build break - OS/2 only - builtin.h is VACPP only
git-svn-id: svn://10.0.0.236/trunk@96527 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 14:07:23 +00:00
nhotta%netscape.com
cdf398806f Changed nsFilePicker::Show to set a larger buffer for the directory name string and make sure to free the memory returned by GetPath(),
bug 83345, r=law, sr=blizzard, a=blizzard.


git-svn-id: svn://10.0.0.236/trunk@96453 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 21:30:17 +00:00
bstell%netscape.com
7a4fb79e29 fix HPUX bustage
git-svn-id: svn://10.0.0.236/trunk@96419 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 08:58:07 +00:00
bstell%netscape.com
bbd849af0c remove forward struct declaration to fix HPUX/AIX/IRIX compile bustage
git-svn-id: svn://10.0.0.236/trunk@96418 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 07:26:31 +00:00
bstell%netscape.com
e27188c16b bug 61439: workaround X server bug so non-US users can enter email addresses
when autocomplete popup is up
r=pavlov@netscape.com, sr=blizzard@mozilla.org, a=asa@mozilla.org
add hooks to intercept the XKeyPressedEvent/XKeyReleasedEvent
so we can simulate the Mode_switch bit


git-svn-id: svn://10.0.0.236/trunk@96417 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 06:14:48 +00:00
bstell%netscape.com
92f4d30f94 bug 61439: workaround X server bug so non-US users can enter email addresses
when autocomplete popup is up
r=pavlov@netscape.com, sr=blizzard@mozilla.org, a=asa@mozilla.org
Code to note when the Mode_switch keycode is pressed/released.
When the Mode_Switch key is down set the Mode_switch bit in the
XKeyPressedEvent.


git-svn-id: svn://10.0.0.236/trunk@96416 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 06:07:13 +00:00
bstell%netscape.com
1db74feeb6 bug 61439: workaround X server bug so non-US users can enter email addresses
when autocomplete popup is up
r=pavlov@netscape.com, sr=blizzard@mozilla.org, a=asa@mozilla.org
Code to note when the Mode_switch keycode is pressed/released.
When the Mode_Switch key is down set the Mode_switch bit in the
XKeyPressedEvent.


git-svn-id: svn://10.0.0.236/trunk@96414 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 05:58:14 +00:00
blizzard%redhat.com
94e41d29ac Fix bug #41527. Can't use xremote to open a url in the current window. r=dbaron,sr=tor,a=asa
git-svn-id: svn://10.0.0.236/trunk@96382 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 00:55:16 +00:00
nhotta%netscape.com
ffaf244f57 Added an attribute for the charset conversion so that it fallback to a question mark in case of conversion error,
bug 83218, r=pinkerton, sr=blizzard, a=asa.


git-svn-id: svn://10.0.0.236/trunk@96361 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 00:02:29 +00:00
pchen%netscape.com
fc01c4c229 bug 78409, r=pinkerton, sr=hyatt, a=asa, apply patch for bug 66848 which fixes submenus not knowing that its parent menu popped up in the opposite direction (usually because of hitting a screen boundary)
git-svn-id: svn://10.0.0.236/trunk@96344 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:03:24 +00:00
pinkerton%netscape.com
6aa688e9af fix timers on osx. r=pchen/sr=sfraser/a=asa. bug# 75499.
git-svn-id: svn://10.0.0.236/trunk@96330 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 22:40:53 +00:00
pinkerton%netscape.com
7d39c7598b keep menu id's in sync between menu and menubar. bug 83187, r=saari/sr=smfr/a=asa.
git-svn-id: svn://10.0.0.236/trunk@96198 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-01 23:39:27 +00:00
pinkerton%netscape.com
79e43e38c2 add live-resizing for macosx. expose update/resize in the event handler to avoid having to hack up EventRecords to fake events. r=saari/sr=smfr/a=asa.
git-svn-id: svn://10.0.0.236/trunk@96197 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-01 23:38:27 +00:00
pinkerton%netscape.com
5c32fb0a1d add 'about mozilla' item and impl to carbon menu code. fix indentation. bug#83187, r=saari/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@96027 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 23:18:26 +00:00
mkaply%us.ibm.com
db06052753 when the widget is being destroyed, check if it is the rollup widget and clear that out before it's too late.
r=saari/sr=hyatt/a=blizzard
bug# 51603


git-svn-id: svn://10.0.0.236/trunk@96023 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 23:05:27 +00:00
jag%tty.nl
8e5c6c7d42 Fix MOZ_TRACK_MODULES_DEPS builds bustage (senna), adding "intl" to REQUIRES in widget/src/gtk/Makefile.in
git-svn-id: svn://10.0.0.236/trunk@95967 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-26 20:14:34 +00:00
dcone%netscape.com
c8e45055cc bug=78319 Checkin for Rods a=Blizzard sr=waterson r=kmcclusk. Improvement for localization of the printer dialog.
git-svn-id: svn://10.0.0.236/trunk@95962 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-26 15:49:43 +00:00
sspitzer%netscape.com
7e34fe3d2f fix some bustage on HPUX for pinkerton
git-svn-id: svn://10.0.0.236/trunk@95941 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 23:17:15 +00:00
pinkerton%netscape.com
f549b2ce9b backing out addition so we can figure out why it doesn't compile.
git-svn-id: svn://10.0.0.236/trunk@95936 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 22:38:58 +00:00
pinkerton%netscape.com
fdc0122f33 one more time for the short bus.
git-svn-id: svn://10.0.0.236/trunk@95935 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 22:08:00 +00:00
pinkerton%netscape.com
f4030b014d i'm an idiot. fix bustage and typo.
git-svn-id: svn://10.0.0.236/trunk@95926 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 20:46:01 +00:00
pinkerton%netscape.com
6f9f66996a popups now appear in the modal layer on osx, added more slop to fix osx bug where moving windows near their current location would move them to -1,-1. r=pchen/sr=smfr/a=asa. bug# 58226.
git-svn-id: svn://10.0.0.236/trunk@95921 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 18:45:43 +00:00
pinkerton%netscape.com
464d31c823 when the widget is being destroyed, check if it is the rollup widget and clear that out before it's too late. r=saari/sr=hyatt/a=blizzard. bug# 51603.
git-svn-id: svn://10.0.0.236/trunk@95919 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 18:33:10 +00:00
roc+%cs.cmu.edu
8932054c7a Part of fix for bug 77507. Make Windows return colors with a valid alpha channel. sr=waterson,r=kmcclusk,rods,a=blizzard
git-svn-id: svn://10.0.0.236/trunk@95911 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 14:48:31 +00:00
rods%netscape.com
f6aa2e2682 Using windows SetWindowsHookEx to "hook" for certain native events in order to rollup
the combobox when embedded.
Also, makes Windows calls to determine the sensitivity of mouse moves instead of using
a hard coded value of 5 pixels (Bug 79037)
Bug 81416 & 79037
r=kmcclusk@netscape.com sr=hyatt a=blizzard


git-svn-id: svn://10.0.0.236/trunk@95904 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 10:53:32 +00:00
briane%qnx.com
c54f63fc16 Photon build only
Bug fixes for menus, popup windows and some code cleanup


git-svn-id: svn://10.0.0.236/trunk@95870 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-24 14:35:51 +00:00
ftang%netscape.com
74b8f582d0 fix bug 74088. check in for katakai@japan.sun.com
r=ftang/pavlov sr/a=blizzard
change the key event init code so we can handle the keysym correctly for
non ASCII keys


git-svn-id: svn://10.0.0.236/trunk@95848 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-24 01:07:41 +00:00
mkaply%us.ibm.com
72939dbcb6 #78655
r=mkaply, a=blizzard
Code from cls - Make all printfs DEBUG


git-svn-id: svn://10.0.0.236/trunk@95725 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 23:13:23 +00:00
mkaply%us.ibm.com
537cb5260a #76257
r=mkaply,danm, a=blizzard
Code from jblanco - Implement SetSizeMode on OS/2


git-svn-id: svn://10.0.0.236/trunk@95704 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 21:49:16 +00:00
mkaply%us.ibm.com
cbb03d8099 #80274
r=mkaply, sr=blizzard
Code from yokoyama - fix keyboard layout switching


git-svn-id: svn://10.0.0.236/trunk@95656 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 04:07:07 +00:00
blizzard%redhat.com
11efaf1bb5 Fix bug #81826. When using plug/socket ( like in nautilus ) popup menus will some times come up in the wrong place. Invalidate the position cache based on the true toplevel window instead of the widget toplevel. r=pavlov,sr=tor
git-svn-id: svn://10.0.0.236/trunk@95565 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-20 19:44:41 +00:00
hewitt%netscape.com
69847ccb9d 78882 - Dragging a bookmark into the personal toolbar causes all items to be deleted, r=ben, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@95551 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-20 05:58:25 +00:00
jst%netscape.com
535c86019d scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
vidur%netscape.com
1da03054fb Continuing fix for bug 18843. Added onload and onerror events for loaded scripts. r=nisheeth, sr=jst
git-svn-id: svn://10.0.0.236/trunk@95490 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 01:21:57 +00:00
mkaply%us.ibm.com
f4744b43c0 #79954
r=mkaply, a=blizzard
Part 1: Map WM_CHORD to button 3 click - OS/2 only


git-svn-id: svn://10.0.0.236/trunk@95397 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 14:14:00 +00:00
saari%netscape.com
64b9ba3dd5 fix for 78514, r=pink, sr=hyatt. Windows only temporary (until focus gets totally overhauled) hack to support embedding applications better. This causes our app to relinquish focus to native chrome in the embeddor's app. To do this, we check if the window that is about to get focus is a mozilla window. If not, we obey wm_killfocus like a normal app, and don't wait for the following focus to send the blur event.
git-svn-id: svn://10.0.0.236/trunk@95393 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 12:07:42 +00:00
evaughan%netscape.com
a4d0ce6ac8 Fix for bug #80902
-r jeff@tcbnetworks.com -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan


git-svn-id: svn://10.0.0.236/trunk@95337 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 23:52:32 +00:00
pinkerton%netscape.com
50bcb65c7f add support for context menu key. use focussed element as the target, not the mouse coordinates. r=roc,dean_tessman@hotmail.com/sr=hyatt. bug#74410, 36665.
git-svn-id: svn://10.0.0.236/trunk@95274 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 18:37:50 +00:00