Commit Graph

1436 Commits

Author SHA1 Message Date
Thomas Nagy 67e7db41d9
Simplification x=x+1 -> x+=1 2016-05-22 00:45:47 +02:00
Thomas Nagy 75a011f81c
docs 2016-05-21 12:08:28 +02:00
Thomas Nagy ab9609c0d8
docs 2016-05-21 12:01:48 +02:00
Thomas Nagy c2646d2380
Provide md5_tstamp by default and make it easier to add more persistent BuildContext dicts 2016-05-21 11:58:47 +02:00
Thomas Nagy f876392200
Must call os.remove on files 2016-05-21 01:15:19 +02:00
Thomas Nagy 09fd2f211f
Ensure Node.delete can remove invalid folders 2016-05-21 00:39:56 +02:00
Thomas Nagy e09a32467f
Fix install_files in the case relative_trick=True 2016-05-20 19:20:54 +02:00
Thomas Nagy 5eaf7aee1b
Simplification 2016-05-18 22:02:47 +02:00
Thomas Nagy 74e54322c5
Use try-else-finally in Python >= 2.5 2016-05-18 22:01:37 +02:00
Thomas Nagy 3f38b9d2b8
Logic simplification 2016-05-18 21:34:23 +02:00
Thomas Nagy 3c5be88550
Better names for install task method and compatibility fix for install_task.dest 2016-05-18 19:43:14 +02:00
Thomas Nagy fd05cff103
Missing installation fixes 2016-05-17 19:49:44 +02:00
Thomas Nagy 5cb7b89ac1
typo 2016-05-16 20:11:00 +02:00
Thomas Nagy 26b370f440
Remove a few more 'Exception:' lines 2016-05-14 12:15:15 +02:00
Thomas Nagy 158bc72e8e
Remove the old shutil.copy override on Windows 2016-05-14 11:29:06 +02:00
Thomas Nagy 12c7609802
Removed some dead code 2016-05-14 00:16:29 +02:00
Thomas Nagy 9a5b0e41ac
Fix waf step 2016-05-13 23:24:02 +02:00
Thomas Nagy 62f8b482ab
Code simplifications 2016-05-13 23:20:07 +02:00
Thomas Nagy da5c7d8b5c
Moved unnecessary constants out of Context.py 2016-05-11 21:59:16 +02:00
Thomas Nagy 441ed98a3d
Better error messages in Qt5 2016-05-09 22:33:01 +02:00
Thomas Nagy 145dba3fd1
Unused variable 2016-05-06 20:59:40 +02:00
Thomas Nagy 3fb226c994
Use the build command in configuration tests (hard-coded BuildContext class) 2016-05-06 20:57:53 +02:00
Thomas Nagy 226c2b1d94
Set install_to from the add_install_task 2016-05-06 20:56:36 +02:00
Thomas Nagy b1f5c0f814
Create installation tasks directly
Task generators created from other task generators may be
skipped during partial builds. This change re-enables
install_task as a task attribute and provides a task
object with input and output nodes which can be re-used
by other tasks.
2016-05-06 15:54:36 +02:00
Thomas Nagy 5511593318
Move boring Build.inst construction details to the class 2016-05-06 11:12:54 +02:00
Thomas Nagy 9991004343
Extract Build.inst.run_now 2016-05-06 09:57:01 +02:00
Thomas Nagy 20b62a4eea
docs 2016-05-06 09:11:31 +02:00
Thomas Nagy 6c21deb583
install_task -> install_tg 2016-05-03 23:14:10 +02:00
Thomas Nagy 16082a4c3e
docs 2016-05-03 21:27:15 +02:00
Thomas Nagy b70692dbb3
Add a configuration test to add /usr/local/lib in linkflags on FreeBSD 2016-05-01 17:03:55 +02:00
Thomas Nagy 568cd6881d
Set the Qt5 search path on FreeBSD 2016-05-01 16:21:23 +02:00
Thomas Nagy e7aa8349be
Changed the moc_foo.cpp file name to moc_foo.n.cpp to protect against name clashes 2016-05-01 14:49:55 +02:00
Thomas Nagy ae8253f571
Process Qt files according to the Qt documentation 2016-05-01 14:21:46 +02:00
Thomas Nagy 6b2e837bc2
Issue 1726 2016-05-01 13:21:06 +02:00
Thomas Nagy eb62ce7620
Set post_mode=POST_LAZY by default to process the next build groups once build files are present 2016-04-30 15:10:16 +02:00
Thomas Nagy a7dac255af
Fix an error in the progress bar 2016-04-30 14:24:46 +02:00
Thomas Nagy 80109eacbe
Improve error handling in the case of missing implicit dependencies
Avoid calling are_implicit_nodes_ready() twice.
Stop the build when files are missing or truncated.
Provide a better error message and avoid catching all exceptions.
2016-04-30 13:35:08 +02:00
Thomas Nagy fdc67d58f6
Fix an undefined variable in parallel_debug 2016-04-28 20:25:04 +02:00
Thomas Nagy bf45d33f9e
Update parallel_debug 2016-04-28 20:14:02 +02:00
Thomas Nagy b59a04a086
Moved the garbage collection code to the object owner 2016-04-28 20:12:20 +02:00
Thomas Nagy 3e86ea6cb8
Fixed an accidental dependency on inst.dest 2016-04-28 00:33:34 +02:00
Thomas Nagy dd81cb74dc
Pass the vala environment for installation (not modified so it should be fine) 2016-04-28 00:29:12 +02:00
Thomas Nagy 1eaa87413d
Refactor bld.install_as/bld.install_files/bld.symlink_as to use actual task objects 2016-04-28 00:23:54 +02:00
Thomas Nagy 09f67a3b3a
Remove the private Scripting._can_distclean function 2016-04-27 18:42:38 +02:00
Thomas Nagy bc3915c90a
Close process.py for running processes - Issue 1735 2016-04-27 18:35:02 +02:00
Thomas Nagy e77b8dc24b
Catch errors in format_defines 2016-04-26 19:38:19 +02:00
Thomas Nagy 8b32d93ec3
cleanup: '%s' -> %r 2016-04-26 19:35:46 +02:00
Thomas Nagy ba1932ebc2
Do not define the empty prec object on task_gen instances by default 2016-04-26 19:22:56 +02:00
Thomas Nagy 508b20679d
Do not truncate _task suffixes from Task class names 2016-04-26 18:33:03 +02:00
Thomas Nagy 0ba6b042d5
Remove mac_resources processing, use mac_files instead 2016-04-25 22:35:58 +02:00