Commit Graph

35080 Commits

Author SHA1 Message Date
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
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