Commit Graph

1783 Commits

Author SHA1 Message Date
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
Stefano Ceccherini 8109fda8d2 Some optimizations in FindFirst functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-24 12:28:50 +00:00
beveloper 49a11cb44b Temporary files to allow compiling. Some should be replaced, some removed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:44:36 +00:00
beveloper 32325cf365 Temporary files to allow compiling. Some should be replaced, some removed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:35:37 +00:00
beveloper 9fc7164698 allow building everything without local(tree external) header files beeing
used for kernel or kit components


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:13:17 +00:00
beveloper 3bb5ee98f7 BFont doesn't have a destructor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:08:17 +00:00
beveloper 55f14ba4d9 another small file for compatibility reasons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 19:35:15 +00:00
beveloper a6c008e1b9 modified to build without external BeOS headers on the host system
(well, nearly)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 19:23:01 +00:00
beveloper da8e06a309 All tests excluded from build. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 19:13:06 +00:00
beveloper e48a877c93 a few new headers for compatibility
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 18:47:12 +00:00
beveloper e58131e398 Excluded the ipr and lpr transport from the build.
They use the old net kit api, and need to be updated.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 18:12:46 +00:00
lillo f510e6ce60 posix signals support, 1st pass
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 17:31:10 +00:00
beveloper 54d6a27c67 a new and native sys/types.h header for OpenBeOS
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 16:24:50 +00:00
Axel Dörfler 5e4caf1e35 included missing header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 16:06:53 +00:00
Axel Dörfler 56d2067885 Added a simple malloc.h - doesn't contain all the rare BeOS stuff, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 15:51:19 +00:00
Axel Dörfler 2b9d5ff6c2 Some changes for an independent header system - added missing function
prototypes (and those commented out), to keep the whole project be compilable
and usable on BeOS.
Fixed a bug in fcntl.h (definition for O_DIRECT), added new O_MOUNT.
Added prototypes and "struct tm" to time.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 15:27:44 +00:00
Michael Pfeiffer 7b362730d7 Removed unnecessary code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 15:21:33 +00:00
beveloper d734a8ce5a some header files to be R5 compatible
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 13:54:44 +00:00
beveloper 16fe4511e7 added these master include files for better R5 compatibility when compiling
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 13:48:14 +00:00
beveloper d7e489f80a modified to provider better R5 compatibility
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 13:45:47 +00:00