600 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
31d8f048f3 Bug 319957. Avoid unwanted invalidates of translucent windows on Windows. patch by Dainis Jonitis, r=ere,sr=roc
git-svn-id: svn://10.0.0.236/trunk@186244 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 03:00:41 +00:00
emaijala%kolumbus.fi
95a7f7e74b Fix for bug 312566: Fix MouseTrailer and other mouse handling issues
r=dougt, roc
sr=roc


git-svn-id: svn://10.0.0.236/trunk@185569 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 12:08:32 +00:00
timeless%mozdev.org
8a213cf6db Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185276 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 19:48:04 +00:00
masayuki%d-toybox.com
cdd0830892 b=315457 fix bustage
git-svn-id: svn://10.0.0.236/trunk@184898 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 06:30:23 +00:00
masayuki%d-toybox.com
7c0521d8d2 Bug 315457 IME candidate list is positioned to wrong position if the editor is on frame page r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184891 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 05:29:52 +00:00
masayuki%d-toybox.com
a231837325 Bug 316638 Sould not use obsoleted API(WINNLSEnableIME) patch by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> r=masayuki+timeless, sr=neil
git-svn-id: svn://10.0.0.236/trunk@184821 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-17 16:33:57 +00:00
masayuki%d-toybox.com
6948be6ab9 Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184612 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 23:55:24 +00:00
masayuki%d-toybox.com
96eaea8614 backing out previous patch b=55751
git-svn-id: svn://10.0.0.236/trunk@184606 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 22:33:39 +00:00
masayuki%d-toybox.com
6794b16a7b Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184594 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 21:32:16 +00:00
vladimir%pobox.com
94583ffcb4 thebes/cairo backend update. windows fonts through thebes, start of pango fonts through thebes. lots of other misc fixes. win32 static build fix.
git-svn-id: svn://10.0.0.236/trunk@184309 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 20:06:16 +00:00
emaijala%kolumbus.fi
77b99d15d5 Fix for bug 314543: backout patch of bug 307678, we need a better solution (work will continue in bug 312566)
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@184204 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-06 08:29:51 +00:00
dougt%meer.net
b58c419274 1) This only creates one softkey menu. If we create more then one, this cause
windows to be hidden between new window creations.  See bug 314552.

2) This also makes a improvement to mouse taps in a context menu.  Now we only
test for tab-and-hold (a "Gesture") when we are not displaying a context menu.
If we don't do this, the check for the gesture makes the context menu go away.

3) We also hide the software input panel when we are creating a dialog or a
window.  This insures that the windows ce SIP button never blocks the view of a
XUL implemented SIP.

windows ce. r=dveditz


git-svn-id: svn://10.0.0.236/trunk@184040 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 19:20:31 +00:00
roc+%cs.cmu.edu
2f9a442d4a Bug 312921. The window pixels for translucent windows are already premultiplied, don't premultiply them again in Windows. r+sr=roc, patch by Dainis Jonitis
git-svn-id: svn://10.0.0.236/trunk@183358 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 20:46:52 +00:00
bsmedberg%covad.net
836f36edc4 Bug 313927 - win32: opening a transparent/tranlucent window with "popup" shows taskbar item r=Dainis_Jonitis moa=roc
git-svn-id: svn://10.0.0.236/trunk@183131 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 16:22:01 +00:00
aaronleventhal%moonset.net
82fb3d035e Bug 313043. Crash when using AccessibleObjectFromWindow. r=parente, sr=bz
git-svn-id: svn://10.0.0.236/trunk@182576 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 02:35:46 +00:00
emaijala%kolumbus.fi
7562a4342b Fix for bug 307678 -- Fixing remaining MouseTrailer problems with dialogs.
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@182480 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 19:44:31 +00:00
dougt%meer.net
e38eac2580 Missed an ifdef. fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@182167 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-13 16:03:04 +00:00
dougt%meer.net
3492e5b8d6 Bug 297683 r/sr=dveditz.
Patch does the following:
1) Enables native theme support on WinCE so that things look more clean --
specifically scrollbars looks better.
2) SetGraphicsMode isn't implemented on WinCE.	I ifdef'ed it out for WINCE.  I
think stuart, vlad, and I will have to really determine if i need to implement
this in the WinCE shunt.  For now, keep everything building.
3) I enabled IMM support on WINCE, although it is very rarely used.  This
allows us to remove some ifdef's.
4) I am remapping the hardward keys to new values.
5) I am also allowing the SmartPhone softkey's and the Back button to be
remapped.

