Skip to content

Commit

Permalink
Replaced HTTP where HTTPS been awailable.
Browse files Browse the repository at this point in the history
  • Loading branch information
yackermann committed Apr 1, 2016
1 parent acb4f90 commit 7969290
Show file tree
Hide file tree
Showing 19 changed files with 155 additions and 155 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ rules, it also contains advice on designing your own vs. adapting an existing
format, on XML instance document formatting, and on elements vs. attributes.

These style guides are licensed under the CC-By 3.0 License, which encourages
you to share these documents. See http://creativecommons.org/licenses/by/3.0/
you to share these documents. See [https://creativecommons.org/licenses/by/3.0/](https://creativecommons.org/licenses/by/3.0/)
for more details.

<a rel="license" href="http://creativecommons.org/licenses/by/3.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/3.0/88x31.png" /></a>
<a rel="license" href="https://creativecommons.org/licenses/by/3.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/3.0/88x31.png" /></a>

[cpp]: http://google.github.io/styleguide/cppguide.html
[objc]: http://google.github.io/styleguide/objcguide.xml
[java]: http://google.github.io/styleguide/javaguide.html
[py]: http://google.github.io/styleguide/pyguide.html
[r]: http://google.github.io/styleguide/Rguide.xml
[sh]: http://google.github.io/styleguide/shell.xml
[htmlcss]: http://google.github.io/styleguide/htmlcssguide.xml
[js]: http://google.github.io/styleguide/javascriptguide.xml
[angular]: http://google.github.io/styleguide/angularjs-google-style.html
[cl]: http://google.github.io/styleguide/lispguide.xml
[vim]: http://google.github.io/styleguide/vimscriptguide.xml
[cpp]: https://google.github.io/styleguide/cppguide.html
[objc]: https://google.github.io/styleguide/objcguide.xml
[java]: https://google.github.io/styleguide/javaguide.html
[py]: https://google.github.io/styleguide/pyguide.html
[r]: https://google.github.io/styleguide/Rguide.xml
[sh]: https://google.github.io/styleguide/shell.xml
[htmlcss]: https://google.github.io/styleguide/htmlcssguide.xml
[js]: https://google.github.io/styleguide/javascriptguide.xml
[angular]: https://google.github.io/styleguide/angularjs-google-style.html
[cl]: https://google.github.io/styleguide/lispguide.xml
[vim]: https://google.github.io/styleguide/vimscriptguide.xml
[cpplint]: https://github.com/google/styleguide/tree/gh-pages/cpplint
[emacs]: https://raw.githubusercontent.com/google/styleguide/gh-pages/google-c-style.el
[xml]: http://google.github.io/styleguide/xmlstyle.html
[xml]: https://google.github.io/styleguide/xmlstyle.html
6 changes: 3 additions & 3 deletions Rguide.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="styleguide.css"/>
Expand Down Expand Up @@ -378,8 +378,8 @@ CalculateSampleCovariance &lt;- function(x, y, verbose = TRUE) {
of the two systems, see Thomas Lumley's
"Programmer's Niche: A Simple
Class, in S3 and S4" in R News 4/1, 2004, pgs. 33 - 36:
<a href="http://cran.r-project.org/doc/Rnews/Rnews_2004-1.pdf">
http://cran.r-project.org/doc/Rnews/Rnews_2004-1.pdf</a>.)
<a href="https://cran.r-project.org/doc/Rnews/Rnews_2004-1.pdf">
https://cran.r-project.org/doc/Rnews/Rnews_2004-1.pdf</a>.)
</p>
<p>Use S3 objects and methods unless there is a strong reason to use
S4 objects or methods. A primary justification for an S4 object
Expand Down
18 changes: 9 additions & 9 deletions angularjs-google-style.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "https://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
Expand All @@ -21,24 +21,24 @@ <h1 class="external">An AngularJS Style Guide for Closure Users at Google</h1>
(or not apply) these recommendations, as relevant to their own use cases.</p>

<p class="external">This document describes style for AngularJS apps in google3. This guide
supplements and extends the <a href="http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml">
supplements and extends the <a href="https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml">
Google JavaScript Style Guide</a>.
</p>

<p><b>Style Note</b>: Examples on the AngularJS external webpage, and many external apps, are
written in a style that freely uses closures, favors functional inheritance, and does not often use
<a class="external"
href="http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml?showone=JavaScript_Types#JavaScript_Types">
href="https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml?showone=JavaScript_Types#JavaScript_Types">
JavaScript types</a>. Google follows a more rigorous Javascript style to support JSCompiler
optimizations and large code bases - see the javascript-style mailing list.
This is not an Angular-specific issue, and is not discussed further in this style guide.
(But if you want further reading:
<a href="http://martinfowler.com/bliki/Lambda.html">Martin Fowler on closures</a>,
<a href="http://jibbering.com/faq/notes/closures/">much longer description</a>, appendix A of the
<a href="http://books.google.com/books/about/Closure_The_Definitive_Guide.html?id=p7uyWPcVGZsC">
<a href="https://books.google.com/books/about/Closure_The_Definitive_Guide.html?id=p7uyWPcVGZsC">
closure book</a> has a good description of inheritance patterns and why it prefers
pseudoclassical,
<a href="http://books.google.com/books/about/JavaScript.html?id=PXa2bby0oQ0C">
<a href="https://books.google.com/books/about/JavaScript.html?id=PXa2bby0oQ0C">
Javascript, the Good Parts</a> as a counter.)</p>

<h5>1 Angular Language Rules</h5>
Expand Down Expand Up @@ -152,7 +152,7 @@ <h3 id="compilerflags">JSCompiler Flags</h3>

<h3 id="controllers">Controllers and Scopes</h3>
<p>Controllers are classes. Methods should be defined on MyCtrl.prototype.
See <a href="http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml?showone=Method_and_property_definitions#Method_and_property_definitions">
See <a href="https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml?showone=Method_and_property_definitions#Method_and_property_definitions">
the JavaScript style guide</a></p>

<p>Google Angular applications should use the <b>'controller as'</b> style to export the controller
Expand Down Expand Up @@ -343,8 +343,8 @@ <h3 id="testing">Testing</h3>

<p>Angular provides easy adapters to load modules and use the injector in Jasmine tests.
<ul>
<li><a href = "http://docs.angularjs.org/api/angular.mock.module">module</a>
<li><a href="http://docs.angularjs.org/api/angular.mock.inject">inject</a>
<li><a href = "https://docs.angularjs.org/api/angular.mock.module">module</a>
<li><a href="https://docs.angularjs.org/api/angular.mock.inject">inject</a>
</ul>
</p>

Expand Down Expand Up @@ -385,7 +385,7 @@ <h2 id="bestpractices">4 Best practices links and docs</h2>
<ul>
<li><a href="https://github.com/angular/angular.js/wiki/Best-Practices">
Best Practices</a> from Angular on GitHub</li>
<li><a href="http://www.youtube.com/watch?v=ZhfUv0spHCY">
<li><a href="https://www.youtube.com/watch?v=ZhfUv0spHCY">
Meetup video</a> (not Google specific)</li>
</ul>
<address>
Expand Down
42 changes: 21 additions & 21 deletions cppguide.html
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ <h4 class="stylepoint_subsection">Named Namespaces</h4>

<p>Namespaces wrap the entire source file after
includes,
<a href="http://gflags.github.io/gflags/">
<a href="https://gflags.github.io/gflags/">
gflags</a> definitions/declarations
and forward declarations of classes from other namespaces.</p>

Expand Down Expand Up @@ -1155,7 +1155,7 @@ <h3 id="Copyable_Movable_Types">Copyable and Movable Types</h3>
operations for them can be confusing, nonsensical, or outright
incorrect. Copy/assigment operations for base class types are
hazardous, because use of them can lead to
<a href="http://en.wikipedia.org/wiki/Object_slicing">object
<a href="https://en.wikipedia.org/wiki/Object_slicing">object
slicing</a>. Defaulted or carelessly-implemented copy operations
can be incorrect, and the resulting bugs can be confusing and
difficult to diagnose.</p>
Expand Down Expand Up @@ -1689,7 +1689,7 @@ <h3 id="Access_Control">Access Control</h3>
be <code>protected</code> when using


<a href="http://code.google.com/p/googletest/">Google
<a href="https://code.google.com/p/googletest/">Google
Test</a>).</p>
</div>

Expand Down Expand Up @@ -2715,7 +2715,7 @@ <h3 id="Streams">Streams</h3>
<li>The practice of building up output through chains
of <code>&lt;&lt;</code> operators interferes with
internationalization, because it bakes word order into the
code, and streams' support for localization is <a href="http://www.boost.org/doc/libs/1_48_0/libs/locale/doc/html/rationale.html#rationale_why">
code, and streams' support for localization is <a href="https://www.boost.org/doc/libs/1_48_0/libs/locale/doc/html/rationale.html#rationale_why">
flawed</a>.</li>


Expand Down Expand Up @@ -3763,7 +3763,7 @@ <h3 id="Boost">Boost</h3>

<div class="definition">
<p> The
<a href="http://www.boost.org/">
<a href="https://www.boost.org/">
Boost library collection</a> is a popular collection of
peer-reviewed, free, open-source C++ libraries.</p>
</div>
Expand Down Expand Up @@ -3793,53 +3793,53 @@ <h3 id="Boost">Boost</h3>

<ul>
<li>
<a href="http://www.boost.org/libs/utility/call_traits.htm">
<a href="https://www.boost.org/libs/utility/call_traits.htm">
Call Traits</a> from <code>boost/call_traits.hpp</code></li>

<li><a href="http://www.boost.org/libs/utility/compressed_pair.htm">
<li><a href="https://www.boost.org/libs/utility/compressed_pair.htm">
Compressed Pair</a> from <code>boost/compressed_pair.hpp</code></li>

<li><a href="http://www.boost.org/libs/graph/">
<li><a href="https://www.boost.org/libs/graph/">
The Boost Graph Library (BGL)</a> from <code>boost/graph</code>,
except serialization (<code>adj_list_serialize.hpp</code>) and
parallel/distributed algorithms and data structures
(<code>boost/graph/parallel/*</code> and
<code>boost/graph/distributed/*</code>).</li>

<li><a href="http://www.boost.org/libs/property_map/">
<li><a href="https://www.boost.org/libs/property_map/">
Property Map</a> from <code>boost/property_map</code>, except
parallel/distributed property maps (<code>boost/property_map/parallel/*</code>).</li>

<li><a href="http://www.boost.org/libs/iterator/">
<li><a href="https://www.boost.org/libs/iterator/">
Iterator</a> from <code>boost/iterator</code></li>

<li>The part of <a href="http://www.boost.org/libs/polygon/">
<li>The part of <a href="https://www.boost.org/libs/polygon/">
Polygon</a> that deals with Voronoi diagram
construction and doesn't depend on the rest of
Polygon:
<code>boost/polygon/voronoi_builder.hpp</code>,
<code>boost/polygon/voronoi_diagram.hpp</code>, and
<code>boost/polygon/voronoi_geometry_type.hpp</code></li>

<li><a href="http://www.boost.org/libs/bimap/">
<li><a href="https://www.boost.org/libs/bimap/">
Bimap</a> from <code>boost/bimap</code></li>

<li><a href="http://www.boost.org/libs/math/doc/html/dist.html">
<li><a href="https://www.boost.org/libs/math/doc/html/dist.html">
Statistical Distributions and Functions</a> from
<code>boost/math/distributions</code></li>

<li><a href="http://www.boost.org/libs/multi_index/">
<li><a href="https://www.boost.org/libs/multi_index/">
Multi-index</a> from <code>boost/multi_index</code></li>

<li><a href="http://www.boost.org/libs/heap/">
<li><a href="https://www.boost.org/libs/heap/">
Heap</a> from <code>boost/heap</code></li>

<li>The flat containers from <a href="http://www.boost.org/libs/container/">
<li>The flat containers from <a href="https://www.boost.org/libs/container/">
Container</a>:
<code>boost/container/flat_map</code>, and
<code>boost/container/flat_set</code></li>

<li><a href="http://www.boost.org/libs/intrusive/">
<li><a href="https://www.boost.org/libs/intrusive/">
Intrusive</a> from <code>boost/intrusive</code>.</li>
</ul>

Expand All @@ -3853,12 +3853,12 @@ <h3 id="Boost">Boost</h3>
standard libraries in C++11:</p>

<ul>
<li><a href="http://www.boost.org/libs/array/">
<li><a href="https://www.boost.org/libs/array/">
Array</a> from <code>boost/array.hpp</code>: use
<a href="http://en.cppreference.com/w/cpp/container/array">
<code>std::array</code></a> instead.</li>

<li><a href="http://www.boost.org/libs/ptr_container/">
<li><a href="https://www.boost.org/libs/ptr_container/">
Pointer Container</a> from <code>boost/ptr_container</code>: use containers of
<a href="http://en.cppreference.com/w/cpp/memory/unique_ptr">
<code>std::unique_ptr</code></a> instead.</li>
Expand Down Expand Up @@ -3910,7 +3910,7 @@ <h3 id="std_hash">std::hash</h3>
usually doesn't have, and shouldn't need. The stakes here are high
because low-quality hash functions can be security vulnerabilities,
due to the emergence of
<a href="http://emboss.github.io/blog/2012/12/14/breaking-murmur-hash-flooding-dos-reloaded/">
<a href="https://emboss.github.io/blog/2012/12/14/breaking-murmur-hash-flooding-dos-reloaded/">
hash flooding attacks</a>.</p>

<p>Even for experts, <code>std::hash</code> specializations are
Expand Down Expand Up @@ -3963,7 +3963,7 @@ <h3 id="C++11">C++11</h3>
<div class="stylebody">

<div class="definition">
<p> C++11 contains <a href="http://en.wikipedia.org/wiki/C%2B%2B11">
<p> C++11 contains <a href="https://en.wikipedia.org/wiki/C%2B%2B11">
significant changes</a> both to the language and
libraries. </p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion cpplint/README
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This is automated checker to make sure a C++ file follows Google's C++ style
guide (http://google.github.io/styleguide/cppguide.html). As it
guide [https://google.github.io/styleguide/cppguide.html](https://google.github.io/styleguide/cppguide.html). As it
heavily relies on regular expressions, cpplint.py won't catch all violations of
the style guide and will very occasionally report a false positive. There is a
list of things we currently don't handle very well at the top of cpplint.py,
Expand Down
6 changes: 3 additions & 3 deletions cpplint/cpplint.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<file> [file] ...
The style guidelines this tries to follow are those in
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
Every problem is given a confidence score from 1-5, with 5 meaning we are
certain of the problem, and 1 meaning it could be a legitimate construct.
Expand Down Expand Up @@ -2844,7 +2844,7 @@ def CheckForFunctionLengths(filename, clean_lines, linenum,
"""Reports for long function bodies.
For an overview why this is done, see:
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Short_Functions
https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Short_Functions
Uses a simplistic algorithm assuming other style guidelines
(especially spacing) are followed.
Expand Down Expand Up @@ -4912,7 +4912,7 @@ def CheckLanguage(filename, clean_lines, linenum, file_extension,
and line[-1] != '\\'):
error(filename, linenum, 'build/namespaces', 4,
'Do not use unnamed namespaces in header files. See '
'http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Namespaces'
'https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Namespaces'
' for more information.')


Expand Down
2 changes: 1 addition & 1 deletion cpplint/cpplint_unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3794,7 +3794,7 @@ def testUnnamedNamespacesInHeaders(self):
self.TestLanguageRulesCheck(
'foo.h', 'namespace {',
'Do not use unnamed namespaces in header files. See'
' http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Namespaces'
' https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Namespaces'
' for more information. [build/namespaces] [4]')
# namespace registration macros are OK.
self.TestLanguageRulesCheck('foo.h', 'namespace { \\', '')
Expand Down
2 changes: 1 addition & 1 deletion docguide/best_practices.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Documentation Best Practices

"Say what you mean, simply and directly." - [Brian Kernighan]
(http://en.wikipedia.org/wiki/The_Elements_of_Programming_Style)
(https://en.wikipedia.org/wiki/The_Elements_of_Programming_Style)

Contents:

Expand Down
8 changes: 4 additions & 4 deletions docguide/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,8 @@ to read in source and most importantly, **a pain to modify later**.
```markdown
Fruit | Attribute | Notes
--- | --- | --- | ---
Apple | [Juicy](http://example.com/SomeReallyReallyReallyReallyReallyReallyReallyReallyLongQuery), Firm, Sweet | Apples keep doctors away.
Banana | [Convenient](http://example.com/SomeDifferentReallyReallyReallyReallyReallyReallyReallyReallyLongQuery), Soft, Sweet | Contrary to popular belief, most apes prefer mangoes.
Apple | [Juicy](https://example.com/SomeReallyReallyReallyReallyReallyReallyReallyReallyLongQuery), Firm, Sweet | Apples keep doctors away.
Banana | [Convenient](https://example.com/SomeDifferentReallyReallyReallyReallyReallyReallyReallyReallyLongQuery), Soft, Sweet | Contrary to popular belief, most apes prefer mangoes.

DO NOT DO THIS
```
Expand All @@ -380,15 +380,15 @@ in a slightly less compact, though much more edit-friendly way:

### Apple

* [Juicy](http://SomeReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongURL)
* [Juicy](https://SomeReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongURL)
* Firm
* Sweet

Apples keep doctors away.

### Banana

* [Convenient](http://example.com/SomeDifferentReallyReallyReallyReallyReallyReallyReallyReallyLongQuery)
* [Convenient](https://example.com/SomeDifferentReallyReallyReallyReallyReallyReallyReallyReallyLongQuery)
* Soft
* Sweet

Expand Down
Loading

0 comments on commit 7969290

Please sign in to comment.