Commit Graph

56819 Commits

Author SHA1 Message Date
autonielx
663a6ac2f9 Update translations from Pootle 2017-03-18 06:40:38 +01:00
Brian Hill
93b87bac1f Add Noto Sans Symbols as a fallback font
Haiku should be able to display more symbol characters now with this
as a fallback font.
2017-03-16 18:10:18 -04:00
Automatic Committer
5487ff036f Update pci.ids from pciids.sourceforge.net 2017-03-16 05:20:15 +01:00
Hy Che
3f73d5625c Fix crash when mounting btrfs volumes
Found item has data offset higher than block size. Move the stream to get the
data. If the data does not fit in the block, fetch it directly from the device.

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

Fixes #12788.
2017-03-13 19:43:44 +01:00
Humdinger
4135f1fd20 Update makefile-engine doc to v2.6
Grammar, formatting, updated paths etc.
2017-03-13 19:33:40 +01:00
Alexander von Gluck IV
63863c9849 cpu_type.h: Fix missing ;, sorry for spam 2017-03-12 15:11:02 -05:00
Alexander von Gluck IV
54066ddbb7 OS.h: Add AMD Ryzen CPU name identification.
* Update cpuidtool.c to new post-smp rework name
  calculation
2017-03-12 14:46:02 -05:00
Humdinger
7fe3746703 Updated ffmpeg packages for gcc5
Update:
3.2.4-1 for gcc5
0.10.16-1 for gcc2

Added packages needed for building 2ndary arch gcc2:
libmodplug and libtool
2017-03-12 11:21:02 +01:00
Dariusz Knociński
b03efd582a df: adjusted width of columns and unit names
- Larger columns to fit new name of file system and new default mount points.
- Correct unit names based on norm IEC 60027-2.

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

Fixes #13312.
2017-03-12 10:47:52 +01:00
Kevin Wojniak
4d8811742f Fix client hang when HEAD request is sent to PoorMan
If a HEAD request was sent to PoorMan, for example from curl
("curl --HEAD http://x.x.x.x") then the client would hang due to the connection
never being closed.

In PoorManServer::_Worker, after httpd_start_request() is called, a null
file_address is used to detect when libhttpd has already sent a directory
listing. In this situation, PoorMan assumes libhttpd already fully handled the
request. However httpd_start_request() didn't properly set this flag for HEAD
requests. In the if block for a null file_address, the file descriptor was
incorrectly invalidated, which prevented the connection from closing. Fixing
this revealed two more bugs. The first is libhttpd was not actually sending
the http headers for HEAD directory listing requests. The second is
PoorManServer would increment its hit count for HEAD directory listing
requests. This change also refactors file_address to a more sensible name and
type that reflects its use.

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

Fixes #13347.
2017-03-12 10:39:09 +01:00
Vivek Roy
fdd3fd9e06 MediaConvert: Added error messages
... when converted file cannot be writen to destination

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

Fixes #12334.
2017-03-12 10:31:40 +01:00
Brian Hill
ad7783e44d Updates to SoftwareUpdater
Committing work done to make SoftwareUpdater functional.  The
application will find available updates, confirm with the user to
apply updates, download packages and apply them.  There are a few bugs
and features remaining to be fixed and completed:

*Bug with window resizing after packages start downloading- list view
	does not resize down
*Tooltips to be implemented (showing repository and other details)
*Proper handling of no network or failed repository connections
*Testing of the problem solver
*Mode to only check for availability of updates and post notification
	with results
2017-03-11 15:27:52 -05:00
Humdinger
74972d36d5 Updated fRiss, Weather, Noto font
Noto package now includes NotoSansSymbols-Regular.ttf
2017-03-11 19:08:03 +01:00
Brian Hill
69478e07cb Change Repositories checkmark to plain text
The checkmark symbol is not available in the Noto font, replacing it
with plain text language until font fallback for symbols can be
implemented.  Fixes #13368
2017-03-11 07:50:33 -05:00
autonielx
966f3ffd31 Update translations from Pootle 2017-03-11 06:40:37 +01:00
Anirudh M
5f020e718c Changed String in RepositoriesView
Fixes #13365

