Commit Graph

56245 Commits

Author SHA1 Message Date
Augustin Cavalier
6a42abb28a BView: Add missing NULL checks to GetMouse().
Fixes #12821.
2016-10-17 15:00:17 -04:00
Andreas Faerber
51777fe86c Revert r25895: Undo ppc linkhack workaround #6210 2016-10-16 12:52:02 -05:00
Adrien Destugues
1e59399fd9 libgnuregex: fix debug build.
Add missing "printchar.c", which is only used in DEBUG mode. The
function was recovered from original regex sources.

Note that the gnu regexp library is deprecated, and so is its
replacement, gnu rx. GNU suggests using the regex implementation from
the glibc, but that one isn't as portable.

Thanks to Andrew Lindesay for the investigations and initial patch!

Fixes #12952.
2016-10-16 11:34:15 +02:00
Adrien Destugues
534f22038c Catalog stub: fix undefinied initiamization order.
As investigated by korli in #13001.
2016-10-15 09:28:56 +02:00
Humdinger
8f58f9c31f CharacterMap: avoid white outline around selected character
SetLowColor() to the highlighting colour before drawing a selected character
to avoid blending with the regular white background.
2016-10-14 11:20:31 +02:00
Automatic Committer
90baeda1d2 Update pci.ids from pciids.sourceforge.net 2016-10-13 05:20:13 +02:00
Humdinger
207eda2351 Updated Noto fonts, added Noto CJK
Removed the unneeded UI versions of Noto. According to the FAQ [1], those
"have tighter vertical metrics, and some glyphs that would be clipped are
redrawn to fit within the constrained space", which doesn't seem necessary
for Haiku. Could be re-added, of course, if it turns out otherwise...

Added Noto CJK fonts. All of them contain the glyphs for jp, kr, sc, tc.
Only differ in their default language.
2016-10-12 12:32:45 +02:00
Jérôme Duval
e340f717a4 runtime_loader: add support for ELF init/term routine arrays.
* binutils 2.27 defaults to DT_INIT_ARRAY instead of DT_INIT.
2016-10-11 22:26:06 +02:00
Dario Casalinuovo
1df36f2cee UserBuildConfig.ReadMe: Update non working sample
* With AddSourceDirectoryToHaikuImage spaces should be used as entry delimiter.
2016-10-10 19:52:06 +02:00
Adrien Destugues
af0282f91f Make US-english the default KDL keymap again. 2016-10-10 07:18:12 +02:00
Adrien Destugues
0dbb85e285 Style fix 2016-10-09 22:21:14 +02:00
Murai Takashi
4e8a13a536 KeyboardInputDevice.cpp: Fix int-in-bool-context warning
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2016-10-09 21:30:07 +02:00
Adrien Destugues
069c569704 Fix incorrect use of _SendMonitorUpdate
Icon size is only a boolean here (true for a large icon, false
otherwise). Using B_LARGE_ICON directly is not appropriate.

As found by Murai Takashi, but there was a second case in the same file
which I also fixed.

ticket : #12955
2016-10-09 21:25:53 +02:00
S K
fe2557b6eb PS/2: fix warnings, enable -Werror
- elantech: Remove unused variables and functions.
- "movement maker": float/int confusions
- debugger keymap: don't use multi-byte chars in preprocessor to avoid
  warnings with gcc2 (even with -Wno-multichar)

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

