Commit Graph
34186 Commits
Author SHA1 Message Date
Stefano Ceccherini 6d17af7e5e Added some error checking to DNSQuery::GetDNSServers(), since it could fail.
Temporarily enabled debug to help with ticket #5655.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-27 13:12:13 +00:00
Michael Pfeiffer fed5b83cfb Sort languages alphabetically using collators.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-27 10:10:03 +00:00
Michael Pfeiffer 103376b374 Moved translators into a table. Avoids code duplication and should make
the implementation of the open TODO (sort languages alphabetically using
collators) easy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-27 09:19:17 +00:00
Michael Pfeiffer 578462284f Added Finnish translation for bootman. Thank you Karvjorm.
Closes ticket #5642.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-27 07:55:21 +00:00
François Revol 9d1aa9c9ac Restore DEVICE_COUNT which was set to 2 for testing. We can do better :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 23:47:22 +00:00
François Revol 1d62878c78 Update copyrights. Mention TuneTracker Systems as a sponsor.
Add several ways to restrict UART probing when matching devices:
- max port count,
- PCI subsystem ID mask (some cards encode the port count there),
- Base Address Register mask (some cards only have UART in the first 2 ranges).
Use those to match 2 specific NetMos chips, and avoid screwing up when input_server tries to access UARTs at boggus ranges.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 23:44:07 +00:00
Ingo Weinhold 64d5a0a4b7 Added UnhandledDebugMessage() hook which is called by the base class
implementations of the other hooks. This way one can easily detect/handle
otherwise unhandled events.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 21:18:08 +00:00
Ingo Weinhold 1c421b8df4 Added optional "singleStep" parameter to ContinueThread().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 21:16:43 +00:00
Stefano Ceccherini bb2576f0c8 Removed some code which was added to fix a crash, which was obviously fixed
correctly later in another way.
Removing this code should also fix ticket #3103.
Use the width of the Bitmaps instead of fixed values.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 20:23:30 +00:00
Matt Madia e13ecedd6b Fixes libstdc++.so libsupc++.so's symlink creation on gcc4hybrid. In addition,
the symlink creation has been also pulled out into its own if block.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 19:58:32 +00:00
François Revol baaa0348a9 Implemented ioctl(FIONREAD) on tty devices. Untested.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 19:47:23 +00:00
Stefano Ceccherini 8ce4644fbd If SetFullScreen() was called on a hidden BDirectWindow, it wouldn't be
set to fullscreen (since that code checks for a Screen object, and is null in
that case). So we also call ResizeToFullScreen() in ServerWindow::_Show(), 
if needed. Fix ticket #4456.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 17:34:44 +00:00
Stephan Aßmus 2789b3911a Rewrote BAffineTransform to not be based on agg::trans_affine, which was pulling
in the AGG header. Reused the AGG code were applicable and implemented a lot
more features. The Multiply and PreMultiply meaning is reversed with respect to
AGG, but follows the mathematical meaning. Added type_code
B_AFFINE_TRANSFORM_TYPE to TypeConstants.h and let BAffineTransform derive from
BFlattenable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 17:20:11 +00:00
Axel Dörfler 37a68cb1f2 * Renamed kRequiredParameters to kRequestParameters as suggested by Vegard.
* Cleaned up some style issues introduced by Hugo a while back.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-26 12:31:46 +00:00
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