Change on 2012-02-27 19:22:54-08:00 by nnaze

	sets was introduced as a module in Python 2.3 and was promoted to a
	built-in in Python 2.4. The original module was deprecated in 2.6
	as a result.  Switching to the built-in to avoid the deprecation
	warning in gjslint.

	R=ajp
	DELTA=5  (0 added, 0 deleted, 5 changed)

Change on 2012-03-15 17:28:44-07:00 by nnaze

	Fix the GJsLint presubmit.

	R=ajp
	DELTA=32  (2 added, 27 deleted, 3 changed)

Change on 2012-03-15 17:33:01-07:00 by nnaze

	Handle the spurious OS process errors we're seeing when trying
	to clean up the multiprocess pool so that we don't dump all over
	users' consoles.

	R=ajp
	DELTA=19  (11 added, 0 deleted, 8 changed)

Change on 2012-03-23 22:04:47-07:00 by nnaze

	Untangle the tokenization, metadata, and lint checking actions,
	factoring them out into separate passes.

	R=ajp
	DELTA=620  (326 added, 193 deleted, 101 changed)

Change on 2012-04-16 12:18:05-07:00 by nnaze

	Add matchers to identify goog.scope statements.  Usage to come in
	following CLs.

	R=ajp
	DELTA=366  (366 added, 0 deleted, 0 changed)

Change on 2012-04-19 11:30:46-07:00 by nnaze

	Matcher for scoped blocks (goog.scope).

	R=michaelthomas,ajp
	DELTA=133  (123 added, 3 deleted, 7 changed)

Change on 2012-05-02 13:42:32-07:00 by nnaze

	Add alias pass to identify goog.scope aliases and check for
	bad usages.  Also adds alias metadata.

	Integration with gjslint coming in followup CL.

	R=michaelthomas,ajp
	DELTA=416  (399 added, 0 deleted, 17 changed)

Change on 2012-05-15 12:39:50-07:00 by shmichael

	Ignore goog.scope artifacts when deciding on top-level token rules.

	R=michaelthomas
	DELTA=124  (92 added, 23 deleted, 9 changed)

Change on 2012-05-24 16:27:52-07:00 by nnaze

	Add attributes to Function objects to remember the parameter
	names and start and end tokens (for later reference).

	Also add a utility function to convert tokens back into a string.

	R=ajp
	DELTA=222  (205 added, 0 deleted, 17 changed)

Change on 2012-05-31 08:43:28-07:00 by michaelthomas

	Make the unused private members check work without specifying
	closurized namespaces.

	R=nnaze
	DELTA=8  (4 added, 0 deleted, 4 changed)

Change on 2012-05-31 14:51:07-07:00 by nnaze

	Add method to JsDocComment to identify the target of the comment.

	Additionally introduce testutil to handle the common tasks of
	tokenizing a source or running an ECMA pass.  Use it throughout
	the project's tests.

	R=ajp
	DELTA=345  (225 added, 62 deleted, 58 changed)

Change on 2012-05-31 15:08:05-07:00 by nnaze

	Modify DocComment to remember all DocFlags (for later reference),
	not just the last ones and per type and parameter.  Change
	implementation to use the doc flag list as the canonical source
	of truth and add unit tests.

	R=ajp
	DELTA=135  (113 added, 14 deleted, 8 changed)

Change on 2012-06-04 10:50:01-07:00 by nnaze

	Accidental change to DocComment __repr__ function causing error.
	Fix, and add test that would have caught it.

	R=ajp
	DELTA=14  (12 added, 0 deleted, 2 changed)

Change on 2012-06-06 10:49:36-07:00 by nnaze

	Add GetDescription() method to DocComment

	R=ajp
	DELTA=63  (49 added, 0 deleted, 14 changed)