Fixes #12658
2016-10-09 21:11:55 +02:00
Alexander von Gluck IV
d068622c37 arm: Update Raspberry Pi 1/2 fdts from FreeBSD 2016-10-09 13:29:22 -05:00
Humdinger
49b0152a81 Updated Einsteinium package 2016-10-09 19:29:24 +02:00
Stefano Ceccherini
dc21c8c78c Added bescreencapture-2.2. x86_64 version coming next week 2016-10-09 18:29:23 +02:00
Humdinger
388344c19a Add Noto font regional package
Removed the separate noto sans and serif packages.
Add/update rev.3 of noto, chroscore and regional noto.
2016-10-09 16:40:07 +02:00
Jérôme Duval
2e445a3798 Adjust binutils_bootstrap,bash_bootstrap to current versions.
* add curl_bootstrap and less_bootstrap for x86.
2016-10-09 12:24:11 +02:00
Adrien Destugues
30cf9c3c7e MBR: Mark CHS value as invalid, not unused
As reported in #6301, some BIOSes rely on these byte to detect an unused
partition entry (set to 0) from an used one (set to some other value),
and only later notice that the CHS is invalid and LBA should be used.

Apply the patch that Ingo had attached to the ticket back then.

As far as I can tell, the protective MBR in GPT only happens to use the
same way to mark the partition as used (in case you try to plug a GPT
drive to a BIOS that does only CHS). So, using the same value should not
lead to the MBR being identified as a protective MBR by GPT aware
systems (that is detected using the partition type and partition size).

Fixes #6301.
2016-10-09 11:55:09 +02:00
Jérôme Duval
3bac309d87 Add noto font package.
* and Chrome OS core font package.
2016-10-08 11:45:26 +02:00
Humdinger
ad7e65b4cf Added noto font package 2016-10-07 14:29:53 +02:00
John Scipione
7687a6ef13 ListView: Don't change selection while dragging
This allows you to drag and drop list items more easily, but,
removes the ability to drag and drop color squares in Appearance from
one list item to another. Changing selected list items while dragging
was more of a helpful side-effect for Appearance but isless reasonable
default behavior.

Fixes #12990
Partially regression on #8618
2016-10-06 15:56:11 -07:00
Humdinger
d556ff918b Update Sequitur package
Sequitur from the old package wouldn't start on a current Haiku anymore.
Needed a rebuild, which needed a build fix.
2016-10-06 14:33:32 +02:00
Automatic Committer
fd3fbac7ec Update usb.ids from www.linux-usb.org 2016-10-06 05:20:13 +02:00
Automatic Committer
96b66e4778 Update pci.ids from pciids.sourceforge.net 2016-10-06 05:20:10 +02:00
Alexander von Gluck IV
b3be20cada radeon_hd: Polaris hpd is still the same as DCE 11 2016-10-05 16:00:10 -05:00
Alexander von Gluck IV
1925e1deec radeon_hd: Add new dig v5 table minor code.
* Radeon RX 480 working over DisplayPort active dongle (!!)
2016-10-05 15:40:04 -05:00
Alexander von Gluck IV
25a087bc7c radeon_hd: AtomBIOS version bump. Encoder work.
* Now pulling in latest amdgpu atombios.h headers
* Lots of DisplayPort cleanup and removal of legacy stuff
* Add obsolete atombios header for things that disappear
  (amdgpu doesn't support older cards like we do)
* Introduce new code to support later encoder tables
* Drop radeon-specific encoder service from common dp_info
* Tested on HD 5450 hdmi
2016-10-05 13:54:24 -05:00
Humdinger
878f147950 Allow TextSearch to grep XHTML files
...while the setting "Text files only" is active.
Fixes #12539.

Once users are able to set supported MIME types on packaged apps
(which are read-only), it might be a good idea to have TextSearch
check its supported MIME types and examine the target files accordingly.
2016-10-05 16:40:29 +02:00
Jérôme Duval
e25f993385 complex.h: add a C++ guard. 2016-10-05 09:18:42 +02:00
Kacper Kasper
dd074cc7dc Style fixes for Errors.h.
No functional change intended.
2016-10-04 18:44:58 +02:00
Stefano Ceccherini
5800abadaa Update BeScreenCapture package to version 2.1.
Removed source package for now
2016-10-04 00:05:27 +02:00
Humdinger
69a72f774f Updated Weather package
* crash fix
* slightly improved GUI and artwork
* localization
2016-10-03 20:28:46 +02:00
Humdinger
d2c4287872 Added packages: libspectrum and fuse
The Free Unix Spectrum Emulator. Enjoy, moochris. :)
2016-10-01 08:25:52 +02:00
Adrien Destugues
f638c82a22 StyledText: fix reading of utf-8 documents
BNode::ReadAttrString does not check for the attribute to actually be a
string. It will return B_OK (and useless data) if called on a
B_INT32_TYPE attribute. Check the attribute type before reading.

