Commit Graph

56380 Commits

Author SHA1 Message Date
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
Humdinger
9a828bfeb8 Updated mail provider info for gmx.de
Activated SSL encrption for POP3 and changed server name for SMTP to
mail.gmx.net. The first change is vital to get it to work, the latter
seems to be only cosmetic.

I still get a "503 Bad sequence of commands" when sending a mail, but
it is sent nonetheless. See ticket: #12960.
2016-09-18 10:48:10 +02:00
Murai Takashi
c90d3c9d9f Revert 64-bit fixes for input_server.
This patch reverts http://cgit.haiku-os.org/haiku/diff/?id=57ab0395ad31761e27ef6d5aa3af68cc3e4d71b2
It may fix #661. Thanks to kcg369 for pointing it out.

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

The initial issue was the storage of a pointer in an int32 for
input method cookies. This was fixed in two ways:

- The int32 was initally replaced with a void*, which allowed to store a
  complete pointer, but changed the format of the BMessages used for
  communication, breaking Canna.
- Then, the code was changed to not use a pointer and instead use an
  int32 for the cookie (see #8831). However, the int32 was still cast
  into a void* when putting it into a BMessage, so the problem was still
  there for Canna.

This commit reverts the remaining parts of the initial solution and
restores the ABI to use int32 everywhere.

Fixes #661.
2016-09-17 19:35:32 +02:00
Humdinger
f8c5cdace0 Use new Device_NAS vector icon for shared volumes
...and remove old bitmap icons.
2016-09-17 18:24:44 +02:00
Adrien Destugues
3c08adef21 Add architecture to prompt when in getarch context.
Fixes #10687.
2016-09-17 18:06:41 +02:00
Murai Takashi
a1de0f035b pci-header.awk: remove unused variable.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #12919
2016-09-17 18:06:41 +02:00
Humdinger
4d67c6d9cf Update Einsteinium package. 2016-09-17 14:20:14 +02:00
Gabriel Maia
1bf0271fa0 DiskProbe: select Find window text
Select the text to find as the Find window is opened.
This makes the behavior more consistent with other apps.
Fixes the main subject of #10844.

Also removes trailing whitespace.

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2016-09-17 11:33:54 +02:00
Adrien Destugues
ed1b81b72b Boot loader VFS: fix string termination error.
The code was resetting the pointer to NULL, instead of setting the
pointed char to null-terminate the string. The result was resolving the
current directory later on, instead of the parent as requested.

This only happened when calling open_from with O_CREAT, and a name with
sub-directories inside it. The boot loader never does that, so the code
wasn't used until now.

Fixes #12941.

Thanks to mt for spotting the problem.
2016-09-17 11:15:00 +02:00
Humdinger
99750e3182 Added icon for NAS device 2016-09-16 18:03:38 +02:00
Automatic Committer
f9273defca Update pci.ids from pciids.sourceforge.net 2016-09-15 05:20:19 +02:00
Rene Gollent
b65adbdfbc Debugger: Fix #12940.
- Add new interface TeamFunctionSourceInformation. Currently this
  exposes a single function allowing one to query for the currently
  active source code given a FunctionDebugInfo instance.
- Implement TeamFunctionSourceInformation on TeamDebugInfo.
- Pass TeamFunctionSourceInformation to Dwarf{Team,Image}DebugInfo.
  In turn, make use of it in DwarfImageDebugInfo::GetStatement() in
  order to determine whether to return the corresponding assembly
  or source statement.

With this piece of information, the debugger is now correctly able to
determine that the user is currently looking at disassembly despite debug
info being available, and consequently adjust its stepping behavior based on
that. Previously, the source code statement was always used, leading to it
not being possible to single step assembly lines in such a circumstance
without manually using run to cursor.

Other related cleanups:
- TeamDebugInfo now inherits BReferenceable directly, rather than relying on
  indirectly inheriting it from TeamTypeInformation.
- Remove BReferenceable from TeamTypeInformation. The latter is only an
  interface anyways, and inheriting that base class from multiple locations
  was causing GCC5 trouble when resolving BReference<TeamDebugInfo>, even
  when virtual inheritance was used.
2016-09-13 22:14:10 -04:00
Automatic Committer
7079e52233 Update usb.ids from www.linux-usb.org 2016-09-08 05:20:26 +02:00
Automatic Committer
f540a0fc86 Update pci.ids from pciids.sourceforge.net 2016-09-08 05:20:24 +02:00
Dario Casalinuovo
ac8ca41623 Fix StreamerPlugin reference counting
* BReferenceable deleted itself when the latest
reference was released causing a double free.
* The code now avoid to call the function when
we are about to delete the object.
2016-09-07 20:42:43 +02:00
Dario Casalinuovo
3ff901ac71 http_streamer: Fix different issues
* Cleanup object management.
* Remove Close() and use the destructor in place.
* Release listener sem on exit.
* Return when there's a request mismatch.
* Add some debugging.
* MediaPlayer crashes are fixed as result of the patchset.
2016-09-07 18:30:34 +02:00