Commit Graph

44739 Commits

Author SHA1 Message Date
Stephan Aßmus
4fade61ff8 HaikuDepot: Change when featured packages are shown
* Renamed the "Option" menu to "Show", removed the now redundant "Show" from
   the items in that menu.
 * Add an "Only featured packages" item in the Show menu. This item is disabled
   as soon as the user types something in the search terms field. Othetwise,
   this setting is respected, i.e. one can combine the featured setting with
   other settings, i.e. show all featured packages of a certain depot and in a
   certain category.
 * Added PackageInfo::IsProminent() and removed the respective method from
   the MainWindow (which only considered a package prominent if it was not
   yet installed).
 * "Show -> Installed packages" now defaults to on. There have been complaints
   on Trac and I guess rightfully so. The use-cases in which one starts
   HaikuDepot and wants to know about installed packages are just as likely
   as the use-case where one wants to install new software.
2014-12-26 22:08:08 +01:00
Automatic Committer
36dab6bc25 Update pci.ids from pciids.sourceforge.net 2014-12-25 05:20:23 +01:00
Adrien Destugues
234ac3f191 FileTypes: Avoid useless call to ReplaceRef
Don't replace the ref with itself in the most common case where the
scanned file is not a symlink. Save a lot of useless memory copies and
ref flattening in BMessage.
2014-12-24 11:52:04 +01:00
Adrien Destugues
a6f1bc984d BMessage::ReplaceData: potential corruption on realloc fail
The method would update the field offsets first, and would not restore
them in case of realloc failure, leaving them pointing to the wrong
place.
2014-12-24 11:52:02 +01:00
Adrien Destugues
4c0fbf2e52 linprog test: fix build. 2014-12-24 11:52:01 +01:00
Stephan Aßmus
474b9e090d HaikuDepot: Check if package_daemon runs and offer to start it
Fixes ticket #9967.
2014-12-23 22:22:06 +01:00
Alexander von Gluck IV
e2523ea3f2 tests/egl: Add egl test code.
* Early EGL support has been pushed into mesa
  thanks to the GCI work of Adrián Arroyo Calle.
* No, this isn't hardware rendering :-)
2014-12-23 15:42:02 -05:00
Adrien Destugues
83cd453019 Remove unrar and lp_solve from AboutSystem.
These were outsourced and are not Haiku dependencies anymore.
This list may need some more cleanup: I'm not sure why we credit Bullet
Physics, for example.
2014-12-23 16:59:00 +01:00
Adrien Destugues
c0c891c5b7 Move the "raw audio" format to the WAV format family.
It doesn't work well in AVI and MPEG.
2014-12-23 15:50:53 +01:00
Adrien Destugues
974595bc46 MediaConverter: let the encoder make changes to the format
If the encoder decides to change the media format, we need to tell the
encoder as well so it uses the same format.
2014-12-23 15:50:11 +01:00
Adrien Destugues
5e0e16894d ffmpeg plugin: improve encoding format negociation
The ffmpeg encoders are restricted on which raw formats they accept
(each with different constraints). When asked to encode something, the
ffmpeg encoder now checks the codec capabilities and if the suggested
input format does not match, modifies it to something the codec can
actually handle.

Enable "experimental" codecs, as this is needed for AAC support in ffmpeg 0.10.

