Commit Graph

1744 Commits

Author SHA1 Message Date
Richard B Winters
3e38bd98b5 Override dh_auto_clean in order to remove generated files
Change-Id: I51fd1837e2271cf11ef0e702e9c7f1448ad25187
Signed-off-by: Richard B Winters <rik@mmogp.com>
2015-04-18 19:37:45 +02:00
Christoph Berg
43c60e66bd Imported Debian patch 0.17.1-1 2015-04-18 19:36:40 +02:00
Christoph Berg
2b262fd5db Imported Upstream version 0.17.1 2015-04-18 19:34:38 +02:00
Christoph Berg
e627542c35 Importing symbols from libqb0 0.17.0-1 2015-04-18 15:34:39 +02:00
Christoph Berg
7c89d285dc Importing symbols from libqb0 0.16.0-1
Missing symbols:
#MISSING: 0.16.0-1# qb_ipcs_dispatch_service_request@Base 0.11.1-1
#MISSING: 0.16.0-1# qb_ipcs_sockets_disconnect@Base 0.14.2-1
2015-04-18 15:34:22 +02:00
Christoph Berg
2a28328d48 Importing symbols from libqb0 0.14.4-1 2015-04-18 15:33:54 +02:00
Christoph Berg
7a738b21e7 Importing symbols from libqb0 0.14.3-1 2015-04-18 15:33:41 +02:00
Christoph Berg
9ff15918dc Importing symbols from libqb0 0.14.2-1
Missing symbols:
#MISSING: 0.14.2-1# qb_ipc_us_recv_ready@Base 0.11.1-1
#MISSING: 0.14.2-1# qb_ipcc_pmq_connect@Base 0.11.1-1
#MISSING: 0.14.2-1# qb_ipcc_smq_connect@Base 0.11.1-1
#MISSING: 0.14.2-1# qb_ipcs_pmq_init@Base 0.11.1-1
#MISSING: 0.14.2-1# qb_ipcs_smq_init@Base 0.11.1-1
#MISSING: 0.14.2-1# qb_vsprintf_serialize@Base 0.11.1-1
2015-04-18 15:33:24 +02:00
Christoph Berg
6811d877e8 Importing symbols from libqb0 0.11.1-1 2015-04-18 15:32:22 +02:00
Martin Loschwitz
1fe2fdc1e4 Imported Debian patch 0.17.0-2 2015-04-18 12:01:28 +02:00
Martin Loschwitz
db7eeb5b16 Imported Debian patch 0.17.0-1 2015-04-18 12:01:28 +02:00
Christoph Berg
e75dad6d2d Imported Upstream version 0.17.0 2015-04-18 12:01:27 +02:00
Anibal Monsalve Salazar
32a9526358 Imported Debian patch 0.16.0.real-1.1 2015-04-18 12:01:27 +02:00
Martin Loschwitz
287a8236ce Imported Debian patch 0.16.0.real-1 2015-04-18 12:01:27 +02:00
Christoph Berg
c694bfd190 Imported Upstream version 0.16.0.real 2015-04-18 12:01:26 +02:00
Martin Loschwitz
a7a1c2fdaa Imported Debian patch 0.16.0-1 2015-04-18 12:01:26 +02:00
Christoph Berg
53089e7e95 Imported Upstream version 0.16.0 2015-04-18 12:01:25 +02:00
Martin Loschwitz
3c01fedf61 Imported Debian patch 0.14.4-1 2015-04-18 12:01:25 +02:00
Christoph Berg
284f95ea30 Imported Upstream version 0.14.4 2015-04-18 12:01:25 +02:00
Martin Loschwitz
803f4a0406 Imported Debian patch 0.14.3-2 2015-04-18 12:01:25 +02:00
Christoph Berg
296e33b732 Imported Upstream version 0.14.3 2015-04-18 12:01:24 +02:00
Martin Loschwitz
f7d1e15e7e Imported Debian patch 0.14.3-1 2015-04-18 12:01:24 +02:00
Christoph Berg
8da8cdf17a Imported Upstream version 0.14.2 2015-04-18 12:01:23 +02:00
Martin Loschwitz
1739d4377f Imported Debian patch 0.14.2-1 2015-04-18 12:01:23 +02:00
Martin Loschwitz
969bf26152 Imported Debian patch 0.11.1-1 2015-04-18 12:01:22 +02:00
Martin Loschwitz
29b833b360 Imported Debian patch 0.11.1-2 2015-04-18 12:01:22 +02:00
Christoph Berg
85f75e9d49 Imported Upstream version 0.11.1 2015-04-18 12:01:21 +02:00
David Vossel
c31f4200d8 Merge pull request #150 from davidvossel/poll_starve
ipc test improvements.
2015-04-16 14:49:47 -05:00
David Vossel
378be495e8 Low: check_ipc: generate unique server names for tests
Package builders that run multiple builds of libqb in parallel
will fail because the IPC unit tests stomp on each other's namespace.
We have to give each IPC server a randomized unique name during
'make check' to avoid this.
2015-04-16 09:53:15 -05:00
David Vossel
340ed23772 Low: check_ipc: give connection stress tests for shm and socket unique names 2015-04-16 09:40:08 -05:00
David Vossel
cbd7785ae6 Merge pull request #147 from davidvossel/poll_starve
High: loop: fixes resource starvation in mainloop code
2015-04-15 11:48:33 -05:00
David Vossel
c6c9a9ed6f Low: tests: regression tests for stress testing loop_poll ipc create/destroy 2015-04-14 15:10:28 -04:00
David Vossel
b6f000f237 High: loop: fixes resource starvation in mainloop code 2015-04-14 11:52:59 -04:00
David Vossel
83552692aa Merge pull request #141 from davidvossel/recv-yield
High: yield to scheduler during connection processing
2015-03-05 16:10:34 -06:00
David Vossel
7f56f583d8 High: yield to scheduler during new connection auth processing 2015-03-05 15:36:51 -05:00
David Vossel
ae8ac46830 Merge pull request #138 from rubenk/fix-clang-warning
The udata member of the kevent struct is a void *
2015-01-29 09:27:01 -06:00
Ruben Kerkhof
5c7829662b The udata member of the kevent struct is a void *
Fixes the following warnings under clang:

