Hamish Morrison
227af8c052
netresolv: ensure pthread_rwlock is initialized before use
...
Under some circumstances the pthread_rwlock protecting the name service
configuration was not initialized, and the calls to rdlock/wrlock would
silently fail.
2015-06-28 23:23:14 +01:00
Hamish Morrison
b092f872b3
fork: update the thread id in the pthread struct after forking
...
Otherwise the child process's main thread will inherit the thread id
of its parent and pthread operations will be directed at the wrong
thread.
2015-06-04 13:36:29 +01:00
Hamish Morrison
3375ee66bc
ruby: add x86_gcc2 package for 2.2.2
2015-06-03 13:59:14 +01:00
Hamish Morrison
9afa331102
chown: leave owner and group unchanged when values of -1 are passed
2015-06-02 16:54:40 +01:00
Hamish Morrison
162ae6204b
tcp: wait for connection to complete before notifying B_SELECT_WRITE
2015-05-31 17:30:00 +01:00
Hamish Morrison
2d5706f792
net_socket: notify of socket errors immediately when selected
2015-05-31 17:29:55 +01:00
Hamish Morrison
f886b0462b
openjdk: update 1.7u80-b32 package to latest revision
2015-05-27 16:09:57 +01:00
Hamish Morrison
c15b65561b
openjdk: add package for 1.7u80-b32
2015-05-24 20:55:15 +01:00
Hamish Morrison
d6d439f3f7
Reimplement unnamed POSIX semaphores using user_mutex
...
* Fixes sharing semantics, so non-shared semaphores in non-shared
memory do not become shared after a fork.
* Adds two new system calls: _user_mutex_sem_acquire/release(),
which reuse the user_mutex address-hashed wait mechanism.
* Named semaphores continue to use traditional sem_id semaphores.
2015-05-24 14:03:40 +01:00
Hamish Morrison
fb67dbf0a4
user mutex: dequeue waiters when waking them up
...
* This prevents the same waiter being woken multiple times, before it
has a chance to run and dequeue itself.
2015-05-07 23:20:54 +01:00
Hamish Morrison
10b4fed24f
Add support for pthread_condattr_get/setclock()
...
* Allows use of either CLOCK_REALTIME or CLOCK_MONOTONIC as the time
base for pthread_cond_timedwait().
2015-05-02 20:55:57 +01:00
Hamish Morrison
64f6fcbccd
TCP, UNIX sockets: allow multiple calls to listen
...
* Subsequent calls to listen on an already-listening socket can resize
the backlog.
* While not explicitly spelled out by POSIX, this behaviour is
consistent with FreeBSD and Linux.
2015-01-17 19:51:16 +00:00
Hamish Morrison
683cf2ff58
BMediaRecorder: fix a few issues, fix style, remove unused SoundUtils
...
* Use the preferred time source (GetTimeSource) for the node
* Fix node releasing when creating the connection fails
* Add virtual slots and padding
* Refactor _Connect method
2015-01-12 18:31:27 +00:00
Hamish Morrison
1778ce4bc9
openjdk: update package to u80b02 (also fixes provides)
2014-10-24 17:42:48 +01:00
Hamish Morrison
b1d2b9ab6a
openjdk: add x86 secondary architecture package for x86_gcc2
2014-06-14 15:24:12 +01:00
Hamish Morrison
2675e31a0c
BUrlRequest: fix various issues
...
* Remove unused headers interface from BUrlProtocol
* Change confusing function names
* Style fixes and whitespace cleanup
2013-02-10 20:46:24 +00:00
Hamish Morrison
64a1f5a020
NetworkCookieJar: various small fixes and updated tests
2013-02-09 17:10:10 +00:00
Hamish Morrison
c8bc218363
NetworkCookie: fix domain/path matching, and validity checks
2013-02-09 17:10:05 +00:00
Hamish Morrison
33462ef54a
NetworkCookie: bring SetCookie parsing in line with RFC 6265
2013-02-09 17:09:53 +00:00
Hamish Morrison
2db5d2bc95
NetworkCookie: remove unused cookie attributes and add HttpOnly
2013-02-09 16:09:34 +00:00
Hamish Morrison
05f42aaba4
NetworkCookie: set the default path according to RFC 6265
2013-02-09 16:02:15 +00:00
Hamish Morrison
2e7b5f9e18
NetworkCookieJar: don't leak a new cookie if it has expired
2013-02-09 16:01:43 +00:00
Hamish Morrison
fef7dd705f
HttpHeaders: header field names are case insensitive.
...
Whitespace before and after tokens should be ignored.
2013-02-07 19:32:14 +00:00
Hamish Morrison
02deec6403
BSecureSocket: Read and Write should return 0 for closed sockets.
2013-02-07 18:42:39 +00:00
Hamish Morrison
a0e655bff1
Fix BWindow::DecoratorFrame for top-titled windows.
...
Also take into account the border width for the edge with the title.
Fixes #8614 .
2013-01-03 20:11:03 +00:00
Hamish Morrison
d1f280c805
Add support for pthread_attr_get/setguardsize()
...
* Added the aforementioned functions.
* create_area_etc() now takes a guard size parameter.
* The thread_info::stack_base/end range now refers to the usable range
only.
2012-12-28 18:02:58 +00:00