47 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
ac6b721449 Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
pinkerton%netscape.com
56809a3959 separate out drag code into a helper so embedding apps can make use of it. Also add live-resize support to resizable dialogs. Don't add things like drag handlers or carbon event handlers to windows we don't own (read: embedding). bug 102529, 112197. r=ccarlen/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@111247 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-02 21:18:38 +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
sfraser%netscape.com
4129548ff2 Change to convert Widget and Gfx into component DLLs on Mac, bug 94434. r=pchen, sr=beard/darin
git-svn-id: svn://10.0.0.236/trunk@107804 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 01:05:03 +00:00
dbaron%fas.harvard.edu
7bb7b59a69 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
nhotta%netscape.com
e85dccaf45 Added nsIUnicodeEncoder::SetOutputErrorBehavior to avoid the truncation of charse conversion, bug 92864, r=ftang, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@105173 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:36:39 +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
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
pinkerton%netscape.com
691f9596d1 cast needed on codewarrior, not on gcc. fix fizzilla bustage.
git-svn-id: svn://10.0.0.236/trunk@92515 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 04:32:43 +00:00
pinkerton%netscape.com
641528df7f use CoreFoundation for setting control text from a unicode string under carbon.
r=saari/sr=hyatt bug# 75653


git-svn-id: svn://10.0.0.236/trunk@92503 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 03:21:16 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
scc%mozilla.org
fd1efd70c8 fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms
git-svn-id: svn://10.0.0.236/trunk@72073 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:52:31 +00:00
beard%netscape.com
ebfb917075 Compatibility with Universal Headers 3.3 or later. a=leaf
git-svn-id: svn://10.0.0.236/trunk@66470 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 22:13:51 +00:00
scc%netscape.com
ad149b30bf making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66185 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 08:21:30 +00:00
nhotta%netscape.com
71f3aadf3b Changed to use do_GetService instead of CreateInstance, bug 30209, r=cata.
git-svn-id: svn://10.0.0.236/trunk@63080 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:31:08 +00:00
pavlov%netscape.com
1fdd348954 changes to let us build on MacOS X
git-svn-id: svn://10.0.0.236/trunk@62619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:08:04 +00:00
nhotta%netscape.com
d80ed78961 Disabled assertsions for charset conversion failure.
git-svn-id: svn://10.0.0.236/trunk@59438 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:01:53 +00:00
nhotta%netscape.com
dbaff41d85 Added charset conversion between unicode and file systme charset, bug 23384, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@59265 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 21:22:10 +00:00
pinkerton%netscape.com
11a66eab33 Removing ifdefs for TARGET_CARBON code. Using inline functions in Universal Headers and nsCarbonHeaders.h.
git-svn-id: svn://10.0.0.236/trunk@57360 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 05:20:12 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
pinkerton%netscape.com
54f4033ebb don't invalidate the control if it's already enabled. (rev sfraser/appr leaf)
git-svn-id: svn://10.0.0.236/trunk@48934 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 23:26:37 +00:00
beard%netscape.com
87155c6f86 changed superclass to nsChildWindow, to inherit proper sibling clipping.
git-svn-id: svn://10.0.0.236/trunk@46090 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 04:32:10 +00:00
tague%netscape.com
bf790334ec Fixed #5438 - Mac Buttons not displaying Japanese correctly.
git-svn-id: svn://10.0.0.236/trunk@35642 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:12:14 +00:00
pierre%netscape.com
955ffba2a9 #4084 "JS events: Mac form element events"
#7100 "JS change state (enabled/checked) of html:checkbox doesn't redraw"


