Commit Graph

81 Commits

Author SHA1 Message Date
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
9cc420a417 basic implementation of new method nsIWidget::IsEnabled. b ug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115516 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:10:04 +00:00
briane%qnx.com
8c9d094a98 PHOTON ONLY, not part of build
Fixes for drag code headers, allow keypad to function correctly when num-lock
is off/on


git-svn-id: svn://10.0.0.236/trunk@112186 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 16:56:33 +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
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
dinglis%qnx.com
fe679ddfe9 -not part of build-
added NOTIFY flag to drawing region.


git-svn-id: svn://10.0.0.236/trunk@108710 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 18:53:23 +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
dbaron%fas.harvard.edu
c7ecd0425e Bug 45797: replace remaining uses of deprecated macros NS_IMPL_QUERY_INTERFACE and friends with NS_IMPL_QUERY_INTERFACE1 and friends and remove the deprecated macros. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104396 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:18:08 +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
a83b74088c PHOTON port only (not part of build)
fix for static build


git-svn-id: svn://10.0.0.236/trunk@101015 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 13:57:41 +00:00
hyatt%netscape.com
c49a03b7be Fix for 71106. r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@100428 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 21:49:35 +00:00
briane%qnx.com
ea1c609acf PHOTON Port only (not part of build)
Bug fixes for font rendering, list scrollbar selections and the addition
of nsSound.cpp to the Makefile.


git-svn-id: svn://10.0.0.236/trunk@99757 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 20:10:05 +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
rods%netscape.com
5ed9424e7c Removing unneeded code
Bug 52279 r=kmcclusk sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@84724 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 14:34:00 +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
4966ad1519 Removing more extra 0 params from NS_IMPL_LOG macro
git-svn-id: svn://10.0.0.236/trunk@81922 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 02:24:24 +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
64e319325e NOT PART OF BUILD - PHOTON ONLY
Varios fixes to allow the widget code to work with the latest
changes to the mozilla tree
Brian Edmond


git-svn-id: svn://10.0.0.236/trunk@78732 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 13:53:04 +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
Jerry.Kirk%Nexwarecorp.com
91b22a828c NOT PART OF BUILD - PHOTON ONLY
Various fixes to make it draw again from Brian Edmond of QNX
r=kirkj


git-svn-id: svn://10.0.0.236/trunk@73835 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:49:05 +00:00
Jerry.Kirk%Nexwarecorp.com
6a625cc94b Fixing some compile errors due to changes in nsString
PHOTON ONLY
r=michael.kedl


git-svn-id: svn://10.0.0.236/trunk@68189 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:59:14 +00:00
mstoltz%netscape.com
e8a0e8479c Made prefapi.h private and removed all #includes of it outside of libpref. r=norris
git-svn-id: svn://10.0.0.236/trunk@66060 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 03:43:09 +00:00
Jerry.Kirk%Nexwarecorp.com
bef253ebc2 Making minor changes to code for new release of Photon 2.
Patch G changed the interface on a few of the functions.
Photon Only.


git-svn-id: svn://10.0.0.236/trunk@65108 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:56:28 +00:00
Jerry.Kirk%Nexwarecorp.com
ff5fe9c747 Fix numeric keypad for Photon. Previous fix caused the main enter key
not to work. PHOTON ONLY.


git-svn-id: svn://10.0.0.236/trunk@63458 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 14:12:33 +00:00
Jerry.Kirk%Nexwarecorp.com
4147974f59 Remove #if DEBUG condition for some functions that really should be debug
but need to be included/excluded some other way, when I have time.
PHOTON ONLY


git-svn-id: svn://10.0.0.236/trunk@62394 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 13:42:46 +00:00
Jerry.Kirk%Nexwarecorp.com
2270c52c91 Remove -DDEBUG from the Makefile
Fix the numeric keypad keys under PHOTON.


git-svn-id: svn://10.0.0.236/trunk@62303 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 13:57:43 +00:00
Jerry.Kirk%Nexwarecorp.com
5888f26391 Fix Test11, fix the location of the pop-up menu when a user right clicks
Fix Virtual Consoles (again), fix up combo-boxes and the problem where
Mozilla would ignore a mouse click sometimes.


git-svn-id: svn://10.0.0.236/trunk@61666 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 13:38:32 +00:00
Jerry.Kirk%Nexwarecorp.com
1d945f5863 Comment out a hack that offset the damage rects. I no longer need this
it was causing a off by one error which caused the blue header to draw
over top of the menu. PHOTON ONLY
a=leaf


git-svn-id: svn://10.0.0.236/trunk@61153 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 00:41:09 +00:00
Jerry.Kirk%Nexwarecorp.com
525a4e598d Final fix for virtual console support
try to fix the binary character that was in the version previous to this.


