Commit Graph

56913 Commits

Author SHA1 Message Date
Augustin Cavalier
8dcdf72d72 Update userguide translations 2017-04-15 22:40:25 +02:00
Augustin Cavalier
b95e90657e docs/user: Update search URL following docs migration. 2017-04-15 16:28:06 -04:00
autonielx
d99ff922ae Update translations from Pootle 2017-04-15 06:50:46 +02:00
Augustin Cavalier
17f5ac9149 libroot: Restore exit() call after debugger().
Thanks PulkoMandy for the review.
2017-04-14 18:29:29 -04:00
Augustin Cavalier
a5d208c7d6 libroot: abort() should behave like a crash, not just a 'failure' exit.
Calling debugger() means that the crash dialog will be shown, and so
users will not be left wondering why an app just spontenously disappeared.
2017-04-14 16:07:02 -04:00
Adrien Destugues
302f451214 pcnet: _XOPEN_SOURCE. 2017-04-14 21:04:45 +02:00
Adrien Destugues
71d017f1f0 More _XOPEN_SOURCE :/ 2017-04-14 20:44:32 +02:00
Adrien Destugues
fd6603d99a Yet another missing _XOPEN_SOURCE. 2017-04-14 20:19:15 +02:00
Adrien Destugues
c9d506a65e Another missing _XOPEN_SOURCE define... 2017-04-14 19:00:13 +02:00
Dario Casalinuovo
0cc5ecb8ca MediaClient: IDs should be signed integers
* It's very important to use a negative value to identify
non valid or uninitialized connections. Additionally, it's preferred
to don't interfere with media_kit types as long as the framework use
it in the backend.
2017-04-14 17:28:35 +02:00
Axel Dörfler
3431d8f20e BFS: Fixed readdir() again.
* We still need to return B_BUFFER_OVERFLOW if the passed in buffer was
  smaller than INODE_FILE_NAME_LENGTH, as that's what must be expected
  from the caller.
2017-04-14 14:39:20 +02:00
Adrien Destugues
5bb8320035 Fix a few more uses of PAGE_SIZE 2017-04-14 07:23:23 +02:00
Adrien Destugues
6caa391f67 Fix another use of PAGE_SIZE
Not detected when building locally, probably I should have done a clean
build.
2017-04-14 07:18:38 +02:00
Adrien Destugues
743088d40b Fix users of PAGE_SIZE
- Replaced by B_PAGE_SIZE where possible
- Enabled the _XOPEN_SOURCE feature define otherwise
2017-04-13 21:32:08 +02:00
Adrien Destugues
56403b6373 limits.h: define PAGE_SIZE only if XSI is requested
limits.h is part of the C standard, but POSIX and XSI extend it with
various defines. We should not add these unless the application requests
support for them.

In this case, PAGE_SIZE should only be defined if XSI support is
requested by defining _XOPEN_SOURCE. Note that PAGESIZE (plain POSIX for
the same thing) and B_PAGE_SIZE are alternatives that remain available.
2017-04-13 21:14:41 +02:00
Adrien Destugues
b68cf9d6f6 elf.h: add more architectures.
Mostly I need EM_AVR to build avrdude on Haiku.
2017-04-11 18:59:06 +02:00
Adrien Destugues
fd8d1d5656 launch_daemon: fix check for existing directory
BEntry.InitCheck returns B_OK even if the leaf does not exist. So the
code in launch daemon to create directories (/tmp and
/var/shared_memory) was never run.

Fixes #12760.
2017-04-10 21:56:31 +02:00
Fredrik Holmqvist
0cfd77ac3b Print elantech touchpad version. 2017-04-10 21:17:58 +02:00
Humdinger
54d48f1666 Updated Vision package to v0.10.1-1 2017-04-10 19:30:16 +02:00
Humdinger
8f22a9cf03 Adding icon Server_NFS_Idmapper
...by combining the "server hand" and the icon of jua's FuseSMB.
Fixes #1429.
2017-04-09 20:07:25 +02:00
Fredrik Holmqvist
044cab8e74 Activate Elantech toucpad probe but fail.
Now we can see who has Elantech touchpad.
Driver is currently in very bad shape on my hw:
 * mouse jumps
 * mouse clicks maps to wrong button
 * keyboard not working properly when enabled
 * power button only works in force shutdown mode
2017-04-09 15:14:02 +02:00
Adrien Destugues
34ac7f7ac3 BListView: manage horizontal scrollbar
BListView automatically sets the vertical scrollbar range already. Do
the same for the horizontal scrollbar.

Also fix BOutlineListView to compute the preferred size taking into
account the items outline levels (it needs a little more space).

This fixes the horizontal scrollbars in Locale preferences, second part
of #6747.
2017-04-09 12:03:33 +02:00
Jérôme Duval
456e971517 Update podofo, grep, mercurial and scribus packages for x86_64.
* podofo 0.9.5 isn't compatible with 0.9.4.
* grep compatible with version 2.
* mercurial requires python2 instead of python.
* scribus is rebuilt with newer podofo.
2017-04-09 11:17:25 +02:00
Axel Dörfler
48063a420c BFS: Use MAX_INDEX_KEY_LENGTH for queries.
* INODE_FILE_NAME_LENGTH makes no sense here, even though this change
  is not supposed to actually change anything besides the naming.
2017-04-08 22:50:54 +02:00
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