56910 Commits

Author SHA1 Message Date
Alexander von Gluck IV
b3a29dbdb2 xhci: Ensure trb3 is correct endian hrev50973 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
hrev50972
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
hrev50971
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.
hrev50970
2017-02-21 20:17:16 +01:00
Jérôme Duval
13da51e907 WebWatch: Remove.
* Outsourced to HaikuArchives for the source, Haikuports for the package recipe.
hrev50969
2017-02-21 20:05:02 +01:00
Jérôme Duval
0bec83a85a pthread: add const for pthread_mutex*_get*()
according to the spec. Fixes #13324.
* code style clean up.
2017-02-21 20:05:02 +01:00
Jérôme Duval
4f10ef40b9 pthread: check parameters for pthread_barrierattr_*pshared().
* fixes #13323.
2017-02-21 20:05:02 +01:00
Fredrik Holmqvist
9b264ecce1 Second try att enabling Werror for ACPI hrev50968 2017-02-21 19:28:33 +01:00
Fredrik Holmqvist
f18e21a832 Cast ACPI UINT32* to uint32* to avoid warning on 32 bit builds. 2017-02-21 19:27:13 +01:00
Fredrik Holmqvist
95c239a3fb Revert "Treat warnings as error for ACPI."
Better do a recheck on 32 bit first, my old checks from a few
months ago doesn't seem valid anymore.

This reverts commit 7212666f4a36fcd7d04e19676128df38ef4fdcdd.
hrev50967
2017-02-20 16:44:27 +01:00
Fredrik Holmqvist
584a39688c Log ACPI address and size as 64 bit
Even on 32 bit machines the default is to use 64 bit addresses
because of PAE. Haiku currently forces 32 bit addresses which
probably should be fixed.
See achaiku.h: define ACPI_32BIT_PHYSICAL_ADDRESS
hrev50966
2017-02-20 16:26:43 +01:00
Fredrik Holmqvist
7212666f4a Treat warnings as error for ACPI. hrev50965 2017-02-20 15:25:53 +01:00
Fredrik Holmqvist
fe3f23d202 Temporary fix for warning, until we have a better fix from upstrea,. 2017-02-20 15:24:56 +01:00
Fredrik Holmqvist
28de88fee1 Our stripped ACPI don't use/export utprint.c
Fixes a few warnings.
ACPICA comes with many extras, and they are easy to add
when needed.
hrev50964
2017-02-20 14:58:20 +01:00
Fredrik Holmqvist
6a9b063b74 Casting string constant to ACPI_STRING to fix warning 2017-02-20 14:32:55 +01:00
Fredrik Holmqvist
7c9a09d0e0 Casting string constant to ACPI_STRING to fix warning 2017-02-20 14:32:05 +01:00
Fredrik Holmqvist
06f719d1c3 Fix printf warnings for addr and size args 2017-02-20 14:26:32 +01:00
Humdinger
0446f6b25f Updated dosbox package
Needed a re-build because of an incorrectly declared libsdl_net that
prevented installing the package.
hrev50963
2017-02-20 08:40:24 +01:00
Axel Dörfler
a90df70af5 bfs: Fixed leaking cookie regression.
* Introduced with the last commit.
hrev50962
2017-02-19 18:22:28 +01:00
Augustin Cavalier
7abafe9f3f Revert "Revert "Switch from DejaVu to Noto font""
This reverts commit 2423ba84701f064cb78a40010113a8a45cc02a92.
hrev50961
2017-02-19 12:09:33 -05:00
Humdinger
d54cb434e0 Layout fixes to Tracker's Get Info window
This corrects hrev50847. Turns out we need 8 lines for normal
files and symlinks, not 7. Fixes #13308.

The "Opens with:" label used the decreased font size set in
src/kits/tracker/InfoWindow.cpp:894. Increase font size by 2 again
for the label.
hrev50960
2017-02-19 09:06:49 +01:00
Augustin Cavalier
2423ba8470 Revert "Switch from DejaVu to Noto font"
This reverts commit 945566ff43583e4f8102b4440c88f53dae775cb4.

As discussed on the mailing lists and with Humdinger off-list:
 * The general design concensus tends slightly towards DejaVu, as metrics
   of DejaVu look much better (DejaVu 12 and Noto 13 are roughly the same size,
   but Noto has much wider margins with that)
 * While Noto does have a wider set of fonts with support for lots of
   different languages, DejaVu actually has built-in support for more
   Unicode languages (the default Noto has, as far as I can tell, only
   Latin/Greek/Cyrillic [2416 glyphs], while DejaVu also has Armenian, Georgian,
   and a few other scripts too [5119 glyphs].)
 * The worse rendering of DejaVu appears to have been somewhat rectified by
   disabling the average-based subpixel filter in app_server.
hrev50959
2017-02-18 14:36:36 -05:00
autonielx
fc4167a801 Update translations from Pootle hrev50958 2017-02-18 06:57:26 +01:00
Alexander von Gluck IV
deb1a31972 Revert "configure: Add host as valid build target in help."
This hack is no longer needed.

