Commit Graph

56801 Commits

Author SHA1 Message Date
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
Humdinger
b0d251300c WonderBrush version of sticker
A recreation of the sticker designed by Jorge G. Mare in 2010.
Copyright 2010 Haiku Inc. Released under a CreativeCommons Attribution, Noncommercial, Share Alike license.Designed by Jorge G. Mare (koki@haikuzone.net)

As closest approximation to the font, I used FuturaExtended.
We should come up with a better motto than "Inspired by the BeOS".

One layer holds the reverse side with the QR code.
2017-02-27 10:31:58 +01:00
Jérôme Duval
598a62e275 Add sdl_sound, dosbox packages for x86_64.
Update sdl_net, libpcap and pango packages for x86_64.
2017-02-26 20:51:30 +01:00
Augustin Cavalier
0414166a29 kernel/x86/arch_int: Move cast after NULL check.
Spotted by Lioncash (via IRC). No functional change intended.
2017-02-25 15:28:25 -05:00
Lioncash
7c6caa8939 load_driver_settings: Add missing kernel_args_free() call to load_driver_settings_file()
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-02-25 15:16:07 -05:00
autonielx
bccc1aefa4 Properly name the en_GB and the en_CA catalogs 2017-02-25 18:40:09 +01:00
autonielx
e54638cd8c Remove 3dmov catalogs, fixes #12869 2017-02-25 17:37:01 +01:00
autonielx
6834632536 Remove bsnow from catalogs. Fixes #12583 2017-02-25 10:11:33 +01:00
Adrien Destugues
77a91e3e31 Haiku Sticker png preview and SVG sources
Better stored here, than in the mess in website/static/files.
2017-02-25 10:00:57 +01:00
autonielx
ea1235e654 Update translations from Pootle 2017-02-25 06:47:44 +01:00
Alexander von Gluck IV
b3a29dbdb2 xhci: Ensure trb3 is correct endian 2017-02-24 10:58:42 -06:00
Alexander von Gluck IV
85f64f9049 sysinfo: Refactor CPU feature flag display
* Remove duplicated code
* Add new feature flag field introduced with Ryzen
* Add a few missing Intel cache descriptors
* Don't show 80000007 on Intel. Reserved.
* Clean up language to not show "AMD" flags on Intel
2017-02-23 17:47:25 +00:00
John Scipione
e4e6315ff4 PackageInstaller: Use newly created BString::IEndsWith()
...to find files with .pdb extension

Code was subtly wrong in 2 cases:
1) File that ended in pdb but not an extension e.g. filepdb
   erroneously included
2) File that ended in .PDB or other case erroneously skipped
2017-02-21 19:20:03 -08:00
John Scipione
cc04d41c87 BString: Use safestr() to prevent strlen(NULL)
on StartsWith(), IStartsWith(), EndsWith(), and IEndsWith()
2017-02-21 19:20:02 -08:00
John Scipione
dc0b0016ad StringSearchTest: Add unit tests for new methods 2017-02-21 18:03:03 -08:00
John Scipione
17a4134733 StringSearchTest: automatic whitespace cleanup 2017-02-21 18:03:03 -08:00
John Scipione
1eed6ef172 BString docs: document IStartsWith() and IEndsWith() 2017-02-21 18:03:03 -08:00
John Scipione
388ac82baa BString: Add IStartsWith() and IEndsWith() methods
Case-insensitive version of StartsWith() and EndsWith()
2017-02-21 18:03:03 -08:00
Jérôme Duval
85566e032d posix: add _POSIX_SEM_NSEMS_MAX.
* have _SC__SEM_NSEMS_MAX return _POSIX_SEM_NSEMS_MAX, a per team limit
instead of the global limit.
2017-02-21 20:17:16 +01:00