Commit Graph

53037 Commits

Author SHA1 Message Date
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
Adrien Destugues
5bd7028d84 Update substrate and fontboy packages.
Both received some important bugfixes and other improvements.
2015-01-28 11:16:45 +01:00
Adrien Destugues
1caaa21b4e Ninja package for x86_64. 2015-01-28 09:05:53 +01:00
John Scipione
5288f7733b Tracker: Reorder include alphabetically
No functional change intended, corrected in feature branch, but
unrelated to feature. Having this change in tree will make keeping
my Tracker feature branches up to date slightly easier.
2015-01-27 20:54:14 -05:00
John Scipione
b1a9f638da Add preliminary Net Kit intro by Philippe Houdoin
From here:
http://philippe.houdoin.free.fr/phil/beos/openbeos/network_kit/overview.html
2015-01-27 19:16:54 -05:00
John Scipione
d04b3b772c Remove trailing . from titles 2015-01-27 19:15:11 -05:00
John Scipione
7177815b20 Use regular bullets for lists, matches User Guide 2015-01-27 19:14:36 -05:00
John Scipione
3cf6e692c8 Fix typos in BReferencable docs 2015-01-27 18:17:16 -05:00
Axel Dörfler
30238c0418 Added BApplication::Signature() getter. 2015-01-27 23:40:03 +01:00
Augustin Cavalier
e7803cf1f6 Tracker: use the Layout API wherever possible.
Sorry this commit is so big, but I couldn't figure out how to do this
incrementally without breaking things.

I wasn't able to just merge Aldeck's branch, as it was a partial refactor
of Tracker and didn't just rewrite the UI creation code to use layouts,
and the changes for PM (e.g. addon loading, virtual directories) made it
very hard to merge (it doesn't even compile after an automerge) so rather
than spending time on that, I decided it'd be better to recreate his work.

Miscellaneous notes:
 - This partially cleans up BPoseView & subclasses and BContainerWindow &
   subclasses -- none of the subclasses and child views abuse the parent's
   state, child views, or layout now.
 - BFilePanel and BDeskWindow are not on layouts, because:
   * BFilePanel docs in the Be Book instructed developers that wanted to
     modify BFilePanel's layout to just use FindView() and then move the
     views around. Obviously making it use layouts will break all BeOS
     apps that do this, and there are a lot of them (Pe, WonderBrush are
     just two examples.) I've added a note to the TODO list for R2 to create
     a layout-compatible API for this.
   * Some replicants (Workspaces, for example) rely on manipulating
     BDeskWindow's drawing state. This is incompatible with layouts, as
     at least in the case of Workspaces, it breaks a layouted version
     of BDeskWindow entirely.
 - I noticed a lot of #ifdef BEOS_VERSION ... gunk in the code. Tracker
   probably didn't build on BeOS just before this commit, and now it
   won't for sure, so I intend to go through and clean that out in the
   near future.

This commit also fixes:
 - enhancement #4996 (make Tracker's navigator use vector icons)
 - bug #3039 (resizing OpenWithWindow flashes the blue border)
 - bug #3889 (OpenWithWindow redraw errors)
 - a regression that was a side effect of "dynamic_cast<BDeskWindow*>(this)"
   always returning NULL when run in the constructor. I just added a "bool
   isDeskWindow" to BContainerWindow's constructor that is only set to true
   by BDeskWindow.
 - a copy&paste error in VirtualDirectoryPoseView that was passing "uint32
   resizeMode" as "uint32 viewMode".

Thanks to Alexandre for his original branch (it was a very useful
reference), Axel (for some miscellaneous advice & encouragement),
Adrien & Humdinger (for user interface review), and Diver (for user
interface review & testing).
2015-01-27 01:43:51 -05:00
Adrien Destugues
d21c5eedf3 HaikuWebKit 1.4.9 - fixes redirect problems. 2015-01-27 12:54:28 +01:00
Adrien Destugues
6eb464d8e5 ncurses: remove non-existing headers directory
The build feature depended on a non-existing directory, causing all
dependencies to always be considered out of date by Jam.

Fixes #11664.
2015-01-27 11:07:50 +01:00
Adrien Destugues
49e8a3c652 BReferencable: implement const references with specialization
This is simpler and cleaner than my previous attempt. Thanks to Ingo for
suggesting this.
2015-01-27 10:31:08 +01:00
John Scipione
558a3eede1 Build fix for input_server filters
Apparently not linking to libstdc++ correctly is causing an error.

Also, use new(std::nothrow) when creating the input server filter
to avoid an exception from being thrown by the constructor in the
case of low memory.
2015-01-26 19:10:18 -05:00
John Scipione
a0c8352718 Add input server filters
... for switching workspaces (removed from BWindow) and
minimize all (aka Show Desktop).

This moves the workspace switch behavior out of the BWindow class
and places it into it's own input server filter that does the same
thing. The difference is that you may now uninstall the workspace
switching filter to disable the behavior. These shortcuts were not
included in the BeOS R5 version of BWindow so represent additional
behavior added to Haiku.

minimize_all (aka Show Desktop) is a new input server filter that
allows you to minimize all windows by pressing cmd+ctrl+D. If
you do not like this behavior you may uninstall the minimize_all
input server filter.
2015-01-26 18:25:27 -05:00
John Scipione
ccc6666156 BWindow: remove workspace switching shortcuts
These are going to be activated by an input server filter instead.
2015-01-26 18:24:59 -05:00
John Scipione
75e162f7d9 BWindow: style fixes
Update copyright header
2015-01-26 14:22:32 -05:00
Adrien Destugues
fbc43a7279 BNetworkInterfaceAddress: missing initialization
* As it doesn't rely on BNetworkAddress anymore,
BNetworkInterfaceAddress must now take care of initializing the
addresses itself.
* Also add some input sanitization and and asserts to ease detecting
such problems.
* Fixes #11778.
2015-01-26 17:32:19 +01:00