618 Commits

Author SHA1 Message Date
timeless%mozdev.org
af51e73d0e Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@191013 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 09:36:43 +00:00
vladimir%pobox.com
4cd1540c1c b=328236, only update windows backbuffer if painting actually took place, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@190914 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 22:56:01 +00:00
benjamin%smedbergs.us
67dd4988cb Bug 318559 - MouseTrailer holds XPCOM references past shutdown, r=ere sr=roc
git-svn-id: svn://10.0.0.236/trunk@190881 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 21:08:40 +00:00
masayuki%d-toybox.com
6e64817084 Bug 327449 Redundant implicit calls in Widget: Win32. patch by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@190367 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-17 17:22:34 +00:00
vladimir%pobox.com
882fa2e266 b=326738, move thebes doublebuffering/transparent window handling into widget, sr=roc
git-svn-id: svn://10.0.0.236/trunk@190158 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 23:35:53 +00:00
dougt%meer.net
1df4bbbf61 WINCE only. move hotkey handling to use dispatch window. r/a=dveditz. b=325298
git-svn-id: svn://10.0.0.236/trunk@189587 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 21:55:02 +00:00
emaijala%kolumbus.fi
8945392680 Backout of patch for bug 287179 due to Win98 bustage and other regressions.
git-svn-id: svn://10.0.0.236/trunk@189011 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 17:35:57 +00:00
emaijala%kolumbus.fi
b8f6e06ac9 Fix for bug 287179: Unshifted charCode is generated for keypress event when both Ctrl and Shift are held down
Patch by Dainis Jonitis
r=emaijala
sr=roc


git-svn-id: svn://10.0.0.236/trunk@188952 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-05 12:37:31 +00:00
pavlov%pavlov.net
6a899c4e7a changing widget creation for cairo builds around to use GetThebesSurface() r=vlad
git-svn-id: svn://10.0.0.236/trunk@188530 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 01:04:41 +00:00
dougt%meer.net
65803a69ee Fixes bug 297683. WINCE ONLY. r=dveditz. a) allows remapping softkeys even if gProcUnregisterFunc does not exist --
which is the case on some devices.

b) removes gSoftKeyMenuBar as we can use mSoftKeyMenuBar.

c) fixes smartphone which require a real menu when dispatching events to the
event loop.  SHCMBF_EMPTYBAR doesn't not work.  The menu is defined by the
embedding application.


git-svn-id: svn://10.0.0.236/trunk@188397 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 18:18:45 +00:00
emaijala%kolumbus.fi
2b5b086cb2 Fix for bug 322947: Page scrolls up when clicking the middle mouse button in frame
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@188002 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 12:00:55 +00:00
emaijala%kolumbus.fi
d0a0878969 Backout of essential parts of the patch for bug 287179 due to keyboard handling regressions.
git-svn-id: svn://10.0.0.236/trunk@187595 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-13 21:18:49 +00:00
emaijala%kolumbus.fi
5b5d42f616 Fix for Win32 part of bug 321098: onmouseover alert() causing multiple stacked alert dialogs
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@187169 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-09 17:23:20 +00:00
emaijala%kolumbus.fi
40d27b774c Fix for bug 287179: Unshifted charCode is generated for keypress event when both Ctrl and Shift are held down
patch by Dainis Jonitis
r=emaijala, dougt
sr=bryner


git-svn-id: svn://10.0.0.236/trunk@187132 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-07 18:46:46 +00:00
emaijala%kolumbus.fi
a81a451ae3 Fix for bug 321816: Triple-clicking does not select the line anymore
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@187131 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-07 18:38:35 +00:00
roc+%cs.cmu.edu
d489f44ab4 Bug 319957. Consume WM_PAINT messages for Win32 layered-translucency windows, to avoid infinite loop bug. r+sr=roc, patch by Dainis Jonitis
git-svn-id: svn://10.0.0.236/trunk@186724 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 22:30:22 +00:00
emaijala%kolumbus.fi
40677870ca Fix for bug 321643: Spurious mousemove events when mouse is over appearing/disappearing fixed positioned div
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@186697 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 10:18:31 +00:00
emaijala%kolumbus.fi
e7178dfec6 Fix for bug 321335: Autoscrolling changes direction while scrolling
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@186539 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-23 20:23:45 +00:00
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