Axel Dörfler
1084b3fc17
It's now _kern_null(), not sys_null() anymore.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 01:53:36 +00:00
Axel Dörfler
e54c578346
Made the debugger() call a bit more useful - this is still no real implementation, of course.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-30 02:59:44 +00:00
Axel Dörfler
176a4ebc28
Added a proper assert() implementation, removed the old one.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-30 02:39:29 +00:00
Axel Dörfler
f004b0c15e
Renamed image and node monitor syscalls to the new scheme.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 20:19:48 +00:00
Axel Dörfler
5ab2a9e4b4
Added missing functions from fs_query.h and fs_info.h, both not yet implemented.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 12:36:13 +00:00
Axel Dörfler
e5948ee29a
Resurrected posix_stdio.o: it now contains additional stdio functions not
...
covered by glibc's libio/stdio.
Added rename() and remove().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 12:27:39 +00:00
Axel Dörfler
b640ca789b
Renamed VFS syscalls to the new style.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 15:49:34 +00:00
Axel Dörfler
b1753651c6
Renamed VFS syscalls to the new style.
...
Improved returned types.
Removed dup2.c.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 15:42:17 +00:00
Axel Dörfler
143691ef36
New dup.c - it now contains dup() and dup2() which makes dup2.c legacy.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 15:20:38 +00:00
beveloper
20c1edc7d0
fixed warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 21:53:07 +00:00
Axel Dörfler
9b1718cc6c
Fixed number()/snprintf(): the buffer length was completely ignored when
...
printing numbers.
Removed unused code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-10 05:27:48 +00:00
Axel Dörfler
39f34cf425
Fixed the broken ioctl() function. Unlike BeOS, it also passes the
...
eventually specified length parameter.
The IOCPARM_LEN() macro should be used by the device/file system
implementation only if applicable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 05:53:35 +00:00
Axel Dörfler
0865e4b204
Added syscall for rename_thread(), courtesy of Jack Burton.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 12:12:58 +00:00
Axel Dörfler
20b8926754
The -imacro header inclusion is no longer necessary, and also seems to have
...
been removed in more current GCC releases; thanks to Jack Burton for pointing
this out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 15:28:49 +00:00
Axel Dörfler
f4c303c472
Fixed some warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:56:48 +00:00
Axel Dörfler
d93e356b51
Changed the "stat" related syscalls to have an additional parameter that specified
...
the size of the stat structure to allow extensions of that structure.
Renamed those syscalls to the new naming scheme.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:36:05 +00:00
Axel Dörfler
5685273f87
Now maintains the private libroot variable "_single_threaded".
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:44:12 +00:00
Axel Dörfler
e304a7fd39
Minor cleanup, no longer includes BSD's stdio/local.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:32:12 +00:00
Axel Dörfler
ee70fb4fed
Added glibc stuff to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:27:14 +00:00
Axel Dörfler
0490efc6ff
No longer compiles the BSD stdio files (we're using GNU's stdio now for compatibility).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:18:05 +00:00
Axel Dörfler
003be99349
Added missing header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 09:21:58 +00:00
Axel Dörfler
cda9457af2
Enable the stdio-common path.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 08:54:27 +00:00
Axel Dörfler
b166160684
Our BSD stdio now has snprintf(), too, sorry for the inconvenience.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 23:36:03 +00:00
Axel Dörfler
1802569c68
Removed the amount of warnings we get.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:53:59 +00:00
Axel Dörfler
9e2f757a6b
Unbuffered stdin/stdout the hard way - I'd guess this should be set to
...
buffered and determined at runtime if not (i.e. via isatty()) - but that
doesn't seem work at this time.
Must revisit later on!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:52:55 +00:00
Axel Dörfler
d68b82804a
Removed definition of internal_function - unfortunately, I don't remember why I did that, but lets hope for the best.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:51:09 +00:00
Axel Dörfler
0bc86489bb
Separated removed (via preprocessor) sections.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:49:46 +00:00
Axel Dörfler
3e9b495a0d
Added the real stdio_lim.h contents.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:48:29 +00:00
Axel Dörfler
bb72477637
Sure it can be compiled without optimizations...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:47:22 +00:00
Axel Dörfler
83375f1002
Removed unneeded exports.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:46:14 +00:00
Axel Dörfler
86f34490f8
Simple R5 style pwd function implementation, courtesy of Eli Green.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 18:08:20 +00:00
Axel Dörfler
192f207c78
Absolutely didn't like negative values for tm_wday and tm_mon before.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 00:50:01 +00:00
Axel Dörfler
50b3e5d4ce
Implemented asctime() and asctime_r().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 00:42:05 +00:00
Axel Dörfler
374d175555
Don't hide a possibly buggy caller.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 00:12:08 +00:00
Axel Dörfler
e08a79330a
Renamed systeminfo.c into system_info.c
...
Added syscall for _kern_get_system_info().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 22:41:00 +00:00
Axel Dörfler
8fa03f6c41
Added a ToDo comment about how to correctly implement get_cpuid().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 13:02:49 +00:00
Axel Dörfler
f7f6185398
A bit more BeOS compatible math.h functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 18:48:55 +00:00
Axel Dörfler
39622c6739
sys_get_current_thread_id() is no more.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:10:08 +00:00
Axel Dörfler
5be410a7cd
Renamed thread/team syscalls to new scheme.
...
Tuned the license a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:09:17 +00:00
Axel Dörfler
a16600d146
Renamed thread/team syscalls to new scheme.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:08:27 +00:00
Axel Dörfler
6f2229385e
Renamed thread/team syscalls to new scheme.
...
read_data(), has_data(), and receive_data() are no longer exported
by this file, but their _kern_*() equivalents are now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:07:21 +00:00
Axel Dörfler
ade669abd7
Renamed thread/team syscalls to new scheme.
...
Added commented out wait_for_team() which we might want to have in the
final version, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:06:23 +00:00
Axel Dörfler
3dbf98a59a
Renamed thread/team syscalls to new scheme.
...
find_thread() is now correct.
Moved send_data(), has_data(), and receive_data() back into this file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:05:13 +00:00
Axel Dörfler
57ffd61845
_kfind_thread_() is now correctly implemented.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 01:03:31 +00:00
Axel Dörfler
e9a4e838e8
Added missing vsnprintf() for BSD stdio.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-20 16:00:51 +00:00
Axel Dörfler
65a98eb199
Hacks to get glibc's stdio-common working.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-24 19:59:26 +00:00
Axel Dörfler
348820b57c
Hacks to let it compile: disabled/removed wide character stuff, disabled
...
floating-point output.
Unfortunately, I needed to change the identation etc. to find my way through
it. Could resist to rewrite it completely, though :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-24 19:24:21 +00:00
Axel Dörfler
0bcee3c93c
Hacks to let it compile. Disabled wide character stuff *and* all number
...
conversions since they rely on private glibc functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-24 19:20:57 +00:00
Axel Dörfler
bc659826df
t[e]mpnam() stuff now works.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 18:25:02 +00:00
Axel Dörfler
cc9c5de901
Small changes to let it compile.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 18:23:17 +00:00
Axel Dörfler
290ba80867
Hacks to get the libio package working:
...
- all wide character functions have been disabled or removed
- ftrylockfile() does not yet work
- reformatted code to be readable (sometimes needed for changes)
Note, this code is not able to be simply updated with newer glibc releases! Sorry.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 17:01:42 +00:00
Axel Dörfler
1bed4dd008
No longer needed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 16:45:03 +00:00
Axel Dörfler
545237514a
We really only allow 0x7fffffff maximum characters, so we now mask out
...
everything above (not even in an intelligent way).
Now accepts zero bufferSize and NULL buffer - although it should probably
not catch the latter...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 04:12:29 +00:00
Axel Dörfler
c29da59747
Moved number() closer to vsnprintf() because it'll need the put_*() functions
...
once it's fixed.
Renamed some variables.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 04:02:59 +00:00
Axel Dörfler
ac3863db5e
About to move vsprintf() over to vsnprintf() which is more secure since
...
it allows to specify the buffer size. Not yet finished; number() has to
be fixed - tests have to be written as well.
Implemented snprintf() and vsprintf() using vsnprintf().
Some smaller cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 03:54:14 +00:00
Axel Dörfler
9672de86ce
Renamed kvsprintf.c to kernel_vsprintf.c to make it more salient.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 03:05:02 +00:00
Axel Dörfler
497c0bf9c1
Removed unneeded file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 02:39:36 +00:00
Axel Dörfler
51d951ad00
Added glib'c temp. path creation routines to stdio-common (the only place
...
where they are actually used).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 15:21:38 +00:00
Axel Dörfler
76e34f86e5
Not needed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 15:19:53 +00:00
Axel Dörfler
5eb81b22fe
Renamed printf-prs.c to printf-parse.c
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 15:18:44 +00:00
Axel Dörfler
b92791bf92
No longer needed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 15:09:01 +00:00
Axel Dörfler
28d9e59387
Added process.c to the build, implemented getpid().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 15:02:09 +00:00
Axel Dörfler
9289abf0e4
Added _kern_debug_output() syscall.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 22:07:36 +00:00
Axel Dörfler
fe4817d5c0
Didn't set the facility correctly if set from both, openlog() and syslog().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 02:51:15 +00:00
Axel Dörfler
c094c0c22b
Added a comment about a missing dump of the message to stderr if write_port()
...
fails.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:55:04 +00:00
Axel Dörfler
87a98412a1
Now correctly differentiates between options and priority/facilities.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:34:12 +00:00
Axel Dörfler
fb4dcd08dc
Now checks in the argument's options as well for LOG_CONS.
...
The LOG_MASK() macro is now used correctly.
The non-standard LOG_PERROR is always visible in stderr as well (in BeOS,
so we copied it). Added a newline for stderr output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:11:50 +00:00
Axel Dörfler
9ff210a134
Use the SYSLOG_PORT_NAME constant instead of the name directly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 15:14:48 +00:00
Axel Dörfler
41c6e8cc55
Fixed the setlogmask*() functions; the priority mask is only set if the
...
parameter is not 0, and it returns the old mask as well.
Also fixed the initial log mask for the team context; it's now set to -1
(enable all priorities) by default.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 14:44:31 +00:00
Axel Dörfler
3b737adbda
Implemented the POSIX syslog API including the BeOS extensions. In BeOS,
...
this API is found in libbe.so, in OpenBeOS, it's directly in libroot.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 14:35:22 +00:00
Axel Dörfler
eb04c7678e
Added and implemented gettimeofday() using real_time_clock_usecs().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 01:17:26 +00:00
Axel Dörfler
28d179274c
Implemented time() - it still doesn't work, though, as real_time_clock()
...
is not yet implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 01:16:35 +00:00
Axel Dörfler
6046623a99
Fixed broken Jamrule.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 01:39:33 +00:00
Axel Dörfler
8a09700174
Accidently killed the kernel build (again...).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 01:37:44 +00:00
Axel Dörfler
48a7b199b7
Added fcntl() empty stub implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 00:10:57 +00:00
Axel Dörfler
ea2aba5dc9
Fixed compilation with local changes (to be commited later).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 00:10:03 +00:00
Axel Dörfler
b86315d90a
Removed NewOS error descriptions.
...
Replaced some descriptions with more appropriate ones.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-05 23:58:31 +00:00
Axel Dörfler
8529e01d1f
Implemented strerror_r() - the actual error description is now returned
...
by a static function and used by both, strerror() and strerror_r().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-05 23:53:29 +00:00
Axel Dörfler
939f7fbaca
Implemented the set_real_time_clock() syscall.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 13:29:29 +00:00
Axel Dörfler
2011bdf831
Fixed the set_real_time_clock() stub to expect an uint32 parameter as well.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 13:13:35 +00:00
Axel Dörfler
db82ec452b
Corrected a comment to match the implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:39:03 +00:00
shatty
b89786b69e
change to public resource.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-20 20:47:27 +00:00
Axel Dörfler
a7091d52fa
Implemented PPC optimized byte order functions, and added them to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-13 00:02:54 +00:00
Axel Dörfler
a8ee1dbc56
Added Marcus version of __swap_int16(); it's commented out for now, though,
...
but we might want to add it later.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 12:23:03 +00:00
Axel Dörfler
d8018ea5b1
Fixed a build bug I introduced earlier.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 03:54:36 +00:00
Axel Dörfler
7cde8a9d7f
Implemented __swap_int16/32/64() (float/double are missing right now, but should
...
be the same as __swap_int32/64()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 17:22:15 +00:00
Axel Dörfler
c3b3abea79
some style cleanups.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 23:54:14 +00:00
beveloper
188b5de0bf
renamed atomic_read() into atomic_get() (since we already have atomic_set(), but not a atomic_write())
...
renamed user_??? functions into the new _user_??? naming style.
changed implementation of PPC 64 bit atomic functions to use (un)lock_memory()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 01:21:56 +00:00
Axel Dörfler
d7ef3fc59c
Now ignores the ending of ordered numbers (1st, 2nd, 3rd, ...).
...
Added the "week[s]" keyword to accept strings like "5 weeks", doesn't work
right yet in the "next/last week" case - that extra case should be added to
computeRelativeUnit().
Removed an unused variable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-27 01:12:51 +00:00
Axel Dörfler
13e966c78e
Big (and final for now) update to the code, it's now complete and working better
...
and faster than the R5 code as far as I have checked it.
Refactored the source a bit, it's now much clearer: divided the heavily overloaded
type field into type/unit/flags.
Introduced some new methods to track everything we have to to provide a
useful date in hopefully all cases.
Now supports using a dash to mark negative values as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 02:21:19 +00:00
Axel Dörfler
770108b448
Added alternate identifier strings (mostly abbreviations).
...
Mixed up comma/colon/semicolon in some stupid ways...
Fixed a bug that prevented weekday/month names to be matched correctly.
Temporarily enabled some debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-24 11:48:16 +00:00
Axel Dörfler
cb19965e13
Added an initial implementation of parsedate(), parsedate_etc(), get_dateformats(),
...
and set_dateformats().
It's not complete yet, but already quite useful.
Added a "d.m.y" to the R5 set of formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-23 18:32:09 +00:00
beveloper
5fe840b9b5
fixed address checking in ppc atomic functions.
...
fixed compilation on x86.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-21 23:36:06 +00:00
beveloper
50e0ce4bee
Implemented new syscalls for 32 and 64 bit atomic operations.
...
They are only used if the architecture doesn't support them directly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-21 23:02:00 +00:00
beveloper
fb16941a02
added atomic_read
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-21 17:55:56 +00:00
beveloper
0163e36659
Added 32 bit atomic read.
...
Implemented all 64 bit atomic operations.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 23:21:26 +00:00
Axel Dörfler
2f096f5a3e
Added/changed/fixed area syscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 15:58:06 +00:00
beveloper
ea8af9630a
renamed test_and_set into atomic_test_and_set
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:56:22 +00:00
beveloper
40ac5c5195
cvs server: Up-to-date check failed for `src/kernel/core/vm/vm.c'
...
cvs [server aborted]: correct above errors first!
cvs commit: saving log message in /tmp/cvsFPtfaj
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:48:15 +00:00
beveloper
6f54d569e9
added 64 bit atomic functions (implementation still pending),
...
removed non atomic functions from this file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:19:42 +00:00