Commit Graph
100 Commits
Author SHA1 Message Date
Adrien Destugues 8ec3837ac8 update libsdl_x86 to include OpenGL viewport fix. 2014-11-07 22:04:11 +01:00
Adrien Destugues a12bde1cf5 bluetooth: fix build.
Fixes #11184.
2014-11-07 21:24:04 +01:00
Adrien Destugues 2c291e65bd Update VL-Gothic fonts to 20140801.
Fixes #9757.
2014-11-07 20:38:58 +01:00
Adrien Destugues f496c617c6 MacDecorator: fix some drawing problems
* Make the buttons pixel-perfect clones of Mac OS 9
* Fix missing drawing of top border when inactive
* Some colors and size tweaks to be closer the Mac OS 9

Remaining problems:
* Does not work well for windows with no tab (eg alerts)
* Still missing the resize knob
* Does not show stack and tile
* Does not show command+opt resize/move highlights
2014-11-07 19:45:28 +01:00
Adrien Destugues 27fc6a70c6 Mandelbrot: allow zooming in any direction
Fixes #8679.
2014-11-07 17:33:50 +01:00
Adrien Destugues 3b218d2d82 Mandelbrot: remove unused file. 2014-11-07 17:24:06 +01:00
Adrien Destugues 053e02b45f Notifications: make "enable on startup" work.
Fixes #9425.
2014-11-07 16:40:14 +01:00
Adrien Destugues c6e1228c8e Fix unresolved catalog access.
The B_TRANSLATE_MARK macro was used before a translation context was
set.
2014-11-07 16:22:15 +01:00
Adrien Destugues c2c84efe20 Upload mesa package fixing be_bold_font issue.
BeOS GL based apps run again.
2014-11-07 16:14:16 +01:00
Adrien Destugues 730344709a Patch libxml used ofr docbook to work with current zlib
Patch from https://git.gnome.org/browse/libxml2/commit/?id=a7e79f28689c574e0bbef17f4cb3da00249181ff

* Fixes #6958
* We should probably use the host libxml2 instead.
2014-11-07 11:14:51 +01:00
Adrien Destugues e8ceef7357 Fix typo in getaddrinfo test. 2014-11-06 18:32:23 +01:00
Adrien Destugues 5592b1d7e0 PatchBay: complain when there are no MIDI devices
The empty window that would show when no MIDI devices are found would
confuse Haiku users. This was not a problem on the BeBox or older PCs
where a sound card with MPU401 port was standard, so there would always
be something to show.

Fixes #9977.
2014-11-06 16:22:09 +01:00
Adrien Destugues fbd8b14ae7 SecureSocket: fix build without SSL. 2014-11-06 15:15:40 +01:00
Adrien Destugues b1b51eddee Network preferences: Set the "auto configuration" flag.
Fixes #11416.
2014-11-06 15:02:01 +01:00
Adrien Destugues bca1813626 Add test for getaddrinfo on empty host.
* This should fail immediately, but it timeouts after 22 seconds when
the network interfaces are not configured properly.
2014-11-06 15:02:00 +01:00
Adrien Destugues 5ee2151e2c BHttpRequest: propagate SSL errors to listener
This way it's possible to handle them in applications.
2014-11-06 15:02:00 +01:00
Adrien Destugues c86ad7f93b Add more features in BCertificate class
* Make it possible to extract more useful data from the certificate
* Also get the OpenSSL error message when a certificate can't be
validated. Send it to the verification failure callback so it can be
shown to the user.
2014-11-06 15:01:59 +01:00
Adrien Destugues 3b657701db BCertificate: fix parsing of date and name. 2014-11-06 15:01:58 +01:00
Adrien Destugues 6195bee580 GIF and WebP translators: force layout of parent window
Translators are now allowed to use the layout API, but this doesn't work
well when they are used in a non-layout aware window (the view ends up
with a size of 0x0 or some arbitrary size set with
SetExplicitPreferredSize).

To avoid this, detect the case where the translator settings are the
single child of a non-layout window, and force the window to become
layouted.

