adium-1.4 2960:f5646d3ecee5: Hooray for CaseFoldExtension (http:...

commits at adium.im commits at adium.im
Fri May 14 22:50:22 UTC 2010


details:	http://hg.adium.im/adium-1.4/rev/f5646d3ecee5
revision:	2960:f5646d3ecee5
author:		Evan Schoenberg
date:		Fri May 14 17:50:16 2010 -0500

Hooray for CaseFoldExtension (http://mercurial.selenic.com/wiki/CaseFoldExtension)

diffs (truncated from 4392 to 1000 lines):

diff -r c0609e293cd0 -r f5646d3ecee5 Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/basestyle.css
--- a/Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/basestyle.css	Thu May 13 23:50:13 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,318 +0,0 @@
-body
-{
-	margin: 0px;
-}
-
-#Chat
-{
-	overflow: hidden;
-	padding: 5px 10px 5px 10px;
-}
-
-#topic
-{
-	position: fixed;
-	top: 0px;
-	right: 0px;
-	left: 0px;
-	z-index: 100;
-	border-bottom: 2px solid rgba(0, 0, 0, .2);
-	-webkit-box-shadow: 0px 1px 5px #fff;
-	opacity: 1;
-	-webkit-transition: opacity .1s linear;
-}
-
-#topic:hover
-{
-	opacity: .2;
-}
-
-#topic #topicEdit
-{
-	padding-top: 4px;
-	padding-right: 12px;
-	padding-bottom: 5px;
-	padding-left: 14px;
-	display: block;
-
-	word-wrap: break-word;
-	word-break: break-word;
-}
-
-#topic[title=""] #topicEdit:after
-{
-	content: "< no topic available >";
-}
-
-.incoming,
-.outgoing,
-.status,
-.event
-{
-	margin-top: 5px;
-	clear: both;
-}
-
-.incoming a:hover,
-.outgoing a:hover
-{
-	color: white;
-}
-
-.x-buddyicon img
-{
-	display: block;
-	width: 32px;
-	height: 32px;
-	padding: 0px;
-	text-align: center;
-}
-
-.x-sender
-{
-	color: white;
-	font-weight: bold;
-	font-size: 11px;
-	height: 14px;
-	padding-right: 4px;
-	padding-left: 4px;
-	overflow: hidden;
-}
-
-.message .x-sender
-{
-	-webkit-border-top-left-radius: 5px;
-	-webkit-border-top-right-radius: 5px;
-}
-
-.x-service
-{
-	color: rgba(255, 255, 255, .5);
-	font-weight: bold;
-	font-size: 11px;
-	float: right;
-	position: relative;
-	height: 14px;
-	top: -14px;
-	padding-right: 4px;
-	right: 0px;
-	margin-bottom: -14px;
-	word-wrap: normal;
-}
-
-.x-text
-{
-	display: block;
-	padding-top: 2px;
-	padding-right: 4px;
-	padding-bottom: 2px;
-	padding-left: 4px;
-}
-
-.x-time
-{
-	font-weight: normal;
-	color: rgba(0, 0, 0, .6);
-	float: right;
-	padding-top: 2px;
-	padding-bottom: 2px;
-	padding-right: 4px;
-	padding-left: 4px;
-	margin-left: 4px;
-	margin-top: 0px;
-	margin-bottom: 0px;
-}
-
-.status .x-text a:hover,
-.event .x-text a:hover
-{
-	background-color: rgba(208, 208, 208, 1);
-}
-
-.x-bottomdivider
-{
-	border-bottom: 1px solid #BEBEBE;
-}
-
-a,
-a:link
-{
-	text-decoration: none;
-}
-
-.history .x-message
-{
-	color: rgba(0, 0, 0, .6);
-}
-
-img.scaledToFitImage
-{
-	width:auto;
-}
-
-.firstFocus.message .x-text:before,
-.firstFocus.status .x-wrap:before,
-.firstFocus.event .x-wrap:before
-{
-	position: absolute;
-	right: 10px;
-	margin-top: -19px;
-	content: "focus lost here";
-	background: rgba(184, 184, 184, 1);
-	color: white;
-	font-weight: bold;
-	font-size: 11px;
-	z-index: 99;
-	white-space: nowrap;
-	overflow: hidden;
-	padding: 2px;
-	padding-left: 4px;
-	-webkit-border-top-left-radius: 5px;
-	-webkit-border-top-right-radius: 5px;
-}
-
-.firstFocus.status .x-wrap:before,
-.firstFocus.event .x-wrap:before
-{
-	padding-right: 4px;
-	margin-top: -19px;
-}
-
-.firstFocus.message .x-text,
-.firstFocus.status .x-wrap,
-.firstFocus.event .x-wrap
-{
-	border-top: 4px solid rgba(184, 184, 184, 1);
-}
-
-.firstFocus.message .x-text
-{
-	margin-top: 15px;
-	margin-right: 2px;
-}
-
-.firstFocus.message .x-time
-{
-	margin-top: 19px;
-}
-
-.firstFocus.status .x-wrap,
-.firstFocus.event .x-wrap
-{
-	margin-top: 18px;
-	padding-top: 2px;
-}
-
-.mention .x-text:before
-{
-	position: absolute;
-	margin-top: -19px;
-	margin-left: -2px;
-	content: "mentioned here";
-	background: rgba(184, 184, 184, 1);
-	color: white;
-	font-weight: bold;
-	font-size: 11px;
-	z-index: 99;
-	white-space: nowrap;
-	overflow: hidden;
-	padding: 2px;
-	padding-right: 4px;
-	-webkit-border-top-left-radius: 5px;
-	-webkit-border-top-right-radius: 5px;
-}
-
-.mention .x-text
-{
-	border-top: 4px solid rgba(184, 184, 184, 1);
-	padding-left: 2px;
-	padding-right: 4px;
-	margin-bottom: 2px;
-	margin-left: 2px;
-	margin-top: 15px;
-}
-
-.mention .x-time
-{
-	margin-top: 19px;
-}
-
-.mention.firstFocus .x-text:before
-{
-	content: "mentioned here + focus lost here";
-	padding-left: 4px;
-}
-
-.mention.firstFocus .x-text
-{
-	margin-left: 0px;
-}
-
-.history + :not(.history):before
-{
-	position: absolute;
-	margin-top: -22px;
-	margin-left: 0px;
-	content: "message history ends here";
-	background: rgba(184, 184, 184, 1);
-	color: white;
-	font-weight: bold;
-	font-size: 11px;
-	z-index: 99;
-	white-space: nowrap;
-	overflow: hidden;
-	padding: 4px;
-	padding-top: 2px;
-	padding-bottom: 2px;
-	-webkit-border-bottom-left-radius: 5px;
-	-webkit-border-bottom-right-radius: 5px;
-}
-
-.history + :not(.history)
-{
-	margin-top: 5px;
-	padding-top: 18px;
-	border-top: 4px solid rgba(184, 184, 184, 1);
-}
-
-.history + :not(.history).status.firstFocus:before,
-.history + :not(.history).event.firstFocus:before
-{
-	margin-top: -14px;
-}
-
-.history + :not(.history).status.firstFocus,
-.history + :not(.history).event.firstFocus
-{
-	padding-top: 10px;
-}
-
-.consecutive:not(.firstFocus) .x-buddyicon,
-.consecutive:not(.firstFocus) .x-topleft,
-.consecutive:not(.firstFocus) .x-sender,
-.consecutive:not(.firstFocus) .x-service
-{
-	display: none;
-}
-
-.consecutive:not(.firstFocus)
-{
-	margin-top: 0px;
-	margin-bottom: 0px;
-}
-
-#Chat > div:first-of-type
-{
-	margin-top: 0px;
-}
-
-#insert
-{
-	display: none;
-}
-
-.history .x-buddyicon,
-.history .x-sender
-{
-	opacity: .5;
-}
diff -r c0609e293cd0 -r f5646d3ecee5 Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/colors_brown_olive.css
--- a/Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/colors_brown_olive.css	Thu May 13 23:50:13 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-body,
-#topic,
-.status .x-wrap,
-.event .x-wrap
-{
-	background-color: rgba(238, 243, 235, .8);
-}
-
-.incoming .x-buddyicon
-{
-	background: rgba(178, 125, 75, .2);
-}
-
-.incoming .x-sender
-{
-	background: #b27d4b;
-}
-
-.incoming .x-time
-{
-	color: #b27d4b;
-}
-
-.incoming .x-message
-{
-	background: rgba(226, 219, 203, .9);
-	border-top: 1px solid #b27d4b;
-}
-
-.incoming.consecutive .x-message
-{
-	border-top: 1px solid rgba(178, 125, 75, .4);
-}
-
-.incoming a:hover
-{
-	background: #b27d4b;
-}
-
-.incoming a
-{
-	color: #b27d4b;
-}
-
-.outgoing .x-buddyicon
-{
-	background: rgba(116, 157, 95, .2);
-}
-
-.outgoing .x-sender
-{
-	background: #749d5f;
-}
-
-.outgoing .x-time
-{
-	color: #749d5f;
-}
-
-.outgoing .x-message
-{
-	background: rgba(213, 225, 207, .9);
-	border-top: 1px solid #749d5f;
-}
-
-.outgoing.consecutive .x-message
-{
-	border-top: 1px solid rgba(116, 157, 95, .4);
-}
-
-.outgoing a
-{
-	color: #749d5f;
-}
-
-.outgoing a:hover
-{
-	background: #749d5f;
-}
diff -r c0609e293cd0 -r f5646d3ecee5 Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/colors_indigo_maroon.css
--- a/Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/colors_indigo_maroon.css	Thu May 13 23:50:13 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-body,
-#topic,
-.status .x-wrap,
-.event .x-wrap
-{
-	background-color: rgba(248, 240, 240, .8);
-}
-
-.incoming .x-buddyicon
-{
-	background: rgba(75, 93, 178, .2);
-}
-
-.incoming .x-sender
-{
-	background: #4b5db2;
-}
-
-.incoming .x-time
-{
-	color: #4b5db2;
-}
-
-.incoming .x-message
-{
-	background: rgba(213, 211, 228, .9);
-	border-top: 1px solid #4b5db2;
-}
-
-.incoming.consecutive .x-message
-{
-	border-top: 1px solid rgba(75, 93, 178, .4);
-}
-
-.incoming a:hover
-{
-	background: #4b5db2;
-}
-
-.incoming a
-{
-	color: #4b5db2;
-}
-
-.outgoing .x-buddyicon
-{
-	background: rgba(177, 74, 75, .2);
-}
-
-.outgoing .x-sender
-{
-	background: #b14a4b;
-}
-
-.outgoing .x-time
-{
-	color: #b14a4b;
-}
-
-.outgoing .x-message
-{
-	background: rgba(233, 207, 207, .9);
-	border-top: 1px solid #b14a4b;
-}
-
-.outgoing.consecutive .x-message
-{
-	border-top: 1px solid rgba(177, 74, 75, .4);
-}
-
-.outgoing a
-{
-	color: #b14a4b;
-}
-
-.outgoing a:hover
-{
-	background: #b14a4b;
-}
diff -r c0609e293cd0 -r f5646d3ecee5 Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/colors_orange_green.css
--- a/Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/colors_orange_green.css	Thu May 13 23:50:13 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-body,
-#topic,
-.status .x-wrap,
-.event .x-wrap
-{
-	background-color: rgba(242, 251, 238, .8);
-}
-
-.incoming .x-buddyicon
-{
-	background: rgba(255, 124, 0, .2);
-}
-
-.incoming .x-sender
-{
-	background: #FF7C00;
-}
-
-.incoming .x-time
-{
-	color: #FF7C00;
-}
-
-.incoming .x-message
-{
-	background: rgba(244, 225, 190, .9);
-	border-top: 1px solid #FF7C00;
-}
-
-.incoming.consecutive .x-message
-{
-	border-top: 1px solid rgba(255, 124, 0, .4);
-}
-
-.incoming a:hover
-{
-	background: #FF7C00;
-}
-
-.incoming a
-{
-	color: #FF7C00;
-}
-
-.outgoing .x-buddyicon
-{
-	background: rgba(102, 204, 50, .2);
-}
-
-.outgoing .x-sender
-{
-	background: #66CC32;
-}
-
-.outgoing .x-time
-{
-	color: #66CC32;
-}
-
-.outgoing .x-message
-{
-	background: rgba(213, 241, 200, .9);
-	border-top: 1px solid #66CC32;
-}
-
-.outgoing.consecutive .x-message
-{
-	border-top: 1px solid rgba(102, 204, 50, .4);
-}
-
-.outgoing a
-{
-	color: #66CC32;
-}
-
-.outgoing a:hover
-{
-	background: #66CC32;
-}
diff -r c0609e293cd0 -r f5646d3ecee5 Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/colors_red_blue.css
--- a/Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/colors_red_blue.css	Thu May 13 23:50:13 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-body,
-#topic,
-.status .x-wrap,
-.event .x-wrap
-{
-	background-color: rgba(255, 244, 244, .8);
-}
-
-.incoming .x-buddyicon
-{
-	background: rgba(0, 45, 255, .2);
-}
-
-.incoming .x-sender
-{
-	background: #002CFF;
-}
-
-.incoming .x-time
-{
-	color: #002cff;
-}
-
-.incoming .x-message
-{
-	background: rgba(204, 204, 246, .9);
-	border-top: 1px solid #002CFF;
-}
-
-.incoming.consecutive .x-message
-{
-	border-top: 1px solid rgba(0, 45, 255, .4);
-}
-
-.incoming a:hover
-{
-	background: #002CFF;
-}
-
-.incoming a
-{
-	color: #002CFF;
-}
-
-.outgoing .x-buddyicon
-{
-	background: rgba(255, 0, 1, .2);
-}
-
-.outgoing .x-sender
-{
-	background: #FF0001;
-}
-
-.outgoing .x-time
-{
-	color: #FF0001;
-}
-
-.outgoing .x-message
-{
-	background: rgba(255, 195, 195, .9);
-	border-top: 1px solid #FF0001;
-}
-
-.outgoing.consecutive .x-message
-{
-	border-top: 1px solid rgba(255, 0, 1, .4);
-}
-
-.outgoing a
-{
-	color: #FF0001;
-}
-
-.outgoing a:hover
-{
-	background: #FF0001;
-}
diff -r c0609e293cd0 -r f5646d3ecee5 Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/icon_alternate.css
--- a/Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/icon_alternate.css	Thu May 13 23:50:13 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-.incoming .x-wrap
-{
-	margin-right: 37px;
-}
-
-.outgoing .x-wrap
-{
-	margin-left: 37px;
-}
-
-.incoming .x-buddyicon
-{
-	position: absolute;
-	right: 10px;
-}
-
-.outgoing .x-buddyicon
-{
-	position: absolute;
-	left: 10px;
-}
-
-.firstFocus.message .x-text:before
-{
-	right: 49px;
-}
-
-.firstFocus.status .x-text:before,
-.firstFocus.event .x-text:before
-{
-	right: 10px;
-}
diff -r c0609e293cd0 -r f5646d3ecee5 Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/icon_hidden.css
--- a/Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/icon_hidden.css	Thu May 13 23:50:13 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-.x-buddyicon
-{
-	display: none;
-}
-
-.x-sender
-{
-	padding-right: 41px;
-}
-
-.firstFocus.message .x-text:before
-{
-	right: 12px;
-}
-
-.firstFocus.status .x-text:before,
-.firstFocus.event .x-text:before
-{
-	right: 10px;
-}
diff -r c0609e293cd0 -r f5646d3ecee5 Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/icon_left.css
--- a/Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/icon_left.css	Thu May 13 23:50:13 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-.message .x-wrap
-{
-	margin-left: 37px;
-}
-
-.message .x-buddyicon
-{
-	position: absolute;
-	left: 10px;
-}
-
-.firstFocus.message .x-text:before
-{
-	right: 12px;
-}
-
-.firstFocus.status .x-text:before,
-.firstFocus.event .x-text:before
-{
-	right: 10px;
-}
diff -r c0609e293cd0 -r f5646d3ecee5 Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/icon_right.css
--- a/Resources/Message Styles/Mockie.AdiumMessageStyle/Contents/Resources/Styles/icon_right.css	Thu May 13 23:50:13 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.x-wrap
-{
-	margin-right: 37px;
-}
-
-.message .x-buddyicon
-{
-	position: absolute;
-	right: 10px;
-}
-
-.firstFocus.message .x-text:before,
-.firstFocus.status .x-text:before,
-.firstFocus.event .x-text:before
-{
-	right: 49px;
-}
-
diff -r c0609e293cd0 -r f5646d3ecee5 Resources/Message Styles/Renkoo.AdiumMessageStyle/Contents/Info.plist
--- a/Resources/Message Styles/Renkoo.AdiumMessageStyle/Contents/Info.plist	Thu May 13 23:50:13 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>English</string>
-	<key>CFBundleGetInfoString</key>
-	<string>2.6</string>
-	<key>CFBundleIdentifier</key>
-	<string>com.adiumx.Renkoo.style</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>Renkoo</string>
-	<key>CFBundlePackageType</key>
-	<string>AdIM</string>
-	<key>CFBundleVersion</key>
-	<string>2.6</string>
-	<key>MessageViewVersion</key>
-	<integer>4</integer>
-	<key>XtraBundleVersion</key>
-	<string>1</string>
-	<key>DefaultFontFamily</key>
-	<string>Lucida Grande</string>
-	<key>DefaultFontSize</key>
-	<integer>13</integer>
-	<key>DefaultBackgroundColor</key>
-	<string>ffffff</string>
-	<key>AllowTextColors</key>
-	<true/>
-</dict>
-</plist>
diff -r c0609e293cd0 -r f5646d3ecee5 Resources/Message Styles/Renkoo.AdiumMessageStyle/Contents/Resources/Demo.html
--- a/Resources/Message Styles/Renkoo.AdiumMessageStyle/Contents/Resources/Demo.html	Thu May 13 23:50:13 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,91 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-	<base href="%@">
-
-	<style id="mainStyle" type="text/css" media="screen,print">	@import url( "Variants/Yellow on Green Alternating.css" ); </style>
-
-</head>
-<body style="background-color:#e3e3e3">
-<div id="Chat">
-	<div class="x-chatItem incomingItem">
-		<table width="100%">
-			<tr>
-				<td valign="top">
-					<img src="images/DummyContact.png" alt="%sender%" title="%sender%" class="x-avatar">
-					<div class="x-myBubble">
-						<div class="x-indicator"></div>
-						<table class="x-tableBubble" cellspacing="0" cellpadding="0">
-							<tr>
-								<td class="x-tl"></td>
-								<td class="x-tr"></td>
-							</tr>
-							<tr>
-								<td class="x-message">
-									Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
-									<div class="x-timeStamp">Torrey @ 4:55 am</div>
-										<div class="x-followUp"></div>
-										<div>
-											testing 1
-											<div class="x-timeStamp">%sender% @ %time%</div>
-										</div>
-										<div class="x-followUp"></div>
-										<div class="x-followUpMessage">
-											testing 123
-											<div class="x-timeStamp">%sender% @ %time%</div>
-										</div>
-										<div class="x-followUp"></div>
-										<div>
-											testing 123testing 123testing 123testing 123
-											testing 123testing 123
-											<div class="x-timeStamp">%sender% @ %time%</div>
-										</div>
-								</td>
-								<td class="x-messageRight"></td>
-							</tr>
-							<tr>
-								<td class="x-bl"></td>
-								<td class="x-br"></td>
-							</tr>
-						</table>
-					</div>
-				</td>
-			</tr>
-		</table>
-	</div>
-
-	<div class="x-chatItem outgoingItem">
-		<table width="100%">
-			<tr>
-				<td valign="top">
-					<img src="images/DummyContact.png" alt="%sender%" title="%sender%" class="x-avatar">
-					<div class="x-myBubble">
-						<div class="x-indicator"></div>
-						<table class="x-tableBubble" cellspacing="0" cellpadding="0">
-							<tr>
-								<td class="x-tl"></td>
-								<td class="x-tr"></td>
-							</tr>
-							<tr>
-								<td class="x-message">
-									Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas aliquam sapien. Aliquam sed erat eu leo bibendum egestas. Praesent mauris. Quisque eget eros et neque scelerisque convallis. Phasellus orci. Pellentesque interdum tellus a erat. venenatis tristique.
-									<div class="x-timeStamp">Torrey @ 4:55 am</div>
-								</td>
-								<td class="x-messageRight"></td>
-							</tr>
-							<tr>
-								<td class="x-bl"></td>
-								<td class="x-br"></td>
-							</tr>
-						</table>
-					</div>
-				</td>
-			</tr>
-		</table>
-	</div>
-
-</div>
-</body>
-</html>
diff -r c0609e293cd0 -r f5646d3ecee5 Resources/Message Styles/Renkoo.AdiumMessageStyle/Contents/Resources/Footer.html
--- a/Resources/Message Styles/Renkoo.AdiumMessageStyle/Contents/Resources/Footer.html	Thu May 13 23:50:13 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,241 +0,0 @@
-<script type="text/javascript">
-	isDebug = false;
-
-	// Fade interval in milliseconds
-	// Make this larger if you experience performance issues
-	Fadomatic.INTERVAL_MILLIS = 50;
-
-	// Creates a fader
-	// element - The element to fade
-	// speed - The speed to fade at, from 0.0 to 100.0
-	// initialOpacity (optional, default 100) - element's starting opacity, 0 to 100
-	// minOpacity (optional, default 0) - element's minimum opacity, 0 to 100
-	// maxOpacity (optional, default 0) - element's minimum opacity, 0 to 100
-	function Fadomatic (element, rate, initialOpacity, minOpacity, maxOpacity) {
-		this._element = element;
-		this._intervalId = null;
-		this._rate = rate;
-		this._isFadeOut = true;
-
-		// Set initial opacity and bounds
-		// NB use 99 instead of 100 to avoid flicker at start of fade
-		this._minOpacity = 0;
-		this._maxOpacity = 99;
-		this._opacity = 99;
-
-		if (typeof minOpacity != 'undefined') {
-			if (minOpacity < 0) {
-				this._minOpacity = 0;
-			} else if (minOpacity > 99) {
-				this._minOpacity = 99;
-			} else {
-				this._minOpacity = minOpacity;
-			}
-		}
-
-		if (typeof maxOpacity != 'undefined') {
-			if (maxOpacity < 0) {
-				this._maxOpacity = 0;
-			} else if (maxOpacity > 99) {
-				this._maxOpacity = 99;
-			} else {
-				this._maxOpacity = maxOpacity;
-			}
-
-			if (this._maxOpacity < this._minOpacity) {
-				this._maxOpacity = this._minOpacity;
-			}
-		}
-
-		if (typeof initialOpacity != 'undefined') {
-			if (initialOpacity > this._maxOpacity) {
-				this._opacity = this._maxOpacity;
-			} else if (initialOpacity < this._minOpacity) {
-				this._opacity = this._minOpacity;
-			} else {
-				this._opacity = initialOpacity;
-			}
-		}
-
-		// See if we're using W3C opacity, MSIE filter, or just
-		// toggling visiblity
-		if(typeof element.style.opacity != 'undefined') {
-
-			this._updateOpacity = this._updateOpacityW3c;
-
-		} else if(typeof element.style.filter != 'undefined') {
-
-			// If there's not an alpha filter on the element already,
-			// add one
-			if (element.style.filter.indexOf("alpha") == -1) {
-
-				// Attempt to preserve existing filters
-				var existingFilters="";
-				if (element.style.filter) {
-					existingFilters = element.style.filter+" ";
-				}
-				element.style.filter = existingFilters+"alpha(opacity="+this._opacity+")";
-			}
-
-			this._updateOpacity = this._updateOpacityMSIE;
-
-		} else {
-
-			this._updateOpacity = this._updateVisibility;
-		}
-
-		this._updateOpacity();
-	}
-
-	// Initiates a fade out
-	Fadomatic.prototype.fadeOut = function () {
-		this._isFadeOut = true;
-		this._beginFade();
-	}
-
-	// Initiates a fade in
-	Fadomatic.prototype.fadeIn = function () {
-		this._isFadeOut = false;
-		this._beginFade();
-	}
-
-	// Makes the element completely opaque, stops any fade in progress
-	Fadomatic.prototype.show = function () {
-		this.haltFade();




More information about the commits mailing list