Commit Graph

64 Commits

Author SHA1 Message Date
Rom Walton 1941429568 zip: Reduce the number of arguments sent to the compiler, possibly fixing the build on Linux when building the wrapper 2013-03-05 15:12:52 +01:00
Rom Walton c4d840f70b boinc_zip: Add NO_LCHMOD for Android and Linux. Comment out duplicate definitions of gmtime() and localtime(). 2013-03-05 14:17:54 +01:00
Rom Walton 46d8f78a20 boinc_zip: most of the zip code is C code. 2013-03-05 14:17:54 +01:00
Rom Walton ea9bf2a0a5 android/boinc_zip: Linux throws a warning about lchmod and on android it doesn't exist at all. Add -DNO_LCHOWN to Makefile.am so it applies to both environments 2013-03-05 14:17:54 +01:00
David Anderson 13925d7c7b - compile fixes. Fixes #1219 2013-03-04 17:39:24 +01:00
David Anderson bb0ced01ba - wrapper: add source files for a regular expression library
(too be used soon)
- boinc_zip: add makefile for test program
2013-03-04 15:04:51 +01:00
Charlie Fenton 92521b8be8 boinc_zip: Add teszlibconflict target to boinc_zip Xcode project 2013-03-04 15:04:51 +01:00
Charlie Fenton 093ad0ab12 boinc_zip: Fix linker conflicts zlib and boinc_zip are both used in a project 2013-03-04 15:01:44 +01:00
Charlie Fenton d5c9ee8abf boinc_zip: Fix linker conflicts zlib and boinc_zip aer both used in a project 2013-03-04 14:59:23 +01:00
Charlie Fenton a07e0dac43 boinc_zip: minor cleanup of Xcode project 2013-03-04 14:59:23 +01:00
Charlie Fenton ec16ac4ccb boinc_zip: updated boinc_zip xCode project for unix.c -> z_unix.c 2013-03-04 14:59:22 +01:00
David Anderson 678ee52458 - boinc_zip: fix Unix build 2013-03-04 14:59:22 +01:00
Charlie Fenton c0341d3921 Update boinc_zip to use current info-zip source files (info-zip 3.0 and info-unzip 6.0) 2013-03-04 14:54:38 +01:00
Oliver Bock 17ea7a1a63 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc 2013-03-04 14:54:01 +01:00
Charlie Fenton 0d18cf5b46 Update boinc_zip to use current info-zip source files (info-zip 3.0 and info-unzip 6.0) 2013-03-04 14:53:46 +01:00
Charlie Fenton c1f7be07fc Update boinc_zip to use current info-zip source files (info-zip 3.0 and info-unzip 6.0) 2013-03-04 14:14:06 +01:00
Charlie Fenton e01d3ccd83 Update boinc_zip to use current info-zip source files (info-zip 3.0 and info-unzip 6.0) 2013-03-04 14:14:06 +01:00
Charlie Fenton da79c75aa7 Remove obsolete info_zip files 2013-03-04 14:14:06 +01:00
Rom Walton 18ef4ed069 - WIN: Introduce updated project files for the boinc_zip library used
by the slide_show project.
    - WIN: Adjust the slide_show project so that it will build both 32-bit
        and 64-bit versions and use the boinc_zip library.
2013-03-04 14:14:06 +01:00
Charlie Fenton c2a0a0fbe9 Mac: update Xcode project for building boinc_zip 2013-03-01 16:26:09 +01:00
David Anderson 7acf1632fa - The zip library was moved to a directory (project_depends)
outside of BOINC, but the build files weren't made to work.
Move the library back where it was before.


