Commit graph

346 commits

Author SHA1 Message Date
Nguyen Anh Quynh
8aef143f69 python: setup.py builds Windows core with cmake in release mode 2015-02-03 17:45:55 +08:00
Nguyen Anh Quynh
c6b1be8b0b python: distribute msvcr120.dll for Windows installer 2015-02-03 16:28:27 +08:00
Nguyen Anh Quynh
6685aa5889 python: clean prebuilt core in install targets of Makefile 2015-02-03 12:08:56 +08:00
Nguyen Anh Quynh
a2b60305dc python: fix installer 2015-02-03 11:45:20 +08:00
Nguyen Anh Quynh
064a602b03 python: add README.pypi* 2015-02-03 10:20:30 +08:00
Nguyen Anh Quynh
77bd828465 python: setup.py only copies source if prebuilt libs are not existent 2015-02-03 09:24:14 +08:00
Nguyen Anh Quynh
eeef2d0b7b python: add dummy prebuilt/ dir to keep Windows binaries 2015-02-03 09:11:32 +08:00
Nguyen Anh Quynh
0d55bde98a python: make setup.py support pre-built Windows core 2015-02-03 09:05:57 +08:00
Nguyen Anh Quynh
8b583e1787 Merge branch 'master' of https://github.com/tacoxnguyen/capstone into v3c 2015-02-03 08:47:11 +08:00
Nguyen Anh Quynh
ba96587b36 python: rename README to README.TXT 2015-02-03 08:45:44 +08:00
Nguyen Tan Cong
9aeff29575 Merge branch 'master' of https://github.com/tacoxnguyen/capstone 2015-02-03 00:18:15 +07:00
Nguyen Tan Cong
e504b81054 add prebuilt setup for Windows system 2015-02-03 00:16:51 +07:00
Nguyen Tan Cong
bc3ffd4c64 copy msvc/headers/ in both linux and win32 system 2015-02-02 22:32:46 +07:00
Nguyen Tan Cong
ca8298ca18 copy msvc/headers/ to src/ to build win32 core library 2015-02-02 22:16:47 +07:00
Nguyen Tan Cong
33f75a2319 fixbug: can't install on centos & python 2.6 2015-02-02 12:08:45 +07:00
Nguyen Anh Quynh
692b02ffd0 python: change package version to 3.0.1 2015-01-30 14:46:25 +08:00
Nguyen Anh Quynh
18e41b8221 python: add LICENSE & PKG-INFO for Python module 2015-01-30 14:45:58 +08:00
Nguyen Anh Quynh
ca3999f9e6 python: add targets 'sdist' & 'sdist3' to Makefile 2015-01-30 14:20:04 +08:00
Nguyen Anh Quynh
e49f1a5c23 python: bump package version to 3.0.1 2015-01-30 14:17:03 +08:00
Nguyen Anh Quynh
5af0ceda09 python: delete src/ in Makefile 2015-01-30 13:31:21 +08:00
Nguyen Anh Quynh
1798adaa6d python: tolerance of the build process in setup.py 2015-01-30 13:31:10 +08:00
Nguyen Anh Quynh
55e27c125d python: installer now can compile Window core from source with CMake+MSVC 2015-01-30 11:54:44 +08:00
Nguyen Anh Quynh
bcf684dbad python: rename variable 'result' to 'src' 2015-01-30 11:16:48 +08:00
Nguyen Anh Quynh
84fc7401fe python: port some old fixes from setup.py on pypi branch to v3 branch 2015-01-30 10:52:17 +08:00
Nguyen Anh Quynh
ce10b01ad5 python: fix setup.py, so we only copy the core with sdist, thus normal build/compile process does not build the core 2015-01-30 10:49:01 +08:00
Nguyen Anh Quynh
19af3ec9e0 Makefile: rename BUILD_CORE_ONLY to CAPSTONE_BUILD_CORE_ONLY for consistency 2015-01-30 10:48:52 +08:00
Nguyen Anh Quynh
08a21a6558 python: fix README (libcapstone.dll -> capstone.dll) 2015-01-30 10:48:42 +08:00
Nguyen Tan Cong
1b8cc8d2af reverse -b option in Makefile; parse parameters with parse_known_args to ignore error when passing extra options; fixbug python3: use print statement 2015-01-30 10:48:29 +08:00
Nguyen Tan Cong
b54c60c063 Edit Makefile to appropriate with new setup.py 2015-01-30 10:48:12 +08:00
Nguyen Tan Cong
60dcfa0948 add --do-not-build-core to setup.py to prevent it install core library 2015-01-30 10:47:46 +08:00
Nguyen Tan Cong
8b839a2af4 edit script to create Pypi package 2015-01-30 10:47:36 +08:00
Nguyen Anh Quynh
af19b53119 python: make setup.py support other *nix systems (i.e non-Windows) 2015-01-30 10:45:51 +08:00
Nguyen Anh Quynh
53e92938ce python: build the core with make.sh for all non-Windows system 2015-01-30 10:45:00 +08:00
Nguyen Tan Cong
ac0cb810f4 python: prevent Windows system copying *nix core library to Python library directory 2015-01-30 10:43:18 +08:00
Nguyen Tan Cong
3e605a00ac python: fix another conflict when merging pypi to v3 2015-01-30 10:40:05 +08:00
Nguyen Anh Quynh
8d4a78cd83 python: setup.py should not install the core, and no need to put BUILD_CORE_ONLY into config.mk 2015-01-30 10:38:40 +08:00
Nguyen Tan Cong
3d6e56a66f python: fix conflict when merging pypi branch to v3 branch 2015-01-30 10:37:58 +08:00
Nguyen Tan Cong
30f08588ef fixbug: wrong library extension on Mac OS X 2015-01-30 10:36:25 +08:00
Michael Cohen
f051e8fd8e python: another conflict on API version between pypi & v3 branch 2015-01-30 10:34:01 +08:00
Michael Cohen
aac18de793 python: fix a conflict when cherry-pick code from old pypi branch 2015-01-30 10:32:24 +08:00
Michael Cohen
18ee47b366 Updated setup.py so it can build the capstone library by itself.
This is a requirement for an automated install via pip. After this change it
should be possible to depend on captone in pip and have it built automatically.
2015-01-30 10:25:09 +08:00
Aidan Hobson Sayers
b449e54e25 Set _detail in a dummy Cs, closes #251 2015-01-21 06:48:27 +08:00
Josh
50c3823f50 - Fixed memory leak for cython disasm functions 2015-01-16 22:15:35 +08:00
Nguyen Anh Quynh
78d640045c cython: fix incomplete array of bytes returned by CsInsn.bytes. bug reported by @secretsquirrel 2015-01-07 22:08:35 +08:00
Maciej Szawlowski
2c24d88f89 fixed bug that prevented using md.detail = true and md.skipdata = true together 2014-12-31 10:33:05 +08:00
Nguyen Anh Quynh
2537cfd669 python: fix a memory leak issue when we stop enumeration over the disassembled instructions prematurely. patch by Jan Newger 2014-12-16 00:09:40 +08:00
Nguyen Anh Quynh
8ab01369d7 python: export generic operand types & groups 2014-11-19 22:12:40 +08:00
Nguyen Anh Quynh
89460299c3 python: python2.6 does not understand sys.versionn_info.major 2014-11-19 14:37:08 +08:00
Nguyen Anh Quynh
faa925ab8f fix bindings (python/java) and tests after the last change on the type of imm of cs_arm64_op 2014-11-17 11:39:36 +08:00
Nguyen Anh Quynh
75c9b6a45c python: fix comments on hardware modes 2014-11-13 11:55:56 +08:00