Commit Graph

53104 Commits

Author SHA1 Message Date
Augustin Cavalier
35718f10ee package_infos: fixes after coreutils outsource.
* Since coreutils is now a mandatory package, add it to the REQUIRES
   of all the Haiku packages, otherwise system updates will be broken.
 * Adapt the other (arm, m68k, ppc) package_infos as well.

Signed-off-by: John Scipione <jscipione@gmail.com>
2015-02-05 17:47:09 -05:00
Jessica Hamilton
85529c12b8 Deskbar: fix showing an empty leaf menu, #3105.
* NeedsToRebuild() didn't actually do anything, as this
  returns whether it needs to be rebuilt or not.
* Replaced RemoveItems() with ForceRebuild(), which should
  already delete the menu items, whilst additionally
  letting the leaf menu know that it needs to rebuild itself.

This bug was reproducible 100%; however, with this fix, there
is now a rare race condition where clicking between an app menu
and the leaf menu will result in both menus showing concurrently.
2015-02-06 09:15:44 +13:00
Jérôme Duval
950ee98409 Add coreutils packages for x86_gcc2, x86 and x86_64.
* this is a mandatory package.
* removed related commands from the minimum image definition.
* removed related commands from the Haiku package PROVIDES.
* the su command is deprecated in 8.22. Use the 8.4 in-tree version.
* the packages contain and provide the df command, to be removed.
2015-02-05 18:57:21 +01:00
Axel Dörfler
7720614300 Revert "Move getifaddrs to libnetwork again."
This reverts commit 31ea76548a.

Adrien, please try again without clobbering the otherwise nice
BNetworkInterface API!

Conflicts:
	src/kits/network/getifaddrs.cpp
2015-02-05 11:07:53 +01:00
Axel Dörfler
a08f5ecbe3 Revert "BNetworkInterfaceAddress: missing initialization"
This reverts commit fbc43a7279.
2015-02-05 11:07:50 +01:00
Adrien Destugues
3d9caafc62 Add packages for lighttpd 2015-02-05 10:59:31 +01:00
Automatic Committer
a18db63d1c Update usb.ids from www.linux-usb.org 2015-02-05 05:20:29 +01:00
Automatic Committer
36575766ec Update pci.ids from pciids.sourceforge.net 2015-02-05 05:20:27 +01:00
John Scipione
47205988db Style fixes to StyleBuffer only 2015-02-04 15:54:44 -05:00
Axel Dörfler
89a406bc52 vesa: don't switch to the current mode.
* If a mode change is requested, check if it is equivalent to the
  current one, and don't do anything in this case.
2015-02-04 21:08:17 +01:00
Adrien Destugues
5fbf0afd91 BTextView: add handling of B_FONT_FACE mask to SetFontAndColor
The B_FONT_FACE mask would be ignored, making it impossible to change
only the font face.

Thanks to samgtr for finding the bug!
2015-02-04 09:23:23 +01:00
Adrien Destugues
eca5549602 StringForRate: change the threshold for unit change.
We would show "1Mbps" for 1.0 to 1.9 actual speed, which made this not
so helpful. Instead, switch to Mbps when reaching 10000 Kbps. So we show
"1000 Kbps" or 1900Kbps" in the mentionned situation, and up to "9999
Kbps" (note this is still only 4 digits, so it stays readable). We then
switch to "10 Mbps", which is still only withing 12% of the actual speed
(but better than the previous error of up to 50%).

Fixes #11821.

Also use uppercase for the SI prefixes as it should be, and use %d
instead of %f for the bps rating as it is an integer.
2015-02-04 08:26:26 +01:00
Axel Dörfler
e661df2980 BPathFinder: include StringList.h for convenience.
* You cannot do anything with a path finder object without a string
  list, so why go through all the hassle?
2015-02-02 22:13:51 +01:00
Axel Dörfler
10203293d1 Removed minimize_all again from the image.
* It's not only broken conceptionally, but also it's implementation
  is: it unconditionally filters all ctrl-cmd(-shift) key combinations.
* Since it's functionality should be implemented differently in the
  first place, it should be removed completely, though.
2015-02-02 22:13:49 +01:00
Alexander von Gluck IV
1c646c0bcd tests/posix: Drop bonnie++, recipe exists and not api test 2015-02-02 18:24:01 +00:00
Alexander von Gluck IV
3b8ca9ebdf tests: math_test, use std:isnan vs isnan
* As far as I can tell, you're not supposed to
  use cmath isnan from cpp as the std namespace
  includes it
* libroot Tests now build again.
2015-02-02 18:06:13 +00:00
Alexander von Gluck IV
a6c2b2fa63 network preflet: On IPv6, show "Automatic" for address mode
* IPv6 is "DHCPv6" or "Router Advertisement". Lets just say
  automatic to not confuse techie people.
2015-02-02 17:17:29 +00:00
Alexander von Gluck IV
048ffc1b1e tests: Fix wording of echo. No func change 2015-02-02 16:51:59 +00:00
Alexander von Gluck IV
4a961136b7 tests: add cstring to math_test for str funcs 2015-02-02 16:47:20 +00:00
Alexander von Gluck IV
ad91a99198 tests: The wchar header actually looks for _GNU_SOURCE
* We we are pretty mixed here. See #11818
2015-02-02 16:30:23 +00:00
Alexander von Gluck IV
fc8aebca3b tests: fix signal_in_allocator_test printf type 2015-02-02 16:18:05 +00:00
Alexander von Gluck IV
f6faff8960 tests: check for _USE_GNU and define sighandler_t is not (matching signal.h logic) 2015-02-02 16:17:42 +00:00
Alexander von Gluck IV
2ea35f1cb3 tests: Skip setjmp_test2.S test on non-x86 platforms
* We'll need to rewrite this for each arch..
2015-02-02 15:55:10 +00:00
Alexander von Gluck IV
0d5cfeec92 tests: We can no longer open /bin/sh r/w due to PM for flock
* Use /etc/passwd
2015-02-02 15:47:23 +00:00
Alexander von Gluck IV
b8be4f7268 tests: Fix libroot flock pointer size on non-32bit platforms 2015-02-02 15:43:16 +00:00
Adrien Destugues
578e26c0d3 usb_midi: fix KDL when there is no in or out endpoint
usb_midi devices can be input-only or output-only. We failed to check
for this in some places leading to KDL on devices that are not
bidirectional.