git-svn-id: svn://10.0.0.236/trunk@35580 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:40:20 +00:00
pierre%netscape.com
be10af10cd #3322 "javascript ONCHANGE handler failures". Added ControlChanged() in order to send NS_CONTROL_CHANGE events.
git-svn-id: svn://10.0.0.236/trunk@33911 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 03:00:28 +00:00
pierre%netscape.com
decad0c777 Remove a flicker in scrollbars introduced by last checkin (#5763 "Forms overlaid/leave bitgunk upon reflow on Mac")
git-svn-id: svn://10.0.0.236/trunk@33519 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 08:34:09 +00:00
pierre%netscape.com
ad56425d92 #5763 "Forms overlaid/leave bitgunk upon reflow on Mac"
git-svn-id: svn://10.0.0.236/trunk@33454 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:51:38 +00:00
pinkerton%netscape.com
c2ea19ad6f use ControlDefinitions.h and new APIs for Carbon for ValidRect. Doesn't affect normal builds.
git-svn-id: svn://10.0.0.236/trunk@31029 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:13:16 +00:00
pierre%netscape.com
6168cad56a added the "browser.display_very_small_fonts" pref
changed the default dpi to 72


git-svn-id: svn://10.0.0.236/trunk@29661 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:45:49 +00:00
pierre%netscape.com
6e3a53131d #5000 "GFX changes required to assume 96 dpi default scaling"
git-svn-id: svn://10.0.0.236/trunk@29421 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 06:45:09 +00:00
pierre%netscape.com
01de61dd8d fixed a flicker when the control is deleted
git-svn-id: svn://10.0.0.236/trunk@29396 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 05:32:50 +00:00
pierre%netscape.com
f9bcde47e2 moved string utilities from nsWindow to nsMacControl
git-svn-id: svn://10.0.0.236/trunk@28221 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:02:20 +00:00
sfraser%netscape.com
a8bd0d572a Impose a min size of 9pt on the font size for native controls -- bug 2440.
git-svn-id: svn://10.0.0.236/trunk@25056 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:58:18 +00:00
pierre%netscape.com
089d8feb9e small change to make Move and Resize more efficient
git-svn-id: svn://10.0.0.236/trunk@23156 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 04:47:17 +00:00
pierre%netscape.com
a9a81bed98 Added nsToolkit::HasAppearanceManager()
git-svn-id: svn://10.0.0.236/trunk@22874 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 10:01:07 +00:00
pierre%netscape.com
72f155cfdc fix #3358 "Missed mouse up events cause chaos"
fix double-clicks in buttons


git-svn-id: svn://10.0.0.236/trunk@22707 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 09:02:54 +00:00
pierre%netscape.com
45b1a40c7a added mMin/mMax (needed for popups)
git-svn-id: svn://10.0.0.236/trunk@21458 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:20:59 +00:00
pierre%netscape.com
a3439dbf47 Fix #2251 "Garbage renders over the back button"
git-svn-id: svn://10.0.0.236/trunk@18171 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 11:42:00 +00:00
sfraser%netscape.com
86e06cbf5a mcmullen's scrollbar fixes (use 32-bit control values), some tweaks of Mac control visibility to avoid drawing controls in the wrong places, add a couple of utility methods for creating and adjusting Mac controls.
git-svn-id: svn://10.0.0.236/trunk@17903 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:39:28 +00:00
sfraser%netscape.com
f55d23d9be Call Inherited::SetFont in the SetFont method
git-svn-id: svn://10.0.0.236/trunk@17788 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:43:41 +00:00
sfraser%netscape.com
707af630d5 Override SetFont to setup the control font properly. Previously, it was being picked up from the port just before drawing, which no longer works after the font optimizations in GFX.
git-svn-id: svn://10.0.0.236/trunk@17707 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:48:29 +00:00
pierre%netscape.com
c29cc486d3 Fixed continuous drawing of controls by doing a ValidRect after DrawControl
git-svn-id: svn://10.0.0.236/trunk@16660 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 13:29:39 +00:00
dcone%netscape.com
a1329a49b0 Fixed it so that a control handle is not made unless a valid windowptr is passed in. This is needed for the printer port.
git-svn-id: svn://10.0.0.236/trunk@16249 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:05:54 +00:00
pierre%netscape.com
fbec6c5006 don't draw when not visible
git-svn-id: svn://10.0.0.236/trunk@16053 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 13:24:26 +00:00
pierre%netscape.com
0ad35718e6 Added mValue.
Improved redraw by caching data.


git-svn-id: svn://10.0.0.236/trunk@14049 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:42:26 +00:00
pierre%netscape.com
f3a71182c0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@13650 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 13:55:02 +00:00