Commit Graph

49909 Commits

Author SHA1 Message Date
Jonathan Schleifer
fe7d7c27fc RepositoryRules: Add option to now download any packages
This is useful if Haiku should be built using self-built packages.
2014-04-03 15:55:44 +02:00
John Scipione
f5c284eeed Style fixes to BTextView 2014-04-02 19:38:25 -04:00
Adrien Destugues
638510600c Plugin loading: style fixes.
* Fix style issues pointed by stippi. Thanks!
* Rework the FormatManager instanciation to be thread safe.
2014-04-02 14:05:11 +02:00
Adrien Destugues
bf3b475c38 Urpdate AddOnManager and FormatManager for Media Kit
* These classes were moved from Media Server, making the use of ports
and messages to communicate with the app irrelevant.
* Split in a separate commit to help git keep track of moved files.

Fixes #4893.
2014-04-02 09:56:34 +02:00
Adrien Destugues
2feaa37f24 Move media plug-in support to application side.
The media server tried to use node monitoring to dynamically add and
remove plug-ins, but it isn't that useful:
* When a plug-in is added, applications would have to query the media
server to get an up to date list of available formats. For example
MediaConvert populates its format menus on startup.
* When removing a plugin, if an app already had it loaded, there is not
much that can be done to keep it working.
* The list of plugins was not sorted by directories (user vs system
add-ons), so the directories were re-scanned to make sure user add-ons
were returned first, rendering the node monitoring less interesting.

Now, the format handling is done by each application. The node
monitoring is removed, instead the apps will scan the plugin directory
when first using the media kit classes. Restarting the application is
needed to update the media formats list.
2014-04-02 09:56:32 +02:00
John Scipione
1c69e1c306 Fix button label position
This reverts a portion of hrev46580 concerning placement of a label on a button.
The label was draw too low on the button in some cases, notably in Keymap.
Restoring the old code for the icon-less case fixes the problem.

There still may be a problem drawing labels on buttons with icons, but, the code
should behave the same as it did in hrev46580 for that case, which is when
buttons with icons was introduced.
2014-04-01 17:19:00 -04:00
Adrien Destugues
8d07dca68c Add OpenTTD and data files. 2014-04-01 22:36:09 +02:00
Adrien Destugues
f521e2a9ec Add llvm package (untested). 2014-04-01 08:46:58 +02:00
John Scipione
8fbf8d56f6 Time prefs: Enable add button if server name valid
* Add button is disabled initially (as the server name is blank)
* Use B_FAILURE_COLOR when server name is invalid instead of hardcoding red
* Some code refactoring
* Some style fixes
2014-03-31 18:57:46 -04:00
John Scipione
62b45ce190 Time prefs: Disable remove button if list empty 2014-03-31 18:46:12 -04:00
John Scipione
18027fff34 Whitespace style fixes only in StorageDefs.h
No functional change intended.
2014-03-31 16:22:06 -04:00
Adrien Destugues
48058f7bc9 Media_server: use find_paths_etc.
* Replace code to find the plug-ins with the new APIs.
* Prepare for hybrid-aware code (but we need to use the app
    architecture, not the media_server one)
2014-03-31 17:39:35 +02:00
Adrien Destugues
d71e18fef4 Build media plugins for the secondary arch.
These are used when an app uses BMediaFile/BMediaTrack, which leads to
the plug-ins being instanciated on the application side.

* Fixes one more part of #10049 (media add-ons are still missing).
* Will probably not solve any real-world issue because of #4893.
2014-03-31 15:32:31 +02:00
Adrien Destugues
943b310c90 Data URLs: fix size computation.
The decoded data is 3/4 the size of base64 encoded, not 4/3.
2014-03-31 09:59:12 +02:00
Adrien Destugues
aec5be7aa2 Add lzo recipe. 2014-03-31 08:15:04 +02:00
Jessica Hamilton
575984d2e5 MediaConverter: Filter out non-writable media file formats. Fixes #10724
* With the muxer & demuxer tables merged in hrev47063, the
   list of output formats included media file formats that
   weren't flagged as writable

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2014-03-31 08:15:00 +02:00
Stephan Aßmus
a87c4748e5 app_server: Restore previous rounding
46b39e8378 contained a change to the
rounding for non-subpixel-precise drawing. This changes it back
from using round() to casting to int32. This also reverts a change
to StrokeLine() which meant that lines on integer pixels appeared
at the same location regardless of using B_SUBPIXEL_PRECISE or not.
On further thought, this doesn't make any sense, since it means
to treat the meaning of coordinates different for stroking and
filling. This fixes WonderBrush's brush tip preview, but breaks
Gobe Productive's caret rendering for zooms smaller than 150%.
The change to the rounding fixes #10690.
2014-03-30 22:28:14 +02:00
Axel Dörfler
0acae24ee7 Added simple Alert test application. 2014-03-29 23:11:44 +01:00
Adrien Destugues
a41f127c68 Add and update various packages. 2014-03-29 19:16:01 +01:00
Rene Gollent
e3e125273f Update haikuwebkit_x86 to 1.2.5-2. 2014-03-29 10:22:37 -04:00
autonielx
9b85c1dcc7 Update translations from Pootle 2014-03-29 06:18:46 +01:00
Jonathan Schleifer
6c95865236 Replace a few equ with %define to make nasm happy
Interestingly, it only complained about some of them. Changing them all
to %define though, as equ means it should try to evaluate it once, which
of course it can't really if those are ebp+CONSTANT.

