Commit Graph

516 Commits

Author SHA1 Message Date
Brian West d97b163fd3 ESL-77 your test script works along with single_command.rb now 2014-02-24 04:12:55 -06:00
Marc Olivier Chouinard 289d0de371 some circonstance, esl connection closing would hang. This should fix it 2014-02-23 20:52:14 -05:00
Travis Cross cdc358c505 Add comment to distant #endif
FS-353
2014-02-23 22:33:28 +00:00
James Le Cuirot d996974faa Fix building without libedit
Signed-off-by: Travis Cross <tc@traviscross.com>

FS-353
2014-02-23 22:33:20 +00:00
Brian West c2798d7d11 moving phpmod in esl to use swig2.0 which fixes the few issues when you reswig 2014-02-23 10:08:02 -06:00
Brian West ae1016107d FS-5723 java makefile problem 2014-02-22 18:33:56 -06:00
William King 5fb660933d ESL-82 --resolve
Previously any esl_connect_timeout() failures would not return to the calling application the reason for the failure.
This commit now allows for calling applications to know why the connection attempt fails, but it is now the calling
applications responsiblity to call esl_disconnect() on the esl handle after the failure. Failing to call disconnect after
a failed connection attempt would result in memory being leaked.
2014-02-21 14:14:05 -08:00
Michael Jerris b40dd8a374 freebsd fix, use detected cxx compiler when building esl 2014-02-19 16:10:48 -05:00
Jeff Lenk 9842e9efd8 ESL-81 --resolve add specific SWIG code for windows 2014-02-15 18:36:49 -06:00
Seven Du 11dee76381 add user_data in esl_listen so the main function can pass a private user_data to callback 2014-02-16 08:14:44 +08:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Brian West 3c55a90076 ESL-66 2014-02-07 13:10:25 -06:00
Moises Silva f5f4df3483 Fix ESL infinite loop on handle_recv() when errno is already set
system calls do not clear errno, just set it in case of failure, so we
gotta make sure the recv() syscall really failed by checking the return value
2014-02-01 01:40:29 +05:00
Anthony Minessale b5821c1594 tweak event queue size on event socket and speed up fs_cli a little to keep up on busy logging env 2014-01-23 21:26:56 +05:00
Peter Olsson 5a820fdc78 Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01:00
Anthony Minessale 3ff0aaa0be FS-5653 --resolve 2014-01-07 00:38:48 +05:00
Michael Jerris 88545a7fe1 .gitignore 2013-12-23 17:27:20 -05:00
Steve Underwood ac2bf8a405 Fixed a file permission in the ESL library 2013-12-08 01:39:00 +08:00
Jeff Lenk bb53175526 FS-6010 --resolve 2013-11-29 22:16:49 -06:00
Anthony Minessale ca8f121977 fix regression from recent refactor that causes infinite loop on unexpected disconnect 2013-11-22 04:53:34 +05:00
Anthony Minessale 634d936a02 kill socket in esl_disconnect to prevent blocking 2013-11-20 23:50:15 +05:00
Jeff Lenk 4ee3b70496 fix windows esl compile 2013-11-13 17:59:52 -06:00
Anthony Minessale 9d2400b7ab doh 2013-11-14 01:48:48 +05:00
Anthony Minessale c429de4139 fix build err 2013-11-14 01:38:00 +05:00
Anthony Minessale c469e7ada2 cleanup ESL a little 2013-11-14 00:43:25 +05:00
Anthony Minessale 931d3fb86a remove condition for mem leak 2013-11-12 12:33:32 -06:00
Ken Rice d8da4ae764 --resolve ESL-72 fix const char* vs char* issue in swig 2013-09-20 14:58:44 -05:00
Anthony Minessale a036125bc4 update cc header 2013-09-18 05:20:56 +05:00
Michael Jerris 58e7db0c6d FS-5763: --resolve add configure check for lzma and newer readhat/sl tinfo stuff 2013-09-07 12:21:33 -07:00
Anthony Minessale 73646cbaa8 FS-5737 reapply 2013-08-29 22:21:10 +05:00
Anthony Minessale 2e2e4caa45 FS-5737 revert 2013-08-29 22:20:00 +05:00
Anthony Minessale 0d26dbb318 FS-5737 --resolve 2013-08-29 21:03:01 +05:00
Anthony Minessale 76ba6a2342 FS-5737 --resolve 2013-08-28 23:26:07 +05:00
Raymond Chandler 863e6cfa3f FS-2731 significantly reworked version of Emmanuel's patch to allow subscribing and notifying for the as-feature-event events. we still need a module to handle the FS events for this automatically... coming soon to a repository near you 2013-08-23 15:54:49 -04:00
Anthony Minessale 2e74cf79fc FS-5617 --resolve 2013-07-19 13:29:05 -05:00
Anthony Minessale c14d9c436e FS-5575 --resolve 2013-07-12 14:43:18 -05:00
Anthony Minessale 30d5ecf9f7 FS-5445 --resolve this was actually just missing one word from the code as seen in the similar code in the core, the same mistake was made there where the compiler is not smart enough to see the mutually exclusive logical paths this code is specific to spontaneously creating an array in a single set like set foo[12]=val which would be totally broken if that line were commented 2013-07-10 10:26:08 -05:00
Jeff Lenk 5fc2bc9993 FS-5588 --resolve windows compiler fixes 2013-07-09 07:53:56 -05:00
Ken Rice 22baa51acc FS-2816 --resolve 2013-07-06 22:04:06 -05:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Anthony Minessale 4240526ce3 add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device 2013-06-05 11:20:11 -05:00
Travis Cross d7b139f3b4 Avoid dereferencing potential null value 2013-05-28 03:55:48 +00:00
Travis Cross 3217442d0e Remove assignment without effect 2013-05-28 03:46:53 +00:00
Travis Cross e887cecb5e Avoid dereferencing potential null value 2013-05-28 03:41:44 +00:00
Travis Cross 2dea51ad58 Handle potential malloc failure better 2013-05-28 03:40:58 +00:00
Travis Cross ef13a63447 Fix unlikely memory leak in ESL 2013-05-28 03:01:49 +00:00
Travis Cross a5397e5980 Remove assignment without effect in fs_cli 2013-05-27 21:07:56 +00:00
Travis Cross f00b77597f Avoid dangling reference at end of fs_cli
Not that it really matters since we're returning to the OS momentarily
at that point anyway.
2013-05-27 21:07:52 +00:00
Travis Cross 8c37db140e Handle a failure of strerror_r
This fixes the build on gcc-4.7.3.  The build was breaking with:

  error: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Werror=unused-result]
2013-05-25 19:05:34 +00:00
Travis Cross 6d5018007b Add missing text editor local variable blocks 2013-05-25 19:05:34 +00:00