Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmListFileBacktrace: Implement in terms of cmState::Snapshot. | Stephen Kelly | 2015-07-06 | 1 | -28/+6 |
| | | | | Avoid copying many strings into each backtrace object. | ||||
* | cmListFile: Remove FilePath member from cmListFileContext. | Stephen Kelly | 2015-07-06 | 1 | -13/+22 |
| | | | | | There is no need to store the FilePath for every function, as it is known by other means. | ||||
* | cmMakefile: Set the FilePath on the frame from the cmState. | Stephen Kelly | 2015-07-06 | 1 | -2/+8 |
| | | | | To verify unit tests pass and for future bisecting. | ||||
* | cmMakefile: Create intermediate variables for snapshot frames. | Stephen Kelly | 2015-07-06 | 1 | -2/+4 |
| | |||||
* | cmMakefile: Create a scoped context for parsing listfiles. | Stephen Kelly | 2015-07-06 | 1 | -0/+30 |
| | | | | Update the Syntax tests to check for updated/improved backtraces. | ||||
* | cmMakefile: Access the execution list file from the cmState. | Stephen Kelly | 2015-07-05 | 1 | -1/+2 |
| | |||||
* | cmState: Store execution context. | Stephen Kelly | 2015-07-05 | 1 | -10/+31 |
| | | | | | Extend snapshot creation API to store the file being executed and the entry point to get to that context. | ||||
* | cmState: Store snapshots for more different types. | Stephen Kelly | 2015-07-04 | 1 | -0/+33 |
| | | | | Adjust cmMakefile implementation to create the snapshots. | ||||
* | cmMakefile: Split CallStack into two pieces. | Stephen Kelly | 2015-07-04 | 1 | -16/+19 |
| | |||||
* | cmMakefile: Merge two Scope types and instances. | Stephen Kelly | 2015-06-30 | 1 | -30/+18 |
| | |||||
* | cmMakefile: Rename a variable. | Stephen Kelly | 2015-06-30 | 1 | -3/+3 |
| | |||||
* | cmMakefile: Expand the scope of scoped buildsystem file state. | Stephen Kelly | 2015-06-30 | 1 | -3/+1 |
| | |||||
* | cmMakefile: Compute the filename processed in a scope. | Stephen Kelly | 2015-06-30 | 1 | -3/+6 |
| | |||||
* | cmMakefile: Inline ProcessBuildsystemFile into only caller. | Stephen Kelly | 2015-06-30 | 1 | -43/+39 |
| | |||||
* | cmMakefile: Don't use string comparison to check directory level. | Stephen Kelly | 2015-06-30 | 1 | -2/+1 |
| | |||||
* | cmMakefile: Avoid invoking EnforceDirectoryLevelRules. | Stephen Kelly | 2015-06-30 | 1 | -1/+0 |
| | | | | | This is part of the CMP0000 implementation and only needs to be invoked for top-level buildsystem files currently. | ||||
* | cmMakefile: Add filename to ReadListFile auto scopes. | Stephen Kelly | 2015-06-30 | 1 | -6/+6 |
| | |||||
* | cmMakefile: Remove IncludeScope Quiet call. | Stephen Kelly | 2015-06-30 | 1 | -1/+0 |
| | |||||
* | cmMakefile: Make listfile scopes responsible for logical checks. | Stephen Kelly | 2015-06-30 | 1 | -17/+6 |
| | | | | Remove the LexicalPushPop. | ||||
* | cmMakefile: Move the lexical scope. | Stephen Kelly | 2015-06-30 | 1 | -3/+2 |
| | |||||
* | cmMakefile: Add automatic scopes to listfile readers. | Stephen Kelly | 2015-06-30 | 1 | -6/+51 |
| | |||||
* | cmMakefile: Move the IncludeScope to where it is used. | Stephen Kelly | 2015-06-30 | 1 | -20/+20 |
| | |||||
* | Merge topic 'fix-function-missing-end' | Brad King | 2015-06-23 | 1 | -1/+0 |
|\ | | | | | | | | | 5d85fb4f Fix assertion failure on unmatched function or macro | ||||
| * | Fix assertion failure on unmatched function or macro | Brad King | 2015-06-22 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix in commit v3.2.3~3^2 (Fix assertion failure on unmatched foreach in function, 2015-05-18) broke handling of unmatched non-loop blocks because it assumed all function blockers removed during error unwinding were for loops, essentially switching the set of mishandled cases. The purpose of the loop block push/pop operations is to define a scope matching the lifetime of the loop function blockers. Since our function blockers already have the proper lifetime, simply move the push/pop operations to their constructor/destructor. Extend the RunCMake.Syntax test with a case covering this. | ||||
* | | Merge topic 'minor-cleanups' | Brad King | 2015-06-22 | 1 | -7/+13 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 820986ed cmLocalGenerator: Constify GetIncludeDirectories method. b3e2e332 QtAutogen: Get the global generator from the Makefile. 61c0113c cmLocalUnixMakefileGenerator3: Remove unused method. 080489b8 cmMakefile: Use member directly instead of through method. 8bfaadfa cmMakefile: Move IsRoot API from cmLocalGenerator. 217c243d cmake: Update the current snapshot when Resetting. eb05dcd6 cmLocalGenerator: Add IssueMessage method. cfae7fa4 cmMakefile: Use cmOutputConverter instead of cmLocalGenerator. ccf7760f cmOutputConverter: Constify API. | ||||
| * | | cmMakefile: Use member directly instead of through method. | Stephen Kelly | 2015-06-21 | 1 | -1/+1 |
| | | | | | | | | | | | | This function will not be around much longer anyway. | ||||
| * | | cmMakefile: Move IsRoot API from cmLocalGenerator. | Stephen Kelly | 2015-06-21 | 1 | -0/+5 |
| | | | |||||
| * | | cmMakefile: Use cmOutputConverter instead of cmLocalGenerator. | Stephen Kelly | 2015-06-21 | 1 | -6/+7 |
| | | | |||||
* | | | Merge topic 'clean-up-ReadListFile' | Brad King | 2015-06-22 | 1 | -64/+76 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 81eb2c58 cmMakefile: Simplify filename handling. 5c837686 cmMakefile: Make the IncludeScope more responsible. c10ab014 cmMakefile: Move IncludeScope. 3404f8a0 cmMakefile: Move ListFile parsing responsibility out of internal method. a1858136 cmMakefile: Rename parameter. ad47e6e5 cmMakefile: Inline ReadListFileInternal into caller. 254be613 cmMakefile: Move resource management into the IncludeScope. 826b6e68 cmMakefile: Move IncludeScope to ReadDependentFile. e53072d6 cmMakefile: Move IncludeScope instance. b7166afa cmMakefile: Remove File from IncludeScope. 27f229b9 cmMakefile: Move include scope out of ReadListFileInternal. 9166b49d cmMakefile: Change order of raii scopes. 384a0dba cmMakefile: Simplify condition handling. 5e24ff17 cmMakefile: Split file handling from execution. d5aaa2b9 cmMakefile: Move check for unused variables. fff3c6cd cmMakefile: Move a container population. ... | ||||
| * | | | cmMakefile: Simplify filename handling. | Stephen Kelly | 2015-06-21 | 1 | -7/+3 |
| | | | | | | | | | | | | | | | | This method has only one caller. | ||||
| * | | | cmMakefile: Make the IncludeScope more responsible. | Stephen Kelly | 2015-06-21 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | It is now responsible for all resource management when including a file. | ||||
| * | | | cmMakefile: Move IncludeScope. | Stephen Kelly | 2015-06-21 | 1 | -1/+2 |
| | | | | |||||
| * | | | cmMakefile: Move ListFile parsing responsibility out of internal method. | Stephen Kelly | 2015-06-21 | 1 | -19/+39 |
| | | | | |||||
| * | | | cmMakefile: Rename parameter. | Stephen Kelly | 2015-06-21 | 1 | -9/+9 |
| | | | | |||||
| * | | | cmMakefile: Inline ReadListFileInternal into caller. | Stephen Kelly | 2015-06-21 | 1 | -16/+11 |
| | | | | |||||
| * | | | cmMakefile: Move resource management into the IncludeScope. | Stephen Kelly | 2015-06-21 | 1 | -5/+2 |
| | | | | |||||
| * | | | cmMakefile: Move IncludeScope to ReadDependentFile. | Stephen Kelly | 2015-06-21 | 1 | -10/+15 |
| | | | | | | | | | | | | | | | | | | | | Add replacement simple push/pop in the other two callers of ReadListFile. | ||||
| * | | | cmMakefile: Move IncludeScope instance. | Stephen Kelly | 2015-06-21 | 1 | -1/+2 |
| | | | | |||||
| * | | | cmMakefile: Remove File from IncludeScope. | Stephen Kelly | 2015-06-21 | 1 | -7/+8 |
| | | | | | | | | | | | | | | | | Get it from the Makefile instead. | ||||
| * | | | cmMakefile: Move include scope out of ReadListFileInternal. | Stephen Kelly | 2015-06-21 | 1 | -6/+7 |
| | | | | | | | | | | | | | | | | Simplify the ReadListFileInternal API. | ||||
| * | | | cmMakefile: Change order of raii scopes. | Stephen Kelly | 2015-06-21 | 1 | -1/+1 |
| | | | | |||||
| * | | | cmMakefile: Simplify condition handling. | Stephen Kelly | 2015-06-21 | 1 | -13/+9 |
| | | | | |||||
| * | | | cmMakefile: Split file handling from execution. | Stephen Kelly | 2015-06-21 | 1 | -8/+11 |
| | | | | |||||
| * | | | cmMakefile: Move check for unused variables. | Stephen Kelly | 2015-06-21 | 1 | -5/+2 |
| | | | | |||||
| * | | | cmMakefile: Move a container population. | Stephen Kelly | 2015-06-21 | 1 | -5/+3 |
| | | | | |||||
| * | | | cmMakefile: Rename variables. | Stephen Kelly | 2015-06-21 | 1 | -7/+7 |
| | | | | |||||
| * | | | cmMakefile: Change return type of ReadListFileInternal. | Stephen Kelly | 2015-06-21 | 1 | -3/+1 |
| | | | | |||||
| * | | | cmMakefile: Move listfile parsing responsibility. | Stephen Kelly | 2015-06-21 | 1 | -10/+11 |
| |/ / | |||||
* | | | cmMakefile: Use GetExecutionFileStack method. | Stephen Kelly | 2015-06-21 | 1 | -1/+1 |
| | | | |||||
* | | | cmMakefile: Add filename context to ExpandArguments. | Stephen Kelly | 2015-06-21 | 1 | -6/+23 |
|/ / | | | | | | | | | | | | | | | | | The cmListFileArgument currently stores a FilePath for use in this method. The filename is the same as the CMAKE_CURRENT_LIST_FILE, except if executing a macro or function defined in another file. Set the context filename when expanding the arguments of macros and functions using the filename recorded when defining the prototype. |