Should fix #11810.
2015-02-02 08:56:40 +01:00
Adrien Destugues
ed00de38d9 Midi test1: style fixes. 2015-02-02 08:56:38 +01:00
Alexander von Gluck IV
7e8f38e0f5 repo: update llvm to 3.5.1 2015-02-02 02:55:37 +00:00
Axel Dörfler
17f8ccc06c Network: use BLayoutBuilder, more cleanup.
* Instead of the deprecated GroupLayoutBuilder.
* Ordered headers correctly, use headers directly instead of including
  InterfaceKit.h.
* Also, guarded the profile sections in their ENABLE_PROFILES
  definition.
2015-02-01 22:04:49 +01:00
Alexander von Gluck IV
ab6a085b71 repo: add clang to x86_64 2015-02-01 20:52:20 +00:00
Jérôme Duval
3776bace0c harfbuzz: fix provides. 2015-01-31 13:39:02 +01:00
Jérôme Duval
5100f28c53 Added x86_64 packages for harfbuzz, graphite2, fontconfig. 2015-01-31 13:33:44 +01:00
Jérôme Duval
f1ef17b87b Added packages for Carlito and Caladea fonts. 2015-01-31 12:58:09 +01:00
autonielx
ef16a87ca3 Update translations from Pootle 2015-01-31 08:02:51 +01:00
Adrien Destugues
af3185c4b5 usb_midi: KDL when receiving data on a closed port
In normal situations the midi_server opens all midi ports, so this
wouldn't be a problem. However, my new MIDI keyboard (Miditech
i²Control-25) sends some MIDI events immediately when it is connected to
an USB port. These would be handled before the MIDI server had a chance
to open the port, leading to a KDL.

A similar problem could be triggered by killing the midi_server then
sending MIDI events from any other USB device.
2015-01-30 21:54:37 +01:00
Adrien Destugues
39a1cc8ec3 listusb: dump MIDI endpoint descriptors.
* These would be completely skipped before because of a bug in the USB
audio dumping code.
* Now they are decoded in human readable format
* Also fix a typo (Ttype instead of Type) in audio endpoints formatting.
2015-01-30 21:13:35 +01:00
Adrien Destugues
3df82f2813 usb_midi: fix crash when unplugging devices
* When a midi device is unplugged, the driver deletes all the MIDI
channels, and unblocks all pending accesses on those. The port
structureis freed but the device kept a pointer to it.
* When a transfer is cancelled, the driver would try to notify all
callers waiting on the ports that the device is gone. But it's too late
to access the port as it was already deleted (and the callers already
unlocked).

Reset the port pointer to NULL when deleting a port, so no further
access to it is possible.

Fixes #11533.

Also remove an unused field in the usb midi device structure.
2015-01-30 16:52:20 +01:00
John Scipione
b8798becff Add Sambuddha Basu to contributors list 2015-01-29 16:51:43 -05:00
John Scipione
b0a56fc5db _DistributeTabSize cleanup
* use ceilf() over ceil() and floorf() over floor()
* rename prevTab to previousTab
* check that tab pointer is valid in each loop
* use tabCount variable in each loop to check the end condition
2015-01-29 16:33:10 -05:00
Sambuddha Basu
4ac21cd37d Issue 11111 - Division by zero in TabDecorator
Signed-off-by: John Scipione <jscipione@gmail.com>
2015-01-29 16:15:33 -05:00
JackBurton
78a5e0daee Added BeScreenCapture to the gcc4 repo 2015-01-29 21:08:00 +01:00
Rene Gollent
9b14151f23 HaikuPorts_x86: Update haikuwebkit to 1.4.9. 2015-01-29 12:49:26 -05:00
Automatic Committer
ffd286462d Update pci.ids from pciids.sourceforge.net 2015-01-29 05:20:23 +01:00
Puck Meerburg
e366f3c164 WebPositive: Fix incorrectly sized array 2015-01-28 23:02:17 +01:00
Axel Dörfler
3427ae3942 Network: fixed wrong signature.
* I accidentally replaced the signature for NetworkStatus with the
  one from the preferences app.
2015-01-28 18:29:42 +01:00
Axel Dörfler
03b57bdc55 Removed BRoster::Launch() const args kludges.
* They are no longer needed, as Launch() no longer takes a
  const-less char array.
2015-01-28 17:06:32 +01:00
Axel Dörfler
be883bad52 Network: style cleanup. 2015-01-28 17:05:06 +01:00
Axel Dörfler
2d9c195093 PowerStatus: use the design capacity if needed.
* When the last full capacity is not available, use the design
  capacity of the battery instead.
2015-01-28 16:12:21 +01:00
Axel Dörfler
85f43155fe BRoster: added missing const in Launch() variant.
* The argument array passed in is never touched.
2015-01-28 16:12:18 +01:00
Adrien Destugues
65b32f9c38 iHaikuWebkit 1.4.9 for x86_64. 2015-01-28 16:03:49 +01:00