Mostly WinCE


git-svn-id: svn://10.0.0.236/trunk@182165 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-13 15:07:56 +00:00
vladimir%pobox.com
52b9030440 Merge from org.mozilla.cvs.cairo branch.
- Cairo 1.1.1
- Updated thebes, gfx/src/thebes
- Fixes to plugins with thebes gfx under linux
- Native theme fixes with thebes rendering (NOTE: widget changes only enabled when building with thebes, otherwise all old code)


git-svn-id: svn://10.0.0.236/trunk@181696 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-06 04:02:10 +00:00
masayuki%d-toybox.com
34356f5802 Bug 306209 Should fire NS_FOCUSCONTENT event on nsPluginInstanceOwner by clicking plugin's content patch by VYV03354@nifty.ne.jp r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@180488 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 09:41:37 +00:00
dougt%meer.net
f561f6ddf8 This patch does the following:
* Removes #ifndef WINCE around the OleRegisterMgr.  I have implemented the
required OLE functions in the windows ce shunt layer.

  * In nsWindow::InitEvent, i moved code from outside of the if-statement as it
was only being used within the true block.

  * In nsWindow::EventIsInsideWindow, we need to treat Activation events are
non-fatal.  That is to say, if a popup window gets an activation event, it
shouldn't cause the popup to go away on windows ce.

  * Removing the #ifndef WINCE around the dialog code.	Now eWindowType_dialog
really will get you a dialog just like on Windows.

  * I have stubbed out MA_* defines in the WinCE shunt layer.  This allowed us
to remove the #ifdef in nsWindow::ProcessMessage.

Window CE only.  r/sr=dveditz.  b=297683


git-svn-id: svn://10.0.0.236/trunk@179419 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 20:23:09 +00:00
masayuki%d-toybox.com
0c2ffc505d Bug 276727 Implement disable/enable IME API r=roc, timeless, pinkerton, amardare and katakai, sr=roc
git-svn-id: svn://10.0.0.236/trunk@178687 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 14:32:09 +00:00
roc+%cs.cmu.edu
5525e0f045 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
git-svn-id: svn://10.0.0.236/trunk@178666 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 03:57:07 +00:00
pavlov%pavlov.net
78af32406c moving native theme stuff to widget (bug 305291) and landing the remaining thebes gfx changes (bug 305538). r=vlad sr=roc
git-svn-id: svn://10.0.0.236/trunk@178659 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 02:11:54 +00:00
emaijala%kolumbus.fi
8b85bc6720 Fix for bug 297563: Transparency doesn't seem to work in 16bit color depth
patch by Dainis Jonitis
r=emaijala
sr=roc


git-svn-id: svn://10.0.0.236/trunk@178601 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 15:17:53 +00:00
emaijala%kolumbus.fi
02dd1da960 Fix for bug 304955: Crash when scrolling through page [@ nsWindow::GetTopLevelWindow]
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@178591 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 04:18:47 +00:00
masayuki%d-toybox.com
8265a09ab3 backing out previous my check-in b=276727
git-svn-id: svn://10.0.0.236/trunk@178162 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 14:53:14 +00:00
masayuki%d-toybox.com
76b018712e Bug 276727 Implement disable/enable IME API r=roc, timeless, pinkerton, amardare and katakai, sr=roc
git-svn-id: svn://10.0.0.236/trunk@178008 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 04:09:13 +00:00
dougt%meer.net
67c7bedf71 More WINCE Fix ups.
1) removes unused variable mBorderlessParent.
2) fixes a few bugs whereby I #ifdef out a case in a switch statement resulting
the default action being taken.
3) allowing gesture animation via a flag to SHRecognizeGesture.
4) returning a positive value to the WM_ACTIVATE message as the caller excepts
that.
5) GetWindowPlacement() is not implemented in the wince shunt library.	So, i
could remove some of the #ifndef WINCE code when handing WM_WINDOWPOSCHANGED.
6) Adjusting the window position when WM_SETTINGCHANGE is called with
SPI_SETWORKAREA.  This is a windows ce thing. Basically, you can go to full
screen and a WM_SETTINGCHANGE message is fired.
7) Lastly, when dealing with popups, we want to ignore the activate message
when deciding to roll up the popup.