Signed-off-by: Humdinger <humdingerb@gmail.com>
2017-03-10 16:53:46 +01:00
Humdinger
b79a7cde5c Updated packages for x86. 2017-03-10 16:49:27 +01:00
Dario Casalinuovo
98f2303da5 PluginManager: Fix memory leak.
* Fixes #13126.
2017-03-10 02:00:36 +01:00
Dario Casalinuovo
5854fc4a7a MediaClient: Add remaining wiring for input/output functionality
* BufferReceived is renamed HandleBuffer.
* Update doc.
* Implement buffer production private methods.
2017-03-10 01:02:15 +01:00
Humdinger
58be34781b Additions to AboutSystem credits
Added Brian Hill to the "Maintainers" and Vidrep to the
"Contributers".
2017-03-09 17:23:02 +01:00
Automatic Committer
097f4ae572 Update pci.ids from pciids.sourceforge.net 2017-03-09 05:20:16 +01:00
Jim Barry
ba62028d23 Fixed bug exposed by g++ warning "unused parameter ‘char_map’".
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-03-08 15:59:54 -05:00
Jim Barry
d47434c2ec Added "explicit" specifier to constructors that would otherwise allow undesirable implicit conversion from integer types.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-03-08 15:59:46 -05:00
John Horigan
2651cf9b02 Only create VS6 bugfix routine if we are running VS6 and actually use it, this is to prevent an annoying warning about unused code
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-03-08 15:01:41 -05:00
John Horigan
3c69a2e24d Add agg_renderer_base::fill(color&) method for blending a color. Complements the clear(color&) method, which copies the color.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-03-08 14:59:40 -05:00
John Horigan
cb743deb19 Add const qualifier to multiply and divide operators for agg_trans_affine/perspective
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-03-08 14:52:10 -05:00
Murai Takashi
58916d4a36 agg_scanline_u.h: fix wrong base_type
As pointed out at https://sourceforge.net/p/agg/svn/37

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-03-08 13:26:56 -05:00
Murai Takashi
adad0931a6 libtracker: add B_TRANSLATE to List view menu.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-03-08 12:37:25 -05:00
Humdinger
488681e734 Updated ArtPaint package
Layout improvements and bugfixes by owenca. Thanks!
2017-03-05 17:11:09 +01:00
Adrien Destugues
34fbc56b3f Complete the transition to Noto as the default font.
- Both Noto and Noto Sans CJK JP are now used as font fallbacks,
  allowing to cover a rather large range of characters. This also makes
  it possible to mix the two fonts easily.
- Remove VL-Gothic from packages and from AboutSystem
- Add Noto fonts to the dependencies of the Haiku package.

This provides a similar look for all languages as discussed on the
mailing list.
2017-03-05 12:58:17 +01:00
Humdinger
64e5cee534 Update SynC Modular package
* Added a "Free registration" text file. As the user has to
  re-register from time to time for some reason, it may be
  easier to find the info in a text file in the app's folder
  than looking into the decription of SynC Modular in HaikuDepot.
2017-03-04 19:26:41 +01:00
Humdinger
762f60ba64 Added package Sync Modular
... the fantastic modular synthesizer now as HPKG.
2017-03-04 16:47:28 +01:00
autonielx
e31459a177 Update translations from Pootle 2017-03-04 06:43:08 +01:00
Humdinger
28a0ac611d Update Vision for x86 architecture 2017-03-03 19:26:53 +01:00
Dave Thompson
e378617b62 Removed INBOX check inside IMAP protocol's GetFolder method
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2017-03-01 22:47:51 +01:00
Fredrik Holmqvist
8bc91c5e0f Prettify code. 2017-03-01 22:44:04 +01:00
Fredrik Holmqvist
73c5d705cd Use static inline (gcc2 issue). Some format cleanup. 2017-03-01 20:32:37 +01:00
Fredrik Holmqvist
5e3916baee FreeBSD compability layer optimized read and writes.
FreeBSD has a simple inlined bus_space_read while Haikus had one
with call overhead.
This still needs cleanup as it is x86 specific, which it was already.
Also it redefines inX and outX defines as arch/x86/arch_cpu.h has a
C++ namespace so it can't be included from FreeBSD drivers C-files.

The results of these changes should be worth it though.
2017-03-01 18:32:18 +01:00
Kyle Ambroff
df3ba9532d Don't query DNS when statically configuring an interface
Fixes #12399

The Network preferences app was querying DNS to find a hostname
associated with the IP address, netmask and gateway when statically
configuring an interface. This is obviously unecessary and leads to
unexpected blocking when DNS is not available.

Adding B_NO_ADDRESS_RESOLUTION flag to disable the reverse lookup.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-02-28 18:53:06 +01:00
Dariusz Knociński
5f56133770 Polish.keymap: added further four glyphs: '«', '»', '±' and '°'.
Programmer's keyboard, layout compatible with Linux:

    '«' - U+00AB, UTF-8: 0xC2AB, Alt_Right + '9'
    '»' - U+00BB, UTF-8: 0xC2BB, Alt_Right + '0'
    '±' - U+00B1, UTF-8: 0xC2B1, Alt_Right + Shift + '9' [+ CapsLock]
    '°' - U+00B0, UTF-8: 0xC2B0, Alt_Right + Shift + '0' [+ CapsLock]

