Commit Graph

34572 Commits

Author SHA1 Message Date
Axel Dörfler
bfd479b3b6 * Also request the domain name, patch by Vegard Wærp in ticket #5633.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 12:24:38 +00:00
Stephan Aßmus
abb02bc4a4 Moved BAffineTransform from shared kit into interface kit. Still in BPrivate
namespace. Applied 80 char/line limit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 11:20:53 +00:00
Stephan Aßmus
c12643530e My first fix to avoid overwriting resolv.conf was better. Reverted to this code
and clarified the TODO comments. resolv.conf is written again once per
_ParseOptions(), with the DHCP_ACK messages providing the final data.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 10:43:51 +00:00
Ingo Weinhold
53446ebf80 Added a few classes to the debug kit:
* BDebugMessageHandler: Interface with hooks for handling of debug messages.
* BDebugContext: Essentially a C++ wrapper for struct debug_context, with
  handy methods for controlling a debugged team.
* BTeamDebugger: Proxy for a debugged team. Derived from BDebugContext.
* BDebugLooper: Wraps a main debug message loop. Any number of BTeamDebuggers
  can be added and associated with BDebugMessageHandlers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 00:15:59 +00:00
Ingo Weinhold
adfe871902 Added libdebug.so to the library map.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 00:04:33 +00:00
Ingo Weinhold
feddedab0c x86:
Added fields for temporary storage of the debug registers dr6 and dr7 to the
arch_cpu_info structure. The actual registers are stored at the beginning of
x86_exit_user_debug_at_kernel_entry() and read in
x86_handle_debug_exception().
The problem was that x86_exit_user_debug_at_kernel_entry() itself overwrote
dr7 and, if kernel breakpoints were enabled, dr6 could be overwritten anytime
after. So x86_handle_debug_exception() would find incorrect values in the
registers (definitely in dr7) and thus interpret the detected debug condition
incorrectly. Usually watchpoints were recognized as breakpoints.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 00:03:53 +00:00
Adrien Destugues
9f018a4672 * Sync italian translation from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-25 21:08:05 +00:00
Jonas Sundström
f225592730 Don't ask Haiku users to insert their BeOS CDs. Fixes #5632.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-25 20:34:41 +00:00
Ingo Weinhold
a959bc5b23 _user_wait_for_objects(): Don't copy the infos back to userland when an error
occurred. This fixes the automatic syscall restart case (would wait forever)
and aligns the behavior with poll().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-25 15:57:38 +00:00
François Revol
6e5c475a09 Finish the alternative device scanning code (using the PCI bus manager instead of config manager) and use it, it actually works better in R5 on SMP boxen (config manager seems to miss reporting IRQ lines).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-25 00:14:41 +00:00
Stephan Aßmus
9521d5576d Always sync the view cursor immediately, not only when entering the view. Should
fix the remaining issues pointed out in #3198.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-24 21:02:38 +00:00
Stephan Aßmus
14a66ce5f4 Disable either track menu when there is just one or no track. Fixes #5622.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-24 16:59:18 +00:00
Stephan Aßmus
1e16c00279 * Don't store a possibly negative return value in an unsigned size_t, which
is later used as parameter to memcpy(). Should fix r5623 (untested).
 * Fixed coding style for some comments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-24 16:48:33 +00:00
Matt Madia
2b355ea6fc Updated the optional package WifiFirmwareScriptData. The firmware archives for
ipw2100 & iprowifi2200 are distributed with the default image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-24 16:30:04 +00:00
Axel Dörfler
fe735fc4c4 * As long as we don't support IPv6, we shouldn't prefer it when AF_UNSPEC is
used in getaddrinfo() (this solves "localhost" being resolved to ::1 by
  default).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-24 16:26:47 +00:00
Stephan Aßmus
20fb872810 My commit message in r35940 wasn't quite true, if DHCP_OFFER contained the
name servers, but DHCP_ACK didn't (probably unlikely, but who knows...), then
if DCHP_ACK contained the domain, the name server entries in resolv.conf would
be lost. Now DHCPClient maintains whether resolv.conf should be rewritten and
does so once per _Negotiate() session.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-24 09:50:24 +00:00
Stephan Aßmus
538cc4144c * Replaced unsafe zero termination of "data" for names utilizing printf format
trickery.
 * Rewrite resolv.conf once per invokation of _ParseOptions() (as before), while
   solving the problem that OPTION_DOMAIN_NAME_SERVER and OPTION_DOMAIN_NAME may
   appear in arbitrary order.
 * Added TODO about how it should be handled eventually. After the changes in
   r35938, it should now work as before. The only remaining problem is that if
   OPTION_DOMAIN_NAME appears in DHCP_OFFER, but not in DHCP_ACK, the domain
   information is lost.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-24 09:36:41 +00:00
Stephan Aßmus
24b170b983 Updated indentation style.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-24 09:30:35 +00:00
Stephan Aßmus
0f87f52fad Patch by Vegard Waerp: Added support for setting the the local domain in the
Network settings and setting the domain if received by DHCP.

Thanks a lot, closes #5619.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-23 23:58:41 +00:00
Matt Madia
9feca2b759 Fix libstdc++.r4.so's symlink for GCC 4 Hybrid. Uses an repackaged archive of
gcc-2.95.3-r1a1-x86-gcc2-2009-08-26.zip and the AddSymlinkToHaikuHybridImage 
rule. Fixes #5617.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-23 20:03:15 +00:00
François Revol
f878f09673 Less tracing by default...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-23 19:22:29 +00:00
Stephan Aßmus
48d796576e * Moved the duplicate "string_for_size()" implementations into libshared.a.
* Adapted libtracker.so, DriveSetup and Installer to use the shared version.
 * The new version uses the correct units (KiB instead of KB and so on).
 * Use the correct units in a few other prominent places, where
   string_for_size() could not be used.

