Commit Graph

56395 Commits

Author SHA1 Message Date
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
Adrien Destugues
fbb725bbdc Add text encoding detection to the Locale Kit.
As usual we ask ICU to do the actual work. The TextEncoding constructor
is fed with a sample of the text to identify (ICU docs recommend a few
hundred bytes). The text is analyzed in various ways (bytes patterns
such as UTF-8 escaping schemes, common letter sequences from known
languages, byte order marks) and an encoding is determined.

Replace code in StyledEdit by this new implementation.

Note that ICU seems to always return some valid encoding, even with fed
with obviously non-text data. This makes StyledEdit open the files no
matter what, where it would error out before.

Fixes #9395.
2016-09-25 18:50:29 +02:00
Adrien Destugues
aec3e63ed1 Revert "LegacyPackageInstaller: Override fPathType when the path begins with /boot/."
This reverts commit 8cf0752f1b.
This reverts commit af3057423c.

This change fixed one package, and broke everything else. Please find a
proper fix and actually test it before committing.

Fixes #12909
2016-09-25 18:49:30 +02:00
Adrien Destugues
09bb8269ac Tracker: localize RegExp errors.
These were left out because the same RegExp.cpp file is also used by
collectcatkeys. This needed some jam file changes to get collectcatkeys
to build on both the host and target.

Fixes the last remaining part of #6374.
2016-09-25 15:10:12 +02:00
Adrien Destugues
ccb55f969c Tracker: localize query templates.
Tracker can create query templates when they don't exist yet. This was
done with an hardcoded archive of BColumns for the pose view, which did
not allow for an easy way to replace the strings. Now the archive is
created on the fly when the function is run, which makes it possible to
build it with localized strings (and in the system's endianness, which
will make it load faster).

Based on patch by mt, but with a lot of rework.

Fixes part of #6374.
2016-09-25 13:20:18 +02:00
Adrien Destugues
29089fe2e8 Workspaces: style fixes
As pointed out by Axel.
2016-09-25 11:20:32 +02:00
Adrien Destugues
43caca9680 Workspaces: fix the auto-raise functionality
- Remove hardcoded decorator border size, and get it from the system.
- Move the window at the right place when using the "zoom" button
  (if the auto-raise setting is enabled).
- Make the auto-raise work even when the mouse is above the window
  borders, not the active area. This works similarly to LaunchBox
  auto-raise feature.

fixes #8188, #8194.

Manual rework of patches by Daniel Devine which were never merged and
didn't apply cleanly anymore.
2016-09-24 23:18:42 +02:00
Stefano Ceccherini
fa3f84b78c MediaSettings: Don't change the active soundfont
if the user clicked on empty space
2016-09-24 22:06:52 +02:00
Stefano Ceccherini
873a8ad914 MediaPreferences: midi: added a BStringView with the currently active soundfont 2016-09-24 20:36:02 +02:00
X512
806ccfda6c Remove replicant handle from input_server; remove obsolete comment
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #8531.

Anyone remembers why a replicant dragger was added there on the first
place?
2016-09-24 20:18:12 +02:00
Automatic Committer
867e22bd8f Update pci.ids from pciids.sourceforge.net 2016-09-22 05:20:22 +02:00
Alexander von Gluck IV
bccc693277 BeDecorator: Reintroduce to image 2016-09-18 14:44:18 -05:00
Alexander von Gluck IV
d60b3b1b98 BeDecorator: Fix build post S&T 2016-09-18 14:38:43 -05:00