109 Commits

Author SHA1 Message Date
enndeakin%sympatico.ca
4909ea089c Bug 401627, better way of handling click to close menu so that it doesn't reopen the menu again, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@240313 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 16:33:45 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
timeless%mozdev.org
9964919d4d Bug 337917 Make consumers stop using cids from other modules
r=neil sr=darin


git-svn-id: svn://10.0.0.236/trunk@198977 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:42:13 +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
maxf%magma.ca
49e5aae497 Photon-only changes. These only affect QNX builds, which are not part of
Tinderbox. Fix compile errors introduced by jst%mozilla.jstenback.com
(missing parenthesis) and others.  My QNX email address is mfeil@qnx.com.
r=briane@qnx.com


git-svn-id: svn://10.0.0.236/trunk@181681 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-05 21:44:17 +00:00
maxf%magma.ca
6d638ad2af Photon-only change. This only affects QNX builds, which are not part of
Tinderbox. The head branch version of Mozilla (& Firefox) was seg faulting
as soon as you used the menu bar. This fix is actually by briane@qnx.com.
I am checking it in and reviewing it. My QNX email address is mfeil@qnx.com.
r=briane@qnx.com


git-svn-id: svn://10.0.0.236/trunk@181673 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-05 20:15:05 +00:00
cbiesinger%web.de
9ec3e5d788 bug 281298 replace nsIPref with nsIPrefService/nsIPrefBranch in widget
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com> r=bryner sr=bz


git-svn-id: svn://10.0.0.236/trunk@180017 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 12:36:11 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
amardare%qnx.com
7de7ea6ba5 Change for qnx(photon) platform only. It should not affect runtime/buildig other platforms.
Temporary fix until PR:22930 is fixed in libph. The library insist in making any PtRegion widget
sensitive and opaque to key events. Thi shappen if after realizing it, a resource ( like
Pt_ARG_POS or Pt_ARG_DIM ) is set. Such a region will completely block any key events from reaching
any application, if the mouse is in top of it. To test open the url bar, place the mouse in top
of the list and type something. The key events are not reaching anybody.


git-svn-id: svn://10.0.0.236/trunk@166488 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 14:53:27 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
amardare%qnx.com
cded74ef7b Changes for qnx/photon only. They should not affect building/runtime other platforms.
Added MakeFullScreen() to properly set/restore the window's decorations for
fullscreen/normal mode.