Also remove various debug ouput leftovers.

May fix #12976.
2016-09-29 22:56:37 +02:00
Adrien Destugues
509e0b5802 nfs: remove commented out and #ifdefed out code.
No need for the cruft.
2016-09-29 22:56:37 +02:00
Automatic Committer
99d6d57eb5 Update usb.ids from www.linux-usb.org 2016-09-29 05:20:33 +02:00
Automatic Committer
55c22efaa8 Update pci.ids from pciids.sourceforge.net 2016-09-29 05:20:31 +02:00
Alexander von Gluck IV
38f17b01ce radeon_hd: Polaris10 power distribution fix
* Helps prevent mainboard explosions and other bad stuff.
* ...maybe not explosions, but bad things.
* The RX 480 reference design can pull as much as 90W
  from its PCIe slot at load. PCIe is rated for 75W.
* This change overloads the PCIe power cables vs the PCIe
  slot. The PCIe power cables can handle going over spec.
* Untested since we really can't come close to loading a
  RX 480 without hardware OpenGL ^_^
* Should be able to test on real hardware within a week.
2016-09-28 15:46:14 -05:00
Alexander von Gluck IV
6c12ba4014 radeon_hd: Add RX 460. Rename 480 to include 470. 2016-09-27 16:17:50 -05:00
Adrien Destugues
9c3eb71b51 NFS: set block size as reported from server.
Fixes #9787.
2016-09-27 21:02:07 +02:00
Adrien Destugues
c4da848565 BTextEncoding: even more style fixes. 2016-09-27 20:41:26 +02:00
Adrien Destugues
a71b10d760 BTextEncoding: fix naming and move to BPrivate namespace. 2016-09-27 20:38:58 +02:00
Adrien Destugues
2c9528d291 BNetEndpoint: improve timeout handling
Based on a patch by Duggan.

A timeout of 0 means "no timeout". Avoid an overflow case. Translate
B_INFINITE_TIMEOUT to a NULL timeout for select().

Fixes #7870
2016-09-27 20:32:18 +02:00
Adrien Destugues
32afcc5cc5 Style fix in Locale Kit headers.
As pointed out by Axel, the wrong style was used in these headers we
inherited from OpenTracker days.
2016-09-27 19:34:52 +02:00
Adrien Destugues
a95053ddb7 TextEncoding: Style fixes to header.
As pointed out by Axel.
2016-09-27 07:20:47 +02:00
Sergei Reznikov
766191919d Added stub for get_nth_pci_info.
BeRometer works now.

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

This is a private API, but some apps used it anyway. We don't need a
complete implementation to at least make BeRoMeter run.

Fixes #5146.
2016-09-26 21:44:21 +02:00
Pete Goodeve
999c255ac5 fix for older Wacom tablet
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

This spent enough years waiting on the bugtracker for someone willing to
test it. The style looks mostly ok, so let's have it in trunk and see if
it breaks someone's tablet.

The patch restores the older behavior found in early versions of the
driver published for BeOS. It does so only for the "intuos" tablets, so
newer devices won't be affected.

ticket : #4847
2016-09-26 20:33:59 +02:00
Adrien Destugues
08e5249142 TextEncoding: add Encode/Decode methods.
This replaces convert_from/to_utf8 in a way that doesn't leak memory.

Use the new method in StyledEdit.

Fixes #6252, #3065.
2016-09-25 23:16:19 +02:00