Commit Graph

11507 Commits

Author SHA1 Message Date
Stefano Ceccherini
5040785e7d BChannelControl::SetAllValue() didn't take limits into account. Horizontal sliders now at least are drawn correctly, even if they don't work well. Added a temporary visual hint of where's the bitmap frame. Enhanced a bit the drawing of the groove.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 13:20:01 +00:00
Axel Dörfler
6f0f950768 Now has its own implementation of getenv().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 00:51:20 +00:00
Axel Dörfler
9689bb8114 Removed env.c from rld.so - it now has to do it on its own.
Added posix_pthread.o to libroot.so.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 00:49:49 +00:00
Axel Dörfler
983d4534bc get_team_info() now also fill in the info about the debug nub thread.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 23:19:25 +00:00
Axel Dörfler
3c75dcf982 Removed team::user_env_base; it's no longer needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 23:08:16 +00:00
Axel Dörfler
14ddef038a Removed setenv()/getenv() syscalls - they are no longer needed.
Also removed team::user_env_base: environment variables are now changed on the app's heap.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 23:06:51 +00:00
Axel Dörfler
8e6c95bcce Removed setenv()/getenv() syscalls - env is now changed on the heap.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 23:04:48 +00:00
Axel Dörfler
1ef5fc339b __init_env() is now called.
malloc() currently cannot be used in initialize_before() in libroot.so,
and therefore a _after() call has been added for this.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 22:54:31 +00:00
Axel Dörfler
707046555e Added pthread stuff to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 22:45:15 +00:00
Axel Dörfler
0d0145515d Implemented userland env handling; it longer uses syscalls for this - I even
made it thread-safe, although this is not required by POSIX.
Implemented unsetenv(), improved putenv().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 22:41:49 +00:00
Axel Dörfler
3e998caf29 Added some optional to make the function more correct - if it's ever going
to be called that way.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 22:38:01 +00:00
Axel Dörfler
2bf23eaa75 Added __init_env() prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 22:36:53 +00:00
Adi Oanca
a6fa470989 Window tab is highlighted/grayed when changing between windows
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 22:07:44 +00:00
Ingo Weinhold
2eece8633c * Added support for debugger handover.
* Implemented _user_wait_for_debugger().
* Reworked a few bits to ensure that after a remove_team_debugger() or
  after requesting a debugger handover the debugger doesn't get any more
  messages.
* When the debugger is removed or dies, the debugged threads should now
  cleanup their debug info and continue, instead of waiting at their
  debug port forever.
All the new features are not tested. Will happen, when gdb will be
debugged.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 22:04:27 +00:00
Axel Dörfler
b10cca5480 mutex_unlock() did not return anything when everything went well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 21:56:28 +00:00
Ingo Weinhold
1c7fbde145 Added message def for preparing to hand over a debugged team to another
debugger. After successful reply to the message the debugger won't receive
any more messages from the debugged team. The mechanism is completely
transparent to the target debugger. It simply installs itself as debugger
for the team.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 21:56:23 +00:00
Adi Oanca
d3beb2a46c Window moving and resizing resumed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 21:34:04 +00:00
Jérôme Duval
d67f94ca9d commented out hypot prototype : it conflicts with glibc signature when building libstdc++ which uses glibc headers
zooey agreed when discussing this (and we hope this don't break anything)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:56:11 +00:00
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
6bbfd2627b New syscall _kern_wait_for_debugger().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-09 22:46:31 +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
Ingo Weinhold
9b92e8c011 Added missing reply port for message B_DEBUG_MESSAGE_GET_WHY_STOPPED. Removed unnecessary alignment in debug_nub_set_cpu_state.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-09 22:04:38 +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