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
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
- 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
* 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
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
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
*) 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
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
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
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