Fixes #7754.
2014-11-05 21:13:27 +01:00
Adrien Destugues e1ca0f4e32 BootManager: partition list scrolling with a BViewPort.
Fixes #7360.
2014-11-05 16:49:17 +01:00
Adrien Destugues 6f3ad852a3 CodyCam: Fix gcc4 build. 2014-11-05 16:16:16 +01:00
Adrien Destugues b3b96925f5 CodyCam: show fatal errors in the video view
... instead of using an alert.

Also add a fancy border and some style fixes.

Fixes #3320.
2014-11-05 15:42:46 +01:00
Adrien Destugues f98814b714 Network prefs: build fix. 2014-11-05 14:30:20 +01:00
Adrien Destugues e743f8460d CID 1251070: Use of uninitialized value 2014-11-05 14:09:47 +01:00
Adrien Destugues a84ff8f625 CID 1251073: unused member. 2014-11-05 14:07:15 +01:00
Adrien Destugues 0fd8f3463a CID 1251074: uninitialized member. 2014-11-05 14:05:58 +01:00
Adrien Destugues babb221d62 Network preferences: Uninitialized pointers.
CID 1251080, 1251077, 1251076, 1251075, 1251068
2014-11-05 14:04:37 +01:00
Adrien Destugues 81a96270e5 CID 1251078: uninitialized field. 2014-11-05 14:02:13 +01:00
Adrien Destugues 84f0fbbb61 CID1251079: unused member. 2014-11-05 14:02:10 +01:00
Adrien Destugues 332240b654 CID 1251081: unused value. 2014-11-05 13:50:52 +01:00
Adrien Destugues 3b12362830 Add packages for most and slang
most is a replacement for less (why settle for less?). I've been using
it for some time and it works well, so making it more easily available.
2014-11-05 13:06:44 +01:00
Adrien Destugues 02591b8b71 Handle armv7hl as an host compiler architecture.
Thanks to dsjonny for noticing that was missing!
2014-11-05 11:44:51 +01:00
Adrien Destugues 68cd839edf Add droid fonts package. 2014-11-04 10:59:36 +01:00
Adrien Destugues 31c3214ef2 Revert "Intel partition: activate the first created partition."
This reverts commit d0a662e20a.

It is better to handle this in Installer when we know which partition
will actually be the system one.
2014-11-04 10:59:35 +01:00
Adrien Destugues 43e35cdeba Add package for psiconv. 2014-11-02 16:35:22 +01:00
Adrien Destugues a7459df4c9 Revert fixing warnings in acpica.
This is an external library so it should not be modified. It should be
moved to src/libs to make this clear, or even better, be outsourced as a
package.
2014-11-02 09:40:19 +01:00
Adrien Destugues f381456740 Fix errors when building with DEBUG=2
Fixes #8306. Please define DEBUG in UserBuildConfig or Jamfiles if
needed.
2014-10-31 16:49:36 +01:00
Adrien Destugues 6109f53bc6 App_server: fix various issues with hardware cursors
* X and Y coordinates of hot point were swapped for 1-bit cursors
* Prefer color cursor over 1-bit one if possible
* Adjust the XOR/AND masks for 1-bit cursors to what the hardware
expects
* Handle switching etween hardware and software cursor.

Patch by Looncraz and Ziusudra, fixes #9261.
2014-10-31 14:54:48 +01:00
Adrien Destugues d0a662e20a Intel partition: activate the first created partition.
The default MBR relies on at least one partition being active. The first
one sounds like a good choice.

Fixes #7930.
2014-10-31 14:12:44 +01:00
Adrien Destugues a62c3f918c usb_webcam: fix build. 2014-10-31 13:46:47 +01:00
Adrien Destugues dff211d8a6 Build media add-ons for secondary arch.
Fixes #10049.
2014-10-31 12:20:52 +01:00
Adrien Destugues 87d0590f60 pkgman: better download progress bar
* Use Unicode block drawing characters to provide sub-character accuracy
* Also display the download progress percentage as a number

