Commit Graph

56878 Commits

Author SHA1 Message Date
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
Fredrik Holmqvist
f1361497b0 Revert min / max change and set timeout_t nice way
Mixing up seconds and micro-seconds made me do it.
2017-03-25 15:00:55 +01:00
Fredrik Holmqvist
3bbff30d9e DHCP initial timeout 0.25s from 4s
Connecting to wifi is very slow, there are several issues.
Easiest to find and fis is that on my wifi DHCP always took
4s, as first request fails. Still investigating why..
Reducing timeout to 0.25s makes DHCP process fast.

Moved timout handling into its own struct, and changed state
timeout from max(remaing, 60s) to min(remaining, MAX_TIMEOUT)
Not sure about that change, but why would you want a max value
that is at least 60s?
2017-03-25 13:42:08 +01:00
Thorsten „mirabilos“ Glaser
be9a70562e Make /etc/profile compatible with non-bash shells again.
Fixes #13384.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-03-25 12:04:08 +01:00
Adrien Destugues
2616691f31 Add tnftp package for x86_gcc2.
This will replace our old fork in Haiku sources, once it is available
also for x86_64 and x86.
2017-03-25 10:54:54 +01:00
autonielx
f1a552cad9 Update translations from Pootle 2017-03-25 06:41:13 +01:00
Axel Dörfler
ff4dee1caf BView/BBox: Fixed FrameResized() handling.
* BView incorrectly passed the current width and height to
  FrameResized(), not the one from the message. Since there is such
  a call for each size change, a Draw() might have been called for
  each of those in return.
* This should also fix such problems in BMenuBar, as it used the size
  from FrameResized() as it should have.
* BBox now correctly takes the update events into account, and no
  longer ignores the size passed to FrameResized().
* This fixes bug #3037.
2017-03-24 16:33:12 +01:00
Brian Hill
a652a5fed3 Reorder fallback fonts. Fixes #13389
Put the Noto Sans Symbols font last in the list of fallback fonts.
2017-03-21 18:57:53 -04:00
Alexander Andreev
19d8e4f73c ipv4/6: fixed crossing link fields from different hash tables.
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2017-03-21 12:38:55 +01:00
Alexander von Gluck IV
d8ce1a9fad x86/irq_routing: Convert panic into warning. Solves #13388
* Solves #13388 and likely a bunch of other bug reports.
* While this *is* an issue that can potentially be serious,
  there really isn't a risk of data loss or a system
  instability, only broken PCI devices. Show warning and
  keep going.
2017-03-20 14:10:14 -05:00
Brian Hill
ab8f11bff8 SoftwareUpdater updates
Bug fix- show correct version on package uninstall list item tooltip
Correct if else formatting
Use the BPackageManager FullSync() function instead of Update
Change warning strings in BPackageManager to sentence casing
Show list item tooltip on a mouse down (helps with touch devices)
2017-03-20 06:51:06 -04:00
Alexander von Gluck IV
8eee7007cf x86/irq_routing: More tracing around fill_pci_info_for_entry 2017-03-19 17:44:11 -05:00