Commit Graph

57089 Commits

Author SHA1 Message Date
Axel Dörfler
6609c1a03a BFS: Removed match empty string logic.
* This produces more reliable query results no matter which index
  gets chosen to run the query.
* This fixes the final part of #13254.
2017-04-08 22:50:54 +02:00
Axel Dörfler
b27b37812e bfsinfo: Added option to list/count B+tree entries.
* -l now lists the contents of string B+trees.
* -c now counts the keys in a B+tree.
* Use BPLUSTREE_MAX_KEY_LENGTH to determine the maximum allowed
  key length (was hardcoded to 255 before).
2017-04-08 22:50:54 +02:00
Axel Dörfler
4069e1f302 BFS: Fixed maximum index key length.
* The maximum key length of the B+tree, and the one BFS uses are now
  separated. This allows to stay BeOS compatible to only put a maximum
  of 255 bytes into the index, but also to handle the already existing
  larger keys (we did allow 256 bytes) without issue.
* TreeIterator::Traverse() now always cuts off string keys at the
  maximum buffer length, and only reports a B_BUFFER_OVERFLOW for the
  fixed length types.
* This fixes the important part of #13254.
2017-04-08 22:50:54 +02:00
Humdinger
a8ef140948 Update grep package to 2.24-1 (gcc2)
for tqh.
2017-04-08 19:50:24 +02:00
Adrien Destugues
99edf9d9ed Remove another overzealous assert.
Fixes playing "swinging.mp4" from our demo video package.
2017-04-08 19:08:34 +02:00
Jérôme Duval
95a7451112 Adjust liwebp soname for x86_64. 2017-04-08 13:45:10 +02:00
Jérôme Duval
35777ad7ad Mass update for x86_64.
Highlights:
* switch to python 3.6.
* update to Qt 5.8, to LLVM 4.0, to Mesa 17.
* Scribus, Lyx, Wireshark to name a few additions.
2017-04-08 13:44:59 +02:00
Adrien Destugues
459188a437 Do not fail when the display mode is sanitized
The goal of sanitize_display_mode is to create a mode that the hardware
can use. The code was doing that, but if any change was required to the
initial mode, it threw the result away.

Now accept the sanitized mode, and log it for debugging purposes.

This should fix #12927
2017-04-08 13:30:34 +02:00
Adrien Destugues
2c953daef7 Fix build also for secondary arch
Use a variable not affected by MultiArchBuildSetup, so we use the new
libwebp when gcc2 is the main arch, even when building for secondary.
2017-04-08 13:29:49 +02:00
Adrien Destugues
ac0cb4e046 Fix build after libwebp update.
The update is only for gcc2 for now. This needs to be adjusted once the
other archs make the switch too.
2017-04-08 12:09:13 +02:00
Adrien Destugues
1f09ef45b6 Update libwebp to current version. 2017-04-08 11:30:25 +02:00
Adrien Destugues
2f6aa1c7cc locale: -m option should print character sets, only.
Required by mosh testsuite.
2017-04-08 08:45:29 +02:00
Adrien Destugues
fbd8cde183 ffmpeg: remove overzealous assert.
Fixes #12370.
2017-04-07 21:38:55 +02:00
Axel Dörfler
bc600adbd8 launch_daemon: Don't allow restarting.
* Check if the port already exists on startup. This fixes #12901.
2017-04-07 18:01:14 +02:00
Axel Dörfler
99ccb18d97 Kernel IOBuffer: Fixed potential memory leak.
* IOBuffer::FreeVirtualVecCookie() did not put the last physical page
  back. This was only an issue in case GetNextVirtualVec() wasn't
  iterated through the end, for example in case of an error.
* Fixed the condition when to put back a physical page; the current
  solution will also work with the generic page mapper implementation.
* This fixes the low hanging fruits of Ingo's comment in #5777.
2017-04-06 23:31:48 +02:00
Axel Dörfler
f17488662a network stack: Fixed double mutex lock.
* device_removed() no longer uses get_device_interface() to avoid
  the double locking.
* Introduced net_device_interface::busy member to avoid locking in
  device_removed() for too long.
* This should fix #7252.
2017-04-06 18:19:25 +02:00
Alexander von Gluck IV
ceff2b88ae ppp: Basic build fixes on x86_64 2017-04-05 19:33:07 +00:00
Automatic Committer
c931e464e8 Update pci.ids from pciids.sourceforge.net 2017-04-06 05:20:16 +02:00
Alexander von Gluck IV
dfe2d34fcb network preflet: Fix OpenVPN resource def 2017-04-05 18:55:37 +00:00
Alexander von Gluck IV
5c08c83412 network preflet: Introduce early OpenVPN add-on
* Not included in image... will likely be quite some
  time until it is :-)
2017-04-05 18:50:00 +00:00
Alexander von Gluck IV
6516aed58b network preflet: Make InterfaceListItem dumber
* Allows us to use InterfaceListItem for non-physical
  interface things (like a VPN connection)
2017-04-05 18:46:10 +00:00
Alexander von Gluck IV
476da4a52f network preflet: Fix interface icon spacing 2017-04-05 17:34:44 +00:00
Alexander von Gluck IV
5fbe0dd4d7 haikuporter: Update to 1.2.0 on x86_gcc2 2017-04-03 15:58:04 +00:00
Alexander von Gluck IV
e42501663a haikuporter: Update to 1.2.0-1 on x86_64 2017-04-03 15:55:58 +00:00
hy che
d1012e4522 stream is re-defined which misplaces size of item data.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Follow-up fix for #12788.
2017-04-03 20:26:47 +02:00
Humdinger
eff44d2fee Added keymap for Russian (Udmurt, Komi, Mari)
Provided by 'iam' via the forums [1]. It adds additional characters for
Udmurt, Komi and Mari languages.
Thanks, iam.

