aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
AgeCommit message (Collapse)AuthorFilesLines
2011-06-06Add links to libtool's recommendations for library versions.Gerald Combs1-0/+1
svn path=/trunk/; revision=37582
2011-06-04Reorganize dumpabi targets to keep temporary filesBalint Reczey1-2/+3
svn path=/trunk/; revision=37540
2011-05-31Fixing wrong library names in r37474Balint Reczey1-2/+2
svn path=/trunk/; revision=37475
2011-05-31Add dumpabi target to Makefiles in wsutil, epan and wiretap directories.Balint Reczey1-0/+10
We can use the dumped ABI description for comparing ABI changes between revisions. svn path=/trunk/; revision=37474
2011-05-25Filter out arg_list_utf_16to8.Gerald Combs1-1/+1
svn path=/trunk/; revision=37396
2011-05-24Move the Windows argument list conversion code to a common routine.Gerald Combs4-1/+30
svn path=/trunk/; revision=37372
2011-04-10We have to define ws_statb64 before declaring routines that use it.Guy Harris1-33/+40
svn path=/trunk/; revision=36550
2011-04-10To fill in a ws_statb64, you must use ws_fstat64.Guy Harris1-1/+1
Declare ws_stdio_stat64, as that's its new name. svn path=/trunk/; revision=36549
2011-04-10ws_stdio_stat got renamed to ws_stdio_stat64.Guy Harris1-1/+1
svn path=/trunk/; revision=36548
2011-04-10Rename ws_stat to ws_stat64, and make it take a pointer to a ws_statb64Guy Harris2-11/+13
as an argument, along the lines of ws_fstat64, and, on Windows, make it use _wstati64, to handle 64-bit file sizes. svn path=/trunk/; revision=36547
2011-04-10Define ws_statb64 as struct stat *within* the "not Windows" block.Guy Harris1-1/+1
svn path=/trunk/; revision=36546
2011-04-10Define ws_statb64 to be the appropriate "struct XXX" for aGuy Harris1-0/+10
64-bit-file-size-capable stat call, and use it for ws_fstat64(). svn path=/trunk/; revision=36545
2011-04-10Add ws_fstat64(), defined to be fstat on UN*X and _fstati64 on Windows.Guy Harris1-1/+3
Use it in some places where we're getting the file size. svn path=/trunk/; revision=36544
2011-04-10Use AC_SYS_LARGEFILE to turn on large file support on platforms thatGuy Harris1-10/+10
support it. Rename ws_lseek to ws_lseek64, as it should be given a 64-bit offset, and have it use _lseeki64 on Windows, to try to get 64-bit offset support; AC_SYS_LARGEFILE should cause lseek() to support 64-bit offsets on UN*X if possible. svn path=/trunk/; revision=36542
2011-02-17Squelch a warning from the MSVC++ static analyzer (it's worried thatGuy Harris1-5/+29
GetModuleHandle() could return a null pointer, which is possible, although if it returns one when handed "kernel32.dll", you have bigger problems...). Add some comments. svn path=/trunk/; revision=35972
2011-02-02A bit of Windows makefiles rework and cleanup:Bill Meier1-4/+3
- Define macros for certain CFLAGS in config.nmake iso of having defs in each makefile; a. -DHAVE_CONFIG_H and -D_U_="" are now part of a macro named STANDARD_CFLAGS; b. -WX has been replaced by WARNINGS_ARE_ERRORS (defined as -WX in config.nmake) (This allows disabling "Warnings as Errors" by just changing config.nmake) c. CVARSDLL definitions (not usage) have been removed from the various makefiles. XXX: It appears the usage of CVARSDLL can also be removed (not yet done) since: -DWIN32 and -DNULL=0 do not appear to be needed (any more); -D_MT and _D_DLL are not needed since /MP causes these definitions. d. Define a macro WARNINGS_CFLAGS with additional specific compiler (level4) warnings to be enabled. E.G., 4295: array is too small to include a terminating null character - config.nmake: reformat some long lines for readability; - plugins\Makefile.nmake: clean-deps does nothing: remove it (and usage in top-level makefile); - dissectors/Makefile.nmake: test to enable packet-rrc.obj target needs to include MSVC2010 ... svn path=/trunk/; revision=35747
2011-02-01WIN32 ==> _WIN32Bill Meier2-4/+4
svn path=/trunk/; revision=35745
2010-12-16Update filter for Windows-only symbols.Balint Reczey1-1/+1
svn path=/trunk/; revision=35203
2010-12-16Export only defined symbols from libwsutil.Balint Reczey1-13/+58
Exported symbols are the symbols listed in libwsutil.def, but the symbols defined in not used optional objects are filtered out. svn path=/trunk/; revision=35202
2010-12-07Include stdlib.h for getenv().Jeff Morriss1-0/+1
svn path=/trunk/; revision=35149
2010-12-07Move getenv_utf8() to wsutil.Jeff Morriss4-7/+60
svn path=/trunk/; revision=35148
2010-12-07Revert rev 35145 for wsutil: go back to exporting all symbols. libwsutil's ↵Jeff Morriss1-6/+2
list of exported symbols includes our optional targets and trying to export symbols that don't (always) exist upsets some linkers. Anyway, the list of global symbols in libwsutil is (so far) quite short. svn path=/trunk/; revision=35147
2010-12-07Make libtool export only symbols listed in *.def filesBalint Reczey1-2/+6
svn path=/trunk/; revision=35145
2010-12-01Add extern "C" to more header files.Stephen Fisher1-0/+8
svn path=/trunk/; revision=35093
2010-12-01Add #ifndef __PRIVILEGES_H__ / #define / #endif logic to prevent multipleStephen Fisher1-0/+5
inclusions of privileges.h. svn path=/trunk/; revision=35092
2010-11-25Add libtool version info to libwsutil.Balint Reczey1-0/+1
From Eloy Paris <peloy@debian.org> http://svn.debian.org/wsvn/collab-maint/ext-maint/wireshark/branches/wireshark-1.4.x%2Blibseparation/debian/patches/25_libwsutil-version.patch svn path=/trunk/; revision=35030
2010-11-22Make sure we pass a directory path and not a file path toGerald Combs1-5/+9
SetCurrentDirectory. Should fix bug 5420. svn path=/trunk/; revision=35010
2010-09-23H. Sivank <hsivank@gmail.com>Jörg Mayer1-1/+1
I try to configure Wireshark with cmake on macosx 10.6. It fails with : set_target_properties called with incorrect number of arguments. Attached a patch to fix this issue. svn path=/trunk/; revision=34201
2010-09-16More typos.Gerald Combs1-3/+3
svn path=/trunk/; revision=34139
2010-09-16Fix a typo.Gerald Combs1-1/+1
svn path=/trunk/; revision=34138
2010-09-16Turn on ASLR via /DYNAMICBASE and DEP via SetProcessDEPPolicy().Gerald Combs3-9/+20
svn path=/trunk/; revision=34137
2010-09-15Also rename inet_ntop() on WindowsJeff Morriss2-5/+7
svn path=/trunk/; revision=34129
2010-09-15Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5160 differently:Jeff Morriss2-1/+12
On Windows, rename inet_pton() to ws_inet_pton() so that builds on Vista or later systems (that have inet_pton() natively) will still work on pre-Vista systems. svn path=/trunk/; revision=34122
2010-08-27Forward-port r33953.Gerald Combs3-0/+30
Move the SetDllDirectory calls to ws_init_dll_search_path. If SetDllDirectory fails, pass the Wireshark program path to SetCurrentDirectory. svn path=/trunk/; revision=33958
2010-08-26Add a newline. Fixup whitespace.Gerald Combs1-7/+7
svn path=/trunk/; revision=33933
2010-08-25Move Windows-specific material inside an appropriate #ifdef.Gerald Combs1-17/+17
svn path=/trunk/; revision=33925
2010-08-25Add ws_load_library and ws_module_open, which respectively callGerald Combs3-2/+134
LoadLibrary and g_module_open only for the program directory and system directory on Windows. Use them to replace a bunch of LoadLibrary and g_module_open calls. Use the extension ".dll" for all the DLLs that we load. Add comments about DLL loading in Python. svn path=/trunk/; revision=33924
2010-05-29Include glib.h (for g_snprintf).Jeff Morriss1-0/+1
svn path=/trunk/; revision=33019
2010-05-29Add braces to avoid an ambiguous elseJeff Morriss1-1/+2
svn path=/trunk/; revision=33018
2010-05-29Put the optional objects in EXTRA..SOURCES instead of EXTRA_DIST.Jeff Morriss2-21/+25
Put the optional objects in a _DEPENDENCIES rule so they actually get built when needed. Use libtool to make these objects. Remove AC variables that are no longer needed. svn path=/trunk/; revision=33017
2010-05-29Make inet_aton an optional object on *NIX againJeff Morriss3-4/+7
svn path=/trunk/; revision=33016
2010-05-28Add a missing variable from wsgetoptJeff Morriss1-0/+1
svn path=/trunk/; revision=33013
2010-05-28Move some code (including the optional objects) into libwsutilJeff Morriss17-8/+2849
svn path=/trunk/; revision=33012
2010-03-18cmake changes:Jörg Mayer1-0/+1
- Add checking for linker flags - Install plugins with the name including the Wireshark version. This will make it easier to find matching plugin versions if files get just copied over. svn path=/trunk/; revision=32231
2009-11-17Beginnings of enabling static builds. Still to do:Jörg Mayer1-5/+9
* Add -static * Registration may need different handling * Add plugins * Build error in wslua svn path=/trunk/; revision=30987
2009-09-23Hopefully fix wsutil build on OSX.Jörg Mayer1-0/+6
svn path=/trunk/; revision=30091
2009-08-31Add utf_8to16_snprintf() which creates a UTF16 string according to the given ↵Kovarththanan Rajaratnam3-6/+31
format string. The format string + arguments are expected to be in UTF-8 format. This change effectively removes the only place where we use PRIu64. svn path=/trunk/; revision=29635
2009-08-30On Windows a shared library in divided into a DLL part (RUNTIME) and an ↵Kovarththanan Rajaratnam1-2/+5
import lib (ARCHIVE). svn path=/trunk/; revision=29622
2009-07-16Move th /MP flag setting to LOCAL_CFLAGS set in configure.nmakeAnders Broman1-1/+1
for MSVC variant 2008 only. As suggested by Bill Meier. svn path=/trunk/; revision=29114
2009-07-15Add /MP flag to make use of multi cores.Anders Broman1-1/+1
svn path=/trunk/; revision=29104