Commit Graph

9611 Commits

Author SHA1 Message Date
Jérôme Duval
a3810a32ee added modules for glibc
replaced ctype.o with glibc ones


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:51:31 +00:00
Jérôme Duval
f68db6c5e6 this conflicts with ctype-info.c from glibc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:46:48 +00:00
Jérôme Duval
8b6244a7e6 added new directories to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:45:19 +00:00
Jérôme Duval
9e359f4244 needed by include/nl_types.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:44:23 +00:00
Jérôme Duval
1e5a39d91d reversed back to 2.2.5
enabled printf_fp


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:41:37 +00:00
Jérôme Duval
55a93a6ff0 added includes files based on GLibC 2.2.5
used by printf_fp


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:37:35 +00:00
Jérôme Duval
fda682942a include file for printf_fp (based on 2.2.5)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:34:06 +00:00
Jérôme Duval
da2e1d1a96 added a wctype.h used by include/wctype.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:31:26 +00:00
Jérôme Duval
a6508c735e added includes for printf_fp (based on 2.2.5)
added macros to use our standard posix call when possible instead of prefixed versions


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:28:15 +00:00
Jérôme Duval
435b55e99e added arch includes for printf_fp (based on 2.2.5)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:25:19 +00:00
Jérôme Duval
270415343d added includes needed for printf_fp (based on 2.2.5)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:24:03 +00:00
Jérôme Duval
08c0aa1328 added iowpadn.c and wgenops.c to the build
commented out a suspect include


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:18:44 +00:00
Jérôme Duval
d6b3a0c2b8 reversed back to GLibC 2.2.5
used by printf_fp


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:15:34 +00:00
Jérôme Duval
fde72c74cc reversed back to GLibC 2.2.5
added to the build needed functions for printf_fp


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:11:14 +00:00
Jérôme Duval
e207b59ec7 added a x86 arch directory for GLibC (based on 2.2.5)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:04:56 +00:00
Jérôme Duval
864ce0e4d7 added a ppc arch directory for GLibC (based on 2.2.5), untested
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:00:09 +00:00
Jérôme Duval
c862c0e4a4 added a arch directory for GLibC (based on 2.2.5)
generic files are used by archs with source search feature of Jam when no specialized version exists


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 18:56:25 +00:00
Jérôme Duval
cd623098da reversed back to GLibC 2.2.5, added a Jamfile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 18:46:43 +00:00
Jérôme Duval
6364ac2487 reversed back to GLibC 2.2.5, added a Jamfile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 18:40:25 +00:00
Axel Dörfler
42164a871c Replaced the old clipboard command by a new one originally written by
Jonas Sundstrom. I've worked over it so that it complies to our style
guide, and also has a better error handling/reporting (ie. errors are
now always printed and redirected to stderr).
Also changed command options - it's now using getopt_long(), and not
that weak mechanism it used before.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 18:21:12 +00:00
Jérôme Duval
42d3352e8a added __strtold_internal and __strtof_internal for glibc print_fp
these functions should be placed in glibc one day


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 18:16:50 +00:00
Axel Dörfler
a49279b1e0 Made the roster command a bit more useful: since the main thread and the
team IDs are now equivalent in Haiku, we don't need to print both.
Also, team paths are now truncated to fit into the list to give a better
visual appearance.
Added two options to turn off truncating and to show the team name
(instead of full path) only.
Applied our style guide, replaced C++ streams with nicer stdio stuff
(formatted output is not that nice in C++).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 16:10:44 +00:00
Stefano Ceccherini
b9b6724617 The primary mouse button selects channels together, and the secondary mouse button selects them individually, and not the opposite as I had thought. Channels couldn't be moved together anyway: fixed.
Fixed a couple dozens of drawing problems (like multiple channels not drawn in the right place) and implemented the needed scripting functionalities into MessageReceived().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 16:03:49 +00:00
Ingo Weinhold
836d23b08e * Added empty _user_wait_for_debugger() implementation.
* Added some musings about what is missing, when a debugger is removed and
  how _user_wait_for_debugger() shall be supported.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-09 22:49:13 +00:00