When downloading big packages this helps seeing that the bar continues
moving and that the download is not stalled.
2014-10-30 23:21:02 +01:00
Adrien Destugues a13654e089 Network: add field for setting the domain. 2014-10-30 21:24:23 +01:00
Adrien Destugues 8aaad21dea Change the new net preflet mimetype to match the old one
This lets NetworkStatus and possibly other apps find it again.
2014-10-30 19:52:43 +01:00
Adrien Destugues c00e34900a Network: 64bit fix. 2014-10-30 16:15:25 +01:00
Adrien Destugues 1508dc5c41 network prefs: fix jamfiles and include into image.
* There are some rough edges, but the functions from the existing
preflet are all available now.
2014-10-30 15:49:08 +01:00
Adrien Destugues a0c8a64b47 Move the new network preflet at the right place. 2014-10-30 15:49:07 +01:00
Adrien Destugues 446094bcb3 Implement saving DNS server list.
This makes the preflet good enough for replacing the current one.
2014-10-30 15:49:05 +01:00
Adrien Destugues 824404e31f NetworkSetup: add the Services tab
* UI still needs some tweaking
* The Services tab has a list of services. This currently include DNS
and will soon also include the services listed in xinetd.
* The DNS tab allows to manage DNS servers (settings can't be saved yet)
2014-10-30 11:27:38 +01:00
Adrien Destugues 524709ea2b Avoid space after -include.
This seems to make cpp unhappy. Note that other fixes seems to be needed
to get the build running with gcc2 (missing includes and the like.)
2014-10-29 23:19:49 +01:00
Adrien Destugues 920be2076f Re-enable raw audio ffmpeg output. 2014-10-29 23:19:48 +01:00
Adrien Destugues de6278fec1 NetworkSetup: move renegociate and disable buttons to HardwareView
The idea is making the interface list a generic list to add some stuff
that are not interfaces there (ie services: DNS, FTP, SSH, ...)
2014-10-29 22:22:16 +01:00
Adrien Destugues afc5d438a7 Add an app server test for stack&tile
Should help with debugging #8569.
2014-10-29 22:22:15 +01:00
Adrien Destugues 57810fe9e0 Sounds: zoom to fit instead of going fullscreen.
Fixes #5588.
2014-10-29 10:55:04 +01:00
Adrien Destugues 3a8e734bdd Sounds: make private methods private. 2014-10-29 10:20:46 +01:00
Adrien Destugues c54aa3df3f Sounds: rework layout of window
* Remove useless BBox
* Use unicode symbols for play/stop buttons instead of a label
* Since the buttons are smaller, put them on the same line as the file
selector.
2014-10-29 10:03:11 +01:00
Adrien Destugues f26118f286 Change error code for already mounted partition to B_BAD_VALUE.
As Axel pointed out, B_BAD_DATA is not the correct code here. B_BUSY
could be used but I wantd a code different from the existing one for
"partition already being initialized".
2014-10-29 08:44:52 +01:00
Adrien Destugues 4ed39e6a62 disk device manager: check that partitions are unmounted before uninitializing.
when uninitializing a partition or a disk (removing the partition
table), check that all partitions from that table are unmounted, as they
are about to become invalid.

Fixes #8827.
2014-10-28 23:52:57 +01:00
Adrien Destugues 04dbe5b1c5 safemode.h: make it usable from C code. 2014-10-28 23:52:22 +01:00
Adrien Destugues 33d3467372 Fix documentviewer package.
The dependency to openjpeg was incorrect, making the package
uninstallable.
2014-10-28 23:27:41 +01:00
Adrien Destugues b36eccad70 Add avra package. 2014-10-28 22:42:59 +01:00
Adrien Destugues 1837fcbfad Disable Werror for firewire again.
There is apparently no way to get all compilers happy at the same time.
2014-10-28 10:57:33 +01:00
Adrien Destugues 44192f9915 firewire: warning fix again.
Sorry, it seems I wasn't fully awake yet...
2014-10-28 10:45:19 +01:00
Adrien Destugues e0e8bf6005 DocumentViewer: update to current mupdf.
This fixes most of the crashes when opening PDF files with it.
2014-10-28 09:43:12 +01:00
Adrien Destugues 35ba39e97f Add packages for popt, protobuf_x86, mosh_x86. 2014-10-28 08:52:30 +01:00
Adrien Destugues 5d5ec05b1d B*Format: make immutable and remove locking
The language and formatting conventions can now only be set when
creating the objects. This removed the needs for locking them when
formatting to avoid some other thread changing the format while it's
being used.

Adjust tests and DeskBar TimeView to the API changes.
2014-10-27 14:08:42 +01:00
Adrien Destugues c0e645210a Add packages for Giddy3 and imagemagick.
* Also fix SDL which had a problem with OpenGL viewport size
initialization.
2014-10-26 20:28:23 +01:00
Adrien Destugues 850f2d1e58 Add the at() method to C++ vectors.
* There is no reason not to have this.
2014-10-26 20:28:21 +01:00
Adrien Destugues bad2098fd5 HaikuWebKt 1.4.6. 2014-10-24 21:23:17 +02:00
Adrien Destugues 94bb430963 Revert update to ffmpeg 0.11.5 for gcc2.
More testing shown that it crashes when decoding some videos which
work with 0.10 (mostly h263 and h264). Gcc4 versions does not seem to
have a problem, so we can keep the update at least there (WebKit and
other gcc4 compiled apps will use it).

Note that the changes in the media plugin are not reversed: they are
compatible with both ffmpeg versions.
2014-10-24 19:09:16 +02:00
Adrien Destugues a975642268 Update ffmpeg for x86_64. 2014-10-24 09:53:07 +00:00
Adrien Destugues c8d6d0408f Update to ffmpeg 0.11.5.
I could not reproduce the issues in #8856 with this build. Let me know
if you run into files that don't play anymore.
2014-10-24 11:28:37 +02:00
Adrien Destugues 84e70401cd ffmpeg plugin: update to 0.11.5. 2014-10-24 10:54:07 +02:00
Adrien Destugues 7a71a43eaa Add package for gcc6809, lwtools, and dependencies. 2014-10-23 23:10:38 +02:00
Adrien Destugues 2672ea45e0 T9: fix gcc4 build and enable Werror. 2014-10-23 23:10:37 +02:00
Adrien Destugues a8e95151f6 Add package for SDCC (Small Device C compiler)
A compiler targetting various 8 to 16 bit architectures, including z80.
2014-10-23 21:11:54 +02:00
Adrien Destugues 9e19f58294 aiff_reader: fix for hybrid build.
* Not really useful now that ffmpeg can decode AIFF correctly...
2014-10-23 09:12:00 +02:00
Adrien Destugues 9fe5caaee5 Remove useless file.
* This is a leftover of in-tree ffmpeg and was not included anywhere.
2014-10-23 09:11:18 +02:00
Adrien Destugues 96dbc7d533 Remove the workaround for #11018 in two other places.
The bug is fixed, the workaround can be removed.
2014-10-23 09:10:57 +02:00
Adrien Destugues b137575c46 AreaTest: 64bit fix. 2014-10-22 19:36:05 +02:00
Adrien Destugues 5dbd0f48cc gcc4 fix. 2014-10-22 18:58:37 +02:00
Adrien Destugues 377c5aecf0 Fix AIFF decoding with ffmpeg.
AIFF files are little endian. ffmpeg detects this just fine, but we
overwrote the endianness in the decoded format info with
B_MEDIA_HOST_ENDIAN right after setting it.

Now we can decode both AIFF and WAV files just fine.

Fixes #7047.
2014-10-22 17:26:18 +02:00
Adrien Destugues 1560410ff4 AIFF mimetype: fix sniffing rule.
AIFF files follow EA IFF spec and start with a FORM chunk. They never
start with AIFF or AIFC directly.

See for example:
http://www.onicos.com/staff/iz/formats/aiff.html
http://paulbourke.net/dataformats/audio/
2014-10-22 15:50:10 +02:00
Adrien Destugues 72d4735712 Register media add-ons on BMediaFormat::GetFormatFor().
* Fixes #11018.
* In this case the FormatManager format list is accessed without going
throught the AddOnManager, so we must tell the AddOnManager to register
the add-ons (as this is what populates the FormatManager format list).
* Remove now unneeded workaround in mp3_decoder_test.
2014-10-22 15:25:06 +02:00
Adrien Destugues 2d88b1bd33 convert mediaDescriptions test to cppunit. 2014-10-22 14:30:19 +02:00
Adrien Destugues ce299207f8 Convert SizeofTest to cppunit. 2014-10-22 11:34:14 +02:00
Adrien Destugues 2521f8ea39 Convert BufferTest to cppunit. 2014-10-22 11:11:55 +02:00
Adrien Destugues 55935df47d Convert AreaTest to cppunit. 2014-10-22 10:26:37 +02:00
Adrien Destugues d21b5a07e6 AreaTest: style fixes. 2014-10-22 10:12:24 +02:00
Adrien Destugues 015a928b88 Notifications: use a single settings file.
There were 3 setting files, each an archived BMessage. Now there is only
one with all the data inside.
* Rework the SettingsPane class to save and load settings from a
message, rather than having each panel pick a file path on its own
* Move saving the app filters to the preference app, rather than the
server (so it's done at the same place as other settings)
* Rework loading prefs in the server so the settings message is read
from the file once and all settings are loaded from it.

This turns out to be more changes than I anticipated.
Fixes #9424.
2014-10-21 18:53:06 +02:00
Adrien Destugues 9bf4e99477 BUrl: IDNA ToUnicode and ToASCII conversions.
* Since DNS are normally restricted to ASCII, the use of UTF-8 in domain
names is implemented using a "punycode" encoding.
* The request to the DNS server must be sent with the ASCII
representation of the domain name, however the Unicode one should be
used for user-visible parts.
* ICU provides an implementation of the conversion, which we use here.
* Conversion is currently done in-place and modifies the BUrl object
(this is similar to UrlEncode/UrlDecode).
* Adjust existing IDN test to make use of these methods. It's passing
now.
2014-10-21 14:43:13 +02:00
Adrien Destugues d341a585ae Add more tests for BMessageFormat.
* Negative and null values, big values, thousands separators (in
different languages), string with no format, non-printable and non-utf8
charcaters, format not using # for the number.
2014-10-21 12:21:50 +02:00
Adrien Destugues c06fd79574 Chart: fix endianness swap.
* This is most likely dead code currently (it is used only when the
framebuffer is big endian, and the the cpu is little endian)
* Fixes a warning.
* Can't confirm if B_SWAP_INT32 is really supposed to swap the value
in-place, or if this is a bug in Chart. Probably the latter.
2014-10-21 11:53:22 +02:00
Adrien Destugues 06f436b3ac Use strict mode when url-decoding file requests.
We don't want '+' to become a space here.
Fixes #11109.
2014-10-21 11:31:48 +02:00
Adrien Destugues 6da9451eba UrlTest: cleanup IDN tests. 2014-10-21 11:31:47 +02:00
Adrien Destugues bb2a5b4db5 DateTimeFormat: set the locale to the pattern generator.
Unfortunately this isn't enough to fix the bug shown by the test just
added.
2014-10-20 17:24:50 +02:00
Adrien Destugues 980b1bd045 Add more tests for the DateTimePatternGenerator
There are unexpected results in some cases, with the clock switching to
12 hours format even though the locale is set to use 24 hours.
2014-10-20 17:23:24 +02:00
Adrien Destugues 9c5d1aa295 Fix infinite recursion in agg when drawing bezier with invalid points
* Patch extracted from http://trac.osgeo.org/mapserver/ticket/3862
* Fixes #6738
2014-10-20 15:54:58 +02:00
Adrien Destugues b5440720ae ScreenSaverSelector: fix drawing of "stop" icon
* Use B_SUBPIXEL_PRECISE and remove incorrect rounding
* Drawing the bar of the stop sign just 1 pixel off was really ugly.
2014-10-20 09:05:57 +02:00
Adrien Destugues e6e764b34f Enable Werror for accelerants and input server filters 2014-10-19 12:59:39 +00:00