git-svn-id: svn://10.0.0.236/trunk@162850 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-27 19:34:39 +00:00
amardare%qnx.com
030f5d6698 Changes for qnx(photon) platform only. They should not affect building/runtime other platforms.
JFehr's problem with thunderbird on screen 2 on a multiscreen configuration:
Use
PhWindowQueryVisible( Ph_QUERY_IG_POINTER, ...
so that the screen information is uses the current location of input_group's pointer.


git-svn-id: svn://10.0.0.236/trunk@160732 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-13 20:08:45 +00:00
amardare%qnx.com
f58be0bc6d Changes for qnx(photon) platform only. They should not affect building/runtime other platforms.
Dnd related changes. Also remove the flag that makes all the windows resizeable by default, since
now their size should be calculated correctly.


git-svn-id: svn://10.0.0.236/trunk@160600 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 13:35:52 +00:00
amardare%qnx.com
43f173fd76 Changes for qnx(photon) platform only.
All eWindowType_child widgets should have a valid ( nonNULL ) parent ( problem with msnbc.com ).


git-svn-id: svn://10.0.0.236/trunk@158756 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 14:01:18 +00:00
amardare%qnx.com
c91228097a Changes for qnx(photon) platform only. They should not affect building/runtime other platforms.
Set PHOTON_DND in Makefile.in so that we include the Dnd service in the build. Firefox bookmarks
check for the Dnd service, and are affected if it's missing.

Focus related changes: when the window loses focus, the window must be deactivated ( cursor should stop blinking ).
When the window is given focus again by the window manager, the window must be activated ( the same cursor should start blinking ).

GetParent should check for mIsDestroying - this fixes a crash in 1.7 ( no crash before )
with http://java.sun.com/j2se/1.3/docs/api/. Click on java.awt and keep the cursor moving.

In nsPhMozRemoteHelper.cpp, create the connector name based on the aProgram. Use mozilla-xremote-client
to send commands.


git-svn-id: svn://10.0.0.236/trunk@157597 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 18:54:16 +00:00
tor%cs.brown.edu
fba58fbb27 Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@155393 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 15:21:24 +00:00
timeless%mozdev.org
2e13e2625b Bug 239132 nsIWidget::SetTitle should use nsAString, not nsString
patch by marco@gnome.org r=bsmedberg sr=darin


git-svn-id: svn://10.0.0.236/trunk@155093 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 23:18:23 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
amardare%qnx.com
09046f2881 Changes for qnx ( photon ) platform only - they should not affect runtime/building other platforms.
More menu related changes ( menus not being rolled up when switching consoles or window lose focus or Alt key pressed ).
Removed unused files.


git-svn-id: svn://10.0.0.236/trunk@154417 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-31 22:39:01 +00:00
amardare%qnx.com
53abc86701 Changes for the qnx ( photon ) platform. It should not affect runtime/building other platforms.
Fixed the problem with the mouse cursor not being set correctly when crossing region boundaries.


git-svn-id: svn://10.0.0.236/trunk@154310 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-26 17:22:58 +00:00
amardare%qnx.com
9acdaa6234 Changes for qnx ( photon ) platform. They should not affect runtime/building other platforms.
Fixed the problem with menus not shown after switching consoles.
Fixed the problem with menus not being rolled-up ( reset the mLastMenu widget pointer when the widget
it points to is about to be destroyed ).


git-svn-id: svn://10.0.0.236/trunk@154209 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-23 23:01:00 +00:00
amardare%qnx.com
6610f15bd4 Change for qnx ( photon ) platform only. It should not affect runtime/building other platforms.
The regions for menus should be opaque to blit events ( Ph_EV_BLIT ) ( for instance
underneath a mozilla menu at the edge of the window  you can have a pterm scrolling upwards. The blit events should not show
through the menu ).


git-svn-id: svn://10.0.0.236/trunk@154166 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-22 22:33:41 +00:00
amardare%qnx.com
d1b037b955 Changes for the qnx platform only. These changes should not affect runtime/building
other platforms.


git-svn-id: svn://10.0.0.236/trunk@153046 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 22:53:40 +00:00
bryner%brianryner.com
3d8a7179f8 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +00:00
amardare%qnx.com
241622eda8 Changes for the photon platform - it should not affect ( building/runtime ) other platforms.
git-svn-id: svn://10.0.0.236/trunk@150895 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-05 23:04:07 +00:00
uid502
e9d6a45b46 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@147169 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:05:29 +00:00
danm-moz%comcast.net
b835fecf26 learn how to make an eWindowType_invisible widget. bug 207742 r=brendan,bryner
git-svn-id: svn://10.0.0.236/trunk@145192 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 14:53:37 +00:00
amardare%qnx.com
2e64ccc927 Changes for the photon platform - they should not affect build/runtime on other platforms.
nsWidget.cpp
	- fixed the problem with context menus not showing up in the Mail&News client.
nsWindow.cpp
	- fixed a problem with the PtRegion underneath the menus not being realized in some cases
	( not related to the change in nsWidget.cpp ).


git-svn-id: svn://10.0.0.236/trunk@144151 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 16:23:28 +00:00
amardare%qnx.com
1726f20f26 Changes for the photon platform - they should not affect build/runtime on the other platforms
The menus now have a region covering the whole screen for dismissal outside of the main window canvas.
Cleaned up the code.
Tried to speed it up.


git-svn-id: svn://10.0.0.236/trunk@141534 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 22:34:28 +00:00
amardare%qnx.com
2afe271f65 Changes for the photon platforms.
These changes should not affect the building on other platforms or the runtime on other platforms.

Allow the filepicker widget to have multiple selection.
Modified nsSound to allow playing of system sound file.
Look for Pt_REALIZED flag when building a list of tiles for the widgets in front of the canvas.


git-svn-id: svn://10.0.0.236/trunk@140724 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 22:51:18 +00:00
roc+%cs.cmu.edu
e5bc645b4f Bug 191474. Make GTK paint in one pass, pass a region to paint up from GTK to the view manager. r+sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@140207 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 02:58:10 +00:00
amardare%qnx.com
d5a868a00e Photon specific changes.
Added a nsFilePicker for photon.


git-svn-id: svn://10.0.0.236/trunk@137958 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-19 00:16:42 +00:00
briane%qnx.com
6c09555279 PHOTON BUILD only
Removal of some printfs and fixes for rendering issues and the Clipboard implementation.
Also fixes a problem with scrolling lists sometimes causing a crash.


git-svn-id: svn://10.0.0.236/trunk@118253 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 15:15:59 +00:00
danm%netscape.com
2ba1541624 adding parameter to nsIWidget::ConstrainPosition. bug 113283r=hyatt,pavlov
git-svn-id: svn://10.0.0.236/trunk@111613 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:29:18 +00:00
dinglis%qnx.com
35f3674b05 NOT PART OF BUILD
small resize opt to use start/end flux when aRepaint not set


git-svn-id: svn://10.0.0.236/trunk@107395 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 01:27:50 +00:00
dinglis%qnx.com
1018f249a0 NOT PART OF BUILD
fixed damage rect translation and clipping


git-svn-id: svn://10.0.0.236/trunk@107344 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 18:51:56 +00:00
dinglis%qnx.com
e4137224be Not part of build
update of photon port


git-svn-id: svn://10.0.0.236/trunk@105621 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 14:11:53 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
dinglis%qnx.com
a0d4bb2f7d NOT PART OF BUILD
- fixed more rendering problems with scrolling views.
- fixed up scrollbars (not fully implemented)


git-svn-id: svn://10.0.0.236/trunk@98822 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-06 18:30:46 +00:00
dinglis%qnx.com
d39ade0d27 NOT PART OF BUILD (Photon Only)
- many fixes (rendering speedup, focus problems, fixed up colors)


git-svn-id: svn://10.0.0.236/trunk@98642 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 18:02:00 +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
blizzard%redhat.com
b2e5c45110 Fix bug #72313. Focus problems on linux. This adds a flag to nsIWidget::SetFocus() that says to raise the window. We only raise the window from one place, window.focus(). This builds and runs on at least linux and the mac. r=jst,brendan,hyatt a=leaf
git-svn-id: svn://10.0.0.236/trunk@89782 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 17:56:04 +00:00
briane%qnx.com
2b23174df9 PHOTON BUILD ONLY
Numerous bug fixes and code cleanup for photon related memory leaks and
bugs.


git-svn-id: svn://10.0.0.236/trunk@89647 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 19:46:53 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
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
briane%qnx.com
400eff94c6 PHOTON BUILD only
cursors now change properly, dilogs display in correct locations, modal
dialogs work


git-svn-id: svn://10.0.0.236/trunk@81741 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 18:00:34 +00:00
briane%qnx.com
94ebd33885 PHOTON BUILD only
fixes positioning bugs for dialogs and new windows


git-svn-id: svn://10.0.0.236/trunk@81611 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 19:38:41 +00:00
briane%qnx.com
b89497da88 Not Part of Build... PHOTON ONLY
Multiple comboboxes in web pages now display properly


git-svn-id: svn://10.0.0.236/trunk@81030 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 16:19:02 +00:00
danm%netscape.com
051accf240 (empty) implementations of new nsIWidget method ConstrainPosition. bug 31516 r=saari@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75587 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 14:49:36 +00:00