git-svn-id: svn://10.0.0.236/trunk@60919 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 21:24:22 +00:00
Jerry.Kirk%Nexwarecorp.com
56960e113e Added suppprt for Virtual Consoles under Photon.  These changes make
almost everything work correctly no matter what console mozilla is
started on or it moved to. PHOTON ONLY


git-svn-id: svn://10.0.0.236/trunk@60872 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 14:15:03 +00:00
Jerry.Kirk%Nexwarecorp.com
ed5784191b Fix positioning code for combo boxes and other pop-ups.
PHOTON ONLY


git-svn-id: svn://10.0.0.236/trunk@60731 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 13:20:21 +00:00
Jerry.Kirk%Nexwarecorp.com
4fc0db169f Checking in changes that fix the pop-up menus under Photon allowing them
to close if the user clicks outside the application. Also fix
DestroyNativeChildren method. PHOTON ONLY
r=kedl


git-svn-id: svn://10.0.0.236/trunk@60234 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 13:47:23 +00:00
Jerry.Kirk%Nexwarecorp.com
0ccdd2d1a0 Fix problem where you could not scroll a web page that had a combo
box widget on it. PHOTON UI only.
r=kedl


git-svn-id: svn://10.0.0.236/trunk@59075 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:35:00 +00:00
Jerry.Kirk%Nexwarecorp.com
632ad9921f Add some typecasts to eliminate warnings.
Adding some code to optimize performance under PHOTON2
r=kedl


git-svn-id: svn://10.0.0.236/trunk@58553 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:52:53 +00:00
Jerry.Kirk%Nexwarecorp.com
c86f88c7a8 Photon Only change experimenting with getting Mozilla to appear
on the users current virtual console.
r=kedl


git-svn-id: svn://10.0.0.236/trunk@57961 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 02:02:06 +00:00
Jerry.Kirk%Nexwarecorp.com
e0e1888098 Photon UI Only
Fix Drawing problem in RawDrawFunc, there was a case where the routine
could be exited from without resetting the graphics context correctly.
Also did some general cleanup.
r=kedl


git-svn-id: svn://10.0.0.236/trunk@57828 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 13:47:55 +00:00
Jerry.Kirk%Nexwarecorp.com
68040c15f7 Photon Only
Re-write RawDrawFunc and supporting methods to avoid setting the clipping regions
but instead of limit the damage to the right place. Still not totally
fixed but much better than before.


git-svn-id: svn://10.0.0.236/trunk@56735 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 15:27:32 +00:00
Jerry.Kirk%Nexwarecorp.com
1c01a7c9db Re-worked nsAppShell to more closely correspond to the GTK version of
nsAppShell. This caused me to have to move the PtInit call to nsToolkit,
the PtModalStart/PtModalEnd to nsWindow and the creation of the PhWidLog
to nsWidgetFactory. This is the PHOTON UI only.


git-svn-id: svn://10.0.0.236/trunk@56559 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-27 17:55:20 +00:00
Jerry.Kirk%Nexwarecorp.com
72861fe226 Convert Pop-Up Menus from PtWindow to PtRegion, for PHOTON only.
Changing to PtRegions fixs some z-order problems, clipping problems
and focus issues.
a=chofman r=kedl


git-svn-id: svn://10.0.0.236/trunk@55983 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 15:00:56 +00:00
Jerry.Kirk%Nexwarecorp.com
f9cf743937 Simplified InvalidateRegion for Photon, but left the old code for
a little while in case I was wrong..
r=kedl


git-svn-id: svn://10.0.0.236/trunk@55421 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 14:01:59 +00:00
Jerry.Kirk%Nexwarecorp.com
272cee0c80 Fixed InvalidateRegion, brought it uptodate with GTK version.
r=kedl


git-svn-id: svn://10.0.0.236/trunk@55397 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 04:54:59 +00:00
Jerry.Kirk%Nexwarecorp.com
67a7e9e385 Added debug code to try and track down extra draws..
r=kedl


git-svn-id: svn://10.0.0.236/trunk@54600 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 21:37:43 +00:00
Jerry.Kirk%Nexwarecorp.com
9f15cbd1bd nsAppShell: Added some NS_WARNING calls.
nsWidget: Aded support for numeris keys on the numeric keypad.


git-svn-id: svn://10.0.0.236/trunk@54278 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 13:10:03 +00:00
Jerry.Kirk%Nexwarecorp.com
c249dfa1b7 Added some debug info to UpdateWidgeDamage , still tryin to track down
the reason for the extra draws I see under Photon.
r=kedl


git-svn-id: svn://10.0.0.236/trunk@53878 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 12:49:43 +00:00