[1] https://discuss.haiku-os.org/t/adding-russian-keymap-with-udmurt-characters-to-haiku/5518
2017-04-03 08:51:28 +02:00
Humdinger
c8dea2a7a8 Updated package gutenprint to 5.2.12-2
Thanks korli, for the gcc2 build fix and Vidrep's testing.
2017-04-03 08:48:38 +02:00
Axel Dörfler
742b85c1f1 vfs: Let new_vnode() and publish_vnode() wait for busy vnodes.
* Both functions need to wait when encountering a busy vnode, in order
  not to create a race condition in combination with get_vnode().
* This should fix both #5262, and #9839.
* I did not implement Ingo's suggestion to burden the file systems with
  solving the problem for the following reasons:
  - I think the file system interface should be as simple as possible.
  - I can't think of a possible locking issue at least for BFS.
  - The solution on the file system side would look pretty similar to
    what the VFS already does or has to do (minus controlling the locking
    directly), so it would cause quite a functional duplication.
2017-04-02 14:30:45 +02:00
Adrien Destugues
d5bff72ed8 Fix use after free.
As pointed by Marcus, FindString returns a pointer to the internal data
of the BMessage, so the message must stay in scope as long as we use the
pointer.

Thanks for reviewing!
2017-04-02 08:23:01 +02:00
Alexander von Gluck IV
ad7a5be908 x86_64: Update sdl2_ttf to 2.0.14-5
* Fixes broken shared library symlink
2017-04-01 13:59:54 -05:00
Adrien Destugues
737e508de0 ffmpeg: give a little hint about the file type.
ffmpeg, especially older versions, is not very good at detecting file
types and relies on us giving it a file extension for a better guess.

Use our MIME sniffing to have a first try at detecting the file we are
about to play, and pass this information to ffmpeg.

Fixes #13150.
2017-04-01 19:11:02 +02:00
Brian Hill
b105213b81 SoftwareUpdater improvements
*Bug fix- list item colors use Appearance settings
*Problem Solver window buttons right aligned, window now app modal
*The main window's stripe and icon now use the same scaling as BAlert
*A pop-up menu displays an option to view more details (replaces the
	tooltips)
*New prompt at application start to choose between doing an Update or
	a Full Sync.  Also lays the ground work for implimenting silent
	check-only feature.
2017-04-01 12:40:39 -04:00
autonielx
c5c0dd6c8b Update translations from Pootle 2017-04-01 06:43:41 +02:00
Humdinger
a1483eb904 New package for QuickLaunch v1.1
Needed a quick new release:

*	Fix disappearing favorites.
*	Add context menu with quick access to favorites and QuickLaunch's
	"About" to Deskbar replicant.
*	Updated localization and documentation.
*	Tiny tweaks to the QuickLaunch icon.
2017-03-31 19:58:22 +02:00
Axel Dörfler
fe9ddedc07 BBox: Fixed broken fBounds position update.
* FrameMoved() is only for frame movements; only scrolling affects the
  bounds position.
* Thanks stippi!
2017-03-31 18:21:44 +02:00
Adrien Destugues
6bbb8b3022 Build fix. 2017-03-30 18:40:34 +02:00
wangxingdsb
c8a27537a7 ext2: check some more values for ext2_super_block
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #13401.
2017-03-30 07:31:29 +02:00
wangxingdsb
2ff144d005 ext2 Journal: Warn that we found an unrecognized block
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #13400.
2017-03-30 07:31:20 +02:00
Humdinger
e633e9ef5a Fix crash with missing midi_settings
fActiveSoundFont wasn't initialized when there's no midi_settings file.
Don't allocate it on the heap, the object get implicitely initialized to
an emtpy string.
Tiny style fix.
Thanks to AnEvilYak for his consultation.

Fixes #13402.
2017-03-29 16:29:56 +02:00
Alexander von Gluck IV
deb50a898c xhci: Cleanup tracing, add trb ring dump
* Cleanup trace output. Don't print hex without 0x prefix.
2017-03-28 15:47:54 -05:00
Fredrik Holmqvist
e5c95a01ff Use 64 bit addressing for ACPI on 32 bit builds.
32 bit builds with PAE are so much fun. It's like
64 bit without all the extra registers...
2017-03-28 21:34:42 +02:00
Fredrik Holmqvist
dd9702007b When logging, use correct function name. 2017-03-28 21:34:42 +02:00
Alexander von Gluck IV
45ce7ea829 xhci: Improve No-Op tracing 2017-03-27 16:51:07 -05:00
Alexander von Gluck IV
8629d82e17 xhci: Cleanup double endian conversions
* The previous xhci endian fixes performed some double
  conversions.
* Tighten down conversions to only where the driver interacts
  with raw trb3 data in the ring buffer
* No impact to x86*
2017-03-27 15:41:10 -05:00
Fredrik Holmqvist
4bef8ab8de Function needs more void. 2017-03-27 20:12:24 +02:00
Humdinger
463525bb70 Updated QuickLaunch to v1.0, added/updated optipng packages 2017-03-27 20:01:40 +02:00
Fredrik Holmqvist
35226072bc __FreeBSD_version__ is always 8, remove old #if
Reduce number of todos...
2017-03-27 19:04:30 +02:00
Adrien Destugues
7099f6549c openjpeg: update to fix libpng dependency 2017-03-26 11:25:49 +02:00
Adrien Destugues
471813967b Update ca_root_certificates
Any way to automate this like for PCI and USB ids?
2017-03-26 10:36:02 +02:00
Adrien Destugues
a4834579f8 Add test for BNetworkAddress::Equals
Shows that #12247 is invalid.
2017-03-25 15:49:44 +01:00