Commit Graph
100 Commits
Author SHA1 Message Date
Stephan Aßmus 87ade459f1 Removed any unnecessary cruft from NetworkWindow header and source, fixed style
issues. (Not actually tested.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-03 11:15:05 +00:00
Stephan Aßmus 6b7acd5159 Fixed stack corruption.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-02 12:26:19 +00:00
Stephan Aßmus ad98c7f4af Fixed warning about hiding BView::Perform().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 08:52:20 +00:00
Stephan Aßmus 14d604ddfa Fix compiler warning about hiding Transformable::ScaleBy() by enabled the
ChannelTransform version of ScaleBy() which was commented out in the code.
I have no idea if this code was tested or not, I've added a comment to the
effect. It certainly isn't used in Icon-O-Matic at the moment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 08:51:35 +00:00
Stephan Aßmus b08f6fd2bc The "Rotate indices" and "Clean up" menu items need to be enabled depending
on the current selection.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 08:50:10 +00:00
Stephan Aßmus ba0f80c46b * Split debug output into general, audio and video (video output not done).
* Set the AVContext->frame_size, though I don't think it has any effect.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 09:16:18 +00:00
Stephan Aßmus 5061b3521f Patch by Adek336: Support one more H264 fourcc in B_QUICKTIME_FORMAT_FAMILY.
Allows playback of H264 content in Flash container (probably among others).
Thanks! Closes #6372.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 08:27:37 +00:00
Stephan Aßmus 4117556768 Patch by Adek336: Improve debug output in AVFormatReader for the codec id
returned by libavformat. Style fix by myself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 08:25:45 +00:00
Stephan Aßmus 80e6909dd1 * Style cleanup.
* Include correct header for strcmp().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 13:54:36 +00:00
Stephan Aßmus 9ea2a07cf3 Patch by Karvjorm: Fix build of the window_creation app_server test. Thanks!
Closes ticket #6358.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 13:35:18 +00:00
Stephan Aßmus df2945b3c5 "-O20" GCC flags should have been bogus. As far as I know, we are already
compiling with "-O2". Fixes ticket #6303.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 07:15:59 +00:00
Stephan Aßmus b1008df2c2 Patch by Alex Wilson: Added convenience methods for storing BAlignment and BSize
in BMessages. Also added type codes for them in TypeConstants.h. Closes ticket
#6302. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 07:02:38 +00:00
Stephan Aßmus a9ab7e7f24 Patch by Kaliber: Supported device list was missing terminator. Fixes ticket
#6286. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 15:52:35 +00:00
Stephan Aßmus 0f66fdc1b3 Patch by kaliber. Fixes mismatched types for the PCI domain attribute! Closes
#6269, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-07 15:37:23 +00:00
Stephan Aßmus 14981b2126 Patch by Jorma Karvonen: Fix compiler warnings. Closes #6203, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-21 10:03:15 +00:00
Stephan Aßmus 6277669654 Removed one liner function that was only called from one place.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-18 16:22:07 +00:00
Stephan Aßmus 0df61fa3dc * Moved selection box handling into a separate class SelectionBox. Mouse hooks
of that class are not yet used. Invalidation of the view could also work
   via listener mechanism.
 * Made image <-> view conversion and constraint methods public.
 * Sorted .cpp files in Jamfile alphabetically.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-17 08:52:47 +00:00
Stephan Aßmus a7b525d735 Previously misunderstood what fMovesBitmap means, renamed _MoveBitmap() also
so these two match up again and refer scrolling.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-16 21:52:27 +00:00
Stephan Aßmus 4fa7e62e8d * Coding style cleanup
* Some cleanup in member sorting
 * Some renaming of members for improved clarity
 * Removed _HasSelection() and use fHasSelection directly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-16 21:29:09 +00:00
Stephan Aßmus 6dac0e543b Apparently there is also "audio/midi". Don't know if "audio/mid" is perhaps
a typo and could be removed...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-16 15:40:06 +00:00
Stephan Aßmus ac60452f44 Prepared optional package with General MIDI SoundFont by Tim Brechbill, closes
ticket #1357. Added the package to the alpha-* release profile by default.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-16 15:20:59 +00:00
Stephan Aßmus a85ada29a6 Added optional package for gperf, the perfect hash
function generator. This build tool is needed by the
WebPositive build for example.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-15 19:33:25 +00:00
Stephan Aßmus d0805a5cf1 Resaved some icons, SVN thinks the files changed. Either there
is a slight difference in BMessage storage, or there is no actual
change at all...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-15 10:58:39 +00:00
Stephan Aßmus 84b55e19b6 * Previously uncommitted icon by zuMi for Device_Clipboard.
* Add original Poorman icon as second version.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-15 10:56:23 +00:00
Stephan Aßmus 549aa8651d Found the original WonderBrush icon (i.e. with names for all objects).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-15 10:51:50 +00:00
Stephan Aßmus ef0522d296 * Fixed coding style violations in CopyToClipboard.
* Fixed compiler warnings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-12 18:06:27 +00:00
Stephan Aßmus 70b0ca3910 ShowImage no longer uses the weird direct bitmap storage in the clipboard.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-12 17:55:52 +00:00
Stephan Aßmus 5ab8434cae * Fixed storage of image data in the system clipboard. According to the
comments in the code, different programs do it differently. However, I
   believe we should follow the BeBook documentation. This is the method which
   WonderBrush uses as well, and that one had been tested with other apps like
   Refraction. Potentially, copy&paste could work across GoBe Productive now
   also, but I didn't test.
 * Handle the case where the selection bitmap that gets restored from the
   clipboard has a bounds rectangle with an offset. Use this offset as an
   alternative to the "be:location" hack.
 * Fix the drag bitmap to be semi-transparent on Haiku. B_OP_SELECT does not
   affect the alpha channel on Haiku like it apparently did on BeOS, though
   I am not inclined to change that behavior.
 * Fixed some coding style violations, but tried to mix as little cleanup as
   possible.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-12 17:03:53 +00:00
Stephan Aßmus d0a2818e88 * Do not use the Scaler anymore for asynchronous bilinear filtering, but pass
B_FILTER_BITMAP_BILINEAR to DrawBitmap(). There is virtually no delay at all.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-10 09:43:10 +00:00
Stephan Aßmus 6794f5b5c2 Removed obsolete run script.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-10 09:03:00 +00:00
Stephan Aßmus 1179b11bf2 Work around a bug in the tool tip implementation that prevents changing the
tool tip once it has been displayed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-10 09:02:29 +00:00
Stephan Aßmus 70e39d0927 Adding a button at a specific position did not work since converting LaunchBox
to using layout management. When storing the settings, the new button was stored
last. Using the BLayoutItem at the given index retrieves the correct button.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-10 08:52:57 +00:00
Stephan Aßmus d698997098 Fixed misspelled header, closes ticket #6147.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 21:07:38 +00:00
Stephan Aßmus 8f8c973796 Updated indentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-07 21:17:49 +00:00
Stephan Aßmus 32753ae9b5 Add some columns to judge the look...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-07 21:12:15 +00:00
Stephan Aßmus c411bbc095 Resolved TODO about recursively removing watched files and folders when a
directory is moved outside the watched hierarchy or deleted entirely. It
involves another TODO, because the generated notifications are B_ENTRY_REMOVED,
while B_ENTRY_MOVED is probably more correct.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-07 17:37:33 +00:00
Stephan Aßmus a478859f51 Added liblocale and the ICU libs to the libbe_test target (app_server test
environment). Allows "TARGET_PLATFORM=libbe_test jam install-test-apps" to
build cleanly again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-06 12:11:43 +00:00
Stephan Aßmus 908967a199 Improved the BNotification API after suggestions from Karsten, thanks! Using
cosnt BString& instead of const char* could potentially save copying the string,
although in most use cases, it will probably ammount to the same thing. It may
provide more flexibility later on, like for example when BString knows its
encoding or something similar. Removed superfluous second version of
AddOnClickRef().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-27 21:13:11 +00:00
Stephan Aßmus f33637d9a8 * Improved BNotification API.
- No more manual memory management.
   - Make it clear who keeps or releases ownership of arguments passed.
   - Copy icon, arguments and entry_refs.
   - Do not expose implementation details (What do the BLists contain?!).
   - BRoster takes const BNotification& and bigtime_t timeout.

 * BRoster::Notify():
   - Proper error handling.
   - Fixed documentation.

 * Adjusted notify:
   - Renamed fOk to fHasGoodArguments.
   - The "const char*" members were really "char*" members (self-managed).
   - free() is NULL-safe.
   - fRefs contains BEntries, so passing void* to delete does no good.
   - Adjustments to the changed API.
   - Coding style fixes.

 * notification_server:
   - Adjustment to the new type for timeout.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-27 17:50:12 +00:00
Stephan Aßmus de9dcd41f8 Patch by plfiorini: Integration of InfoPopper as a system service. See ticket
#1245. There are some TODOs outlined in the ticket, but they will be much
easier to review as individual patches against trunk, versus as a new version
of the huge patch.

I've messed a lot with src/servers/notification/NotificationsView.cpp in order
to resolve a crash I was getting when testing this thing (rewrote line
wrapping). I've also replaced the icons with the one that zuMi did long ago.

Thanks, plfiorini, for working on this code as much as you did!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-27 14:48:27 +00:00
Stephan Aßmus 325a50a0c0 Set the background color in AttachedToWindow instead of repeatedly in Draw().
Try harder to avoid B_TRANSPARENT_COLOR of the parent.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-27 10:57:59 +00:00
Stephan Aßmus 22b608696f Patch by sil2100: Fix uninitialized variable, probably causing #6074.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-26 13:47:51 +00:00
Stephan Aßmus 1af161ec0a Also add the libtiff headers. Fixes ticket #6079.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-25 19:24:25 +00:00
Stephan Aßmus 3e711c79d8 Patch mostly by jackburton: The global offset for drawing a BPicture needs to
be applied before pushing a drawing state, otherwise it is not preserved
throughout playing the picture data. I've added the comment and resetting the
drawing origin to the previous value. Fixes ticket #6070, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-25 10:45:04 +00:00
Stephan Aßmus fe9c332517 Added German catkeys for mount server. Please don't replace with eventual
version from HTA!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-24 15:00:41 +00:00
Stephan Aßmus 3f027ce92a Localization of mount_server based on a patch by Jorma Karvonen (ticket #6063),
thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-24 14:43:09 +00:00
Stephan Aßmus e4200ae30c Part of patch by kaliber: Fixed OpenHashElementArray<Element>::Add(
const Element &newElement), element is a pointer. See ticket #5892 (found
by compiling Haiku with clang).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-23 12:41:15 +00:00
Stephan Aßmus b1784a9dbd Reworded commented out code with regards to not knowing the data size yet,
to decide whether to apply the mini data flag. Helps compilation with clang
according to ticket #5892.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-23 12:34:54 +00:00
Stephan Aßmus 59193042cc Make header selfcontained.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-23 12:29:35 +00:00
Stephan Aßmus a8ee8b8f1c Fixed one coding style violation and applied part of patch of ticket #5892,
which includes fixes to compile Haiku on clang.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-23 12:27:39 +00:00
Stephan Aßmus 716e4891d6 Updated WebPositive package to r515. Changes include warning the user when
downloads are still in progress before quitting the application.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 12:15:59 +00:00
Stephan Aßmus ae5c0d8870 Updated WebPositive package to r511, which fixes some bugs and annoyances and
adds -f command line option to start WebPositive in fullscreen mode. Untested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-20 23:24:57 +00:00
Stephan Aßmus 20a37b8525 Home icon variations for WebPositive.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-20 17:39:12 +00:00
Stephan Aßmus 70af7b97a5 Patch by romain: Fix one particular problem where the terminal buffer area could
go out of sync when switching between tabs. Closes #5969, thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-20 12:10:44 +00:00
Stephan Aßmus c88bc5e973 When a TransformationBox is used to change the transformation of a gradient, it
only ever changes one gradient at a time, and adopts itself to the current
gradient transformation. When applying it's own transformation on the gradient,
it could then reset and assign the transformation. On the other hand, the
regular TransformObjectCommand works on a different assumption, which is that
the object has it's own original transformation, and the transform box
transformation is chained on top of that. So the TransformGradientBox cannot
use a TransformObjectsCommand for the undo stack. Whenever such a command
could not use the box to apply the transformation, it would mess up the
gradient's transformation and the undo/redo chain. -> Use a dedicated
TransformGradientsCommand which works the same as the TransformGradientsBox
when applying the transformation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-19 14:03:41 +00:00
Stephan Aßmus 8dfea16fe3 The transformation of the gradient used by the GradientControl is always set
to the current transformation of the style's gradient, in order to never
accidentally change that transformation while using assignment and comparison
operators for convenience. However when resetting the transformation in the
notification hook, it could lead to reentering the hook unnecessarily and even
busy looping (thanks to Mark Erben for providing such an icon).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-19 13:59:36 +00:00
Stephan Aßmus 2376696dd9 Provide the HVIF version of the printer spool type. These types should really
be moved into the mime database source... but anyway, thanks to Meanwhile for
the icon! Reference: Ticket #1429.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-19 11:17:04 +00:00
Stephan Aßmus e54437eb35 Another version of the printer spool file icon by Meanwhile. I think the 16x16
version looks better than the previous version, and the other sizes look good,
too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 21:00:58 +00:00
Stephan Aßmus a2b1193e13 Fixed spelling, thanks Adrien!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 20:24:29 +00:00
Stephan Aßmus c4f9b1d10c Patch by Jorma Karvonen: Localization of CodyCam with some modifications by
myself. Closes ticket #5908, thanks a bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 20:16:28 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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