This reverts commit ea74aafd98c609b418c71a76689b143ddca5dc6c.
hrev50957
2017-02-17 13:12:51 -06:00
Alexander von Gluck IV
2be19c58e9 build: Prevent recursive jam loops on host-only #13309
* When --host-only is used, HAIKU_*ARCH is undefined.
* Various architecture variables are undefined resulting
  in architecture dependant code paths getting called
  recursively.
  (blah/Jamfile loads blah//Jamfile vs blah/x86/Jamfile)
* Another option is setting HAIKU_*ARCH to the host arch
  if undefined, but that might have unintended impacts.
2017-02-17 13:01:31 -06:00
Dariusz Knociński
27b0f5295d Now Polish apostrophe quotes working with Shift & CapsLock.
Signed-off-by: Humdinger <humdingerb@gmail.com>
hrev50956
2017-02-16 19:13:20 +01:00
Dariusz Knociński
ecfebf3db6 Added Polish apostrophe quotes to Polish.keymap.
Signed-off-by: Humdinger <humdingerb@gmail.com>
2017-02-16 19:13:20 +01:00
Humdinger
6b4a0ecc74 Updated Gutenprint package for 64bit
...as it passed Vidrep's tests. Thanks, Vidrep!
2017-02-16 19:03:07 +01:00
Automatic Committer
2da511c54e Update usb.ids from www.linux-usb.org hrev50955 2017-02-16 05:20:23 +01:00
Automatic Committer
41f1fba51a Update pci.ids from pciids.sourceforge.net 2017-02-16 05:20:22 +01:00
Jérôme Duval
90acbbfecb pthread: have pthread_setschedparam return 0 on success.
* fixes #13299.
hrev50954
2017-02-14 20:48:43 +01:00
Adrien Destugues
ab4bd5d3ce Update many packages.
Fix various minor problems (stray .la files, etc) and sync with the
release branch as much as possible.
hrev50953
2017-02-11 23:27:25 +01:00
Augustin Cavalier
024752cf16 ppp/modem: Update the Jamfile to make it start building again.
It fails, of course, because it hasn't been ported to the new stack.
(I made an attempt at that, but quickly wound up in code that I didn't
understand enough to migrated...)
hrev50952
2017-02-11 16:33:18 -05:00
Murai Takashi
7ad82d65de constants.h: fix gcc6 build.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Ticket : #13291
hrev50951
2017-02-11 20:50:13 +01:00
Adrien Destugues
83be289d7c netresolv: Remove rcsid
fixes gcc6 complaining about unused global variable.
2017-02-11 20:50:13 +01:00
PulkoMandy
100775b790 Fix build on Linux
Stub out some translation macros for host build, so the now localized
package solver can be built there.
hrev50950
2017-02-11 14:15:38 +01:00
Humdinger
cf0ba058ec Add localization to package daemon and solver
Thanks to Adrien and Rene for reviewing and guidance.
Fixes #13282.
hrev50949
2017-02-11 10:56:27 +01:00
autonielx
42d4bb33f8 Update translations from Pootle hrev50948 2017-02-11 06:58:53 +01:00
Humdinger
3b630cb20c Updated packages
* vmware_addons
* font dejavu
* fonts noto, noto chroscore, noto regional
hrev50947
2017-02-10 16:35:46 +01:00
Augustin Cavalier
b6f76ebe71 s/OpenBeOS License/MIT License/ universally, as they're the same thing.
Fixes #8681.
hrev50946
2017-02-09 22:09:56 -05:00
Adrien Destugues
b33ee35d3f various package updates and additions. hrev50945 2017-02-09 22:14:26 +01:00
Augustin Cavalier
6c9415e3ca BJson: Use the normal "input, output" argument ordering instead of the reverse.
Update all in-tree consumers of the BJson API to match. Also added
const-qualifiers to the BString versions of the API, and added the leading
"_" to the header guards.
hrev50944
2017-02-09 13:43:26 -05:00
Automatic Committer
56c500389f Update pci.ids from pciids.sourceforge.net hrev50943 2017-02-09 05:20:17 +01:00
Augustin Cavalier
aae431375e BJson: Fixes, tweaks, and behavioral changes based on the JSON Minefield Tests.
As found on http://seriot.ch/parsing_json.php -- anything using the API
presently with valid JSON should have no troubles, but more valid JSON
that previously didn't work now does (e.g. JSON with root array nodes, not
root map nodes), and invalid JSON that silently succeeded before now fails.

Not all the bad cases from that testsuite now fail, and not all of the good
ones pass, but the few that remain are odd things that wouldn't map well to
the BMessage API (e.g. root string nodes, etc.) or are other behaviors that
make sense to leave as they are for compatibility reasons.
hrev50942
2017-02-08 21:35:42 -05:00
PulkoMandy
551b87cb9c sync more packages with release branch. hrev50941 2017-02-07 22:56:28 +01:00