Didn't catch those since I wasn't building gcc2h.
Thanks to jessicah for reporting and testing the fix!
2014-03-29 05:07:54 +01:00
Rene Gollent
a743eac426 Add nasm x86 package.
Also update autoconf, curl and openssl.
2014-03-28 22:27:36 -04:00
Rene Gollent
133af3f5e1 HaikuDepot: Fix x86 build. 2014-03-28 22:12:06 -04:00
Jonathan Schleifer
d6f8092732 Sorry, my last commit was incomplete 2014-03-29 02:29:52 +01:00
Stephan Aßmus
5bd5f161e8 HaikuDepot: Populate package icons from web app.
* Transformed ConnectionTest into WebAppInterface
 * Added methods to Model to trigger the population of all packages
   with additional information that is needed in the list view.
 * This launches a thread which tries to retrieve icons for all known
   packages from depot.haiku-os.org. This is uncached and very slow. I
   guess it could even be fast enough with a change to the protocol where
   icons are not retrieved one at a time.
2014-03-28 23:49:29 +01:00
Stephan Aßmus
b34f1a8b11 HaikuDepot: Refactored setting title and icon in listview...
... so that it is also done when a package state change notification
is received that has the icon bit set.
2014-03-28 23:49:28 +01:00
Stephan Aßmus
22949ba2ef HaikuDepot: SharedBitmap: Added loading from buffers.
Refactored loading from a buffer when loading from resources and
 re-used that for instantiating a SharedBitmap from a BMallocIO.
2014-03-28 23:49:27 +01:00
Jonathan Schleifer
a04a520b0d Switch back from yasm to nasm
These days, nasm supports more instructions than yasm. Additionally, it
offers a disassembler.
2014-03-28 23:10:24 +01:00
Adrien Destugues
3dc701c1c7 Add nasm package. 2014-03-28 23:03:41 +01:00
Adrien Destugues
dded020a19 Update Qupzilla to 1.7
Packages provided by Arfonzo.
2014-03-28 13:47:48 +01:00
Adrien Destugues
626d341c24 ffmpeg media plugin: merge muxer and demuxer tables
* The media_file_format struct has B_READABLE and B_WRITABLE flags,
allowing us to tell which formats we support decoding and encoding
* This allows application to query for the supported decoding formats.
* Also adjust some of the MIME types to match what's actually used (eg.
in HTML5 audio).

This makes html5test.com detect which formats we declare we can decode.
2014-03-28 11:47:22 +01:00
Jonathan Schleifer
4626c49e32 desklink: Fix %ld being used instead of B_PRId32
Also enables -Werror.
2014-03-27 20:36:39 +01:00
Axel Dörfler
c8127e2b7d DatagramSocket.dox: fixed ReceiveFrom() description.
* Please read other documentation and code before trying to write any
  documentation for Haiku. While any effort to improve our documentation
  is welcome, adding non-sense to it is harmful. Writing proper
  documentation is hard.
* Fixed spelling in a number of cases.
* Please don't write method names without (). Please use \a and \c to
  mark the text accordingly.
2014-03-26 23:47:08 +01:00
Stephan Aßmus
4846299ab9 HaikuDepot: Test some web app features
* Invoke "getPkg" JSON API, doesn't work yet.
 * Download a package icon in HVIF, works nicely.
2014-03-26 23:02:48 +01:00
John Scipione
8d6d2daa3f Time: Remove superfluous MakeEmpty()
Thanks AnEvilYak
2014-03-26 17:51:14 -04:00
John Scipione
aa8033905a Time: Fix memory leak.
BListView::RemoveItem() doesn't delete the item, it just removes it
from the list. We have to delete the item to free the memory it
consumes ourselves.
2014-03-26 17:34:48 -04:00
John Scipione
14d7522197 Time: Style fixes to NetworkTimeView 2014-03-26 17:21:00 -04:00
Dariusz Knociński
39a1e74b08 Time Preferences crashes with empty selection
Application "Time" crashes when you push "Remove" button without any
selection on list of network time servers.

Fixes #10716

Please use git format-patch to create your patches in the future so that
the author information is preserved.

Signed-off-by: John Scipione <jscipione@gmail.com>
2014-03-26 16:56:49 -04:00
Jérôme Duval
aafc3386ef boot packagefs: Fix header path in zlib dependency
Thanks to Ingo for pointing at this better fix.
2014-03-26 19:38:30 +01:00
Adrien Destugues
be18025283 Update Protrekkr package.
This version can be installed. Sorry for the bug.
2014-03-26 15:23:55 +01:00
Axel Dörfler
bff2690587 makefile-engine: fixed build of kernel add-ons.
* Actually, hopefully: not yet tested.
* Automatic whitespace cleanup.
2014-03-25 23:36:26 +01:00
Axel Dörfler
d941d6bac3 Minor cleanup. 2014-03-25 23:36:21 +01:00
John Scipione
fc00fd8d91 build fix try number 2
Process Controller needs private shared headers for StringForSize.h
2014-03-25 15:16:13 -04:00
John Scipione
30dd4e6f70 fix build, update private headers
need to inform these apps that the location of about window has changed,
I must have had stale objects that made it appear to work initially.
2014-03-25 14:46:59 -04:00
John Scipione
9ce450b9c2 AboutWindow: Move to Interface Kit (still private) 2014-03-25 14:17:19 -04:00
John Scipione
a60e98f4a1 AboutWindow: Make setters virtual 2014-03-25 14:07:47 -04:00
John Scipione
78877e7200 AboutWindow: Add FBC padding 2014-03-25 14:07:46 -04:00
John Scipione
293d80be6f BAboutWindow: style fixes
* mostly whitespace fixes
* reorder methods
2014-03-25 14:07:44 -04:00
John Scipione
71e3210d35 AboutWindow: Right-align close button 2014-03-25 13:38:59 -04:00