summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Scanner
Commit message (Collapse)AuthorAgeFilesLines
* Fix many epydoc warningsWilliam Deegan2017-09-012-10/+18
|
* Remove ancient Aegis revision control system filesJane Doe2017-05-301-5/+0
|
* PY2/3 For msvc resource scanning, ensure we don't try to scan .tlb files ↵William Deegan2017-05-263-18/+64
| | | | which are binary. This worked fine on py2 because all strings are bytes, but failed on py3 because it wasn't valid unicode. Also fixed issue where the Classic scanner was hardcoding recursive to be 1 and not propagating any such parameter passed to its constructor. Added test for changes to Classic Scanner
* py2/3 Remove pdf from list of files to scan. This was causing errors as the ↵William Deegan2017-04-061-1/+4
| | | | binary files can't be regexed with strings on py3. A more complete solution may be called for as it likely doesn't make sense to try to scan: '.png', '.jpg', '.gif', '.tif' files either.
* When iterating over dict.items(), we do not need a new list.Craig Rodrigues2017-03-121-2/+2
|
* Replace list(filter()) with list comprehension.Craig Rodrigues2017-03-111-1/+1
|
* Merged in ricklupton/scons (pull request #374)William Deegan2016-11-252-31/+82
|\ | | | | | | Find dependencies using LaTeX "import" package commands (updated)
| * Find dependencies using LaTeX "import" package commandsRick Lupton2016-11-232-31/+82
| | | | | | | | | | | | The import package adds new commands for including files, similar to \input and \include, but with better handling of subdirectories. These changes extend the LaTeX Scanner to look for these commands.
* | Fixes for str/bytes in Scanners: resolves ~150 tests.William Blevins2016-10-021-2/+2
| |
* | Revert src/engine/SCons/Scanner/Fortran.py changes.William Blevins2016-09-241-6/+6
| |
* | Initial python3 cut of test/Fortran.William Blevins2016-09-231-6/+6
| |
* | Futurize stage 2 2to3 fixes only.William Blevins2016-09-201-2/+2
|/
* Updated selective test to remove impurity from a selection rename.William Blevins2016-08-121-1/+1
|
* Added multiline support test.William Blevins2016-08-121-0/+11
|
* Issue 1924: Updated D Language scanner support.William Blevins2016-08-112-8/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Meets DLang specification 2.071.1 accessed 11 August 2016. URL: https://dlang.org/spec/module.html ImportDeclaration: import ImportList ; static import ImportList ; ImportList: Import ImportBindings Import , ImportList Import: ModuleFullyQualifiedName ModuleAliasIdentifier = ModuleFullyQualifiedName ImportBindings: Import : ImportBindList ImportBindList: ImportBind ImportBind , ImportBindList ImportBind: Identifier Identifier = Identifier ModuleAliasIdentifier: Identifier
* wrap several frequently-used open() calls in with statementsDaniel Holth2016-06-151-3/+2
|
* Post merge commit for safety. Building Fortran code works, but tests fail.Russel Winder2015-12-2410-33/+119
|\
| * removed several pre-2.7 methods and imports, including some basic refactoringsDirk Baechle2015-12-103-3/+3
| |
| * Issue 2264: Added cross-language scanner support.William Blevins2015-05-171-0/+45
| |
| * - switching Node class and NodeInfo/Binfo to using slotsDirk Baechle2015-02-264-19/+22
| | | | | | | | - memoizer subsystem now uses decorators instead of the metaclass approach
| * Add comment for a case where LIBS (or part of it) is an objectAlexey Klimkin2015-01-271-0/+1
| |
| * Improve readability of LIB substitution codeAlexey Klimkin2015-01-202-16/+17
| |
| * Fix incomplete LIBS flattening and substitution in Program scannerAlexey Klimkin2015-01-142-3/+39
| |
* | Merged with [default]Stefan Zimmermann2014-03-319-39/+32
|\ \ | |/
| * Switch unit tests to configurable runneranatoly techtonik2014-03-218-37/+30
| |
| * - added doc editor configuration for XXE5Dirk Baechle2014-01-191-2/+2
| | | | | | | | | | - added missing icons for XXE4 - adapted schema location, such that the validation works properly in SernaFree and XXE
* | More __cmp__ to __eq__ (and __lt__). Resolved some UnboundLocalErrors after ↵Stefan Zimmermann2014-03-312-4/+4
| | | | | | | | except.
* | Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes).Stefan Zimmermann2014-03-316-11/+8
| |
* | fix for cpp scanner (maybe)ndbecker22013-09-091-1/+2
| | | | | | | | (transplanted from c68b1a5da5ad47befc3a7e802d8ae23372f0e1a8)
* | Manual python3 post-2to3 fixes from Neal BeckerGary Oberbrunner2013-09-221-1/+1
| |
* | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion.Gary Oberbrunner2013-09-227-10/+13
|/
* - switched to different schemaLocation URIDirk Baechle2013-05-031-1/+1
|
* - rewrote all tool/builder docs to new SCons XSDDirk Baechle2013-05-031-2/+29
|
* Add support for the biblatex package; search for new keywards to get side ↵Robert Managan2012-06-141-1/+4
| | | | effects and dependencies right
* Handle DOS line endings in RC scanner. Fixes #2747.Gary Oberbrunner2011-05-302-1/+12
|
* I had to add the INDEXSTYLES environment variable to the codeRobert Managan2010-08-231-0/+3
| | | | | | | | | so the user can define a path to look for makeindex style files. When the latex files are generated by another builder the user may have to define env['TEXINPUTS'] or some of the other environment variables so latex can find files that are not sideeffects. This woul dinclude style files and the like.
* Move the authoritative source for functions from the man page to variousSteven Knight2010-07-211-0/+64
| | | | | | .xml files (some new, some updated) next to the modules that implement them. Generate the man page using the output generated from the .xml file by bin/scons-proc.py.
* cleanup .cvsignore garbageAnatoly Techtonik2010-07-051-1/+0
|
* Fix #2574: case sensitivity issue with Fortran module scanner.Gary Oberbrunner2010-06-171-3/+3
|
* Merged revisions 4727-4729,4731-4938,4940-5028 via svnmerge fromSteven Knight2010-06-151-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://scons.tigris.org/svn/scons/branches/pending ........ r4942 | stevenknight | 2010-06-03 12:41:20 -0700 (Thu, 03 Jun 2010) | 13 lines Isseu 2641: Latest drop of the TestCmd infrastructure, v. 1.3, including: * Support for test timeouts. * Ability to set separate match_stdout and match_stderr functions. * Ability to set separate diff_stdout and diff_stderr functions. * Static methods for the various underlying match* and diff* functionality. * Ability to get at the various match* and diff* functions by attribute name. * Got rid of checks for difflib now that Python 2.3 is the floor (for this infrastructure, anyway). Ripple effects in two test scripts. Added upstream unit test modules (QMTest/Test{Cmd,Common}Tests.py). Added a README.txt file. ........ r4943 | stevenknight | 2010-06-03 13:00:31 -0700 (Thu, 03 Jun 2010) | 2 lines Grab the correct TestCmd files with the updated version number. ........ r4946 | managan | 2010-06-04 09:39:20 -0700 (Fri, 04 Jun 2010) | 4 lines On Windows add a '/D' to the command line so it recognizes drive letters in the source or target file paths ........ r4947 | managan | 2010-06-04 09:51:48 -0700 (Fri, 04 Jun 2010) | 5 lines The scanner was not parsing the dependencies in \includegraphics commands when there was whitespace (including carriage returns) in the command. While we need a better long term fix this covers this concern. ........ r4948 | managan | 2010-06-04 11:13:12 -0700 (Fri, 04 Jun 2010) | 3 lines Dropped an import line that is needed by the last commit of mine for Windows depenedant option on latex command lines ........ r4949 | managan | 2010-06-04 12:27:48 -0700 (Fri, 04 Jun 2010) | 7 lines Some latex packages break up commands where you normally could not by using a comment character at the end of the first line. Our current scanner broke on this and lost some dependecies. While we need general fix, this patch solves this problem ........ r4950 | managan | 2010-06-04 15:51:36 -0700 (Fri, 04 Jun 2010) | 5 lines Tweak how we handle comments within Latex source files when scanning and looking for dependencies. We were adding a space when a comment broke a line and we should not have. ........ r4984 | managan | 2010-06-07 09:37:40 -0700 (Mon, 07 Jun 2010) | 6 lines The multi-line_include-options test failed to check for the existence of latex. Added that so this test is skipped on systems without latex. ........
* Convert old-style classes in Scanner/*.py modules to new-style classes.Steven Knight2010-05-162-4/+4
| | | | Ripple effect to fix monkey-patching in test/Scanner/generated.py.
* Convert old-style classes in Scanner/LaTeX.py to new-style classes.Steven Knight2010-05-151-4/+4
|
* Convert old-style utility classes in unit test files (*Tests.py)Steven Knight2010-05-126-14/+14
| | | | to new-style classes.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-244-33/+8
| | | | | | | Comb out all code that supported earlier versions of Python. Most such code is in snippets of only a few lines and can be identified by having a Python version string in it. Such snippets add up; this combing pass probably got rid of over 500 lines of code.
* http://scons.tigris.org/issues/show_bug.cgi?id=2317Greg Noel2010-04-234-5/+5
| | | | | | Apply the refactorings from the 'dict' fixer, less occurrences that were manually audited to be safe. Also pick up changes in bin/sfsum, a Python file that was not being scanned before.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-152-2/+2
| | | | | | Apply the first part of the 'raise' fixer (the three-argument cases are not converted and will need to wait until native support of with_traceback() is available).
* Add compat "collections" module for pre-2.4 Python verseions. For now.Steven Knight2010-04-113-0/+6
|
* Issue 2334: Use compatibility versions of collections.User{Dict,List,String}Steven Knight2010-04-074-15/+13
| | | | | instead of the deprecated User{Dict,List,String} modules. The two test scripts that use User{List,String} fall back on ImportError by hand.
* http://scons.tigris.org/issues/show_bug.cgi?id=2329Greg Noel2010-03-2712-32/+19
| | | | | | | | | | | | | | | Applied a number of idiomatic changes. Uses of the 'sort()' method were converted into calls of 'sorted()' when possible and the sorted() expression was inserted into a subsequent statement whenever that made sense. The statement 'while 1:' was changed to 'while True:'. Names from the 'types' module (e.g., 'types.FooType') were converted to the equivalent build-in type (e.g., 'foo'). Comparisons between types were changed to use 'isinstance()'.
* Move 2.0 changes collected in branches/pending back to trunk for furtherGreg Noel2010-03-2515-87/+81
| | | | | development. Note that this set of changes is NOT backward-compatible; the trunk no longer works with Python 1.5.2, 2.0, or 2.1.