Commit Graph

1652 Commits

Author SHA1 Message Date
beveloper
4b8670624a some missing midi headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 18:51:58 +00:00
lillo
5cdacbaabb *LOTS* of small changes to make the kernel compatible with Be's KernelExport.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 16:13:36 +00:00
beveloper
23d36867f6 fixed BFile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 13:51:09 +00:00
lillo
343b352fe1 Signals, 2nd pass: syscall restarting now only works on EINTR (removed other exotic retcodes like ERESTARTSYS); signal handlers now receive 3 args, and the vregs struct is used to save the signal context, making the system beos compatible.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 13:31:22 +00:00
beveloper
702a9e2e58 added C++ header guards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 13:22:40 +00:00
beveloper
23f9ab0a7d fixed the extern "C" header guards, it must read __cplusplus, not _cplusplus.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 13:07:30 +00:00
beveloper
06d016b380 renamed thread_entry
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 12:58:52 +00:00
beveloper
1be91d1603 added thread_entry for backward compatibility
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 12:58:12 +00:00
shatty
faef1e5413 from sample code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 03:33:06 +00:00
shatty
8e39758fda added people app
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 03:32:10 +00:00
lillo
8fe70e8212 beos compatibility fixes: exit_thread now issues a signal; wait_for_thread returns B_INTERRUPTED if target thread gets killed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 01:11:15 +00:00
Axel Dörfler
a86569deee There were two positions where I had to change those values. %lld and %Ld
should now finally work (thanks to Marcus).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:59:16 +00:00
Axel Dörfler
4d78ef5224 Added %Ld to vfscanf() as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:52:17 +00:00
Axel Dörfler
38903f032b Fixed %Ld handling to be int64 as it is on BeOS.
%lld is now int64 as well.
Cleaned up a little bit (removed K&R style prototypes).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:48:50 +00:00
Axel Dörfler
a3b20c0fa9 Added a locale.h header file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:35:43 +00:00
Axel Dörfler
0f1aeae76c Added inttypes.h (includes stuff like int8_t typedef), but it's not complete;
the strtoimax() functions and friends are missing.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:35:08 +00:00
Axel Dörfler
13bbbc9ac4 Add strtod.c to the build (from FreeBSD).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:33:09 +00:00
Axel Dörfler
65ea9e24b5 Accidently removed linkhack.so from the build in the previous commit.
Added strto[u]l[l] functions to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:13:27 +00:00
Axel Dörfler
25c7a73eed Fixed vfscanf() which needed strtoq(), and strtouq().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:10:49 +00:00
Axel Dörfler
deab46426d Added implementation for strtol(), strtoul(), strtoll(), strtoull() from
FreeBSD sources.
Added llabs() (and a newline at the end of the file).
Fixed qsort.c and removed the unneeded FreeBSD header - min() wasn't declared.
Added the string conversion stuff to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:09:39 +00:00
Axel Dörfler
88222a7539 "template" is obviously a reserved word in C++...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:06:00 +00:00
Axel Dörfler
a8cd036239 Removed strtoq()/strtouq() from the build (both are deprecated functions, and
not available in BeOS, so there is no reason to add them).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 22:45:23 +00:00
lillo
9870ddcea7 kill now sends the signal to the main thread of a process only. To target a specific thread use the new send_signal syscall. Also added set_alarm.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 22:36:08 +00:00
Axel Dörfler
617c98ba68 Made stdlib.h almost compatible to BeOS.
Removed deprecated strtoq() functions (they are not even part of BeOS, so
why should we include this cruft?).
Added prototypes for llabs(), and lldiv() - added lldiv_t to div_t.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 22:02:50 +00:00
Daniel Reinhold
9a43926970 removed extra declarations now that stdlib.h is fixed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 19:25:50 +00:00
beveloper
2f22e3ab04 small change
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 16:40:00 +00:00
beveloper
5906bda96f a bad hack to get cppunit testlibrary build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 16:19:25 +00:00
Michael Pfeiffer
5def119705 Refinement of ConfigWindow.
Some bug fixes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 15:51:40 +00:00
beveloper
15750026e0 added C++ header guards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 15:13:00 +00:00
beveloper
37514a9358 added <netinet/in.h> include and C++ header guards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 15:12:41 +00:00
beveloper
8fcf577e24 Fixed a strange, and hard to find bug.
extern "C" {
was not terminated.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 14:43:27 +00:00
beveloper
b8377d8cb4 changes header guards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 14:02:18 +00:00
beveloper
65b9e84537 adding the missing Perform() function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 13:23:24 +00:00
Daniel Reinhold
3bee4b9931 removed some old, unneeded cruft
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:58:39 +00:00
Daniel Reinhold
2917ddc323 replaced stdlib.h in 'headers/private/kernel' with a better one in the more standard location 'headers/posix'
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:50:13 +00:00
Daniel Reinhold
4b28d29d28 type fix: replaced a couple of longs with ints (as they should be)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:32:38 +00:00
Daniel Reinhold
afaca44046 type fix: replaced int type with proper wchar_t type for several functions (tsk, tsk, tsk)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:23:30 +00:00
Daniel Reinhold
3b5b78dee6 type fix: replaced int type with proper wchar_t type for variable passed to mbtowc()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:21:50 +00:00
Daniel Reinhold
4123d76182 bug fix: addr is an unsigned long, not a pointer type
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:08:39 +00:00
Daniel Reinhold
bd2251961c bug fix: pointer indirection error while checking cookie value
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:04:11 +00:00
Daniel Reinhold
95574b3621 fixed printf warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 10:53:36 +00:00
Marc Flerackers
ae770392d2 Prototype, do not use yet
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 07:29:32 +00:00
Marc Flerackers
b8d13dee91 Added functionality B_VERTICAL, hashmarks, B_TRIANGLE_THUMB, and fixed bugs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 07:28:31 +00:00
Marc Flerackers
3fda79c8df Fixed a bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 07:27:19 +00:00
Marc Flerackers
083d22e24d Updated drawing, added missing functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 07:26:37 +00:00
Marc Flerackers
bf1b4e2926 Changed drawing, again
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 07:25:50 +00:00
ejakowatz
259a6f747a Proxy for the connection to app_server; just a skeleton at this point.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 01:10:10 +00:00
Daniel Reinhold
cd6a80d8c9 several additions to libroot:
added abs.c (abs, labs)
  added div.c (div, ldiv)
  added abort() to exit.c


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-24 20:05:09 +00:00
Daniel Reinhold
8c75beefbf initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-24 19:52:59 +00:00
Michael Pfeiffer
6ec7a3e7be Made ConfigWindow position and whether it should be used persistent.
Small bug fixes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-24 15:14:32 +00:00