Commit Graph

57243 Commits

Author SHA1 Message Date
Adrien Destugues 0e4ad75e47 Remove more unneeded files from the Locale Kit
All of this is replaced by the single BNumberFormat class.
2017-07-23 09:15:42 +02:00
Adrien Destugues b7cc4ccde6 Remove remaining include of FloatFormatParameters.h. 2017-07-22 19:47:07 +02:00
Adrien Destugues 0597752447 Remove full date format from Tracker date columns
It is too similar to the long format and does not add much value.
And it creates some problems with using a locale format with another's
string.

Fixes #11343.
2017-07-22 19:23:42 +02:00
Adrien Destugues 1416521f10 Notifications: default to application icon.
It is possible to SetIcon(NULL) to remove it.
But in msot cases we want the application icon to be the default.

as discussed in #13590.
2017-07-22 16:11:25 +02:00
Adrien Destugues 1d6af34b9a LocaleKit: remove obsolete files.
Formatting floats is handled by BNumberFormat already.
2017-07-22 12:59:12 +02:00
Adrien Destugues e433b3cfc3 DiskUsage docs: update screenshots.
- Why were we using old BeOS screenshots here?
- Why is this not part of the user guide anyways?
2017-07-22 11:30:52 +02:00
Adrien Destugues 54de05d9d7 Fix error handling in PNG trnalsator
The default error handling code in libpng uses setjmp/longjmp. This is
annoying, because stack variables may be corrupt, unless they are
declared volatile.

Instead of declaring everytihng volatile, we can tell libpng to use
custom error functions, which will throw a C++ exception, making the
code more readable and less crashy.

Also handle the png_read_end function returning errors without failing
the whole decoding. This happens for example in the old diskusage
documentation screenshots, where this function fails after the image was
completely and correctly decoded. Ignoring the error lets ShowImage show
these pictures.

Fixes the crash reported in #6775.
2017-07-22 11:30:52 +02:00
Jérôme Duval ab3a87ed6e BView: use off_t instead of long. 2017-07-21 18:57:57 +02:00
Jerome Duval d4e70d1090 ffmpeg: output B_RGB32 when using libswscale. 2017-07-20 18:23:13 +02:00
Axel Dörfler a1eceb4610 rootfs: directories must not be opened writable.
* Also added support for O_DIRECTORY while at it.
* This fixes bug #13573.
2017-07-20 10:10:20 +02:00
Axel Dörfler 84edb1a177 configure: Bumped GCC version to 2.95.3-haiku-2017_07_20.
* Script would fail otherwise, thanks korli!
2017-07-20 10:01:20 +02:00
Kacper Kasper 2aaee07095 Fix window behavior if default button is present.
* Almost all Enter keystrokes were hijacked without the ability to
  reconfigure.
* Let apps use these shortcuts.

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2017-07-20 09:32:20 +02:00
Humdinger f9e5116412 Updating jam package 2017-07-18 20:50:29 +02:00
Humdinger c5395d791e Added Filwip package for 64bit 2017-07-18 18:03:21 +02:00
Jérôme Duval 8e7468544b Update sane_backends packages for x86_64.
* missed during rebuild.
2017-07-17 21:04:43 +02:00
Adrien Destugues ae2c5eeeab SerialConnect: handle cancelled file transfers.
The remote can cancel a file transfer by sending a CAN character.
Handle this by stopping the transfer and hiding the progress bar.
2017-07-16 16:11:47 +02:00
Adrien Destugues cd4d3a3010 SerialConnect: implement XMODEM-CRC
This is a common extension to XMODEM, which replaces the checksum with a
more resilient CRC.
The receiver must explicitly enable this, so if the receiver doesn't
handle it, the traditional checksum is still used. Hence, this is
backwards-compatible with XMODEM.
2017-07-16 16:00:10 +02:00
Jérôme Duval c57b500a15 libprint: fix invalid use of long. 2017-07-16 11:35:42 +02:00
Adrien Destugues ce058fa0a9 SerialConnect: implement XMODEM send. 2017-07-16 10:21:22 +02:00
Akshay Agarwal b32b6a8633 Fix highlighting current system date in BCalendarView.
Changing the year in Calendar View does not remove the highlighting from
previous highlighted day.

Changing the system date to a date in a different month(different from
the month currently set in calendar view) does not remove the highlighting
from currently highlighted day.

The disabled day number text belonging to the next month (month after
the one currently selected) gets wrongly highlighted while attempting
to highlight the day number text belonging to the current month.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

ticket : #13605
2017-07-16 08:12:50 +02:00
Adrien Destugues 971c5704d5 Nebula: 64bit fix.
The code is written with 32-bit in mind, but "long" isn't always that
size.

Should fix #13604.
2017-07-16 08:11:42 +02:00
Jérôme Duval 0c7d258bb3 Update Haikuwebkit, pyqt, openshot and qt5 packages for x86_64. 2017-07-15 09:11:37 +02:00
hyche bf5d0ce3c8 btrfs_shell for testing btrfs code.
* Adding Jamfile in src/tools/btrfs_shell and include the subdir in src/tools/Jamfile
* Adding system_dependencies.h in btrfs source to include all the system headers
* fs_shell wrapping for btrfs source. If FS_SHELL is defined, compile with fs_shell headers instead.
* Change macro BTRFS_SHELL to FS_SHELL
* Adding btrfs_std_ops function: fs_shell now can recognize and load module
2017-07-14 10:27:07 +02:00
hyche 8864a6cb2b btrfs: Code style
* Using tab instead of spaces
* Pointer/Reference should be next to type
* etc
2017-07-14 10:26:32 +02:00
Akshay Agarwal 8013f2e07d Highlight current system date in BCalendarView.
* Issue: In BCalendarView presently, there is no notion of a current date
and the current date is not highlighted. So in the deskbar tray calendar
which uses BCalendarView, we cannot know the current date once we change
the selected day.
* Fix: Make BCalendarView accept pulse messages, check for system date
with every pulse message and update the current date accordingly.
Highlight the current date by rendering its day number text in a
different color.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

