Commit Graph

35203 Commits

Author SHA1 Message Date
Stephan Aßmus
a021189bbb Patch by Jorma Karvonen: Localization of DiskProbe and small style cleanups.
Closes ticket #5916, thanks a bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 19:46:52 +00:00
Stephan Aßmus
f011602b08 Patch by idefix: Change the parsing of zip output so that Installer will show
the name of extracted items when the target volume name contains spaces.
Closes ticket #4732, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 19:00:07 +00:00
Stephan Aßmus
941e7bddbc Patch by herdemir: Fix codec table to include correct fourcc for H.264 video
streams in AVI files. Could confirm this with a test video. Thanks and sorry
for the delay!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 16:27:25 +00:00
Stephan Aßmus
1b603b3f39 Implement a fall-back for calculating the media_header start time when the
packet did not specify a PTS. Made this change long ago, I don't believe it
helped much...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 16:22:41 +00:00
Stephan Aßmus
e2a53a81d1 White space cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 16:18:39 +00:00
Stephan Aßmus
be1140e1e5 Added some more defines for demuxers that could in theory be enabled. But we
have native implementations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 16:17:06 +00:00
Stephan Aßmus
3e3162e3af Patch by idefix: Add support for four different Bamboo devices. Closes ticket
#3744, thanks a bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 15:39:42 +00:00
Stephan Aßmus
a9f29dd29c Patch by idefix: Code cleanup and debug output cleanup. Part of patch to
ticket #3744, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 15:38:25 +00:00
Stephan Aßmus
19ec74b048 Patch by Wim van der Meer: Use the new get_mouse() function instead of the
previous hack. Thanks a bunch! Closes #6019.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 12:13:36 +00:00
Stephan Aßmus
3672a07ec1 Localization of Shortcuts based on a patch by Jorma Karvonen (ticket #5857),
thanks! I've tested the application, and it works (as bad) as before. To note
would be the possibility that custom actions may stop working when switching
the system to another language after configuring them. Don't know if I
concluded this potential problem from the code correctly, or if translated
strings are actually not stored with a KeySet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 12:09:52 +00:00
Travis Geiselbrecht
53d7472637 BOOT SMP: allow systems with a large number of cpus and/or sparse apic ids to actually boot
The old mechanism to route an apic id back to a cpu id is faulty, built with the assumption that
the bios will 'pack' the apic ids from 0-num_cpus. In systems that dont do that, the code would
randomly corrupt the bootloader. Fatal in this case.

This quick fix simply rejects all apic ids >= MAX_CPUS (8). No way it would have worked before
if you had a box that started with >= 8 or anything, so it shouldn't regress any existing system.

Better solution is to allow any apic id to exist (0-255).

On this particular box the ids (from lunix dmesg):
SRAT: PXM 0 -> APIC 0 -> Node 0
SRAT: PXM 1 -> APIC 16 -> Node 1
SRAT: PXM 0 -> APIC 2 -> Node 0
SRAT: PXM 0 -> APIC 4 -> Node 0
SRAT: PXM 0 -> APIC 6 -> Node 0
SRAT: PXM 1 -> APIC 18 -> Node 1
SRAT: PXM 1 -> APIC 20 -> Node 1
SRAT: PXM 1 -> APIC 22 -> Node 1
SRAT: PXM 0 -> APIC 1 -> Node 0
SRAT: PXM 0 -> APIC 3 -> Node 0
SRAT: PXM 0 -> APIC 5 -> Node 0
SRAT: PXM 0 -> APIC 7 -> Node 0
SRAT: PXM 1 -> APIC 17 -> Node 1
SRAT: PXM 1 -> APIC 19 -> Node 1
SRAT: PXM 1 -> APIC 21 -> Node 1
SRAT: PXM 1 -> APIC 23 -> Node 1



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 03:47:24 +00:00
Clemens Zeidler
439d11f00f Merge trunk into SAT.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-16 21:13:00 +00:00
François Revol
50b3e74489 Fix gcc4 warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-16 21:03:17 +00:00
Stephan Aßmus
4f2d368906 Updated WebPositive package to r499.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-16 20:01:53 +00:00
Stephan Aßmus
0a93eaefb8 Patch by Jorma Karvonen: Add LocaleKit.h header and also add it to Be.h. Thanks!
Closes ticket #6004.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-16 16:07:55 +00:00
Stephan Aßmus
33394b856d Patch by Wim van der Meer: Added get_mouse_bitmap() global method to
InterfaceDefs.h and corresponding implementation in the app_server. Thanks a
bunch! Closes ticket #5978.

A note to those using "update-all" with hybrid builds - the alternative GCC
system libs will not be updated this way, and this and Wim's last patch
change the libbe <-> app_server interface. You need to manually update the
respective libbe.so, or do a clean build, otherwise apps for the other GCC will
not start anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-16 15:51:54 +00:00
Stephan Aßmus
0da416dcd3 Work in progress on some graphics for the website.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-16 11:05:25 +00:00
Stephan Aßmus
eb432ef0b9 Another icon by Mark Erben. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-16 11:01:32 +00:00
Stephan Aßmus
8dff2fbf24 Icon which I designed for the Download graphics on the site, but it may come in
handy elsewhere, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-16 10:59:58 +00:00
Stephan Aßmus
233b6a525c Several neat icons by Mark Erben. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-16 10:58:49 +00:00
Stephan Aßmus
25e05ec60c Icon by Mark Erben, thanks a lot!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-16 10:54:44 +00:00
Stephan Aßmus
307d88d6b9 Icon by Mark Erben, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-16 10:53:09 +00:00
Stephan Aßmus
dabc013819 Icon by Mark Erben, based on the CD player icon, with slight tweaks by myself.
Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-16 10:47:11 +00:00
Ithamar R. Adema
159d0f2447 * Make sure the attribute list gets cleared to when a filetype gets deleted
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-15 19:55:34 +00:00
Axel Dörfler
ae26daa623 * The '-' modifier was ignored for anything but relative seconds. Now, months,
days, and years are supported as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-15 14:32:45 +00:00
Axel Dörfler
b78034782a * Possible work-around for #5899: if the index does not contain the correct
information, the mail is no longer sent.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-15 13:26:13 +00:00
Stephan Aßmus
0cf1ecfb29 Patch by Ziusudra: Fixes navigation in to and out of sub menus with the cursor
keys. Thanks! Closes ticket #5996.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-15 12:40:59 +00:00
Ithamar R. Adema
9034fd529b * Add mimetype for vCard files
* Add mimetype for iCalendar files

These include sniffer rules.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-15 12:26:55 +00:00
Matt Madia
888c43863b Replaces the commented disclaimer & usage with a variable declaration, which is
echo'd in DisplayUsage.  No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-15 03:55:58 +00:00
Rene Gollent
9a708202ac FSCreateTrashDirs mustn't create the directories itself. This breaks the logic in FSGetTrashDir that creates/applies attributes if needed. This most likely explains Axel's random problems with trash directories being visible, since this would cause a fresh Haiku install's /boot/trash to never be marked invisible as it should be.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-15 02:05:45 +00:00
Stephan Aßmus
cd7f54f117 Missing UnlockLooper() in early return. Never seen it have any effect, just
found it because I am trying to track down another bug.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-14 20:25:26 +00:00
Joachim Seemer
97d73e2ab2 The generated keymap file had the wrong keymap-syntax in the first shebang line. '-l' expects a binary file as it's generated via '-c'. The correct parameter is '-s'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-14 18:24:03 +00:00
Stephan Aßmus
5288371864 Rewrote BMenu::_NextItem(), since it could busy loop when there was no item.
The new code should be a little easier to follow. IMHO, there were also problems
with detecting and breaking out of a full cycle, in case there was no start
item passed to the method.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-14 18:14:19 +00:00
Stephan Aßmus
3ddefbc1d4 Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-14 16:41:58 +00:00
Stephan Aßmus
1c73ffa102 Patch by Wim van der Meer: Implemented global Interface Kit function to retrieve
the current mouse position and pressed buttons. I've changed the return code
to status_t and added anal error checking, most of the rest of the file is not
doing it, though... :-) Thanks, Wim!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-14 15:53:09 +00:00
Michael Pfeiffer
4339f8be19 Style clean up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-14 09:36:26 +00:00
Michael Pfeiffer
13dfd6ccca * Avoid null pointer reference if configuration dialog is canceled
(fixes #5988).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-14 09:20:55 +00:00
Stephan Aßmus
1c47e8e40c Fixed typo. Closes ticket #5986, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 22:09:06 +00:00
Ryan Leavengood
f0a376325c Use a 2 pixel offset instead of 5 for the ShowImage context menu.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 17:52:52 +00:00
Stephan Aßmus
f02862eb03 Moved the installation of ProcessController, NetworkStatus and the volume
control icon into a new post_install script. Tested in QEMU and the items are
persistent also for the volume control.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 14:27:39 +00:00
Stephan Aßmus
7be043a094 The last commit contained too many files. They were supposed to go into this
commit, with the following message:

* Improved speaker icon.
* Replaced speaker bitmap icon with vector version in desklink.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 11:58:19 +00:00
Stephan Aßmus
559e4ec5f3 Small coding style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 11:55:48 +00:00
Stephan Aßmus
d38da14cdf Install NetworkStatus and volume control into the Deskbar alongside the
ProcessController replicant.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 11:10:33 +00:00
Stephan Aßmus
9579b1a3eb Added missing command line options to help text.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 11:02:54 +00:00
Ryan Leavengood
77982ded19 Fix #5808. I'm not completely happy with this solution, but it fixes the
problem without a bunch of refactoring. I intend to do more refactoring of
ShowImage after developing an automated test suite.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 04:28:57 +00:00
Ryan Leavengood
016233a96c Fix #5809 by making the context menu sticky and also offsetting the open point
by 5 pixels. Add a check so that multiple context menus aren't opened.

Also don't draw a 0 x 0 selection rect.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 03:43:05 +00:00
Ryan Leavengood
36c176518b Fix #5810 by disabling the Go to page sub-menu under Browse when there is only
one page.

Also a small refactor of a variable name in that area.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-12 22:54:06 +00:00
Joachim Seemer
91f40a2e1f Fixed typo. Fixes #5973.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-12 15:35:07 +00:00
Ryan Leavengood
798865636a Finally add my old Jamfile-engine to the Haiku repo. I think it should mostly
work but I've wanted to refactor it for a while.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-12 01:42:02 +00:00
Ithamar R. Adema
43775be678 * Revert r36316 as there are too many apps broken (Vision, Chart, Tracker Find, etc) in different unexpected ways. I'm sorry for the
trouble :( I'll revisit the change and post a patch with a hopefully better solution soon....


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 22:54:00 +00:00