chiark / gitweb /
nlopt.git
6 years agoCleaner way to fix ctest (#144)
Julien Schueller [Mon, 11 Sep 2017 13:12:04 +0000 (15:12 +0200)]
Cleaner way to fix ctest (#144)

6 years agotest shared libs on appveyor (#142)
Julien Schueller [Mon, 11 Sep 2017 06:50:14 +0000 (08:50 +0200)]
test shared libs on appveyor (#142)

Test shared libs on appveyor

6 years agoMerge pull request #143 from roboticslibrary/patch-targets
Julien Schueller [Mon, 11 Sep 2017 06:49:52 +0000 (08:49 +0200)]
Merge pull request #143 from roboticslibrary/patch-targets

Add namespace for CMake targets and add install include directories to target properties

6 years agoAdd install include directories to target properties
Markus Rickert [Sun, 10 Sep 2017 17:07:18 +0000 (19:07 +0200)]
Add install include directories to target properties

6 years agoAdd namespace to exported CMake targets
Markus Rickert [Sun, 10 Sep 2017 16:55:25 +0000 (18:55 +0200)]
Add namespace to exported CMake targets

6 years agoMerge pull request #137 from jschueller/bounds
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

6 years agoFix set lower|upper bounds methods
Julien Schueller [Thu, 24 Aug 2017 17:14:22 +0000 (19:14 +0200)]
Fix set lower|upper bounds methods

6 years agoMerge pull request #139 from jschueller/doc
Julien Schueller [Sun, 10 Sep 2017 07:10:53 +0000 (09:10 +0200)]
Merge pull request #139 from jschueller/doc

Update doc

6 years agoFix dllexport and dllimport for Windows (#140)
Markus Rickert [Sun, 10 Sep 2017 02:16:02 +0000 (04:16 +0200)]
Fix dllexport and dllimport for Windows (#140)

6 years agoUse trusty
Julien Schueller [Sat, 9 Sep 2017 12:14:19 +0000 (14:14 +0200)]
Use trusty

6 years agoTry build doc on Travis
Julien Schueller [Sat, 9 Sep 2017 12:09:58 +0000 (14:09 +0200)]
Try build doc on Travis

6 years agoUpdate matlab install doc
Julien Schueller [Sat, 9 Sep 2017 11:56:46 +0000 (13:56 +0200)]
Update matlab install doc

6 years agoAdd installation rule for matlab
Julien Schueller [Sat, 9 Sep 2017 11:47:52 +0000 (13:47 +0200)]
Add installation rule for matlab

6 years agoUpdate documentation with cmake instructions
Julien Schueller [Sun, 27 Aug 2017 12:07:24 +0000 (14:07 +0200)]
Update documentation with cmake instructions

6 years agoUpdate the Python example for py3k compatibility
Julien Schueller [Sun, 27 Aug 2017 11:34:49 +0000 (13:34 +0200)]
Update the Python example for py3k compatibility

6 years agoMerge pull request #134 from jschueller/uninitialized
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

6 years agoMerge pull request #136 from jschueller/testopt
Julien Schueller [Thu, 24 Aug 2017 13:36:59 +0000 (15:36 +0200)]
Merge pull request #136 from jschueller/testopt

Enhance testopt following #85

6 years agoavoid initializing global variable with HUGE_VAL
Julien Schueller [Thu, 24 Aug 2017 08:38:35 +0000 (10:38 +0200)]
avoid initializing global variable with HUGE_VAL

6 years agorelax floating point comparison, missing free
Julien Schueller [Thu, 24 Aug 2017 08:36:57 +0000 (10:36 +0200)]
relax floating point comparison, missing free

6 years agorenamed to testopt.c, add nlopt-getopt.c dependency
Amro [Mon, 5 Sep 2016 11:54:58 +0000 (14:54 +0300)]
renamed to testopt.c, add nlopt-getopt.c dependency

6 years agorename files from C++ to C
Amro [Fri, 29 Jul 2016 18:18:23 +0000 (21:18 +0300)]
rename files from C++ to C

6 years agomove getopt implementation to separate files
Amro [Fri, 29 Jul 2016 17:37:35 +0000 (20:37 +0300)]
move getopt implementation to separate files

6 years agoMerge pull request #135 from jschueller/swig_add_module
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

6 years agoUse 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

6 years agoFix all uninitialized variable warnings
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

6 years agoMerge pull request #108 from jdumas/master
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

6 years agofix compilation problem with MSVC (#131)
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.

6 years agoadd readthedocs badge
Steven G. Johnson [Fri, 28 Jul 2017 01:30:15 +0000 (21:30 -0400)]
add readthedocs badge

6 years agoRead the docs (#132)
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

6 years agoignore macos .DS_Store file
Steven G. Johnson [Wed, 26 Jul 2017 17:17:51 +0000 (13:17 -0400)]
ignore macos .DS_Store file

6 years agoMerge pull request #128 from m-chaturvedi/fixing_integer_overflow
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

6 years agoFixing 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

6 years agoUpdate README.md (#124)
Sergey Khrykov [Fri, 9 Jun 2017 13:29:37 +0000 (16:29 +0300)]
Update README.md (#124)

7 years agoSeems that 'target_include_directories' is not enough for SWIG.
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.

7 years agoUpdate .travis.yml
Jérémie Dumas [Wed, 11 Jan 2017 13:56:14 +0000 (14:56 +0100)]
Update .travis.yml

7 years agoUpdate CMakeLists.txt
Jérémie Dumas [Wed, 11 Jan 2017 13:49:32 +0000 (14:49 +0100)]
Update CMakeLists.txt

7 years agoUpdate .travis.yml
Jérémie Dumas [Wed, 11 Jan 2017 08:42:11 +0000 (09:42 +0100)]
Update .travis.yml

7 years agoPrefer target_include_directories in CMake build script
Jérémie Dumas [Tue, 22 Nov 2016 12:23:44 +0000 (13:23 +0100)]
Prefer target_include_directories in CMake build script

7 years agoMerge pull request #116 from jschueller/guile
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

7 years agoDo 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

7 years agoMerge pull request #107 from jschueller/project-dirs
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_...

7 years agoUse 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_...

7 years agoMerge pull request #105 from jschueller/appveyor-tests
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

7 years agoUseless make tests in appveyor
Julien Schueller [Tue, 8 Nov 2016 10:07:35 +0000 (11:07 +0100)]
Useless make tests in appveyor

7 years agoMerge pull request #103 from jschueller/cmake-make-ctest
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

7 years agoSupport cmake && make && ctest
Julien Schueller [Fri, 4 Nov 2016 15:30:04 +0000 (16:30 +0100)]
Support cmake && make && ctest

7 years agoMerge pull request #102 from jschueller/libm
Julien Schueller [Fri, 4 Nov 2016 13:13:53 +0000 (14:13 +0100)]
Merge pull request #102 from jschueller/libm

Detect libm

7 years agoMerge pull request #101 from jschueller/cxx-compiler
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

7 years agoDetect libm
Julien Schueller [Fri, 4 Nov 2016 08:55:31 +0000 (09:55 +0100)]
Detect libm

7 years agoDetect CXX compiler by default
Julien Schueller [Fri, 4 Nov 2016 08:47:09 +0000 (09:47 +0100)]
Detect CXX compiler by default

7 years agoMerge pull request #96 from jschueller/octave-site-dir
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

7 years agoMerge pull request #97 from jschueller/octave-install
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

7 years agoDo not install nlopt_optimize.m
Julien Schueller [Wed, 2 Nov 2016 08:12:11 +0000 (09:12 +0100)]
Do not install nlopt_optimize.m

7 years agoAllow to modify Python & octave site dir
Julien Schueller [Fri, 28 Oct 2016 11:16:57 +0000 (13:16 +0200)]
Allow to modify Python & octave site dir

7 years agoMerge pull request #93 from jschueller/libcpp
Steven G. Johnson [Thu, 27 Oct 2016 19:24:32 +0000 (15:24 -0400)]
Merge pull request #93 from jschueller/libcpp

Detect libcpp

7 years agoMerge pull request #94 from jschueller/config
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

7 years agoDetect libcpp
Julien Schueller [Thu, 27 Oct 2016 08:29:05 +0000 (10:29 +0200)]
Detect libcpp

7 years agoRename config.h to nlopt_config.h
Julien Schueller [Thu, 27 Oct 2016 09:10:02 +0000 (11:10 +0200)]
Rename config.h to nlopt_config.h

7 years agoMerge pull request #91 from jschueller/unitialized_value
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

7 years agoAvoid uninitialized values in nlopt_create
Julien Schueller [Wed, 26 Oct 2016 08:00:51 +0000 (10:00 +0200)]
Avoid uninitialized values in nlopt_create

7 years agoMerge pull request #90 from jschueller/travis
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

7 years agoUse default Python
Julien Schueller [Tue, 25 Oct 2016 16:20:11 +0000 (18:20 +0200)]
Use default Python

7 years agoFix clang compilation
Julien Schueller [Tue, 25 Oct 2016 15:21:25 +0000 (17:21 +0200)]
Fix clang compilation

7 years agoWorkaround travis bug
Julien Schueller [Tue, 25 Oct 2016 14:37:18 +0000 (16:37 +0200)]
Workaround travis bug

7 years agoMerge pull request #84 from amroamroamro/patch-1
Steven G. Johnson [Wed, 14 Sep 2016 20:17:16 +0000 (16:17 -0400)]
Merge pull request #84 from amroamroamro/patch-1

Patch 1

7 years agoupdate gitignore file
Amro [Fri, 29 Jul 2016 12:38:35 +0000 (15:38 +0300)]
update gitignore file

7 years agoalternate implementations for isinf/isfinite
Amro [Fri, 29 Jul 2016 12:30:02 +0000 (15:30 +0300)]
alternate implementations for isinf/isfinite

7 years agomove definition of util functions
Amro [Fri, 29 Jul 2016 12:23:23 +0000 (15:23 +0300)]
move definition of util functions

7 years agomove some util tests from comments into separate files
Amro [Tue, 13 Sep 2016 17:43:27 +0000 (20:43 +0300)]
move some util tests from comments into separate files

7 years agoavoid using HUGE_VAL to initialize global variable
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)

7 years agofix some compiler warnings
Amro [Tue, 13 Sep 2016 17:58:09 +0000 (20:58 +0300)]
fix some compiler warnings

7 years agominor edits
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

7 years agoupdate readme file
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

7 years agoUse CMake module GNUInstallDirs to support platform-specific installation directories...
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

7 years agoDefault build (#74)
Julien Schueller [Wed, 20 Jul 2016 14:36:27 +0000 (16:36 +0200)]
Default build (#74)

* Enable Matlab by default

* Cleanup CMakeLists.txt

7 years agoMerge pull request #73 from jschueller/tests
Julien Schueller [Thu, 14 Jul 2016 09:12:12 +0000 (11:12 +0200)]
Merge pull request #73 from jschueller/tests

Update tests

7 years agoAdd matlab bindings
Julien Schueller [Thu, 14 Jul 2016 09:02:44 +0000 (11:02 +0200)]
Add matlab bindings

7 years agoSkip LN_NEWUOA_BOUND in tests
Julien Schueller [Thu, 14 Jul 2016 07:05:36 +0000 (09:05 +0200)]
Skip LN_NEWUOA_BOUND in tests

Fails randomly on msvc

7 years agoAdd guile test
Julien Schueller [Wed, 13 Jul 2016 19:22:46 +0000 (21:22 +0200)]
Add guile test

7 years agoRewrite Python test from example
Julien Schueller [Wed, 13 Jul 2016 19:14:43 +0000 (21:14 +0200)]
Rewrite Python test from example

7 years agoAdd octave test
Julien Schueller [Wed, 13 Jul 2016 16:39:22 +0000 (18:39 +0200)]
Add octave test

7 years agoMerge pull request #72 from jschueller/readme
Julien Schueller [Wed, 13 Jul 2016 19:46:41 +0000 (21:46 +0200)]
Merge pull request #72 from jschueller/readme

Readme

7 years agoFix _NOSCAL algo typos in the man (#70)
Julien Schueller [Tue, 12 Jul 2016 08:20:52 +0000 (10:20 +0200)]
Fix _NOSCAL algo typos in the man (#70)

7 years agoImproved README
Julien Schueller [Tue, 12 Jul 2016 08:13:43 +0000 (10:13 +0200)]
Improved README

7 years agoMissing installed man pages
Julien Schueller [Tue, 12 Jul 2016 08:12:16 +0000 (10:12 +0200)]
Missing installed man pages

7 years agoSwitch to cmake (#49)
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

7 years agoMerge pull request #66 from bradking/gitignore-octave
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

7 years agooctave: 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

8 years agoMerge pull request #64 from thrasibule/mybranch
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

8 years agoalso link with GUILE_LIBS
Guillaume Horel [Fri, 15 Apr 2016 18:24:53 +0000 (14:24 -0400)]
also link with GUILE_LIBS

8 years agoMerge pull request #62 from sammy-tri/parallel_build
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

8 years agoMerge pull request #63 from thrasibule/no-undefined
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++

8 years agoadd missing linking for C++
Guillaume Horel [Tue, 12 Apr 2016 19:52:49 +0000 (15:52 -0400)]
add missing linking for C++

8 years agoChain build rules for guile and python bindings to avoid race conditions in parallel...
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.

8 years agoMerge pull request #56 from AaronWebster/patch-1
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

8 years agoFixes 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.

8 years agoMerge pull request #50 from jschueller/patch-1
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

8 years agofix nlopt.pc with cxx enabled
Julien Schueller [Fri, 11 Sep 2015 17:28:13 +0000 (19:28 +0200)]
fix nlopt.pc with cxx enabled

8 years agoMerge pull request #46 from jschueller/travis
Steven G. Johnson [Fri, 4 Sep 2015 02:45:22 +0000 (22:45 -0400)]
Merge pull request #46 from jschueller/travis

Add Travis script

8 years agoAdd Travis script
Julien Schueller [Mon, 31 Aug 2015 09:52:52 +0000 (11:52 +0200)]
Add Travis script