This allows format negociation to work properly, and as a result we can
enable several new audio formats: AAC (for MPEG family only), AC3, and
raw audio. Declare MKV as B_ANY_FORMAT_FAMILY since it is designed to be
a generic container (so it is possible to put AAC in MKV). Also remove
duplicate entries for AC3.
2014-12-23 15:50:10 +01:00
Stephan Aßmus
ca747629f9 HaikuDepot: Fix drawing bugs of count view
The packages count view centers its label. It therefore needs a full update
on resize. Also optimize SetItemCount() by trying to avoid unneccessary
layout invalidations.
2014-12-23 14:57:27 +01:00
Adrien Destugues
b65265eb5c MediaConverter: fix off-by-one frame limit
This would lead to an attempt to read beyond the track end, making
MediaTrack return an error, and finally causing MediaConverter to not
flush the end of the encoded file to disk properly.
2014-12-23 11:28:28 +01:00
Adrien Destugues
177cb657e4 Add %e in the terminal tab format tooltip.
Since it works, we may as well advertise it.
2014-12-23 09:54:36 +01:00
Adrien Destugues
0d523bddbc [Terminal] add encoding to tab title if it differs from default
Fixes #11642.
2014-12-23 09:46:14 +01:00
Adrien Destugues
907ea782aa DiskProbe: convert ImageView to layout kit.
Fixes #11653.
2014-12-23 09:44:07 +01:00
Adrien Destugues
c05324e8b7 Revert "CID1108404: missing array inintialization"
This reverts commit cd06fa402b.
2014-12-22 18:27:34 +01:00
Adrien Destugues
cd06fa402b CID1108404: missing array inintialization
BuildReportList checks that the array does not already holds the reports
before adding them. If one of the uninitialized elements happened to be
the address of one of the reports, it would not get added again,
possibly leading to items in the array being in the wrong order. Just be
safe and clear the array.

Fixes #10221, patch there not used as it cluttered the code more than
needed.
2014-12-22 17:58:11 +01:00
Adrien Destugues
d350b0f0d4 Typo. 2014-12-22 15:14:13 +01:00
Adrien Destugues
92cc6a0f43 Style fixes. 2014-12-22 15:09:50 +01:00
Adrien Destugues
6df2c16cc9 ActivityMonitor: allow legend to use full width...
...for the last item when an odd number of items is used in a graph.

Fixes #7262.
2014-12-22 13:46:28 +01:00
Adrien Destugues
459b8e9796 Cleanup midi tests directory
* synth_file_reader: TList to BObjectList.
* delete two old prototypes of MidiPlayer and the README noting that
they should be removed
* delete reference to PatchBay which was moved to src/apps in 2013.

Fixes #7027.
2014-12-22 13:00:17 +01:00
Adrien Destugues
4227495829 BLocker: call debugger() when unlocking from another thread
BeOS did allow other threads than the owner to unlock a BLocker (the be
book says so). We did not, and silently ignored the unlock attempt in
this case, probably resulting in a deadlock of applications using the
feature.

Call debugger instead so:
* The problem is made visible for such apps
* The debugger call is continuable so the app can be run, still

Will help making a decision on what to do here (follow BeOS or change
behavior) and make a final decision for #6400.
2014-12-22 11:26:23 +01:00
Jérôme Duval
7dc8098ada XHCI USB: Add port routing for Intel WildcaPoint USB device.
* from FreeBSD.
2014-12-21 21:24:01 +01:00
Jérôme Duval
4cfa5b2dd6 netfs: debug build and 64bit fixes. 2014-12-21 15:10:46 +01:00
Jérôme Duval
28e5604c86 RTFTranslator: style clean up 2014-12-20 19:21:08 +01:00
Markus Himmel
83a0273a65 Add styled RTF output to RTFTranslator and bump version
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2014-12-20 18:10:38 +01:00
Ezo
fa267963e0 rtf output it rtf translator
Signed-off-by: Markus Himmel <markus@himmel-villmar.de>
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2014-12-20 18:10:08 +01:00
Augustin Cavalier
f978d9a815 package_infos/makefile_engine: Require cmd:mkdepend.
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #11646

