Thomas Nagy
27cba45b5f
cleanup
2017-02-08 21:55:50 +01:00
Yinon Ehrlich
166fa49679
Retain original trace-back ( #1903 )
2017-02-05 12:59:01 +01:00
Thomas Nagy
0dd0e17ecc
Optimize Node.path_from
2016-12-21 19:50:29 +01:00
Thomas Nagy
ef6525c0bf
Api docs
2016-06-25 14:49:27 +02:00
Thomas Nagy
57e711d801
Api docs
2016-06-25 13:27:22 +02:00
Thomas Nagy
2c76187d41
Api docs
2016-06-25 12:50:04 +02:00
Thomas Nagy
e8ef5a89eb
More cleanup
2016-06-05 00:23:57 +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
1ebb318ec0
find_node returns Nodes that exist, no need to verify again
2016-03-27 21:29:02 +02:00
Thomas Nagy
31742bd06d
Remove old fixes for Python < 2.3
2016-03-25 14:02:36 +01:00
Thomas Nagy
d62767e561
Add Node.isdir and remove cache_isdir optimizations for the time being
2016-03-19 14:21:02 +01:00
Thomas Nagy
3cac9c7077
Node objects can be folders too, but dependencies must be managed manually
2016-03-07 21:12:51 +01:00
Thomas Nagy
31381f9b63
Cache Node signatures on the context level
2016-02-15 23:04:30 +01:00
Thomas Nagy
43e26b5bef
cwd must be a Node object
2016-01-02 01:54:52 +01:00
Thomas Nagy
ad2f3d420c
Setting node signatures clears cached values if present
2015-12-25 17:54:02 +01:00
Thomas Nagy
5a3a89b4de
Stop adding incompatible task data into the same dict objects
2015-12-24 18:36:48 +01:00
Thomas Nagy
06c7c09681
Provide node.exists() to increase filesystem abstraction
2015-12-24 18:36:42 +01:00
Thomas Nagy
72fda8ae36
Reduce the size of the build pickle file
2015-12-24 18:36:38 +01:00
Thomas Nagy
281148b8eb
Removed the old __eq__ and __hash__ which are not useful anymore in recent interpreters
2015-12-23 19:16:31 +01:00
Thomas Nagy
e365a30215
Cache file hashes for performance reasons
2015-12-23 18:23:14 +01:00
Thomas Nagy
7681bddfb7
Remove Node.sig and Node.cache_sig
2015-12-23 17:55:44 +01:00
Thomas Nagy
2ab00f7f49
Removed Node.cache_sig
2015-12-23 17:55:44 +01:00
Thomas Nagy
8b74beb233
Removed the split functions from Node.py
2015-12-23 17:54:41 +01:00
Thomas Nagy
8113778aab
Undefined name 'unicode' in the new json methods
2015-11-21 17:17:16 +01:00
Thomas Nagy
eb5aeb8715
The json module is available only in Python 2.6, so the import cannot be on the top-level
2015-11-20 18:06:36 +01:00
Matt Clarkson
8b71e16989
Add Node.write_json()
...
Allows for a python object to be serialized to disk as JSON easily. By
default the function pretty prints the JSON which makes the file easily
human readable. A compact representation of the JSON can be done with
'pretty = False'
2015-11-20 13:52:26 +00:00
Matt Clarkson
2c617a42f8
Add a Node.read_json() function
...
This allows an easy way to read a JSON file into a python object. It, by
default, on Python2 converts all strings to normal strings. This is the
common use case for simple JSON files. Files that have UTF8 codepoints
over the normal ASCII range can use the 'convert = False' argument.
2015-11-20 13:51:11 +00:00
Thomas Nagy
971b2d32b7
More Msys2 fun!
2015-10-16 22:45:27 +02:00
Thomas Nagy
f28426594e
Cleanup: removed most unused variables and imports
2015-10-11 11:32:27 +02:00
Thomas Nagy
7f05ab7290
Optimizations
2015-03-08 18:30:57 +01:00
Thomas Nagy
cca30e91f4
Re-use the functions defined in waflib/Utils.py
2015-03-07 02:29:42 +01:00
Thomas Nagy
20a1ed6146
Advanced example of library propagation in distnet
2014-11-22 11:53:13 +01:00
Thomas Nagy
803bbe6674
Issue 1504 - Use absolute paths if relative path requires drive letters
2014-10-28 20:59:36 +01:00
Thomas Nagy
620dea5fb7
Issue 1487 - there can be race conditions or other kinds of errors to ignore
2014-09-22 19:31:01 +02:00
Thomas Nagy
cb030505af
Issue 1487 - delete files or folders only if they exist on the filesystem
2014-09-21 10:10:55 +02:00
Thomas Nagy
954056a782
Issue 1480 - force Node.children to the desired type
2014-09-20 14:29:16 +02:00
Thomas Nagy
2b5377cd87
Better support for UNC paths in external tools
2014-08-04 19:52:58 +02:00
Thomas Nagy
6bd7beb194
Enable case-insensitive Node lookup
2014-07-05 23:02:38 +02:00
Thomas Nagy
c21317c727
Issue 1453
2014-05-19 21:32:24 +02:00
Thomas Nagy
65d25a9a69
Unmask as many exceptions as possible
2014-04-20 02:29:27 +02:00
Thomas Nagy
e87782e58b
removed Node.bld_base, used only once
2013-09-01 21:46:43 +02:00
Thomas Nagy
3f78d2223a
Issue 1328 forgot to use the maxdepth argument in ant_glob()
2013-06-21 18:16:37 +02:00
Thomas Nagy
e8eafe4b9b
removed Node.search (use Node.search_node) and an old compiler_cc references
2013-05-26 21:43:27 +02:00
Thomas Nagy
6d570f08bd
use os.remove instead of os.unlink for consistency
2013-05-18 19:51:45 +02:00
Thomas Nagy
345f6bc99f
Issue 1278
2013-04-16 17:19:30 +02:00
Oliver Sauder
813a1aff14
Exclude auto-generated .intlcache
...
Signed-off-by: Thomas Nagy <tnagy1024@gmail.com>
2013-03-13 11:52:08 +01:00
Thomas Nagy
79e2901e4e
typo in the API documentation
2012-12-01 17:36:53 +01:00