Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Issue 100163002: Allow obj-c import statements to be as long as necessary. (Closed)

Created:
7 years ago by erikchen2
Modified:
7 years ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Allow obj-c import statements to be as long as necessary. I've unified the checks for language specific exceptions to line length. There is a behavior change where cpp compiler directives no longer have a maximum line length (previously they were restricted to 150% of max line length). This change was made to match the behavior for java files. BUG=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=238268

Patch Set 1 #

Total comments: 4

Patch Set 2 : Unify language specific exceptions #

Total comments: 10

Patch Set 3 : Nits from maruel. #

Total comments: 4

Patch Set 4 : More nits. #

Patch Set 5 : The alphabet is confusing. Sort correctly. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -13 lines) Patch
M presubmit_canned_checks.py View 1 2 3 4 2 chunks +19 lines, -7 lines 0 comments Download
M tests/presubmit_unittest.py View 1 2 chunks +11 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
erikchen2
7 years ago (2013-12-02 21:20:55 UTC) #1
M-A Ruel
https://codereview.chromium.org/100163002/diff/1/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/100163002/diff/1/presubmit_canned_checks.py#newcode325 presubmit_canned_checks.py:325: MACROS = ('#define', '#include', '#import', '#pragma', '#if', '#endif') Why ...
7 years ago (2013-12-02 21:24:26 UTC) #2
erikchen2
https://codereview.chromium.org/100163002/diff/1/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/100163002/diff/1/presubmit_canned_checks.py#newcode325 presubmit_canned_checks.py:325: MACROS = ('#define', '#include', '#import', '#pragma', '#if', '#endif') On ...
7 years ago (2013-12-02 21:28:41 UTC) #3
M-A Ruel
or you could refactor for java/C/Obj-c dict. https://codereview.chromium.org/100163002/diff/1/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/100163002/diff/1/presubmit_canned_checks.py#newcode325 presubmit_canned_checks.py:325: MACROS = ...
7 years ago (2013-12-02 21:52:27 UTC) #4
erikchen2
https://codereview.chromium.org/100163002/diff/1/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/100163002/diff/1/presubmit_canned_checks.py#newcode325 presubmit_canned_checks.py:325: MACROS = ('#define', '#include', '#import', '#pragma', '#if', '#endif') On ...
7 years ago (2013-12-02 22:37:13 UTC) #5
M-A Ruel
https://codereview.chromium.org/100163002/diff/20001/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/100163002/diff/20001/presubmit_canned_checks.py#newcode329 presubmit_canned_checks.py:329: JAVA_FILE_EXTS = ('java') This was not doing what you ...
7 years ago (2013-12-02 23:56:26 UTC) #6
erikchen2
https://codereview.chromium.org/100163002/diff/20001/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/100163002/diff/20001/presubmit_canned_checks.py#newcode329 presubmit_canned_checks.py:329: JAVA_FILE_EXTS = ('java') On 2013/12/02 23:56:27, M-A Ruel wrote: ...
7 years ago (2013-12-03 00:20:08 UTC) #7
M-A Ruel
lgtm https://codereview.chromium.org/100163002/diff/40001/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/100163002/diff/40001/presubmit_canned_checks.py#newcode329 presubmit_canned_checks.py:329: CPP_EXCEPTIONS = ('#define', '#include', '#pragma', '#if', '#endif') sort ...
7 years ago (2013-12-03 01:40:55 UTC) #8
erikchen2
https://codereview.chromium.org/100163002/diff/40001/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/100163002/diff/40001/presubmit_canned_checks.py#newcode329 presubmit_canned_checks.py:329: CPP_EXCEPTIONS = ('#define', '#include', '#pragma', '#if', '#endif') On 2013/12/03 ...
7 years ago (2013-12-03 01:47:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikchen@google.com/100163002/80001
7 years ago (2013-12-03 02:02:33 UTC) #10
commit-bot: I haz the power
7 years ago (2013-12-03 02:04:21 UTC) #11
Message was sent while issue was closed.
Change committed as 238268

Powered by Google App Engine
This is Rietveld 408576698