Commit Graph

35203 Commits

Author SHA1 Message Date
Ingo Weinhold
97901ec593 Patch by Nathan Mentley:
* Added a few header files in headers/posix/arch that'll allow for an x86_64
  haiku target to be compiled. fenv.h is src/lib/msun/amd64/fenv.h from
  freebsd.
* configure: Added support for x86_64 arch when running
  build_cross_tools_gcc4.
* config[_build]/HaikuConfig.h, BuildSetup: Added x86_64 recognition.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 19:40:06 +00:00
Stephan Aßmus
62355113cf Fixed coding style violation...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 18:36:02 +00:00
Stephan Aßmus
9716ee3e47 For Intuos3, use an additional bit from another data bucket. This is what the
Linux driver does, thanks for idefix for tracking down the problem! Should fix
ticket #5960, but I don't personally have the hardware. The change can only
affect Intuos3 tablets, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 18:32:16 +00:00
Stephan Aßmus
6f05b1027f Removed stuff which was completely unused.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 15:38:21 +00:00
Stephan Aßmus
4e310ac8a0 Updated WebPositive package to work again in trunk. (Don't try to use on the
alpha.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 15:13:52 +00:00
Ingo Weinhold
e4a4fcc9fb Moved definitions of the USER and GROUP environmental variables from
SetupEnvironment to /etc/profile and use the "id" command. No need to set
SHELL, since the shell sets it anyway. Fixes #5966.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 14:55:23 +00:00
Axel Dörfler
1e9e9da389 * I'm not sure why it happens, but the drag bitmap offset was BPoint(2, 1) off
(that should be good enough for the current Tracker).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 08:01:36 +00:00
Axel Dörfler
9c8f23673b * Never choose a target pose in UpdateDropTarget() that is part of the currently
dragged selection. This fixes the context menu popping up when you try to
  move around an icon a few pixels only.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 07:46:19 +00:00
Ingo Weinhold
8ccc58ffa9 Missing line breaks in dprintf().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-10 17:26:50 +00:00
Matt Madia
e1361e2e66 Additional TR*-->B_TRANSLATE* cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-10 14:44:54 +00:00
Stephan Aßmus
d293cd2cf0 Patch by Andreas Faerber to work around the missing
definition of __progname on Solaris. Thanks, closes ticket #5697.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-10 14:38:10 +00:00
Joachim Seemer
2376416a94 The updated welcome package with all translations. Thanks everyone.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-09 15:52:37 +00:00
Joachim Seemer
0517ce048e The updated user guide with all translations. Thanks everyone.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-09 15:51:27 +00:00
Jérôme Duval
6f1452f92f merge zlib 1.2.5 into trunk
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-09 15:28:00 +00:00
Jérôme Duval
c6b8789881 Update pci.ids from http://pciids.sourceforge.net/pci.ids version 2010.05.09
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-09 12:55:23 +00:00
Jérôme Duval
fd6286663f update to tzdata2010i
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-09 12:49:52 +00:00
Jérôme Duval
4dc62bba59 FavoritesMenu: don't call the RefFilter when the model's node is NULL. Fixes bug #5871.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-09 12:11:52 +00:00
Clemens Zeidler
56ec6eae8e Fix #5845.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-09 04:23:04 +00:00
Clemens Zeidler
4cc05f8e10 Fix #5834 as proposed by kallisti5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-09 04:07:44 +00:00
Stephan Aßmus
da8169406f Don't open context menus right under the mouse so that the first item is
already selected and get's picked when the user releases the mouse right after
the initial click. For model context menus, like right clicking a mounted disk
on the desktop, this somehow worked without selecting the item. But opening
the context menu on an empty part of the desktop always selected the Desktop
entry which resulted in the menu immediately closing without any effect. The
perhaps unwanted side-effect of this change is that navigation menus don't
automatically open unless you move the mouse a bit. Please play with this a bit
before commiting to alpha branch. I remember having to move the mouse a bit
on R5 as well, but could be wrong about it.

The real fix would be in BMenu and BMenuBar tracking code, but the changes
which I would have in mind are too radical to do before the release. I
understand that _IsStickyMode() is supposed to handle this case, but it actually
has too little information, since each menu is tracking the mouse state itself
and doesn't know what another menu already knows. Perhaps this is what the
"start" parameter was for in the original _Track() hook, but why not simply
create an object which is passed from menu to menu and tracks everything of
relevance and maintains state?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 22:41:55 +00:00
François Revol
7a2f989819 Make sure native drivers are loaded first, by openning the /dev directories to let devfs scan them. Also make sure oss is loaded so we can open /dev/sndstat.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 22:36:37 +00:00
François Revol
ee9a07fc52 Seems I presumed too much about my copy-pasting skills, doing continue in the loop without incrementing doesn't go much further. Fixes busy-loop on error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 22:10:08 +00:00
Stephan Aßmus
676a46d50b fSelected was accessed unchecked in _UpdateStateOpenSelect(), but the method
can be called without any item being selected yet. In that case, fall back
to just select the item and return (setting fSelected). I've had Tracker
crash with a BT that suggest this was the case, when I invoked some context
menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 21:42:30 +00:00
Ithamar R. Adema
a40ec7c51a * Revert my changes to BListView for now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 20:59:14 +00:00
Stephan Aßmus
015cd734f0 When checking the return code from BRoster::Launch(), always check for
B_ALREADY_RUNNING and don't treat it as error condition. See BeBook
documentation for more details. This bug resulted in urlwrapper opening a
Terminal and trying to use wget on Bookmark files that are supposed to open
in WebPositive (or any other browser), in the case that this browser was
already running.

Absolutely needs to go into alpha2. ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 20:51:56 +00:00
Ithamar R. Adema
e2e160328b * Revert MinSize() and PreferredSize() to the normal BView variants, since unlike the comment says GetPreferredSize() actually looks at the content of the listview to determine the size.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 19:45:13 +00:00
Jérôme Duval
3637934a88 GCC2.95 on Linux failed to build before this fix (ticket #5928)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 19:44:38 +00:00
Michael Pfeiffer
1d54eedb81 * Single Launch flag was set in the previous package. This prevents
BePDF from opening more than one PDF file at the same time.
  This was caused by a yet unresloved bug in the BePDF build scripts 
  when used from Haiku.
  The new package was rebuilt under BeOS R5.
  Sorry for the late change.
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 19:23:35 +00:00
Matt Madia
75d1bce8d7 * Removed vimrc from the repository as per #5699
* Updated vim & KeymapSwitcher optional packages, provided by siarzhuk.
To note, I did not remove the 'vi' symlink creation as I'm uncertain as
to whether or not any unknown applications are hardcoded to use it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 19:11:45 +00:00
Ithamar R. Adema
b513501fe4 * When a BMenuItem contains a submenu, and that menu IsLabelFromMarked(), use its preferred width as the content width in GetContentSize().
This fixes problems with the Min/PreferredSize() calculations for BMenuField, with a Menu that IsLabelFromMarked().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 19:03:33 +00:00
François Revol
bbb55d159e Add PCI device reservation to the drivers that still missed it in the image. This along with the updated OpenSound should fix the KDLs. Hopefully the init_driver() code was identical enough I didn't make any copy-paste error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 18:45:28 +00:00
Jérôme Duval
9ac4c6e861 style cleanup, no functional changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 17:58:11 +00:00
François Revol
7d8c577325 - use DRIVER_NAME in dprintf.
- unreserve the device in case init failed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 17:44:35 +00:00
Ingo Weinhold
07e1164e59 syslog_init(): Bail out, if kernel_args::debug_output is NULL. Would crash on
platforms that are ignorant of the debug syslog feature.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 17:02:02 +00:00
Jérôme Duval
b54538cc66 * use getopt() for addattr
* cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 16:25:05 +00:00
Michael Lotz
6bb5960fd6 Temporary workaround to the MSI issue on broadcom570x. Fixing for real later,
but this one should go into alpha2 to make the card work as before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 15:38:26 +00:00
Michael Lotz
b59539c7ce Ensure that the PCI module is initialized when using the x86 specific module as
it makes use of gPCI which is initialized during pci module init. Might help
with #5936.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 15:09:28 +00:00
Jérôme Duval
5e21079403 style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 14:58:15 +00:00
Michael Lotz
dea3dab422 Forgot to commit the removal of the old file in r36223.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 14:57:21 +00:00
Jérôme Duval
cea369ce9d UVC webcam addon isn't ready yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 14:51:02 +00:00
Jérôme Duval
96aa451087 Patch from Alexander Shagarovi (ticket #5832): use getopt() for command line parsing. I fixed some code style and simplified a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 14:33:04 +00:00
Stephan Aßmus
38135af9af Improved version of the Alpha2 download box graphics, pixel aligned. (The
original Alpha1 bitmap also wasn't.) I redid the alpha 2 stamp and the bugs
placement is also different. I've added a slight glow behind the 2 to make it
stick out a little more.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 13:46:19 +00:00
Joachim Seemer
8cbf8a521b Added Brian Matzon as our Danish Dynamite translator. Thanks luroh for testing. +alpha2
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 09:41:36 +00:00
François Revol
28e9f6c22a Patch by mmadia: Fix locale macros. Fixes the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 22:59:42 +00:00
Ithamar R. Adema
9661f324d9 * Don't mark edid_detailed_timing entries with a pixel_clock <= 0 as EDID1_IS_DETAILED_TIMING. This prevents decode_edid clients to incorrectly interpret the entries as valid.
This fixes booting on the Samsung NP-N135, which used to reset before being able to enter the bootloader menu. It would be interesting if tickets #4408, #5539, #5696, and #5720 could be retested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 21:51:06 +00:00
Matt Madia
4eb0cbb044 Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 20:19:06 +00:00
Matt Madia
483e12623e Update TR* to B_TRANSLATE. relates to #5408. To note, prior to this changset,
this was not building. See #5927 for more information.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 19:43:30 +00:00
Matt Madia
0ff73fbfd1 Update TR* to B_TRANSLATE. relates to #5408. To note, prior to this changset,
this was not building. See #5928 for more information.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 19:37:47 +00:00
Axel Dörfler
b588e644ee * Changed AboutSystem to only show the translated language names.
* Added the same hack to ReadOnlyBootPrompt that I put into Locale to
  work-around the missing font overlays in the app_server; IOW we use some
  heuristics to decide which language to show.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 18:57:51 +00:00
Oliver Ruiz Dorantes
125183f9e5 - Add possibility yo set a custom friendly name to our device. Which will be seen by remotes devices at discovery
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 18:25:09 +00:00