loop_poll_kqueue.c:58:2: warning: incompatible integer to pointer conversion assigning to 'void *' from 'intptr_t' (aka 'long') [-Wint-conversion]
        EV_SET(&ke, fd, filters, EV_ADD | EV_ENABLE, 0, 0, (intptr_t)pe);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/event.h:54:16: note: expanded from macro 'EV_SET'
        (kevp)->udata = (f);                    \
                      ^ ~~~
2015-01-23 01:58:02 +01:00
David Vossel
fb66481110 Merge pull request #137 from rubenk/detect-warning-flags-better
Fix detection of warning flags for clang
2015-01-20 14:00:38 -06:00
Ruben Kerkhof
5279aa3b5f Fix detection of warning flags for clang
Using ./configure CC=clang, the following flags are detected
as supported:

checking whether clang supports "-Wgnu89-inline"... yes
checking whether clang supports "-Wno-strict-aliasing"... yes

Which results in a lot of warnings during make:

warning: unknown warning option '-Wunsigned-char' [-Wunknown-warning-option]
warning: unknown warning option '-Wgnu89-inline' [-Wunknown-warning-option]

Clang doesn't support these flags, but the compile check returns a
warning, not an error:

configure:16649: checking whether clang supports "-Wunsigned-char"
configure:16662: clang -E  -Wunsigned-char conftest.c
warning: unknown warning option '-Wunsigned-char' [-Wunknown-warning-option]
1 warning generated.
configure:16662: $? = 0
configure:16663: result: yes
2015-01-19 21:27:57 +01:00
David Vossel
9e8d0e6e43 Merge pull request #136 from grueni/upstream4
Fix: Unlink files bound to unix domain sockets
2015-01-13 17:54:39 -06:00
Andreas Grueninger
01703fdf62 Fix: Unlink files before qb_ipcc_us_sock_close
Changed the #if clauses to all non linux OSe.
2015-01-13 19:01:57 +01:00
Andreas Grueninger
ea4d931563 Fix: Unlink files bound to unix domain sockets
In qb_ipcs_us_connect 4 files are created and bound.
I dont' know how this works for QB_LINUX or QB_CYGWIN.
But for the other OS the files are created and must be unlinked.
I use the same logic to construct the file names and unlink the files.

qb_ipcc_us_connect calls this
...
  res = qb_ipc_dgram_sock_connect(r->response, "response", "request",
          r->max_msg_size, &c->request.u.us.sock);
and qb_ipc_dgram_sock_connect calls
..
set_sock_addr

and in set_sock_addr the files are created if not Linux or Cygwin.
...
#if defined(QB_LINUX) || defined(QB_CYGWIN)
  snprintf(address->sun_path + 1, UNIX_PATH_MAX - 1, "%s", socket_name);
#else
  snprintf(address->sun_path, sizeof(address->sun_path), "%s/%s", SOCKETDIR,
     socket_name);
#endif
...
2014-12-22 22:05:36 +01:00
David Vossel
3f7de65785 Low: release.mk: update gpg public key 2014-08-26 23:04:13 -05:00
David Vossel
d2b8c8cc78 Revise version to 0.17.1 The next release is only a point release 2014-08-22 10:12:07 -05:00
David Vossel
8cbae179cf Bump release version to 0.18.0
preparing for a new release
2014-08-22 09:58:50 -05:00
David Vossel
86474253d6 Merge pull request #132 from davidvossel/master
regression test failure fixes
2014-08-21 12:58:43 -05:00
David Vossel
eb7d6c5455 Low: qbipcs.h: fix doxygen comments for ipcs buffer size enforcement 2014-08-21 12:12:05 -05:00
David Vossel
614c0de1f1 Low: check_ipc.c: improve error checking during ipc stress tests 2014-08-21 12:08:16 -05:00
David Vossel
2700cddd6b Fix: ipcs: Correctly allocate receive buffer size 2014-08-21 12:07:43 -05:00
David Vossel
1045d2e617 Merge pull request #131 from davidvossel/reformatting
High: ipc_socket: Signalhandler must be resetted to Default, use only cl...
2014-08-14 15:23:08 -05:00