Ingo Weinhold
a29ecae5f0 New debug function wait_for_debugger(). Useful when creating teams to be debugged via fork().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-09 22:45:41 +00:00
Ingo Weinhold
2562e5185c Command B_DEBUG_MESSAGE_GET_WHY_STOPPED supports a reply port now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-09 22:05:43 +00:00
Axel Dörfler
3380da1e1f Another small improvement to how things build as suggested by Ingo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-09 14:43:42 +00:00
Axel Dörfler
3820698290 Renamed threadIDEnd to lastThreadID as I think it's clearer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-09 02:05:18 +00:00
Axel Dörfler
4eadd9005b Made sure that B_SYSTEM_TEAM is never used as a thread ID - the previous code didn't
look correct and was a bit expensive.
Some cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-09 01:59:44 +00:00
Axel Dörfler
3db7e2cf8b Some cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-09 01:43:56 +00:00
Ingo Weinhold
cb01a20237 The debugger API changed slightly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 23:11:21 +00:00
Ingo Weinhold
bd5d59c4cc Support partial reads from memory.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 23:10:55 +00:00
Ingo Weinhold
fe99e18c3c spawn_kernel_thread_etc() has one more argument now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 18:18:55 +00:00
Ingo Weinhold
6c2560b50e team_ids are now aligned with the team main thread IDs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 18:18:10 +00:00
Ingo Weinhold
5939c4d7a9 Added functions allocate_thread_id() and peek_next_thread_id() and a
threadID parameter to spawn_kernel_thread_etc(). It's now possible to
set the ID of a new thread. Used in team.c to make team ID and the ID of
the main thread equal.

Fascinatingly the two added functions prompt my compiler to issue
`missing prototype' warnings, although those are obviously there. It would
be nice if someone could solve that riddle.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 18:16:16 +00:00
Stefano Ceccherini
7730601a59 Implemented Get/SetLimits() and fixed scripting stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 14:52:43 +00:00
Axel Dörfler
7f67a70cfe Now builds under Dano/Zeta as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 12:44:03 +00:00
Axel Dörfler
fa900c88f7 Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 12:43:15 +00:00
Axel Dörfler
3f687b627a mkbfs now also writes a standard boot block to disk (works for images only).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 12:29:09 +00:00
Axel Dörfler
9fcf97f229 Added a binary copy of BFS's boot block code (as used in BeOS). This will
be used by our R5 mkbfs replacement for now, until someone replaced that
boot loader code :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 01:39:44 +00:00
Ingo Weinhold
08f3210dcf Added empty implementations of tc{get,set}pgrp().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-07 22:07:26 +00:00
Ingo Weinhold
5141596a69 Added ffs().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-07 22:02:50 +00:00
Adi Oanca
d29c4f5287 Some objects must be destroyed on server quit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-07 21:52:41 +00:00
Stefano Ceccherini
a85419eec3 That wasn't my day, obviously.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-07 12:47:13 +00:00
Stefano Ceccherini
e949e4cf18 As the semaphore acquisition is done "benaphore style", the semaphore should be created with an initial count of 0.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-07 11:04:46 +00:00
Stefano Ceccherini
20c7c2f958 Testing BChannelSlider showed that BChannelControl's implementation had some issues:
1. StuffValues returned B_BAD_INDEX for legal values. Fixed.
2. SetAllValue was needed. Implemented.
3. The constructor used memset() to initialize an array of int32 to 100. YUCK! That's a novice mistake (and that's my fault, obviously). Fixed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-07 09:54:46 +00:00
Stefano Ceccherini
016e74b2c5 Fixed a crash on exit (Attached views are deleted automatically), finished some missing stuff, corrected some issues.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-07 08:45:18 +00:00
beveloper
6f9446b32a modified warning text
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 20:39:38 +00:00
Ingo Weinhold
a8e00c29fe Add the newly introduced src/build/cpp_support.cpp to the sources when building under Linux.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 16:51:58 +00:00
Ingo Weinhold
8b737816c4 Added KERNEL_C++_SUPPORT_LIBS to the libs the kernel links against. Required under Linux.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 16:50:24 +00:00