svn path=/trunk/boinc/; revision=25056
2012-01-14 05:48:01 +00:00
David Anderson aef0f104e2 Move the BOINC compatible InfoZip
svn path=/trunk/boinc/; revision=18619
2009-07-17 16:29:24 +00:00
David Anderson 97d50e12b9 - compile fixes for Haiku
svn path=/trunk/boinc/; revision=18213
2009-05-27 23:36:55 +00:00
David Anderson 5b0b612303 - zip: add Mac project file (from Carl)
svn path=/trunk/boinc/; revision=18195
2009-05-22 21:19:44 +00:00
David Anderson 18b5362c1d - Change Makefiles to use "$(LN) foo ." instead of "ln foo"
svn path=/trunk/boinc/; revision=18003
2009-05-05 09:16:57 +00:00
Eric J. Korpela 8f3abcc835 - Added checks for net/*.h, arpa/*.h, netinet/*.h and code to figure out
which of those files to include
    - Modified MAC address check to work on some non-Linux unixes.
      (mac_address.cpp)
    - Added suggested change to "already attached to project" checking.
      (ProjectInfoPage.cpp)
    - changed includes of standard c header files to their c++ equivalents
      (i.e. replaced <stdio.h> with <cstdio>) for namespace protection.
    - replaced "using namespace std;" with more explicit "using std::function" in
      several files.
    - Fixed bug in checking whether the os is OS/2 and added conditional OS_OS2
      to the build environment. (boinc_platform.m4,configure.ac)
    - Changed build environment to not use -nostandardlibs unless we are using
      G++ and static linkage is specified. (configure.ac)
    - Added makefiles and package building files for solaris CSW package manager.
    - Fixed bug with attempting to find login name using logname. (configure.ac)
    - Added ifdef HAVE_* protection around some include files commonly found in
      sys.
    - Added support for unified binary for x86_64/i686-pc-solaris.
      (cs_platforms.cpp)
    - generate_host_cpid() now uses MAC address on non-linux unix.
      (hostinfo_network.cpp)
    - Macro BOINC_SET_COMPILE_FLAGS now doesn't check gcc only flags on non-gcc
      compilers. (boinc_set_compile_flags.m4)
    - Library compiles no longer depend upon the library extension or require
      the library to be prefixed with lib.
    - More fixes for fcgi builds.
    - Added declaration of "struct ether_addr" and ether_ntoa().  Have not yet
      implemented ether_ntoa() for machines that don't have it, or where it is
      buggy.  (unix_util.h)
    - Added FCGI::perror() which calls FCGI_perror(). (boinc_fcgi.{h,cpp})
    - Fixed library Makefiles so that all required headers get installed.


svn path=/trunk/boinc/; revision=17388
2009-02-26 00:23:23 +00:00
David Anderson 3adaa89e08 - boinc_zip: put null arg at end of argv.
Fixes crashing bug.
    From Michael Tyka.

svn path=/trunk/boinc/; revision=17210
2009-02-11 21:57:03 +00:00
Eric J. Korpela 4e60ef3003 - STILL WORK TO BE DONE TO GET locale STUFF INSTALLED PROPERLY!!!
- Update to libtool 1.5.24
- build environment:  Major automake changes that I've been warning about
  for some time.
- Now uses libtool to build libraries.
- Builds separate boinc_fcgi and sched_fcgi libraries for use with 
  FCGI server components.
- New macro "BOINC_CHECK_LIB_WITH" that executes a "AC_CHECK_LIB" on
  a library only if --with-libname[=DIR] is specified on the configure
  command line.  This is to allow inclusion of libraries when the 
  ssl, gtk, wxWidgets, or other configuration is incorrect for static
  libraries.
- Added a lot of "--with-*" for some libraries that might be required for
  static builds.
- The sea directory has been moved to packages/generic.  Changes to sea
  and the associated scripts might be required to better make use of the
  staging mechanism and shared libraries.
- Fixed includes of boinc_fcgi.h in many files.
- Fixed places where FCGI_FILE needs to be used implicitly.
- Fixed missing define of _SC_PAGESIZE on hosts that define only
  _SC_PAGE_SIZE.
- Moved build of boinc_cmd (and source file) from lib to client



svn path=/trunk/boinc/; revision=16904
2009-01-13 23:06:02 +00:00
David Anderson ae826ef2eb - API: remove debugging printf from trickly down code
- API: use non-verbose option to zip
- scheduler: if multiple_client_per_host is set,
    don't mark results as over if get repeat CPID

svn path=/trunk/boinc/; revision=16445
2008-11-07 04:13:08 +00:00
David Anderson 4387e4491b - Fix emacs mode line in Makefile.am's
svn path=/trunk/boinc/; revision=15375
2008-06-08 22:18:52 +00:00
Eric J. Korpela 1f2d65bccb - Makefiles:
added client/scripts to default client build
    removed sea from the default clientgui build
    added locale/client to the default clientgui build
    moved installed headers from $(includedir) to $(pkgincludedir) which
       is $(includedir)/boinc by default.
    removed redefinitions of $(includedir) from Makefiles.
- configure:
    added locale/client/Makefile to AC_CONFIG_FILES


svn path=/trunk/boinc/; revision=15300
2008-05-28 01:38:39 +00:00
David Anderson 8392c6a83d - API: fix to zip code (from Carl C)
svn path=/trunk/boinc/; revision=14563
2008-01-16 04:43:19 +00:00
Rom Walton 38d4aecc0b Delete outdated .cvsignore files
svn path=/trunk/boinc/; revision=13814
2007-10-09 18:03:21 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
David Anderson f61b1814bf *** empty log message ***
svn path=/trunk/boinc/; revision=12074
2007-02-13 17:14:34 +00:00
Reinhard Prix 0e42a6a07a correctly compile unzip-DLL [used in boinc_UnzipToMemory()]
svn path=/trunk/boinc/; revision=11875
2007-01-15 23:28:33 +00:00
Reinhard Prix 477eac8775 fix bug in boinc_UnzipToMemory(): properly init buffer to zero
svn path=/trunk/boinc/; revision=11874
2007-01-15 23:27:01 +00:00
Reinhard Prix 8c99b4055e finish off half-removed signal-handling in -DREENTRANT case
[this was started in version 1.2, but not completed, so -DREENTRANT wouldn't compile]

svn path=/trunk/boinc/; revision=11873
2007-01-15 23:24:11 +00:00
David Anderson 420e00f137 *** empty log message ***
svn path=/trunk/boinc/; revision=11860
2007-01-15 19:25:23 +00:00
Bruce Allen 998db46c9b Fixes to BOINC zip library from Carl Christensen. Carl says:
"I found a problem with boinc_zip; it seems some Linux STL's
aren't very nice about classes that are inherited from their
objects on multiple use; or huge file lists that we use on CPDN.
So I rewrite it to just use "straight" std::string's in a vector.
It's fully backwardly compatible and seems to work fine."

svn path=/trunk/boinc/; revision=9203
2006-01-09 22:06:19 +00:00
Eric J. Korpela 4af89da2b1 Added #ifdefs and explicit inclusion of "boinc_win.h" to files to help those
trying to compile under windows with alternate compilers or from the windows
command line.

svn path=/trunk/boinc/; revision=9078
2005-12-16 03:45:01 +00:00
David Anderson a010aef22a OS/2 client version
svn path=/trunk/boinc/; revision=9022
2005-12-02 22:29:35 +00:00
David Anderson 137e3d2b2d zip fixes
svn path=/trunk/boinc/; revision=7481
2005-08-25 21:33:28 +00:00
David Anderson d982308ec1 zip build fix
svn path=/trunk/boinc/; revision=7334
2005-08-15 18:05:21 +00:00
David Anderson 41788e7e8d *** empty log message ***
svn path=/trunk/boinc/; revision=6697
2005-07-20 10:26:47 +00:00
David Anderson 385ea597c8 *** empty log message ***
svn path=/trunk/boinc/; revision=6683
2005-07-19 18:53:01 +00:00
David Anderson 67359ed0e7 *** empty log message ***
svn path=/trunk/boinc/; revision=6679
2005-07-19 18:34:42 +00:00
David Anderson 971b58e501 *** empty log message ***
svn path=/trunk/boinc/; revision=5821
2005-04-11 05:47:41 +00:00
Bruce Allen f31b244f90 Modified CVS id strings. After some fussing with different versions
of gcc to try and force them to not complain with -Wall but to always
include this, I decided to take a simpler approach.  All these strings
now have global linkage.  To prevent namespace conflicts they all
have different names.  For the record, the variable extension is a hash made of the first ten characters of the md5sum of the file path, eg:
    md5hash=`boinc/api/x_opengl.C | md5sum | cut -c 1-10`

svn path=/trunk/boinc/; revision=4979
2005-01-02 18:29:53 +00:00
Bruce Allen a24afe2b67 Moved RCSID strings to the end of all .c, .C and .cpp files as per
David's request.

svn path=/trunk/boinc/; revision=4787
2004-12-08 00:40:19 +00:00