Should resolve a major part of #5378.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-23 16:49:49 +00:00
Axel Dörfler
3d019c5f63 * Added missing IPv6 defines based on a patch by Andreas Färber in bug #5608.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-22 23:25:29 +00:00
Adrien Destugues
9ba3482a1d Add credits for the japanese translation in AboutSystem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-22 21:16:04 +00:00
Adrien Destugues
06ea4c76e5 Sync Japanese catalogs from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-22 21:01:43 +00:00
Matt Madia
e702f59016 Removed the comments regarding wifi copyrights. Now that the information is
recorded as part of the revision history, they can be removed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-22 18:42:12 +00:00
Matt Madia
bd438806b8 Updated BeZillaBrowser & NetSurf with InstallSourceArchive commands.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-22 18:35:40 +00:00
Stephan Aßmus
1ed4535f34 Patch by mt. Localization and conversion to use the layout API with coding style
fixes along the way. Thanks a lot! Fixes #5563.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-22 14:46:01 +00:00
Scott McCreary
af3253dea5 Updated python to 2.6.5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-21 18:19:56 +00:00
Matt Madia
4aadab8f98 Updated a comment to reflect the value of HAIKU_DEFAULT_IMAGE_SIZE.
No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-21 18:17:14 +00:00
Ingo Weinhold
9d123fc2e8 Patch by Andreas Färber:
CopySetHaikuRevision: Added support for extracting the svn revision number
from an hg repository.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-21 17:02:14 +00:00
Michael Pfeiffer
4fc2c378e1 Changes for ticket #5227.
* Use a slider instead of radio buttons for timeout options.
* Added timeout options 'after 0 seconds', 'after one minute'.
* Removed timeout options 'after 10 and 15 seconds'.
* Timeout can now be disabled pressing the 'ALT' key at boot time.

Other:
* Added #undef TR_CONTEXT to get rid of build warnings


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-21 15:40:00 +00:00
Jonas Sundström
95b368eaf0 TR()-wrapping of View menu text label. Fixes #5577.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-21 11:25:02 +00:00
Adrien Destugues
a4370fad20 Update to ukrainian translation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-20 19:36:23 +00:00
Stephan Aßmus
b809ff1c59 * Tweaked the thumbsize of the pointing hand cursors.
* Repurposed the FollowLink cursor as CreateLink cursor.
 * Created a new FollowLink cursor based on a design by Justin Stressman, thanks!

It compiles and I proof-read the commit, otherwise I didn't test, yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-20 14:23:42 +00:00
Stephan Aßmus
c3fa67f98b Use the new follow link cursor for hypertext actions...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-20 12:43:33 +00:00
Ingo Weinhold
a369198603 kernel_debugger_loop(): We need to use a dedicated jmp_buf for the call of
arch_debug_stack_trace() through debug_call_with_fault_handler(), since the
one in the CPU structure can only be used for debug_{strl,mem}cpy(), which do
not potentially have nested debug_call_with_fault_handler() calls.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-19 21:30:27 +00:00
Ingo Weinhold
4f339c2ce1 preload_image(): Removed erroneous rld_unlock() in error case. Fixes #5599.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-19 19:21:41 +00:00
Ingo Weinhold
c561bf792b block_cache::NewBlock(): Allocate cached_block::current_data only when the
block was freshly allocated. A block returned by _GetUnusedBlock() already
has current_data and we would leak it before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-19 19:07:18 +00:00
Ingo Weinhold
59a4ec37b5 Changed the names of the block allocator object caches to avoid confusion
with the ones of the block cache.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-19 18:27:28 +00:00
Ingo Weinhold
515c6d1bff Automatic white space cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-19 18:11:55 +00:00
Ingo Weinhold
02cb896640 * StreamReader::ReadAt(): Passed incorrect size to _ReadDirectItem(), which
could cause a memory read access beyond the block, resulting in a crash, if
  nothing was mapped there.
* Automatic white space cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-19 18:11:32 +00:00
Stefano Ceccherini
f0330c4aff Removed AreaLink, not used
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-19 17:29:10 +00:00
François Revol
b81d676aff Add missing parameters to the svg tag, makes Inkscape handle the inlined png files used for the shadows.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-19 15:01:32 +00:00
Stefano Ceccherini
96d7f22d56 Reverting this, since BMessage doesn't crash anymore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-19 12:26:14 +00:00
Stefano Ceccherini
e6dc15ca68 int8 and uint8 passed 3 parameters to the printf string,
but only 2 were used, leading to various problems (like bug #5596).
I added another variation of print_type which handles that case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-19 11:51:56 +00:00
Stephan Aßmus
678ee16d6a Fixed double conversion from view to screen space I introduced with the previous
commit. PictureTest at least works again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-19 09:38:28 +00:00
Stefano Ceccherini
05525b50d0 Commented out BMessage::PrintToStream() calls which crash (worked before).
The tests shows that Drawing shapes within BPicture is broken.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-19 07:53:30 +00:00
Stephan Aßmus
00873f7818 Added BShape::CurrentPoint(), returning the current end point of the path.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-19 00:28:38 +00:00
Ingo Weinhold
cfefeee3f8 * Changed arch_debug_save_registers() to take an arch-specific structure
arch_debug_registers instead.
* Call arch_debug_save_registers() on all CPUs when entering the kernel
  debugger.
* Added debug_get_debug_registers() to return a specified CPU's saved
  registers.
* x86:
  - Replaced the previous arch_debug_save_registers() implementation. Disabled
    getting the registers via the gdb interface for the time being.
  - Fixed the "sc", "call", and "calling" commands to also work for threads
    running on another CPU.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-18 17:20:06 +00:00