r=benjamin, a=asa (wince only)


git-svn-id: svn://10.0.0.236/trunk@177866 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 19:15:06 +00:00
dougt%meer.net
a78aba81ed Fixing windows ce build bustage. WS_CHILDWINDOW is not supported.
git-svn-id: svn://10.0.0.236/trunk@177724 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-14 04:01:58 +00:00
emaijala%kolumbus.fi
32bf150d0f Fix for bug 297561: onmouseover , javascript alert shows twice
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@177709 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 18:00:33 +00:00
roc+%cs.cmu.edu
59ed7a18cc Bug 300297. Be careful about choosing the top-level window when making a transparent window. r+sr=me,a=shaver/cbeard,patch by Dainis.Jonitis
git-svn-id: svn://10.0.0.236/trunk@177632 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 03:29:18 +00:00
dougt%meer.net
dcbce66c5e Windows Ce only.
This patch does two things:
a) enables clipboard support on Windows CE.  It was pretty easy to port.  we
just don't support file clipboard type nor do we know what to do with drag and
drop.  Hence there are a few ifdef's sprinkled through out.  Also, i noticed
that the WinCE compiler chokeds on ::Global* for some reason.  Since these do
not need to be namespaced, I removed the "::".

b) detects windows ce tap-and-hold events via SHRecognizeGesture.  When we
discover that this occurs we fire a right mouse click.

r/sr=dveditz, a=asa.  bug=297683


git-svn-id: svn://10.0.0.236/trunk@177530 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 00:37:53 +00:00
dougt%meer.net
f21d1b6c96 Fixing bug 303995. Comparing the flags used in version 3.538 of nsWindow.cpp and what we are currently using you see a difference in both the popup and toplevel. This patch reverts my changes and takes us back to a good place. a/r/rs=benjamin
git-svn-id: svn://10.0.0.236/trunk@177432 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-09 16:00:08 +00:00
dougt%meer.net
1e09bdcab9 Cleaner ifdef's for Windows CE WindowExStyle. This allows dialogs on Windows CE to have an OKAY box instead of the minimize box. This change is WINCE only. b=297683 r/sr=dveditz, a=asa
git-svn-id: svn://10.0.0.236/trunk@177414 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-09 07:21:27 +00:00
dougt%meer.net
2fd983f93d This patch does the follow:
*)  First it allows hardware key that various devices have (so called HOTKEYs)
be mapped into the DOM (as F-KEYS).  This will allow application developers use
the standard hardware buttons on devcies in some interesting way.  This is
controlled via a preference.  it is to be defaulted on -- we will override the
hardware buttons and pass these events on.

*) Secondly, i have added a preference which controls if the top level windows
have a (X) box or a (OK) box in their upper right hand corner.	The difference
between these is that an (X) box only puts the top level window in the
background whereas the (OK) box actually is suppose close and destory the
window.  It is very important for developers (a time save) to have the ablity
to directly kill the window.  Without this, you have to go to Settings / System
/ Memory / Running Programs, then find your app and press "Stop".

This patch is WINCE only -- everything is within the correct #defines.

emaijala: review+
dveditz: superreview+
a=asa WinCE only.


git-svn-id: svn://10.0.0.236/trunk@176499 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-24 19:36:18 +00:00
dougt%meer.net
d30bb482b9 Implements DataToBitmap. We do not handle the cursor translucency, but it is
more then what we do currently.  Basically we are moving around ifdef's here.

