chiark / gitweb /
Julien Schueller [Sun, 10 Sep 2017 07:40:15 +0000 (09:40 +0200)]
Merge pull request #137 from jschueller/bounds
Fix get|set lower|upper bounds methods warnings
Julien Schueller [Thu, 24 Aug 2017 17:14:22 +0000 (19:14 +0200)]
Fix set lower|upper bounds methods
Julien Schueller [Sun, 10 Sep 2017 07:10:53 +0000 (09:10 +0200)]
Merge pull request #139 from jschueller/doc
Update doc
Markus Rickert [Sun, 10 Sep 2017 02:16:02 +0000 (04:16 +0200)]
Fix dllexport and dllimport for Windows (#140)
Julien Schueller [Sat, 9 Sep 2017 12:14:19 +0000 (14:14 +0200)]
Use trusty
Julien Schueller [Sat, 9 Sep 2017 12:09:58 +0000 (14:09 +0200)]
Try build doc on Travis
Julien Schueller [Sat, 9 Sep 2017 11:56:46 +0000 (13:56 +0200)]
Update matlab install doc
Julien Schueller [Sat, 9 Sep 2017 11:47:52 +0000 (13:47 +0200)]
Add installation rule for matlab
Julien Schueller [Sun, 27 Aug 2017 12:07:24 +0000 (14:07 +0200)]
Update documentation with cmake instructions
Julien Schueller [Sun, 27 Aug 2017 11:34:49 +0000 (13:34 +0200)]
Update the Python example for py3k compatibility
Julien Schueller [Thu, 24 Aug 2017 13:39:58 +0000 (15:39 +0200)]
Merge pull request #134 from jschueller/uninitialized
Fix all uninitialized variable warnings
Julien Schueller [Thu, 24 Aug 2017 13:36:59 +0000 (15:36 +0200)]
Merge pull request #136 from jschueller/testopt
Enhance testopt following #85
Julien Schueller [Thu, 24 Aug 2017 08:38:35 +0000 (10:38 +0200)]
avoid initializing global variable with HUGE_VAL
Julien Schueller [Thu, 24 Aug 2017 08:36:57 +0000 (10:36 +0200)]
relax floating point comparison, missing free
Amro [Mon, 5 Sep 2016 11:54:58 +0000 (14:54 +0300)]
renamed to testopt.c, add nlopt-getopt.c dependency
Amro [Fri, 29 Jul 2016 18:18:23 +0000 (21:18 +0300)]
rename files from C++ to C
Amro [Fri, 29 Jul 2016 17:37:35 +0000 (20:37 +0300)]
move getopt implementation to separate files
Julien Schueller [Thu, 24 Aug 2017 06:42:45 +0000 (08:42 +0200)]
Merge pull request #135 from jschueller/swig_add_module
Use swig_add_library with cmake 3.8
Julien Schueller [Wed, 23 Aug 2017 19:52:44 +0000 (21:52 +0200)]
Use swig_add_library with cmake 3.8
Julien Schueller [Wed, 23 Aug 2017 19:46:11 +0000 (21:46 +0200)]
Fix all uninitialized variable warnings
Every variables that yields a -Wmaybe-uninitialized gcc warning is set to 0
Fixes #133
Julien Schueller [Sat, 5 Aug 2017 06:47:03 +0000 (08:47 +0200)]
Merge pull request #108 from jdumas/master
Prefer target_include_directories in CMake build script
Steven G. Johnson [Fri, 28 Jul 2017 19:48:08 +0000 (15:48 -0400)]
fix compilation problem with MSVC (#131)
* fix for #51
This pragma fixes a known problem compiling with VS2013 or VS2015 in Release.
See issue #51 for more info.
* The fix fod Visual Studio starts from version 2013 onwards.
This has not been fixed for VS2015, so we keep the macro guard open for future versions of VS.
The vectorization of this loop is not that important anyways.
See #51.
Steven G. Johnson [Fri, 28 Jul 2017 01:30:15 +0000 (21:30 -0400)]
add readthedocs badge
Homer Reid [Fri, 28 Jul 2017 01:24:22 +0000 (21:24 -0400)]
Read the docs (#132)
* added mkdocs-style documentation tree in doc
* added documentation tree converted from ab-initio wiki pages
Steven G. Johnson [Wed, 26 Jul 2017 17:17:51 +0000 (13:17 -0400)]
ignore macos .DS_Store file
Steven G. Johnson [Mon, 17 Jul 2017 16:47:23 +0000 (12:47 -0400)]
Merge pull request #128 from m-chaturvedi/fixing_integer_overflow
Fixing Integer Overflow in nlopt_srand_time
Mmanu Chaturvedi [Mon, 17 Jul 2017 15:38:30 +0000 (11:38 -0400)]
Fixing Integer Overflow in nlopt_srand_time
Sergey Khrykov [Fri, 9 Jun 2017 13:29:37 +0000 (16:29 +0300)]
Update README.md (#124)
Jérémie Dumas [Mon, 20 Mar 2017 23:15:27 +0000 (19:15 -0400)]
Seems that 'target_include_directories' is not enough for SWIG.
Jérémie Dumas [Wed, 11 Jan 2017 13:56:14 +0000 (14:56 +0100)]
Update .travis.yml
Jérémie Dumas [Wed, 11 Jan 2017 13:49:32 +0000 (14:49 +0100)]
Update CMakeLists.txt
Jérémie Dumas [Wed, 11 Jan 2017 08:42:11 +0000 (09:42 +0100)]
Update .travis.yml
Jérémie Dumas [Tue, 22 Nov 2016 12:23:44 +0000 (13:23 +0100)]
Prefer target_include_directories in CMake build script
Julien Schueller [Tue, 21 Mar 2017 08:01:23 +0000 (09:01 +0100)]
Merge pull request #116 from jschueller/guile
Do not install guile 2.2 until supported in swig
Julien Schueller [Tue, 21 Mar 2017 07:25:19 +0000 (08:25 +0100)]
Do not install guile 2.2 until supported in swig
Steven G. Johnson [Mon, 21 Nov 2016 18:27:37 +0000 (13:27 -0500)]
Merge pull request #107 from jschueller/project-dirs
Use PROJECT_(SOURCE|BINARY)_DIR instead of CMAKE_...
Julien Schueller [Mon, 21 Nov 2016 16:49:56 +0000 (17:49 +0100)]
Use PROJECT_(SOURCE|BINARY)_DIR instead of CMAKE_...
Steven G. Johnson [Tue, 8 Nov 2016 15:21:10 +0000 (10:21 -0500)]
Merge pull request #105 from jschueller/appveyor-tests
Useless make tests in appveyor
Julien Schueller [Tue, 8 Nov 2016 10:07:35 +0000 (11:07 +0100)]
Useless make tests in appveyor
Julien Schueller [Fri, 4 Nov 2016 15:59:10 +0000 (16:59 +0100)]
Merge pull request #103 from jschueller/cmake-make-ctest
Support cmake && make && ctest
Julien Schueller [Fri, 4 Nov 2016 15:30:04 +0000 (16:30 +0100)]
Support cmake && make && ctest
Julien Schueller [Fri, 4 Nov 2016 13:13:53 +0000 (14:13 +0100)]
Merge pull request #102 from jschueller/libm
Detect libm
Julien Schueller [Fri, 4 Nov 2016 13:13:46 +0000 (14:13 +0100)]
Merge pull request #101 from jschueller/cxx-compiler
Detect CXX compiler by default
Julien Schueller [Fri, 4 Nov 2016 08:55:31 +0000 (09:55 +0100)]
Detect libm
Julien Schueller [Fri, 4 Nov 2016 08:47:09 +0000 (09:47 +0100)]
Detect CXX compiler by default
Steven G. Johnson [Wed, 2 Nov 2016 14:31:09 +0000 (10:31 -0400)]
Merge pull request #96 from jschueller/octave-site-dir
Allow to modify Python & octave site dir
Steven G. Johnson [Wed, 2 Nov 2016 14:30:23 +0000 (10:30 -0400)]
Merge pull request #97 from jschueller/octave-install
Do not install nlopt_optimize.m
Julien Schueller [Wed, 2 Nov 2016 08:12:11 +0000 (09:12 +0100)]
Do not install nlopt_optimize.m
Julien Schueller [Fri, 28 Oct 2016 11:16:57 +0000 (13:16 +0200)]
Allow to modify Python & octave site dir
Steven G. Johnson [Thu, 27 Oct 2016 19:24:32 +0000 (15:24 -0400)]
Merge pull request #93 from jschueller/libcpp
Detect libcpp
Steven G. Johnson [Thu, 27 Oct 2016 14:07:47 +0000 (10:07 -0400)]
Merge pull request #94 from jschueller/config
Rename config.h to nlopt_config.h
Julien Schueller [Thu, 27 Oct 2016 08:29:05 +0000 (10:29 +0200)]
Detect libcpp
Julien Schueller [Thu, 27 Oct 2016 09:10:02 +0000 (11:10 +0200)]
Rename config.h to nlopt_config.h
Julien Schueller [Wed, 26 Oct 2016 08:25:25 +0000 (10:25 +0200)]
Merge pull request #91 from jschueller/unitialized_value
Avoid uninitialized values in nlopt_create
Julien Schueller [Wed, 26 Oct 2016 08:00:51 +0000 (10:00 +0200)]
Avoid uninitialized values in nlopt_create
Julien Schueller [Wed, 26 Oct 2016 07:03:06 +0000 (09:03 +0200)]
Merge pull request #90 from jschueller/travis
Fix OSX build on new image
Julien Schueller [Tue, 25 Oct 2016 16:20:11 +0000 (18:20 +0200)]
Use default Python
Julien Schueller [Tue, 25 Oct 2016 15:21:25 +0000 (17:21 +0200)]
Fix clang compilation
Julien Schueller [Tue, 25 Oct 2016 14:37:18 +0000 (16:37 +0200)]
Workaround travis bug
Steven G. Johnson [Wed, 14 Sep 2016 20:17:16 +0000 (16:17 -0400)]
Merge pull request #84 from amroamroamro/patch-1
Patch 1
Amro [Fri, 29 Jul 2016 12:38:35 +0000 (15:38 +0300)]
update gitignore file
Amro [Fri, 29 Jul 2016 12:30:02 +0000 (15:30 +0300)]
alternate implementations for isinf/isfinite
Amro [Fri, 29 Jul 2016 12:23:23 +0000 (15:23 +0300)]
move definition of util functions
Amro [Tue, 13 Sep 2016 17:43:27 +0000 (20:43 +0300)]
move some util tests from comments into separate files
Amro [Sun, 11 Sep 2016 14:33:14 +0000 (17:33 +0300)]
avoid using HUGE_VAL to initialize global variable
in some older C (not C++) compilers, HUGE_VAL macro is not
always a constant expression (VS2010 is in this category)
Only C99 (section 7.12) guarantees the macro to expand
to a constant expression but not C90 (section 7.5)
Amro [Tue, 13 Sep 2016 17:58:09 +0000 (20:58 +0300)]
fix some compiler warnings
Amro [Tue, 13 Sep 2016 17:42:16 +0000 (20:42 +0300)]
minor edits
- use C-style comments /* .. */ in .c files
- trim trailing spaces and other minor style edits
Amro [Tue, 13 Sep 2016 17:32:26 +0000 (20:32 +0300)]
update readme file
- add status badge for appveyor CI
- add some external hyperlinks
- other minor edits
rickertm [Thu, 18 Aug 2016 12:06:31 +0000 (14:06 +0200)]
Use CMake module GNUInstallDirs to support platform-specific installation directories (#76)
Use CMake module GNUInstallDirs to support platform-specific installation directories
Julien Schueller [Wed, 20 Jul 2016 14:36:27 +0000 (16:36 +0200)]
Default build (#74)
* Enable Matlab by default
* Cleanup CMakeLists.txt
Julien Schueller [Thu, 14 Jul 2016 09:12:12 +0000 (11:12 +0200)]
Merge pull request #73 from jschueller/tests
Update tests
Julien Schueller [Thu, 14 Jul 2016 09:02:44 +0000 (11:02 +0200)]
Add matlab bindings
Julien Schueller [Thu, 14 Jul 2016 07:05:36 +0000 (09:05 +0200)]
Skip LN_NEWUOA_BOUND in tests
Fails randomly on msvc
Julien Schueller [Wed, 13 Jul 2016 19:22:46 +0000 (21:22 +0200)]
Add guile test
Julien Schueller [Wed, 13 Jul 2016 19:14:43 +0000 (21:14 +0200)]
Rewrite Python test from example
Julien Schueller [Wed, 13 Jul 2016 16:39:22 +0000 (18:39 +0200)]
Add octave test
Julien Schueller [Wed, 13 Jul 2016 19:46:41 +0000 (21:46 +0200)]
Merge pull request #72 from jschueller/readme
Readme
Julien Schueller [Tue, 12 Jul 2016 08:20:52 +0000 (10:20 +0200)]
Fix _NOSCAL algo typos in the man (#70)
Julien Schueller [Tue, 12 Jul 2016 08:13:43 +0000 (10:13 +0200)]
Improved README
Julien Schueller [Tue, 12 Jul 2016 08:12:16 +0000 (10:12 +0200)]
Missing installed man pages
Julien Schueller [Mon, 11 Jul 2016 18:22:05 +0000 (20:22 +0200)]
Switch to cmake (#49)
* cmake: set default Release build type
* cmake: optionally enable cxx
* cmake: enable bindings with static library
* cmake: build testopt
* cmake: enable cxx for python bindings
* cmake: install nlopt.pc
* cmake: added missing compiler checks
* cmake: add octave support
* cmake: add guile bindings
* cmake: provide package_source target
* cmake: generate api headers
* Add Appveyor config file
* Test MinGW build
* Removed autotools
* cmake: install man
* re-implement getopt for test
* travis: +osx
* cmake: man/pkgconfig unix only
* add only Python test if built
* cmake: pkgconfig on mingw
* Fix octave include
* Find numpy includes
* Detect SWIG at top-level
* cmake: RPATH policy
* appveyor: shared build
* Add cmake config files
* travis: shared builds
* appveyor: no shared builds
* BUILD-MINGWXX.sh are superseeded by toolchain files
Steven G. Johnson [Sat, 21 May 2016 02:23:21 +0000 (22:23 -0400)]
Merge pull request #66 from bradking/gitignore-octave
octave: Tell Git to ignore `dummy` build output
Brad King [Thu, 19 May 2016 18:13:29 +0000 (14:13 -0400)]
octave: Tell Git to ignore `dummy` build output
Steven G. Johnson [Fri, 15 Apr 2016 19:26:19 +0000 (15:26 -0400)]
Merge pull request #64 from thrasibule/mybranch
also link with GUILE_LIBS
Guillaume Horel [Fri, 15 Apr 2016 18:24:53 +0000 (14:24 -0400)]
also link with GUILE_LIBS
Steven G. Johnson [Wed, 13 Apr 2016 15:46:55 +0000 (11:46 -0400)]
Merge pull request #62 from sammy-tri/parallel_build
Chain build rules for guile and python bindings to avoid race conditions in parallel builds
Steven G. Johnson [Wed, 13 Apr 2016 15:45:19 +0000 (11:45 -0400)]
Merge pull request #63 from thrasibule/no-undefined
add missing linking for C++
Guillaume Horel [Tue, 12 Apr 2016 19:52:49 +0000 (15:52 -0400)]
add missing linking for C++
Sam Creasey [Tue, 12 Apr 2016 18:37:30 +0000 (14:37 -0400)]
Chain build rules for guile and python bindings to avoid race conditions in parallel builds.
Steven G. Johnson [Fri, 29 Jan 2016 18:56:58 +0000 (13:56 -0500)]
Merge pull request #56 from AaronWebster/patch-1
Fixes memory leak in auglag/auglag.c
AaronWebster [Fri, 29 Jan 2016 04:53:43 +0000 (20:53 -0800)]
Fixes memory leak in auglag/auglag.c
Fixes a memory leak in auglag/auglag.c where the working space xcur wasn't being `free`d under certain conditions.
Steven G. Johnson [Fri, 11 Sep 2015 19:22:32 +0000 (15:22 -0400)]
Merge pull request #50 from jschueller/patch-1
fix nlopt.pc with cxx enabled
Julien Schueller [Fri, 11 Sep 2015 17:28:13 +0000 (19:28 +0200)]
fix nlopt.pc with cxx enabled
Steven G. Johnson [Fri, 4 Sep 2015 02:45:22 +0000 (22:45 -0400)]
Merge pull request #46 from jschueller/travis
Add Travis script
Julien Schueller [Mon, 31 Aug 2015 09:52:52 +0000 (11:52 +0200)]
Add Travis script
Steven G. Johnson [Wed, 2 Sep 2015 16:01:43 +0000 (12:01 -0400)]
Merge pull request #47 from jschueller/patch-2
simplify python test
jschueller [Tue, 1 Sep 2015 08:21:23 +0000 (10:21 +0200)]
simplify python test
Steven G. Johnson [Tue, 1 Sep 2015 01:58:38 +0000 (21:58 -0400)]
Merge pull request #45 from jschueller/patch-1
fix conversion error in stop.c
jschueller [Mon, 31 Aug 2015 09:27:19 +0000 (11:27 +0200)]
fix conversion error in stop.c
hi,
I got this error when compiling git head with gcc:
```
make[2]: Entering directory '/home/schueller/projects/nlopt/build/util'
/bin/sh ../libtool --tag=CC --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../util -I.. -I../../api -g -O2 -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -Wshadow -Wwrite-strings -Wredundant-decls -Wundef -Wconversion -MT stop.lo -MD -MP -MF .deps/stop.Tpo -c -o stop.lo ../../util/stop.c
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../util -I.. -I../../api -g -O2 -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -Wshadow -Wwrite-strings -Wredundant-decls -Wundef -Wconversion -MT stop.lo -MD -MP -MF .deps/stop.Tpo -c ../../util/stop.c -fPIC -DPIC -o .libs/stop.o
../../util/stop.c: In function ‘char* nlopt_vsprintf(char*, const char*, __va_list_tag*)’:
../../util/stop.c:151:20: error: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive]
p = realloc(p, len);
^
Makefile:426: recipe for target 'stop.lo' failed
```
Steven G. Johnson [Thu, 9 Jul 2015 21:06:22 +0000 (17:06 -0400)]
backward compatibility with old Octave_map for #42