Commit Graph

316 Commits

Author SHA1 Message Date
amanvell
041a167880
Minor spelling/grammar correction 2019-10-08 20:05:44 +11:00
Titus Winters
5651966e02
Merge pull request #471 from pwnall/update_cpp
Update C++ style guide for C++17
2019-09-10 07:05:13 -04:00
Victor Costan
967e157a00 Update C++ style guide for C++17. 2019-09-05 05:09:38 -07:00
Titus Winters
c89900f721
Merge pull request #468 from pwnall/update_cpp
Update C++ style guide
2019-09-04 06:55:30 -04:00
Victor Costan
f0314ea7e0 Update C++ style guide. 2019-09-01 21:07:27 -07:00
rebekahpotter
dceb47fb3e Update JS styleguide (#464)
Update JS styleguide

Closes #462.
2019-08-26 23:45:13 -04:00
Tony Ruscoe
5beae3f4da
Redirect google-r-style.html to RGuide.html
Also fix a couple of issues.
2019-08-07 08:58:29 +01:00
Tony Ruscoe
9dcd80e201
Redirect to the HTML version of the R Style Guide 2019-08-07 08:53:53 +01:00
Tony Ruscoe
6a54530590
Link to the HTML version of the new R Style Guide 2019-08-07 08:52:51 +01:00
Tony Ruscoe
1140681752
Create redirect for Rguide.xml to Rguide.md
#459 replaced the R style guide and removed Rguide.xml, but we need this file to prevent broken links.
2019-08-07 08:25:25 +01:00
Tony Ruscoe
08962b172b
Merge pull request #459 from michaelquinn32/r-guide-update
Replace external R style guide
2019-08-07 08:12:38 +01:00
Michael Quinn
cee8f1a722 Replace external R style guide
Internally, we've moved to the Tidyverse Style Guide: style.tidyverse.org
The new file for Rguide.md reflects this fact and notes where we differ.
2019-07-17 21:28:05 -07:00
Tony Ruscoe
9c6b371f41
Increase indentation for type attribute examples
The HTML Line-wrapping recommendation is to use four additional spaces when wrapping HTML, yet the “Not recommended” examples for the `type` attribute rule were using two spaces.
2019-04-23 08:48:28 +01:00
Tony Ruscoe
00f3e84585
Merge pull request #448 from coliff/patch-1
update jQuery version in example
2019-04-17 11:50:04 +01:00
Christian Oliff
19835af7b1
update jQuery version in example
I know it's only an example, but best to have the most recent version here which doesn't have a known security vulneability.
2019-04-17 16:59:48 +09:00
Tony Ruscoe
91d6e367e3
Merge pull request #439 from clingeric/patch-1
Removed RAS (redundant acronym syndrome) syndrome
2019-02-22 14:39:42 +00:00
Eric Clinger
967ca824e3
Removed RAS (redundant acronym syndrome) syndrome
References to HTTPS and HTTP were written as HTTPS protocol (Hypertext Transfer Protocol Secure protocol) and HTTP protocol (Hypertext Transfer Protocol protocol) which is redundant.
2019-02-21 18:32:43 -07:00
Google Python team
6271f3f473 Project import generated by Copybara.
PiperOrigin-RevId: 224224079
2018-12-05 14:43:27 -08:00
Google Python team
fdc20e8645 Project import generated by Copybara.
PiperOrigin-RevId: 223189743
2018-11-28 13:50:31 -08:00
Gregory P. Smith
9f41862c0e
Replace the old pyguide.html with markdown.
Github pages sees pyguide.html and renders the markdown via that url when no actual .html file is present in the repo.
2018-11-19 10:07:38 -08:00
Google Python team
5b06d2d794 Project import generated by Copybara.
PiperOrigin-RevId: 222009069
2018-11-19 09:57:34 -08:00
Google Python team
ad22a7536d Project import generated by Copybara.
PiperOrigin-RevId: 221622606
2018-11-16 10:55:42 -08:00
Wan Liuyang
3d0116e5d5
Update pyguide link README 2018-09-11 23:36:07 +08:00
Wan Liuyang
fae6626ee0
Delete pyguide.html 2018-09-11 21:00:24 +08:00
Kevin Lindkvist
d3881b4fa9
Merge pull request #390 from google/update-objc
[objc] Update the Objective-C style guide 📜
2018-08-22 13:41:11 -07:00
Stephane Moore
a7fc1ef687 [objc] Update the Objective-C style guide 📜 2018-08-17 18:47:57 -07:00
Titus Winters
2b57aa557b
Merge pull request #389 from manshreck/gh-pages
Add horizontal TOC back into style guide
2018-08-15 10:32:36 -04:00
Tom Manshreck
63107a12eb
Update cppguide.html 2018-08-14 16:12:59 -04:00
Mark Mentovai
143b051ebc
Merge pull request #384 from pwnall/update_cpp
Update C++ style guide
2018-08-03 12:31:13 -04:00
Victor Costan
b89a775fa7 Update C++ style guide 2018-08-02 15:54:34 -07:00
Gregory P. Smith
ab48617e00
Fix rendering for table in pyguide
Merge pull request #373 from leVirve/gh-pages.

internally copybara was leaving extra space in a bad spot while stripping a comment.  fixed the internal version to not do this and produce the same output this PR has.
2018-06-19 17:52:39 -07:00
leVirve
c16cbe7801 Fix rendering for table in pyguide 2018-06-17 11:59:17 +08:00
Gregory P. Smith
c0c1483792
Merge pull request #372 from google/obsolete_html_pyguide
Link to the maintained pyguide.md, not old html.
2018-06-13 08:52:57 -07:00
Gregory P. Smith [Google]
1707ccb7d1 Link to the maintained pyguide.md, not old html.
pyguide.html is unmaintained and has been for ~5 years.  pyguide.md
is reasonably up to date and we have the ability to keep it up to
date from our internal guide.  Link to that instead.

I'd like to delete the old pyguide.html but a lot of things still
point directly at it so they at least have somewhere to land for
the time being.
2018-06-12 15:44:17 -07:00
Liam Miller-Cushon
f9347e1e9d Update Java style guide 2018-05-22 16:44:47 -07:00
Gregory P. Smith
e5d807c6a0
Merge pull request #348 from 284km/fix_a_typo
Fix a typo in cpplint
2018-05-02 12:10:51 -07:00
284km
43d512ba13 Fix a typo in cpplint
s/seperated/separated
2018-04-15 22:02:40 +09:00
Gregory P. Smith
1b206ee362
Fixed _root_debug related crash. GH344
Merges pull request #344 from Johan-Dahlberg/fix_root_debug

thanks!
2018-04-13 12:13:45 -07:00
Johan Dahlberg
3ac49add59 Fixed _root_debug related crash 2018-04-13 10:11:22 +02:00
Gregory P. Smith
9012f893a1
On UCS-2 builds py27 handle low surrogate chars GH342
On UCS-2 builds of Python 2.7-3.2, handle low surrogate characters.
2018-04-11 14:44:22 -07:00
Mmanu Chaturvedi
b280a73124 Fix Issue 337 2018-04-05 12:41:28 -04:00
Gregory P. Smith
5508c2f7df
Fix markdown subheadings - PR#335 from darvid7
Fix markdown subheadings not rendering in pyguide.md
2018-03-21 22:07:50 -07:00
darvid7
9ea26f78cb Fix markdown headings not rendering 2018-03-22 15:52:20 +11:00
Gregory P. Smith
89be4df26d
Define xrange for use under Python 3
Define xrange() for Python 3. I is only used on for loops so this is safe.
2018-03-12 10:24:37 -07:00
cclauss
099f059086
cpplint_unittest.py: Define xrange for Python 3 2018-03-12 18:19:10 +01:00
cclauss
d98652e03b
Update cpplint.py 2018-03-12 18:14:26 +01:00
cclauss
7e4c8b9b6b
Define xrange() for Python 3
flake8 testing of https://github.com/google/styleguide on Python 3.6.3

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./cpplint/cpplint.py:1526:12: F821 undefined name 'xrange'
  for i in xrange(startpos, len(line)):
           ^
./cpplint/cpplint.py:1755:15: F821 undefined name 'xrange'
  for line in xrange(1, min(len(lines), 11)):
              ^
./cpplint/cpplint.py:1957:12: F821 undefined name 'xrange'
  for i in xrange(1, len(raw_lines) - 1):
           ^
./cpplint/cpplint.py:2298:14: F821 undefined name 'xrange'
    for i in xrange(linenum - 1, self.starting_linenum, -1):
             ^
./cpplint/cpplint.py:3080:26: F821 undefined name 'xrange'
    for start_linenum in xrange(linenum, clean_lines.NumLines()):
                         ^
./cpplint/cpplint.py:3537:14: F821 undefined name 'xrange'
    for i in xrange(first_line, last_line + 1, 1):
             ^
./cpplint/cpplint.py:3601:19: F821 undefined name 'xrange'
    for offset in xrange(endlinenum + 1,
                  ^
./cpplint/cpplint.py:4155:14: F821 undefined name 'xrange'
    for i in xrange(linenum + 1, end_line):
             ^
./cpplint/cpplint.py:4283:23: F821 undefined name 'unicode'
  if isinstance(line, unicode):
                      ^
./cpplint/cpplint.py:4928:12: F821 undefined name 'xrange'
  for i in xrange(linenum, max(-1, linenum - 10), -1):
           ^
./cpplint/cpplint.py:4949:12: F821 undefined name 'xrange'
  for i in xrange(linenum, max(-1, linenum - 10), -1):
           ^
./cpplint/cpplint.py:4965:12: F821 undefined name 'xrange'
  for i in xrange(linenum, 1, -1):
           ^
./cpplint/cpplint.py:5066:20: F821 undefined name 'xrange'
          for i in xrange(startline, linenum + 1):
                   ^
./cpplint/cpplint.py:5090:14: F821 undefined name 'xrange'
    for i in xrange(linenum - 1, max(0, linenum - 10), -1):
             ^
./cpplint/cpplint.py:5121:14: F821 undefined name 'xrange'
    for i in xrange(2):
             ^
./cpplint/cpplint.py:5284:14: F821 undefined name 'xrange'
    for i in xrange(linenum - 1, max(0, linenum - 5), -1):
             ^
./cpplint/cpplint.py:5503:18: F821 undefined name 'xrange'
  for linenum in xrange(clean_lines.NumLines()):
                 ^
./cpplint/cpplint.py:5639:21: F821 undefined name 'xrange'
  for start_line in xrange(linenum, min(linenum + 3, clean_lines.NumLines())):
                    ^
./cpplint/cpplint.py:5654:12: F821 undefined name 'xrange'
  for i in xrange(end_line, min(end_line + 3, clean_lines.NumLines())):
           ^
./cpplint/cpplint.py:5911:15: F821 undefined name 'xrange'
  for line in xrange(clean_lines.NumLines()):
              ^
```
2018-03-12 18:13:00 +01:00
Titus Winters
209d38166b
Merge pull request #328 from pwnall/update_cpp_2
Minor updates to C++ style guide.
2018-02-21 05:53:16 -08:00
Victor Costan
4b9c0c0389 Minor updates to C++ style guide. 2018-02-21 05:44:55 -08:00
Titus Winters
a17678193a
Merge pull request #327 from pwnall/update_cpp
Update C++ styleguide to revision 3.277
2018-02-15 16:51:35 -05:00