#
a573f9e4 |
|
30-Aug-2023 |
Augustin Cavalier <waddlesplash@gmail.com> |
libroot: Fix build of new time files under GCC2.
|
#
a8e2f088 |
|
30-Aug-2023 |
Augustin Cavalier <waddlesplash@gmail.com> |
libroot: Replace the old localtime fallback backend with musl code. This allows for the deletion of quite a lot of ugly C89 code.
|
#
16c85099 |
|
19-Aug-2022 |
Jessica Hamilton <jessica.l.hamilton@gmail.com> |
libroot: Replace asctime[_r] with musl's. This broke anyway in hrev56361. Change-Id: I1e7e02b27d6fee4845c81cf6f229bca0048a0e61
|
#
bf4748d6 |
|
19-Aug-2022 |
Jessica Hamilton <jessica.l.hamilton@gmail.com> |
libroot: fix build, as asctime[_r] not replaced in hrev56361. Change-Id: I1d9a331c47269956dc70a88bcf524b91fe3b1933
|
#
a028a54e |
|
18-Aug-2022 |
Augustin Cavalier <waddlesplash@gmail.com> |
libroot: Replace strftime/strptime/wcsftime implementations with musl's. Now that we have locale_t, we can use the musl versions of these functions. This also fixes a licensing issue: the strptime implementation had an advertising clause (although in upstream *BSD it was removed, so we likely could have managed to remove it anyway.)
|
#
cba95132 |
|
06-Feb-2022 |
X512 <danger_mail@list.ru> |
libroot: add timespec_get to build * Added in hrev55773 Change-Id: Ib57b53c76641e87c5ac0c0cde2407a7bfe45ce41 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4935 Reviewed-by: Jessica Hamilton <jessica.l.hamilton@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
b0944c78 |
|
01-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
More work towards hybrid support * All packaging architecture dependent variables do now have a respective suffix and are set up for each configured packaging architecture, save for the kernel and boot loader variables, which are still only set up for the primary architecture. For convenience TARGET_PACKAGING_ARCH, TARGET_ARCH, TARGET_LIBSUPC++, and TARGET_LIBSTDC++ are set to the respective values for the primary packaging architecture by default. * Introduce a set of MultiArch* rules to help with building targets for multiple packaging architectures. Generally the respective targets are (additionally) gristed with the packaging architecture. For libraries the additional grist is usually omitted for the primary architecture (e.g. libroot.so and <x86>libroot.so for x86_gcc2/x86 hybrid), so that Jamfiles for targets built only for the primary architecture don't need to be changed. * Add multi-arch build support for all targets needed for the stage 1 cross devel package as well as for libbe (untested).
|
#
51bce887 |
|
23-Jun-2013 |
Oliver Tappe <zooey@hirschkaefer.de> |
Fix behaviour of localtime(), gmtime() and mktime(). * In case the locale backend could not be loaded, these functions (and their reentrant counterparts) just returned an error. So we reactivate parts of the BSD-/Olson-implementation in localtime_fading_out.c in order to use them as fallback. * Cleanup localtime_fading_out.c (remove a lot of unused cruft).
|
#
24df6592 |
|
11-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged signals-merge branch into trunk with the following changes: * Reorganized the kernel locking related to threads and teams. * We now discriminate correctly between process and thread signals. Signal handlers have been moved to teams. Fixes #5679. * Implemented real-time signal support, including signal queuing, SA_SIGINFO support, sigqueue(), sigwaitinfo(), sigtimedwait(), waitid(), and the addition of the real-time signal range. Closes #1935 and #2695. * Gave SIGBUS a separate signal number. Fixes #6704. * Implemented <time.h> clock and timer support, and fixed/completed alarm() and [set]itimer(). Closes #5682. * Implemented support for thread cancellation. Closes #5686. * Moved send_signal() from <signal.h> to <OS.h>. Fixes #7554. * Lots over smaller more or less related changes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42116 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
560b10ff |
|
16-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Implement tzset(), gmtime(), localtime() and mktime() on top of ICU * no longer keep a separate time-backend, since the implementation needs to access (data of) the locale backend anyway * moved more stuff from localtime_fading_out.c to localtime.cpp * added respective tests to locale_test * added two more tests copied from glibc, test_time.c and tst-mktime.c git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38162 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
562ccb03 |
|
05-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* introduced stubbed TimeBackend to libroot, which will contain implementations of localtime(), gmtime() and mktime() * implemented tzset() to read the required info from libroot_timezone_info git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37935 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a3f66598 |
|
23-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* reintegrated posix-locale git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37725 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bca50be4 |
|
23-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Second go at fixing what should have been part of r31927: * uncommented fwscanf() in wchar.h to make it available * imported wcsftime() from FreeBSD-8 (which just wraps strftime()), so that we not only declare it, but provide an implementation, too As a result, the next build of gcc4 should be able to detect full support for wchar_t and in turn activate wchar_t-based template types (like std::wstring). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37720 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ec271932 |
|
16-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Fixed timezones directory path. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33607 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6b202f4e |
|
13-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Introduced new header directory headers/private/system which is supposed to contain headers shared by kernel and userland (mainly libroot). * Moved quite a few private kernel headers to the new location. Split several kernel headers into a shared part and one that is still kernel private. Adjusted all affected Jamfiles and source in the standard x86 build accordingly. The build for other architectures and for test code may be broken. * Quite a bit of userland code still includes private kernel headers. Mostly those are <util/*> headers. The ones that aren't strictly kernel-only should be moved to some other place (maybe headers/private/shared/util). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25486 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e4bbf18b |
|
25-Sep-2007 |
Jérôme Duval <korli@users.berlios.de> |
added an implementation for nanosleep() based on snooze() git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22311 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
36788b71 |
|
07-Aug-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Added strptime() to the build again, * also defined STD_INSPIRED again, which lets localtime.c add some non-POSIX behaviour for now (needed by strptime()) - we should find a better solution to this, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18435 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
353d20c0 |
|
27-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* libroot and the runtime loader are no longer built with kernel rules. * New rule Ld, analogously to KernelLd. * Added StaticLibrary parameter for supplying additional objects. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15191 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
338b8dc3 |
|
29-Oct-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged changes from branch build_system_redesign at revision 14573. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eddf43dd |
|
06-Oct-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Added missing clock() function. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14329 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
718b5114 |
|
13-Apr-2005 |
Axel Dörfler <axeld@pinc-software.de> |
This should fix the build after all the kernel/system renaming. If anything is still broken (and was not before :)), please shout. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12361 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5af32e75 |
|
13-Apr-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed src/kernel to src/system. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12359 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b0944c78b074a8110bd98e060415d0e8f38a7f65 |
|
01-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
More work towards hybrid support * All packaging architecture dependent variables do now have a respective suffix and are set up for each configured packaging architecture, save for the kernel and boot loader variables, which are still only set up for the primary architecture. For convenience TARGET_PACKAGING_ARCH, TARGET_ARCH, TARGET_LIBSUPC++, and TARGET_LIBSTDC++ are set to the respective values for the primary packaging architecture by default. * Introduce a set of MultiArch* rules to help with building targets for multiple packaging architectures. Generally the respective targets are (additionally) gristed with the packaging architecture. For libraries the additional grist is usually omitted for the primary architecture (e.g. libroot.so and <x86>libroot.so for x86_gcc2/x86 hybrid), so that Jamfiles for targets built only for the primary architecture don't need to be changed. * Add multi-arch build support for all targets needed for the stage 1 cross devel package as well as for libbe (untested).
|
#
51bce887cd38b778c88e083c2d7ec21203caccfa |
|
23-Jun-2013 |
Oliver Tappe <zooey@hirschkaefer.de> |
Fix behaviour of localtime(), gmtime() and mktime(). * In case the locale backend could not be loaded, these functions (and their reentrant counterparts) just returned an error. So we reactivate parts of the BSD-/Olson-implementation in localtime_fading_out.c in order to use them as fallback. * Cleanup localtime_fading_out.c (remove a lot of unused cruft).
|
#
24df65921befcd0ad0c5c7866118f922da61cb96 |
|
11-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged signals-merge branch into trunk with the following changes: * Reorganized the kernel locking related to threads and teams. * We now discriminate correctly between process and thread signals. Signal handlers have been moved to teams. Fixes #5679. * Implemented real-time signal support, including signal queuing, SA_SIGINFO support, sigqueue(), sigwaitinfo(), sigtimedwait(), waitid(), and the addition of the real-time signal range. Closes #1935 and #2695. * Gave SIGBUS a separate signal number. Fixes #6704. * Implemented <time.h> clock and timer support, and fixed/completed alarm() and [set]itimer(). Closes #5682. * Implemented support for thread cancellation. Closes #5686. * Moved send_signal() from <signal.h> to <OS.h>. Fixes #7554. * Lots over smaller more or less related changes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42116 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
560b10ff88d306ac6e6f8f76eafc61df94f941d6 |
|
16-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Implement tzset(), gmtime(), localtime() and mktime() on top of ICU * no longer keep a separate time-backend, since the implementation needs to access (data of) the locale backend anyway * moved more stuff from localtime_fading_out.c to localtime.cpp * added respective tests to locale_test * added two more tests copied from glibc, test_time.c and tst-mktime.c git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38162 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
562ccb03cc5713fd42e3bc14bb278a2285fe91e9 |
|
05-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* introduced stubbed TimeBackend to libroot, which will contain implementations of localtime(), gmtime() and mktime() * implemented tzset() to read the required info from libroot_timezone_info git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37935 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a3f665982e2e078ba42e7bf941bd5f3dd8989c55 |
|
23-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* reintegrated posix-locale git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37725 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bca50be43235059c4b5de7c2b0443db0f6afe7b6 |
|
23-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Second go at fixing what should have been part of r31927: * uncommented fwscanf() in wchar.h to make it available * imported wcsftime() from FreeBSD-8 (which just wraps strftime()), so that we not only declare it, but provide an implementation, too As a result, the next build of gcc4 should be able to detect full support for wchar_t and in turn activate wchar_t-based template types (like std::wstring). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37720 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ec2719329c69a3b683065e9972af9c0d618da1e8 |
|
16-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Fixed timezones directory path. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33607 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6b202f4e3da73d4c131355fcd82b792d153f84f6 |
|
13-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Introduced new header directory headers/private/system which is supposed to contain headers shared by kernel and userland (mainly libroot). * Moved quite a few private kernel headers to the new location. Split several kernel headers into a shared part and one that is still kernel private. Adjusted all affected Jamfiles and source in the standard x86 build accordingly. The build for other architectures and for test code may be broken. * Quite a bit of userland code still includes private kernel headers. Mostly those are <util/*> headers. The ones that aren't strictly kernel-only should be moved to some other place (maybe headers/private/shared/util). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25486 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e4bbf18b3fc5d04509a19b665446ea8f69ca61dc |
|
25-Sep-2007 |
Jérôme Duval <korli@users.berlios.de> |
added an implementation for nanosleep() based on snooze() git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22311 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
36788b7119a1d2edf4e80d6945172e06ddad80ce |
|
07-Aug-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Added strptime() to the build again, * also defined STD_INSPIRED again, which lets localtime.c add some non-POSIX behaviour for now (needed by strptime()) - we should find a better solution to this, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18435 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
353d20c0c5f19d1120a8acb0f4f7f3b266da730f |
|
27-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* libroot and the runtime loader are no longer built with kernel rules. * New rule Ld, analogously to KernelLd. * Added StaticLibrary parameter for supplying additional objects. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15191 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
338b8dc301721b1f472e8297a898d4eaa2f2ee3a |
|
29-Oct-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged changes from branch build_system_redesign at revision 14573. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eddf43dd7642d70891417e85bb3291a4bd63ee09 |
|
06-Oct-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Added missing clock() function. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14329 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
718b5114e0613a5602d5d6296afeaa7f3ee4b576 |
|
13-Apr-2005 |
Axel Dörfler <axeld@pinc-software.de> |
This should fix the build after all the kernel/system renaming. If anything is still broken (and was not before :)), please shout. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12361 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5af32e752606778be5dd7379f319fe43cb3f6b8c |
|
13-Apr-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed src/kernel to src/system. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12359 a95241bf-73f2-0310-859d-f6bbb57e9c96
|