Change on 2012-06-13 10:10:27-07:00 by gdennis

	Update the gjslint scrubber_config to remove "import google3" so that the whole gjslint package builds successfully and its presubmit checks pass.

	R=ajp
	DELTA=1  (1 added, 0 deleted, 0 changed)

Change on 2012-06-18 12:54:33-07:00 by augie

	Migrate all try/except blocks to the syntax specified in PEP 3110[0] and
	supported in Python 2.6 and later.

	TL;DR: If you use AppEngine's 2.5 runtime or 2.4 from GRTE, don't
	approve this, ask me to revert and read the rest of this description.

	The old syntax looks like this:

	try:
	  ...
	except (ErrorType1, ErrorType2), e:
	  ...

	while the new format looks like this:

	try:
	  ...
	except (ErrorType1, ErrorType2) as e:
	  ...

	This reduces the likelihood of wanting to catch two exception types
	but accidentally catching only one of the types and using the second
	exception type as the variable name. It's now recommended by the style
	guide [1] and is forward-compatible with Python 3.x. This will ease an
	eventual transition to Python 3, which is currently expected to
	begin in 2013.

	NOTE: This CL is being managed by http://go/rosie, and is part of a
	batch that touches just over 18,000 files. If you have nits that are
	unrelated to this change, I'd _greatly_ appreciate it if you could fix
	them yourself in a followup. If your project needs to retain 2.4
	compatibility, please ask me to revert these changes, but know that
	GRTE versions which contain Python 2.4 are very close to being
	completely unsupported, and python-team really wants people on 2.6
	ASAP. Python 2.7 will be part of the upcoming GRTEv3.

	[0]: http://www.python.org/dev/peps/pep-3110/
	[1]: http://www.corp.google.com/eng/doc/pyguide.xml#Exceptions

	Tested:
	    TAP presubmits for global presubmit queue
	    Some tests failed; test failures are believed to be unrelated to this CL

	R=ajp
	DELTA=3  (0 added, 0 deleted, 3 changed)

Change on 2012-06-19 09:54:45-07:00 by normanr

	Switch to non-versioned python shebang, this fixes non-built scripts (like release_tools) on gPrecise.  This will also allow cl/31039936 to be resubmitted without breaking these tools.

	Meta-cl: cl/31165088

	R=ajp
	DELTA=1  (0 added, 0 deleted, 1 changed)

Change on 2012-06-25 11:32:54-07:00 by ajp

	Fix problem in autofixing when you delete the first token in a file.

	R=michaelthomas
	DELTA=122  (108 added, 0 deleted, 14 changed)

Change on 2012-06-29 11:34:34-07:00 by nnaze

	Move the parse for comments and functions test function into testutil
	for later use.

	R=ajp
	DELTA=59  (32 added, 25 deleted, 2 changed)

Change on 2012-07-13 15:37:08-07:00 by ajp

	Release GJsLint 2.3.6

	R=michaelthomas
	DELTA=5  (2 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5155


git-svn-id: http://closure-linter.googlecode.com/svn/trunk@17 71da9934-2b21-84e7-0a4e-7ab6f78df257

Restore original limited_doc_files flag behavior, where the the
strings in the flag are considered suffixes and not exact matches.
Add unit test to ensure behavior.

R=ajp
DELTA=34  (30 added, 1 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5156


git-svn-id: http://closure-linter.googlecode.com/svn/trunk@18 71da9934-2b21-84e7-0a4e-7ab6f78df257

Change on 2012-07-17 18:35:43-07:00 by nnaze

	Update inaccurate return value comment.

	R=ajp
	DELTA=1  (0 added, 0 deleted, 1 changed)

Change on 2012-07-24 15:30:38-07:00 by nnaze

	Default to multiprocessing only on Linux.  Windows users
	are having problems.

	R=ajp
	DELTA=7  (3 added, 0 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5218


git-svn-id: http://closure-linter.googlecode.com/svn/trunk@19 71da9934-2b21-84e7-0a4e-7ab6f78df257