The makefile engine uses mkdepend to extract dependency info from cpp
files.
2014-12-20 10:54:18 +01:00
John Scipione
65dfd2c67c Documentation fixes for BTab and BTabView 2014-12-19 19:51:42 -05:00
Adrien Destugues
af012fd4de TeamMonitor: layout cleanup.
Fixes #7560.
2014-12-19 15:50:37 +01:00
Adrien Destugues
216f305cea TeamMonitorTest: fix build, exit on window close. 2014-12-19 13:38:46 +01:00
Adrien Destugues
21d247bb58 Media: add icon to media server restart notification
Use the media preferences icon for lack of anything more specific.
2014-12-19 10:15:28 +01:00
Adrien Destugues
a882137926 Web+: set a group name for download notifications
It is not clear that these come from Web+ otherwise (since they use the
downloaded file icon rather than the app one).
2014-12-19 10:15:26 +01:00
John Scipione
f466445917 Changes to BTextControl for docs.
Also remove the non-ControlLook drawing code.
2014-12-18 20:45:44 -05:00
Humdinger
ca7c20e8d7 Terminal: move "Window title..." from "Edit" to "Settings"
The menu item to set the "Window title..." makes more sense in the
"Settings" menu. There you find other settings that only apply to
the running session, like window size or text encoding.
The "Edit" menu OTOH has only commands to deal with the contents
in the Terminal, like copy, paste, find etc.
2014-12-18 17:17:15 +01:00
Adrien Destugues
57f933d348 CID603224: missing break in parsedate.
Could lead to wrongly setting the TYPE_MINUTE flag for an invalid (>59)
number of minutes. Harmless, as that flag is never used.
For completeness, also set the flag for seconds (also never used).

Fixes #11552.
2014-12-18 15:55:47 +01:00
Jérôme Duval
82e1194224 libedit: includes ncurses build feature headers. 2014-12-18 15:26:00 +01:00
Adrien Destugues
84e1c7fa20 Notification: Avoid truncation when not wanted. 2014-12-18 15:10:44 +01:00
Adrien Destugues
63a4690e72 Notification: truncate long lines
This happens only if the word-wrapping couldn't fit them (because there
is a very long word in the text)

Fixes #11494.
2014-12-18 14:29:55 +01:00
Adrien Destugues
967a06e055 Web+: force download buttons to have the same width
If the text in the button is longer than what the minimal size of
BButton allows, the button exapnd. But we want the two buttons to have
the same width and stay aligned.

Fixes part of #11471.

Note: I don't understand why I need to set the explicit max size of the
button to make it bigger (I would have expected setting the minimal size
to do that), but it works.
2014-12-18 14:29:54 +01:00
Adrien Destugues
a0952d1cb3 Add the ncurses headers dependency where needed.
Should fix the build for real.
2014-12-18 13:49:14 +01:00
Adrien Destugues
2661e81977 Build fix second attempt.
Declare the dependency of top and watch to the ncurses headers.
2014-12-18 12:39:49 +01:00
Adrien Destugues
59b1706013 Build fix attempt.
Build is broken on the buildbots but I don't reproduce the failure when
building on HAiku, apparently because the system-installed headers are
used.
2014-12-18 11:54:17 +01:00
Adrien Destugues
1083895310 AboutSuste: Remove cal from freeBSD-provided list.
We now provide GNU cal in HaikuDepot instead.
2014-12-18 10:18:39 +01:00
Adrien Destugues
9a539f9e80 Outsource ncurses. 2014-12-18 10:18:39 +01:00
Augustin Cavalier
e616ded892 Add missing cmd:hey provide.
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #11631.
2014-12-18 08:44:41 +01:00
Automatic Committer
02328dd669 Update pci.ids from pciids.sourceforge.net 2014-12-18 05:20:26 +01:00
Adrien Destugues
873914a020 cdda: use singly linked list for attribute cookies
The list is only iterated forward so there is no need for a doubly
linked one.
No functional changes.
2014-12-17 17:34:25 +01:00
Adrien Destugues
a28398b3a2 userlandfs: NULL pointer dereference
get_vnode could be called with a NULL privateNode in the kernel, but not
in userlandfs. This would crash in cdda mount code (and from a grep
search, also with several other filesystems).

Now cdda can be mounted with userlandfs, and CDs read that way, but for
some reason there is no CDDB renaming of the tracks in that case.
2014-12-17 15:29:36 +01:00