ticket : #13592
2017-07-14 09:44:26 +02:00
Murai Takashi 3ceec1db72 BufferConsumer.cpp: Fix ordered comparison between pointer and zero.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

ticket : #13599
2017-07-14 09:40:30 +02:00
Murai Takashi 11ed104c2d AddressTextControl.cpp: Fix ordered comparison between pointer and zero.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

ticket : #13598
2017-07-14 09:39:43 +02:00
Joseph C, Hill 42123119d2 unistd.h: define _POSIX_BARRIERS
This constant was missing in unistd.h and some applications
use it to check for pthread barriers support.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

ticket : #13601
2017-07-14 09:38:41 +02:00
Automatic Committer a7ba98ee5b Update pci.ids from pciids.sourceforge.net 2017-07-13 05:20:24 +02:00
Jérôme Duval 8375828a9f Add pdfwriter package to the release profile.
noto_cjk_jp doesn't exist, replace with noto_sans_cjk_jp.
2017-07-12 18:54:45 +02:00
Humdinger efef87486c Add pdflib and PDFWriter packages for gcc2 2017-07-12 17:52:56 +02:00
Murai Takashi 16c53b7527 kernel: disable an optimization on GCC6...
as a workaround for crashs.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2017-07-12 17:40:38 +02:00
Jérôme Duval 2d4d0f0ac1 Revert "vfs.cpp: Fix gcc6 crash."
This reverts commit 5b55f6dba9.
2017-07-12 17:36:24 +02:00
Alexander von Gluck IV 0cc293cf32 raspberrypi_arm: Drop old Raspberry Pi 1 boot loader.
* We transitioned to u-boot quite some time ago
* We also are dropping < ARMv7 support
2017-07-11 14:39:13 -05:00
Humdinger d86b44dbf3 Added faac_x86 and cdrtools_x86 packages
Part of mplayer_x86 dependencies.
2017-07-11 19:07:40 +02:00
Murai Takashi 5b55f6dba9 vfs.cpp: Fix gcc6 crash.
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2017-07-11 17:24:07 +02:00
Jérôme Duval 7e6a11ac5d Add pdflib and pdfwriter packages for x86_64. 2017-07-11 16:54:06 +02:00
Alexander von Gluck IV be3bb60b4c Merge branch 'arm-noboards'
* Remove the target-board system.
* From now on, we target generic non-x86 architectures
  while leveraging fdt when needed.
* ARM mmc images will likely need some post-processing to make
  them bootable on individual hardware. (This is actually how
  distros like Fedora handle ARM now. The image 'writer' application
  is told what hardware the image is for and adds a vendor bootloader
  / SPL / u-boot / etc)
2017-07-10 15:19:31 -05:00
Alexander von Gluck IV a01d0e5ae5 arm: Enable mmu tracing. (We're going to need it for a while) 2017-07-10 15:16:55 -05:00
Alexander von Gluck IV f2ed9d80f6 configure: Drop target-board for arm/ppc 2017-07-10 15:16:09 -05:00
Jérôme Duval 51e278c70b Adjust jasper soname for x86_64. 2017-07-10 22:15:19 +02:00
Alexander von Gluck IV f642e558e8 arm: Drop board_config headers 2017-07-10 15:13:49 -05:00
Jérôme Duval ebe9bc05c5 Update llvm and mesa packages for x86_64. 2017-07-10 21:59:10 +02:00
Alexander von Gluck IV aba7320584 u-boot/arm: Add missing floppyboot to mmc 2017-07-10 14:53:04 -05:00
Alexander von Gluck IV f5d7446b5b u-boot: Correct loader base naming 2017-07-10 13:34:29 -05:00
Jérôme Duval 6cc682aab4 Mass update for x86_64.
Highlights:
* update to Qt 5.9
* almost all python2 and python3 recipes were merged. most have now 'any' as
architecture.
2017-07-10 19:22:01 +02:00
Alexander von Gluck IV 1b3c81feeb u-boot: Fix mmc build without target boards 2017-07-10 09:02:56 -05:00
Alexander von Gluck IV 1e82d7bd25 kernel/arm: Work out more board_config's via fdt 2017-07-10 08:19:44 -05:00
Alexander von Gluck IV e40cea64bd u-boot/arm: Initial steps to drop target board requirements 2017-07-09 22:51:50 -05:00
Alexander von Gluck IV 855fc5a0d3 platform/u-boot: Build all fdt's and include in u-boot mmc
* Eventually BoardSetups and target boards will go away.
* Include all known fdt's in the mmc image
* This gets us closer to target board-less arm
* Changing hardware is as simple as plugging a new fdt
  into u-boot's startup script.
* Drop my original rpi1 work.  We're targetting ARMv7
  minimum.
2017-07-09 22:19:51 -05:00