Signed-off-by: Humdinger <humdingerb@gmail.com>
2017-02-28 09:06:33 +01:00
Julian Harnath
a261f270ed Add FuseSMB-Haiku package
* FuseSMB provides access to shared files and folders over SMB.
  It features automatic discovery of servers and shares and
  displays them as a folder hierarchy in a virtual volume on the
  desktop

* Supports interactive authentication to access shares which require
  login. Just open it, and a dialog pops up. Login data is stored in
  BKeyStore.

* Comes with a network preferences add-on to easily enable and
  configure it. No barbaric manual typing of mount commands required!

* Makes use of Haiku FUSE extensions to give custom MIME types with
  icons for workgroup/share/server folders. Thanks again to humdinger
  for designing the workgroup and share icons!

* Although the used libsmbclient only supports SMB protocol
  version 1, performance is decent enough. Getting around ~75MiB/s
  reading over a GbE link here
2017-02-28 02:03:32 +00:00
Julian Harnath
662dfd3a3f posix_error_mapper: fix pthread_mutex*_get*()
* Commit 0bec83a8 added const to the signatures of
  pthread_mutex*_get*() functions. The declarations in
  posix_error_mapper now didn't match that anymore, so the
  extern C was lost, adding C++ mangling to the functions
  from posix_error_mapper. This made linking applications with
  posix_error_mapper fail.
2017-02-28 01:12:26 +00:00
Augustin Cavalier
59bdca5dd4 kernel/x86/arch_int: Style fixes.
Thanks Axel for the review.
2017-02-27 18:14:26 -05:00
Julian Harnath
5d9f944f0a Use common MIME table in FAT and NTFS, too
* Last commit put the file-extension-to-MIME-type table and associated
  code into a shared location. So now we can remove it from the FAT
  and NTFS FS add-ons (they both had their own copy) and use the shared
  one there as well, removing the code duplication.
2017-02-27 19:58:24 +00:00
Julian Harnath
6ced92452c FUSE compat: add MIME type faking
* Add special handling for reading the BEOS:TYPE attribute to supply
  on-the-fly fake MIME types for FUSE module filesystems, the same
  way it's done in our FAT and NTFS FS modules

* Reuse the mime_ext_table which we already have and put it into a
  shared location so we don't get further extra copies of it
2017-02-27 19:58:22 +00:00
Julian Harnath
5adf34b0d5 FUSE compat: add support for attribute reading
* Implement reading extended file attributes in FUSE modules,
  using getxattr()

  getxattr() is a quite limited API, not allowing to specify a read
  offset. So we read in the entire attribute value into a buffer and
  store in the cookie. This shouldn't be a problem memory-wise, since
  xattr implementions usually have limitations regarding attribute size
  anyway, so it'll rarely be more than a few kilobytes.

* Writing, renaming, and removing attributes is not yet implemented
2017-02-27 19:58:19 +00:00
Julian Harnath
1b4f5f9b94 FUSE compat: fall back to truncate if no ftruncate
* As defined by the FUSE interface: if the FUSE module doesn't
  implement ftruncate(), fall back to using truncate() instead
2017-02-27 19:58:17 +00:00
Julian Harnath
6297d6c73b FUSE compat: fill in some stat infos for getattr
* Prefill struct stat with some information which the FUSE module
  doesn't necessarily fill in
2017-02-27 19:58:15 +00:00
Julian Harnath
1263be8fc4 FUSE compat: add Haiku extension
* Add a way for a FUSE module to supply Haiku-specific extensions.
  This allows it to integrate better with Haiku while only requiring
  minimal changes on the FUSE module itself.

* For now, there is only one extension: another function pointer for
  "get_fs_info", which lets the FUSE module fill in an fs_info struct.
  FUSE provides no good way to otherwise communicate extra information,
  such as the volume flags (e.g. B_FS_IS_SHARED).

* A FUSE module can signal that it supports the Haiku extensions by
    a) defining HAS_HAIKU_FUSE_EXTENSIONS before including the fuse
       headers
    b) setting the global variable gHasHaikuFuseExtensions to 1 in
       its initialization
  Otherwise, the Haiku extensions are completely invisible to the
  FUSE module.
2017-02-27 19:58:13 +00:00
Humdinger
94d8409150 Added square Haiku logos
These are made from the sticker "haiku-sticker-3.5x2".
Quick preview at http://img.ctrlv.in/img/17/02/27/58b425e23a6fb.png

A "Haiku" text layer and a 1-pixel frame are on separate layers,
that are set invisible. Not sure if we should always show the "Haiku".
Looks better without in my opinion, but depending on where it'll be
used, showing the text may be desired...

When used for small logos, like  64px, simple scaling might not cut
it, and the yellow and orange "hills" need to be made wider.
2017-02-27 19:21:46 +01:00