GitHost.io will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at https://about.gitlab.com/gitlab-hosted/#githost-is-shutting-down-on-june-1st-2019

Commit 11c57e7a authored by Bob Mottram's avatar Bob Mottram

Remove Google References

This removes most references to Google, with some
remaining since they may point to things which are still
relevant. References to Google Code, Google Buzz and
Google Maps have been removed
parent b2cfbded
...@@ -393,8 +393,7 @@ resource: a unique identifier for the connection to the server. This ...@@ -393,8 +393,7 @@ resource: a unique identifier for the connection to the server. This
is actually used as a prefix for each XMPP component in the system. is actually used as a prefix for each XMPP component in the system.
password: password for the user account. password: password for the user account.
host: some XMPP domains are served by machines with a different host: some XMPP domains are served by machines with a different
hostname. (For example, @gmail.com GTalk users connect to hostname. Set this to the correct hostname if that's the
talk.google.com). Set this to the correct hostname if that's the
case with your server. case with your server.
encryption: Whether to encrypt the connection between StatusNet and the encryption: Whether to encrypt the connection between StatusNet and the
XMPP server. Defaults to true, but you can get XMPP server. Defaults to true, but you can get
...@@ -502,7 +501,7 @@ restore: whether users can restore their profiles from backup files. Defaults ...@@ -502,7 +501,7 @@ restore: whether users can restore their profiles from backup files. Defaults
to true. to true.
delete: whether users can delete their own accounts. Defaults to false. delete: whether users can delete their own accounts. Defaults to false.
move: whether users can move their accounts to another server. Defaults move: whether users can move their accounts to another server. Defaults
to true. to true.
newuser newuser
------- -------
...@@ -583,7 +582,7 @@ maxaliases: maximum number of aliases a group can have. Default 3. Set ...@@ -583,7 +582,7 @@ maxaliases: maximum number of aliases a group can have. Default 3. Set
desclimit: maximum number of characters to allow in group descriptions. desclimit: maximum number of characters to allow in group descriptions.
null (default) means to use the site-wide text limits. 0 null (default) means to use the site-wide text limits. 0
means no limit. means no limit.
addtag: Whether to add a tag for the group nickname for every group post addtag: Whether to add a tag for the group nickname for every group post
(pre-1.0.x behaviour). Defaults to false. (pre-1.0.x behaviour). Defaults to false.
search search
...@@ -709,7 +708,7 @@ external: external links in notices. One of three values: 'sometimes', ...@@ -709,7 +708,7 @@ external: external links in notices. One of three values: 'sometimes',
url url
--- ---
These are some options for fine-tuning how and when the server will These are some options for fine-tuning how and when the server will
shorten URLs. shorten URLs.
shortener: URL shortening service to use by default. Users can override shortener: URL shortening service to use by default. Users can override
...@@ -780,5 +779,3 @@ oldschool ...@@ -780,5 +779,3 @@ oldschool
enabled: enable certain old-style user settings options, like stream-only mode, enabled: enable certain old-style user settings options, like stream-only mode,
conversation trees, and nicknames in streams. Off by default, and conversation trees, and nicknames in streams. Off by default, and
may not be well supported in future versions. may not be well supported in future versions.
...@@ -42,11 +42,10 @@ EndShowUAStyles: End showing custom User-Agent links; good place to add user-age ...@@ -42,11 +42,10 @@ EndShowUAStyles: End showing custom User-Agent links; good place to add user-age
StartShowScripts: Showing JavaScript links StartShowScripts: Showing JavaScript links
- $action: the current action - $action: the current action
EndShowScripts: End showing JavaScript links; good place to add custom EndShowScripts: End showing JavaScript links; good place to add custom links
links like Google Analytics
- $action: the current action - $action: the current action
StartShowJQueryScripts: Showing JQuery script links (use this to link to e.g. Google mirrors) StartShowJQueryScripts: Showing JQuery script links
- $action: the current action - $action: the current action
EndShowJQueryScripts: End showing JQuery script links EndShowJQueryScripts: End showing JQuery script links
...@@ -1431,7 +1430,7 @@ StartNoticeListPrefill: Before pre-filling a list of notices with extra data ...@@ -1431,7 +1430,7 @@ StartNoticeListPrefill: Before pre-filling a list of notices with extra data
EndNoticeListPrefill: After pre-filling a list of notices with extra data EndNoticeListPrefill: After pre-filling a list of notices with extra data
- &$notices: Notices that were pre-filled - &$notices: Notices that were pre-filled
- &$profiles: Profiles that were pre-filled - &$profiles: Profiles that were pre-filled
- $avatarSize: The avatar size for the list - $avatarSize: The avatar size for the list
OtherAccountProfiles: Hook to add account profiles to a user account profile block OtherAccountProfiles: Hook to add account profiles to a user account profile block
......
...@@ -10,13 +10,13 @@ and has a choice of accepting or rejecting the events. ...@@ -10,13 +10,13 @@ and has a choice of accepting or rejecting the events.
In the simplest case, you can add a function to config.php and use the In the simplest case, you can add a function to config.php and use the
Event::addHandler() function to hook an event: Event::addHandler() function to hook an event:
function AddGoogleLink($action) function AddMyWebsiteLink($action)
{ {
$action->menuItem('http://www.google.com/', _('Google'), _('Search engine')); $action->menuItem('http://mywebsite.net/', _('My web site'), _('Example web link'));
return true; return true;
} }
Event::addHandler('EndPrimaryNav', 'AddGoogleLink'); Event::addHandler('EndPrimaryNav', 'AddMyWebsiteLink');
This adds a menu item to the end of the main navigation menu. You can This adds a menu item to the end of the main navigation menu. You can
see the list of existing events, and parameters that handlers must see the list of existing events, and parameters that handlers must
......
...@@ -32,8 +32,8 @@ polls, announce events, or other social activities ...@@ -32,8 +32,8 @@ polls, announce events, or other social activities
(and you can add more!). Users can choose which (and you can add more!). Users can choose which
people to "follow" and receive only their friends' people to "follow" and receive only their friends'
or colleagues' status messages. It provides a or colleagues' status messages. It provides a
similar service to sites like Twitter, Google+ or similar service to proprietary social network sites,
Facebook, but is much more awesome. but is much more awesome.
With a little work, status messages can be sent to With a little work, status messages can be sent to
mobile phones, instant messenger programs (using mobile phones, instant messenger programs (using
...@@ -248,4 +248,3 @@ built the fediverse network to what it is today. ...@@ -248,4 +248,3 @@ built the fediverse network to what it is today.
### License help from ### License help from
* Bradley M. Kuhn * Bradley M. Kuhn
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
<truncated>false</truncated> <truncated>false</truncated>
<created_at>Wed Mar 31 01:33:02 +0000 2010</created_at> <created_at>Wed Mar 31 01:33:02 +0000 2010</created_at>
<in_reply_to_status_id/> <in_reply_to_status_id/>
<source>&lt;a href="http://code.google.com/p/microblog-purple/"&gt;mbpidgin&lt;/a&gt;</source> <source>&lt;a href="http://somesourcecode.net/microblog/"&gt;mbpidgin&lt;/a&gt;</source>
<id>26674201</id> <id>26674201</id>
<in_reply_to_user_id/> <in_reply_to_user_id/>
<in_reply_to_screen_name/> <in_reply_to_screen_name/>
...@@ -275,7 +275,7 @@ class ApiTimelineFriendsAction extends ApiBareAuthAction ...@@ -275,7 +275,7 @@ class ApiTimelineFriendsAction extends ApiBareAuthAction
$notices = array(); $notices = array();
$stream = new InboxNoticeStream($this->target, $this->scoped); $stream = new InboxNoticeStream($this->target, $this->scoped);
$notice = $stream->getNotices(($this->page-1) * $this->count, $notice = $stream->getNotices(($this->page-1) * $this->count,
$this->count, $this->count,
$this->since_id, $this->since_id,
......
...@@ -27,12 +27,12 @@ VALUES ...@@ -27,12 +27,12 @@ VALUES
('IdentiCurse','IdentiCurse','http://identicurse.net/', now()), ('IdentiCurse','IdentiCurse','http://identicurse.net/', now()),
('IdentiFox','IdentiFox','http://www.bitbucket.org/uncryptic/identifox/', now()), ('IdentiFox','IdentiFox','http://www.bitbucket.org/uncryptic/identifox/', now()),
('identitwitch','IdentiTwitch','http://richfish.org/identitwitch/', now()), ('identitwitch','IdentiTwitch','http://richfish.org/identitwitch/', now()),
('Jiminy','Jiminy','http://code.google.com/p/jiminy/', now()), ('Jiminy','Jiminy','', now()),
('LaTwit','LaTwit','http://latwit.mac65.com/', now()), ('LaTwit','LaTwit','http://latwit.mac65.com/', now()),
('LiveTweeter', 'LiveTweeter', 'http://addons.songbirdnest.com/addon/1204', now()), ('LiveTweeter', 'LiveTweeter', 'http://addons.songbirdnest.com/addon/1204', now()),
('livetweeter', 'livetweeter', 'http://addons.songbirdnest.com/addon/1204', now()), ('livetweeter', 'livetweeter', 'http://addons.songbirdnest.com/addon/1204', now()),
('maisha', 'Maisha', 'http://maisha.grango.org/', now()), ('maisha', 'Maisha', 'http://maisha.grango.org/', now()),
('mbpidgin','mbpidgin','http://code.google.com/p/microblog-purple/', now()), ('mbpidgin','mbpidgin','', now()),
('Mobidentica', 'Mobidentica', 'http://www.substanceofcode.com/software/mobidentica/', now()), ('Mobidentica', 'Mobidentica', 'http://www.substanceofcode.com/software/mobidentica/', now()),
('moconica','Moconica','http://moconica.com/', now()), ('moconica','Moconica','http://moconica.com/', now()),
('mustard', 'mustard', 'http://mustard.macno.org', now()), ('mustard', 'mustard', 'http://mustard.macno.org', now()),
...@@ -41,10 +41,10 @@ VALUES ...@@ -41,10 +41,10 @@ VALUES
('Pikchur','Pikchur','http://www.pikchur.com/', now()), ('Pikchur','Pikchur','http://www.pikchur.com/', now()),
('Ping.fm','Ping.fm','http://ping.fm/', now()), ('Ping.fm','Ping.fm','http://ping.fm/', now()),
('pingvine','PingVine','http://pingvine.com/', now()), ('pingvine','PingVine','http://pingvine.com/', now()),
('pocketwit','PockeTwit','http://code.google.com/p/pocketwit/', now()), ('pocketwit','PockeTwit','', now()),
('posty','Posty','http://spreadingfunkyness.com/posty/', now()), ('posty','Posty','http://spreadingfunkyness.com/posty/', now()),
('qtwitter','qTwitter','http://qtwitter.ayoy.net/', now()), ('qtwitter','qTwitter','http://qtwitter.ayoy.net/', now()),
('qwit', 'Qwit', 'http://code.google.com/p/qwit/', now()), ('qwit', 'Qwit', '', now()),
('royalewithcheese','Royale With Cheese','http://p.hellyeah.org/', now()), ('royalewithcheese','Royale With Cheese','http://p.hellyeah.org/', now()),
('rssdent','rssdent','http://github.com/zcopley/rssdent/tree/master', now()), ('rssdent','rssdent','http://github.com/zcopley/rssdent/tree/master', now()),
('rygh.no','rygh.no','http://rygh.no/', now()), ('rygh.no','rygh.no','http://rygh.no/', now()),
......
...@@ -130,8 +130,6 @@ class HTMLPurifier_AttrDef_CSS_FontFamily extends HTMLPurifier_AttrDef ...@@ -130,8 +130,6 @@ class HTMLPurifier_AttrDef_CSS_FontFamily extends HTMLPurifier_AttrDef
// <http://ja.wikipedia.org/wiki/MS_明朝>. See // <http://ja.wikipedia.org/wiki/MS_明朝>. See
// the CSS3 spec for more examples: // the CSS3 spec for more examples:
// <http://www.w3.org/TR/2011/WD-css3-fonts-20110324/localizedfamilynames.png> // <http://www.w3.org/TR/2011/WD-css3-fonts-20110324/localizedfamilynames.png>
// You can see live samples of these on the Internet:
// <http://www.google.co.jp/search?q=font-family+MS+明朝|ゴシック>
// However, most of these fonts have ASCII equivalents: // However, most of these fonts have ASCII equivalents:
// for example, 'MS Mincho', and it's considered // for example, 'MS Mincho', and it's considered
// professional to use ASCII font names instead of // professional to use ASCII font names instead of
......
...@@ -9,75 +9,75 @@ DEFAULT: NULL ...@@ -9,75 +9,75 @@ DEFAULT: NULL
absolute URIs into another URI, usually a URI redirection service. absolute URIs into another URI, usually a URI redirection service.
This directive accepts a URI, formatted with a <code>%s</code> where This directive accepts a URI, formatted with a <code>%s</code> where
the url-encoded original URI should be inserted (sample: the url-encoded original URI should be inserted (sample:
<code>http://www.google.com/url?q=%s</code>). <code>https://searx.laquadrature.net/?q=%s</code>).
</p> </p>
<p> <p>
Uses for this directive: Uses for this directive:
</p> </p>
<ul> <ul>
<li> <li>
Prevent PageRank leaks, while being fairly transparent Prevent PageRank leaks, while being fairly transparent
to users (you may also want to add some client side JavaScript to to users (you may also want to add some client side JavaScript to
override the text in the statusbar). <strong>Notice</strong>: override the text in the statusbar). <strong>Notice</strong>:
Many security experts believe that this form of protection does not deter spam-bots. Many security experts believe that this form of protection does not deter spam-bots.
</li> </li>
<li> <li>
Redirect users to a splash page telling them they are leaving your Redirect users to a splash page telling them they are leaving your
website. While this is poor usability practice, it is often mandated website. While this is poor usability practice, it is often mandated
in corporate environments. in corporate environments.
</li> </li>
</ul> </ul>
<p> <p>
Prior to HTML Purifier 3.1.1, this directive also enabled the munging Prior to HTML Purifier 3.1.1, this directive also enabled the munging
of browsable external resources, which could break things if your redirection of browsable external resources, which could break things if your redirection
script was a splash page or used <code>meta</code> tags. To revert to script was a splash page or used <code>meta</code> tags. To revert to
previous behavior, please use %URI.MungeResources. previous behavior, please use %URI.MungeResources.
</p> </p>
<p> <p>
You may want to also use %URI.MungeSecretKey along with this directive You may want to also use %URI.MungeSecretKey along with this directive
in order to enforce what URIs your redirector script allows. Open in order to enforce what URIs your redirector script allows. Open
redirector scripts can be a security risk and negatively affect the redirector scripts can be a security risk and negatively affect the
reputation of your domain name. reputation of your domain name.
</p> </p>
<p> <p>
Starting with HTML Purifier 3.1.1, there is also these substitutions: Starting with HTML Purifier 3.1.1, there is also these substitutions:
</p> </p>
<table> <table>
<thead> <thead>
<tr> <tr>
<th>Key</th> <th>Key</th>
<th>Description</th> <th>Description</th>
<th>Example <code>&lt;a href=""&gt;</code></th> <th>Example <code>&lt;a href=""&gt;</code></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>%r</td> <td>%r</td>
<td>1 - The URI embeds a resource<br />(blank) - The URI is merely a link</td> <td>1 - The URI embeds a resource<br />(blank) - The URI is merely a link</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>%n</td> <td>%n</td>
<td>The name of the tag this URI came from</td> <td>The name of the tag this URI came from</td>
<td>a</td> <td>a</td>
</tr> </tr>
<tr> <tr>
<td>%m</td> <td>%m</td>
<td>The name of the attribute this URI came from</td> <td>The name of the attribute this URI came from</td>
<td>href</td> <td>href</td>
</tr> </tr>
<tr> <tr>
<td>%p</td> <td>%p</td>
<td>The name of the CSS property this URI came from, or blank if irrelevant</td> <td>The name of the CSS property this URI came from, or blank if irrelevant</td>
<td></td> <td></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<p> <p>
Admittedly, these letters are somewhat arbitrary; the only stipulation Admittedly, these letters are somewhat arbitrary; the only stipulation
was that they couldn't be a through f. r is for resource (I would have preferred was that they couldn't be a through f. r is for resource (I would have preferred
e, but you take what you can get), n is for name, m e, but you take what you can get), n is for name, m
was picked because it came after n (and I couldn't use a), p is for was picked because it came after n (and I couldn't use a), p is for
property. property.
</p> </p>
--# vim: et sw=4 sts=4 --# vim: et sw=4 sts=4
...@@ -27,7 +27,7 @@ class HTMLPurifier_Injector_Linkify extends HTMLPurifier_Injector ...@@ -27,7 +27,7 @@ class HTMLPurifier_Injector_Linkify extends HTMLPurifier_Injector
if (strpos($token->data, '://') === false) { if (strpos($token->data, '://') === false) {
// our really quick heuristic failed, abort // our really quick heuristic failed, abort
// this may not work so well if we want to match things like // this may not work so well if we want to match things like
// "google.com", but then again, most people don't // "domainname.com", but then again, most people don't
return; return;
} }
......
...@@ -108,9 +108,9 @@ abstract class OAuthSignatureMethod { ...@@ -108,9 +108,9 @@ abstract class OAuthSignatureMethod {
} }
/** /**
* The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104] * The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104]
* where the Signature Base String is the text and the key is the concatenated values (each first * where the Signature Base String is the text and the key is the concatenated values (each first
* encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&' * encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&'
* character (ASCII code 38) even if empty. * character (ASCII code 38) even if empty.
* - Chapter 9.2 ("HMAC-SHA1") * - Chapter 9.2 ("HMAC-SHA1")
*/ */
...@@ -136,7 +136,7 @@ class OAuthSignatureMethod_HMAC_SHA1 extends OAuthSignatureMethod { ...@@ -136,7 +136,7 @@ class OAuthSignatureMethod_HMAC_SHA1 extends OAuthSignatureMethod {
} }
/** /**
* The PLAINTEXT method does not provide any security protection and SHOULD only be used * The PLAINTEXT method does not provide any security protection and SHOULD only be used
* over a secure channel such as HTTPS. It does not use the Signature Base String. * over a secure channel such as HTTPS. It does not use the Signature Base String.
* - Chapter 9.4 ("PLAINTEXT") * - Chapter 9.4 ("PLAINTEXT")
*/ */
...@@ -146,8 +146,8 @@ class OAuthSignatureMethod_PLAINTEXT extends OAuthSignatureMethod { ...@@ -146,8 +146,8 @@ class OAuthSignatureMethod_PLAINTEXT extends OAuthSignatureMethod {
} }
/** /**
* oauth_signature is set to the concatenated encoded values of the Consumer Secret and * oauth_signature is set to the concatenated encoded values of the Consumer Secret and
* Token Secret, separated by a '&' character (ASCII code 38), even if either secret is * Token Secret, separated by a '&' character (ASCII code 38), even if either secret is
* empty. The result MUST be encoded again. * empty. The result MUST be encoded again.
* - Chapter 9.4.1 ("Generating Signatures") * - Chapter 9.4.1 ("Generating Signatures")
* *
...@@ -169,10 +169,10 @@ class OAuthSignatureMethod_PLAINTEXT extends OAuthSignatureMethod { ...@@ -169,10 +169,10 @@ class OAuthSignatureMethod_PLAINTEXT extends OAuthSignatureMethod {
} }
/** /**
* The RSA-SHA1 signature method uses the RSASSA-PKCS1-v1_5 signature algorithm as defined in * The RSA-SHA1 signature method uses the RSASSA-PKCS1-v1_5 signature algorithm as defined in
* [RFC3447] section 8.2 (more simply known as PKCS#1), using SHA-1 as the hash function for * [RFC3447] section 8.2 (more simply known as PKCS#1), using SHA-1 as the hash function for
* EMSA-PKCS1-v1_5. It is assumed that the Consumer has provided its RSA public key in a * EMSA-PKCS1-v1_5. It is assumed that the Consumer has provided its RSA public key in a
* verified way to the Service Provider, in a manner which is beyond the scope of this * verified way to the Service Provider, in a manner which is beyond the scope of this
* specification. * specification.
* - Chapter 9.3 ("RSA-SHA1") * - Chapter 9.3 ("RSA-SHA1")
*/ */
...@@ -573,7 +573,7 @@ class OAuthServer { ...@@ -573,7 +573,7 @@ class OAuthServer {
private function get_version(&$request) { private function get_version(&$request) {
$version = $request->get_parameter("oauth_version"); $version = $request->get_parameter("oauth_version");
if (!$version) { if (!$version) {
// Service Providers MUST assume the protocol version to be 1.0 if this parameter is not present. // Service Providers MUST assume the protocol version to be 1.0 if this parameter is not present.
// Chapter 7.0 ("Accessing Protected Ressources") // Chapter 7.0 ("Accessing Protected Ressources")
$version = '1.0'; $version = '1.0';
} }
...@@ -587,7 +587,7 @@ class OAuthServer { ...@@ -587,7 +587,7 @@ class OAuthServer {
* figure out the signature with some defaults * figure out the signature with some defaults
*/ */
private function get_signature_method($request) { private function get_signature_method($request) {
$signature_method = $request instanceof OAuthRequest $signature_method = $request instanceof OAuthRequest
? $request->get_parameter("oauth_signature_method") ? $request->get_parameter("oauth_signature_method")
: NULL; : NULL;
...@@ -612,7 +612,7 @@ class OAuthServer { ...@@ -612,7 +612,7 @@ class OAuthServer {
* try to find the consumer for the provided request's consumer key * try to find the consumer for the provided request's consumer key
*/ */
private function get_consumer($request) { private function get_consumer($request) {
$consumer_key = $request instanceof OAuthRequest $consumer_key = $request instanceof OAuthRequest
? $request->get_parameter("oauth_consumer_key") ? $request->get_parameter("oauth_consumer_key")
: NULL; : NULL;
...@@ -684,7 +684,7 @@ class OAuthServer { ...@@ -684,7 +684,7 @@ class OAuthServer {
throw new OAuthException( throw new OAuthException(
'Missing timestamp parameter. The parameter is required' 'Missing timestamp parameter. The parameter is required'
); );
// verify that timestamp is recentish // verify that timestamp is recentish
$now = time(); $now = time();
if (abs($now - $timestamp) > $this->timestamp_threshold) { if (abs($now - $timestamp) > $this->timestamp_threshold) {
...@@ -770,7 +770,6 @@ class OAuthUtil { ...@@ -770,7 +770,6 @@ class OAuthUtil {
// parameters, has to do some unescaping // parameters, has to do some unescaping
// Can filter out any non-oauth parameters if needed (default behaviour) // Can filter out any non-oauth parameters if needed (default behaviour)
// May 28th, 2010 - method updated to tjerk.meesters for a speed improvement. // May 28th, 2010 - method updated to tjerk.meesters for a speed improvement.
// see http://code.google.com/p/oauth/issues/detail?id=163
public static function split_header($header, $only_allow_oauth_parameters = true) { public static function split_header($header, $only_allow_oauth_parameters = true) {
$params = array(); $params = array();
if (preg_match_all('/('.($only_allow_oauth_parameters ? 'oauth_' : '').'[a-z_-]*)=(:?"([^"]*)"|([^,]*))/', $header, $matches)) { if (preg_match_all('/('.($only_allow_oauth_parameters ? 'oauth_' : '').'[a-z_-]*)=(:?"([^"]*)"|([^,]*))/', $header, $matches)) {
......
...@@ -84,7 +84,7 @@ and the URLs are listed here for your convenience. ...@@ -84,7 +84,7 @@ and the URLs are listed here for your convenience.
- PEAR Net_Socket, if you use the SMTP factory for notifications - PEAR Net_Socket, if you use the SMTP factory for notifications
http://pear.php.net/package/Net_Socket http://pear.php.net/package/Net_Socket
- XMPPHP, the follow-up to Class.Jabber.php. Probably the best XMPP - XMPPHP, the follow-up to Class.Jabber.php. Probably the best XMPP
library available for PHP. http://xmpphp.googlecode.com/. Note that library available for PHP. https://github.com/heshanlk/XMPPHP. Note that
as of this writing the version of this library that is available in as of this writing the version of this library that is available in
the extlib directory is *significantly different* from the upstream the extlib directory is *significantly different* from the upstream
version (patches have been submitted). Upgrading to the upstream version (patches have been submitted). Upgrading to the upstream
......
...@@ -28,7 +28,7 @@ Why? ...@@ -28,7 +28,7 @@ Why?
I got used to having gettext work even without gettext I got used to having gettext work even without gettext
library. It's there in my favourite language Python, so I was library. It's there in my favourite language Python, so I was
surprised that I couldn't find it in PHP. I even Googled for it, surprised that I couldn't find it in PHP. I even searched for it,
but to no avail. but to no avail.
So, I said, what the heck, I'm going to write it for this So, I said, what the heck, I'm going to write it for this
......
...@@ -14626,7 +14626,6 @@ color.fn = jQuery.extend( color.prototype, { ...@@ -14626,7 +14626,6 @@ color.fn = jQuery.extend( color.prototype, {
color.fn.parse.prototype = color.fn; color.fn.parse.prototype = color.fn;
// hsla conversions adapted from: // hsla conversions adapted from:
// https://code.google.com/p/maashaack/source/browse/packages/graphics/trunk/src/graphics/colors/HUE2RGB.as?r=5021
function hue2rgb( p, q, h ) { function hue2rgb( p, q, h ) {
h = ( h + 1 ) % 1; h = ( h + 1 ) % 1;
......
...@@ -9083,7 +9083,6 @@ jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function( ...@@ -9083,7 +9083,6 @@ jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(
// Support: Safari<7+, Chrome<37+ // Support: Safari<7+, Chrome<37+
// Add the top/left cssHooks using jQuery.fn.position // Add the top/left cssHooks using jQuery.fn.position
// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
// Blink bug: https://code.google.com/p/chromium/issues/detail?id=229280
// getComputedStyle returns percent when specified for top/left/bottom/right; // getComputedStyle returns percent when specified for top/left/bottom/right;
// rather than make the css module depend on the offset module, just check for it here // rather than make the css module depend on the offset module, just check for it here
jQuery.each( [ "top", "left" ], function( i, prop ) { jQuery.each( [ "top", "left" ], function( i, prop ) {
......
// A shim to implement the W3C Geolocation API Specification using Gears or the Ajax API
if (typeof navigator.geolocation == "undefined" || navigator.geolocation.shim ) { (function(){
// -- BEGIN GEARS_INIT
(function() {
// We are already defined. Hooray!
if (window.google && google.gears) {
return;
}
var factory = null;
// Firefox
if (typeof GearsFactory != 'undefined') {
factory = new GearsFactory();
} else {
// IE
try {
factory = new ActiveXObject('Gears.Factory');
// privateSetGlobalObject is only required and supported on WinCE.
if (factory.getBuildInfo().indexOf('ie_mobile') != -1) {
factory.privateSetGlobalObject(this);
}
} catch (e) {
// Safari
if ((typeof navigator.mimeTypes != 'undefined') && navigator.mimeTypes["application/x-googlegears"]) {
factory = document.createElement("object");
factory.style.display = "none";
factory.width = 0;
factory.height = 0;
factory.type = "application/x-googlegears";
document.documentElement.appendChild(factory);
}
}
}
// *Do not* define any objects if Gears is not installed. This mimics the
// behavior of Gears defining the objects in the future.
if (!factory) {
return;
}
// Now set up the objects, being careful not to overwrite anything.
//
// Note: In Internet Explorer for Windows Mobile, you can't add properties to
// the window object. However, global objects are automatically added as
// properties of the window object in all browsers.
if (!window.google) {
google = {};
}
if (!google.gears) {
google.gears = {factory: factory};
}
})();
// -- END GEARS_INIT
var GearsGeoLocation = (function() {
// -- PRIVATE
var geo = google.gears.factory.create('beta.geolocation');
var wrapSuccess = function(callback, self) { // wrap it for lastPosition love
return function(position) {
callback(position);