Fixes GetSysFontInfo.  For windows CE we correctly return the System Font.

r=emaijala, sr=dveditz, a=asa, b=297683 WINCE ONLY.


git-svn-id: svn://10.0.0.236/trunk@176195 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-18 16:04:45 +00:00
aaronleventhal%moonset.net
40b6366b17 Bug 300642. Fix regression from fastback that broke page loading in screen readers. r+sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/trunk@176121 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 02:35:19 +00:00
dbaron%dbaron.org
25b210b22c Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@175468 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 04:29:42 +00:00
dougt%meer.net
7df76a375c This patch does two things:
1) Correctly handles dropdown menus.  In earlier version of nsWindow for WinCE
we basically totally ignored handling events that were outside of the popup.
The result was that if you happen to popup a menu, it wouldn't go away unless
you clicked on a item.  If there we no ideas, well you were hosed.

2) Correctly handles the WM_WINDOWPOSCHANGED event.  Prior to this, if the
browser ever was resized or moved, we would ignore the event.  We can not
process the WINDOWPLACEMENT and instead just always focus.

r=emaijala, sr=dveditz, a=asa
wince only.


git-svn-id: svn://10.0.0.236/trunk@175332 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:52:08 +00:00
neil%parkwaycc.co.uk
a0257c82ad Bug 254894 On Windows, creating an event queue (e.g. via XMLHttpRequest) dismisses open menus r=dean_tessman rs=darin a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@175287 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 10:14:17 +00:00
masayuki%d-toybox.com
2bf7a2cee4 Bug 296339 No response when I am inputting use the MSPinYin(Chinese) input method r=timeless, sr=rbs, a=asa
git-svn-id: svn://10.0.0.236/trunk@175137 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-25 04:43:04 +00:00
brendan%mozilla.org
c2bcad0c8f Fix 76831 by inverting the config.trim_on_minimize default (r=pavlov, sr=jst).
git-svn-id: svn://10.0.0.236/trunk@174609 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 00:20:12 +00:00
masayuki%d-toybox.com
741949607e Bug 295981 sIMEReconvertUnicode should be released at WM_IME_STARTCOMPOSITION r=timeless, sr=rbs, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@174356 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 14:50:35 +00:00
dougt%meer.net
c4e6e2a6f1 Bug 295481. WINCE Fixes. This includes changes to make the makefiles do the right thing if we try to build Minimo and XUL together. These changes rs=bsmedberg. Further WINCE fixes in GFX and Widget. r=emaijala, sr=rbs, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174301 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 16:48:44 +00:00
timeless%mozdev.org
a0f60d0eb2 Bug 295095 Ctrl+Shift+letter treated as Ctrl+letter
patch by ere r=dveditz sr=roc a=asa


git-svn-id: svn://10.0.0.236/trunk@173729 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-24 04:48:09 +00:00
emaijala%kolumbus.fi
35cd04466f Fix for bug 285161: access keys don't work on non latin locales when Alt+letter is pressed together
r=neil
sr=roc
a=asa


git-svn-id: svn://10.0.0.236/trunk@173635 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-20 18:25:19 +00:00
masayuki%d-toybox.com
12de2a8c99 Bug 292734 fail to build defined KE_DEBUG on Win32 r=emaijala, sr=bzbarsky, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@173465 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-16 11:17:45 +00:00
masayuki%d-toybox.com
a7d072d8fa bug 292723 pReconv->dwSize value is invalid. it makes cause crash on win9x at reconverting with ATOK. r=timeless, sr=bzbarsky, a=asa
git-svn-id: svn://10.0.0.236/trunk@173067 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-05 07:16:26 +00:00
dougt%meer.net
3d7bcc8055 Windows CE build changes. This addresses most of the outstanding Windows
CE compilation issues.

This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript.  This change is based on bug 242518.  See comment 36.

This patch also removes the unused enum in transformiix .  See bug
292118.

r/sr = dveditz/shaver
b    = 291229
a    = asa


git-svn-id: svn://10.0.0.236/trunk@172870 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 13:33:49 +00:00