smfr%smfr.org
d240c30efe
Fix bug 274036: makes sure Mac native controls (Carbon & Cocoa) look disabled when there is nowhere to scroll by removing arbitrary hardcoded limits. r=josh, sr=bryner, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@175189 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-28 00:18:33 +00:00
timeless%mozdev.org
464be8ac2e
Bug 106386 Correct misspellings in source code
...
patch by ajvincent@gmail.com r=timeless rs=brendan a=chofmann
git-svn-id: svn://10.0.0.236/trunk@174115 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 10:26:28 +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
smfr%smfr.org
d96dc1f2b2
Fix bug 279510: remove all the pre-Carbon code and TARGET_CARBON #idfefs from widget. Patch by Ludovic Hirlimann <qa-mozilla@hirlimann.net>, r=pink, sr=me
...
git-svn-id: svn://10.0.0.236/trunk@168451 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-28 17:59:37 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +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
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
alecf%flett.org
b70839238c
argh, more bustage fixing - applying my original patch, which somehow never made the first landing
...
git-svn-id: svn://10.0.0.236/trunk@143601 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 21:25:12 +00:00
dwitte%stanford.edu
dc7e857400
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
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