28 Commits

Author SHA1 Message Date
pancake
160fc95e66
Use (void) instead of () in function signatures (#17026) ##refactoring
* Use (void) instead of () in function signatures
* Add test to avoid further contributions to commit the same mistake
2020-06-14 16:08:32 +02:00
GustavoLCR
e43c9e7caf Fix some warnings (#15549) 2019-12-08 12:49:58 +01:00
GustavoLCR
92bbe968b2 Kill r_sys_get_osinfo () (#15346) 2019-10-24 02:20:57 +02:00
pancake
339717feec Fix #15114 - Implement r_sys_info() and uname ##core 2019-10-23 13:23:11 +02:00
Paul I
ef9ff8f130 Change r_sys_get_src_dir_w32() behaviour (#15102) 2019-09-23 00:15:12 +02:00
Paul I
4eabb42f88 Fix potential bugs 2019-09-16 09:37:43 +02:00
GustavoLCR
ae00b18d0b Dynamically find radare2 install dir on Windows ##windows 2019-06-20 18:10:01 +02:00
GustavoLCR
7a10af4057 Initial implementation of heap parsing for Windows (#14218) ##debug 2019-06-05 15:20:38 -04:00
GustavoLCR
d4190e61a5 Fix warnings on Windows (#13954) 2019-05-05 01:11:12 +03:00
GustavoLCR
cc25216bb8 Refresh on resize and fix mouse input on visual foor Windows ##windows 2019-04-01 14:34:41 +02:00
a1ext
7d03facd42 Fixes pipes implementation on windows ##windows
* Fixes pipes implementation on windows (pipe data was treated as a string instead of binary data so first \0 truncates it)
2019-03-21 09:16:12 +01:00
GustavoLCR
3fba693b91 Add support for UTF console input in Windows (#13338) ##windows
* Add support for UTF console input in Windows
* Convert ANSI input to UTF-8
* Convert UTF-8 to acp when calling ANSI version of functions
* Determine if Windows console output is UTF-8 on the fly
2019-03-18 16:05:38 +08:00
Anton Kochkov
bb67b54f74
Remove CYGWIN & MINGW remnants (#13377) 2019-03-15 12:55:08 +08:00
GustavoLCR
ef0f71abbb Implement sys_cmd_str_full_w32() ##windows 2019-02-02 15:25:06 -06:00
GustavoLCR
eecaf9d946 Fix env. vars. not being parsed in !! in Windows (#12956) 2019-01-31 13:39:32 -06:00
dav1901
9a91f96101 Fix realloc misusages (#12433) 2018-12-10 11:56:12 +01:00
Jose Diaz
e74aadad28 Renaming char_to_w32 => utf8_to_utf16 2017-11-03 10:27:18 +08:00
Jose Diaz
527ff71d41 Convert char to windows unicode 2017-11-03 10:27:18 +08:00
j123123
5df164157f added NULL check and memory leak fixed in libr/util/w32-sys.c 2017-07-05 03:40:14 +02:00
xarkes
7cf3b79840 Fix r2 -nn on Windows 2017-06-21 11:27:02 -05:00
SkUaTeR
beb80cfc16 Fixes for MSVC 2017-05-09 23:53:20 +02:00
William D. Jones
2603cbf310 Improve Windows search path for sdb (#6802)
* Add r_sys_get_src_dir_w32 function
* Fix Windows search path for sdbs in pe.c and cbin.c
2017-02-17 04:31:20 +01:00
Joshua J. Drake
83a76b7158 Propagate location information in perror
The "r_sys_perror" function previously would use "perror" on UNIX resulting in
location information of the "perror" callsite being shown. Renaming
"r_sys_perror" to "r_sys_perror_str" and replacing the original identifier with
a macro ensures that the displayed information is useful.

Further, this addreses a TODO that makes this functionality work on both
Windows and UNIX by moving these macros outside of the UNIX #if. The (now)
"r_sys_perror_str" is already implemented for both platforms. Let's use it!
2016-05-14 08:42:56 +03:00
pancake
ae97789986 Fix lot of warnings 2013-09-14 14:04:08 +02:00
pancake
dac5cf1b08 * Apply patching fixing various bugs on w32
- Some segfaults resolved and bugs identified
  - Thanks @mrgadix :)
2010-10-12 01:18:17 +02:00
pancake
e101e5023d * Fix build on mingw32 2010-06-27 22:14:06 +02:00
Nibble
5c35f6e359 * Rename {r_*_handle_t, R*Handle} to {r_*_plugin_t, R*Plugin} 2010-05-26 01:42:22 +02:00
pancake
4137587cb3 * Fix compilation under mingw32
- Linking fixed for r_sign and
* Fix some reads out-of-bounds in r_bin_elf
  - Use __strnlen instead of ELF_STRING_LENGTH
  - Some simplifications using macros
* Open plugins in radare2 found in '.' by default
  - Make w32 happy
  - Fix RLib for w32 and local plugin files
* Implement r_sys_cmd_str() for w32
  - Also r_sys_setenv()
* Fix printfs in lib/t example
* win7 syscall list is now default windows one
* Added 'r_sys_perror' to make it portable on *nix and w32
* Rename RLibrary into RLib
2010-04-12 02:22:52 +02:00