Commit Graph

57489 Commits

Author SHA1 Message Date
Jérôme Duval
04dabcfdf3 posix_spawn(): close the pipe read fd in the parent.
* also enable close-on-exec for the eventually dupped pipe write fd in the child.
2017-11-03 23:13:49 +01:00
Jérôme Duval
5623698f55 Update haikuwebkit packages for x86_64. 2017-11-03 20:56:54 +01:00
Andrew Lindesay
3d528c4a60 HaikuDepot: Change communication mechanism with server for repos
(last commit with same title only included new files - added those now)

Previously the desktop application would make a number of JSON-RPC calls
over HTTP to get the repositories.  Now it will make a single call to get
the repositories and cache the result.  This uses standard HTTP cache
signalling techniques and allows the server-side the ability to cache
the generated data as well.  Note that the model classes and parse-
related classes are generated and may not be code-style compliant.  They
are generated from JSON schema files in the server-side project.
Information about this as well as the python files used to generate the
C++ classes and headers are included in the server-side project.
2017-11-03 20:10:01 +01:00
Humdinger
af463b82f8 Removed virtualbox_guest_additions from 64bit repo
Apparently, they compile, but don't work on 64bits.
2017-11-03 16:29:57 +01:00
John Scipione
cf6569ab6a Workspaces: Move fSwitchOnWheel setting to view
... and re-enable it. Off by default. The view controls just this
one setting while the window controls the rest. However they both
share a common settings file on disk. This means that a change in
one view's wheel setting will affect all others when relaunched,
but won't affect already running instances, this is intentional.

WorkspacesSettings::_Open() method has been moved to a static
function OpenSettingsFile() and is used both by WorkspacesSettings
and WorkspacesView classes.

The switch on wheel setting was disabled for view-only (replicant)
Workspaces instances in hrev50796, this seeks to restore it.

That commit says:
"A cleaner solution would be to read the settings once if there is
no WorkspacesWindow, and use the setting from there instead."

Instead of that, we read the setting from the file on disk and
write it to disk too bypassing the window entirely.

Used local pointer style.
Some style fixes mixed in.
2017-11-02 15:21:58 -07:00
jua
1769813948 x86-64: handle stack fault for non-canonical address access
* With the amd64 architecture, the stack fault exception got a new
  meaning: it is raised when an instruction tries to access a
  non-canonical address, and the stack is referenced in the
  instruction (e.g. by its addressing mode).
  So unlike on x86, this is not a fatal exception and shouldn't
  trigger a KDL -- instead, it is to be treated like a general
  protection fault, terminating the team which caused it.

* Fixes #13744
2017-11-02 18:55:03 +01:00
Philippe Houdoin
c64b6fc967 WebPTranslator: use libwebp to identify.
Previous hardcoded checks were only aware of VP8 lossy chunk format,
leading to rejecting lossless or newer extended WebP images, while
the libwebp bellow could have handle them fine.

Fix #13712.
2017-11-02 17:30:22 +00:00
Humdinger
73edde126a Update PDFTranslator package
Needed a rebuild after the BControlLook changes.
Works on x86_64 too.
2017-11-02 08:07:36 +01:00
Automatic Committer
f8ca15688c Update pci.ids from pciids.sourceforge.net 2017-11-02 05:20:26 +01:00
Adrien Destugues
00b62cbe54 Fix DoCatalogs for MediaPlayer
since it uses gristed sources, it must be inside the multiarch block.
2017-11-01 22:01:33 +01:00
Adrien Destugues
ae80bc1f41 Make it possible to build MediaPlayer with gcc5 on gcc2 system
For now only for testing and evaluation purposes. We may switch to this
in the default image if it proves to be better at playing various files.
2017-11-01 21:30:55 +01:00
Jérôme Duval
87e6718233 POSIX: have sysconf(_SC_OPEN_MAX) return the rlimit value.
* we use this value in posix_spawn_file_actions_adddup2() for instance, ninja then
fails with "Bad file descriptor".
2017-11-01 13:07:11 +01:00
Humdinger
8357640d63 Add recently outsourced "bc" package for gcc2 2017-11-01 09:06:04 +01:00
John Scipione
092e918baa Deskbar: draw resize rect in Bounds() not updateRect
it draws correctly most of the time but when you open and close the
menu it doesn't.

Fixes #13740
2017-10-30 10:58:03 -07:00
Julian Harnath
615417e5ba BFilePanel: reset to home dir if volume unmounted
* Fix bug reported by humdinger: when the volume which is
  currently shown in the file panel is unmounted, the file
  panel's window was closed and even deleted. This is not only
  inconvenient but also a use-after-free bug waiting to happen:
  an application which keeps the BFilePanel around to show it
  again later (as recommended in the BeBook) cannot know that
  it has become invalid while it was hidden (the destruction of
  the window happens even when it's not shown).

* When receiving an unmount event for the currently shown volume,
  we now reset the view to the home directory.
2017-10-30 15:19:55 +01:00
Augustin Cavalier
a9c1157a2a pkgman: Completely rework download progress indicator.
* Remove the Unicode progress characters, instead change terminal
   background color
 * Include downloaded/total size in the displayed information
 * Include transfer rate (over the last 1s)

Here's a quick screenshot of what it looks like now:
https://i.imgur.com/x4II3Fu.png

"Inspired" by a very old patch by Axel, but almost all of this is my own work.

Fixes #13424.
2017-10-30 14:19:39 +01:00
Augustin Cavalier
055c4e1406 OptionalPackages: Remove unused cruft. 2017-10-29 13:22:34 +01:00
Adrien Destugues
309c068978 FTDI: properly remove out-of-band info from data.
FTDI chips send packets of at most 62 bytes of data, with a 2 byte
header. The code assumed that the chip would return at most 64 bytes,
but with new (USB2) chips this is not the case anymore. As a result,
it was skipping only the first header in a packet and leaving the other
ones in the data stream.
2017-10-28 19:54:57 +02:00
Jérôme Duval
e1ca67697e libbnetapi: style fixes only. 2017-10-26 19:30:33 +02:00
John Scipione
a6c6dd77f3 Add Activity Monitor to regular image
... now that it has been removed from minimum it must be added
to regular image to keep it.
2017-10-23 10:49:48 -07:00
John Scipione
aa4d1b078a Remove libmedia.so and Activity Monitor from minimum
as per Jérôme's request.

Revert "Add libmedia.so to the minimum image"

This reverts commit 8eda6db9a8.
2017-10-23 10:13:24 -07:00
Humdinger
89638ad3e0 Bump yab, yab_ide packages
needed a rebuild. Something went wrong with my last uploaded
build still hitting the BControlLook ABI change...
2017-10-23 18:34:16 +02:00
Jérôme Duval
30d4a921e7 Update mesa and mpv packages for x86_64. 2017-10-23 10:32:45 +02:00
Humdinger
ee78540238 Update yab packages for gcc2 2017-10-22 19:46:23 +02:00
Humdinger
70ba43b303 More updated packages for gcc2
BePDF now available for gcc2.
Removed bepdf_x86.
2017-10-22 11:14:22 +02:00
Humdinger
5ed3f8854c Updated libpng16 for gcc2 2017-10-22 11:08:08 +02:00
Humdinger
c64bdb8b14 More updated packages for gcc2 2017-10-22 10:53:08 +02:00
Humdinger
ea64fb48ea More updated packages for gcc2 2017-10-22 10:50:30 +02:00
Humdinger
592cb848ec More updated packages for gcc2 2017-10-22 10:46:29 +02:00
Humdinger
45f144d6d2 Updated packages for gcc2 2017-10-22 10:29:01 +02:00
Humdinger
dcdcd588c1 Updated libpcre and libpcre2
the first needed by Pe.
2017-10-22 08:35:22 +02:00
Humdinger
7e7c1e6bd4 Updated packages for gcc2
* Pe
* Vision
2017-10-22 08:21:05 +02:00
John Scipione
8eda6db9a8 Add libmedia.so to the minimum image
libmedia.so was used by at least 2 apps included in the minimum image,
Activity Monitor and Deskcalc which subsequently failed to load on minimum.

Deskcalc wasn't actually using libmedia.so so I managed to get it to link and
run on minimum, however, Activity Monitor is using libmedia.so so needed it
to be present.

To fix this I added libmedia.so to the minimum image, I hope this does not blow
its size budget. (adds 1.0MB)
2017-10-21 16:47:57 -07:00
John Scipione
f34bbb82ea Deskcalc: unlink media, not used
see next commit
2017-10-21 16:43:38 -07:00
John Scipione
18b663756a Activity Monitor: Minor whitespace fix in Jamfile 2017-10-21 16:42:53 -07:00
Jérôme Duval
1ef54b24ec Update libpng_x86 and libxslt_86 packages for x86_gcc2. 2017-10-21 10:02:20 +02:00
Automatic Committer
4cbdb1d7d2 Update translations from Pootle 2017-10-21 07:04:25 +02:00
Andrew Lindesay
e457080a4a HaikuDepot: Change communication mechanism with server for repos
Previously the desktop application would make a number of JSON-RPC calls
over HTTP to get the repositories.  Now it will make a single call to get
the repositories and cache the result.  This uses standard HTTP cache
signalling techniques and allows the server-side the ability to cache
the generated data as well.  Note that the model classes and parse-
related classes are generated and may not be code-style compliant.  They
are generated from JSON schema files in the server-side project.
Information about this as well as the python files used to generate the
C++ classes and headers are included in the server-side project.
2017-10-20 22:33:10 +02:00
Alexander von Gluck IV
7e2d856556 dts: Rename bbb to boneblack to match u-boot 2017-10-20 13:12:14 -05:00
Jérôme Duval
6417d92620 Update/add now fixed packages for x86_64. 2017-10-19 17:16:18 +02:00
Automatic Committer
18637d561a Update pci.ids from pciids.sourceforge.net 2017-10-19 05:20:23 +02:00
Sean Healy
7e42e5b5a4 Do not force the keyboard focus if there wasn't one
Removing tabs tries to preserve the keyboard focus, but it should also
preserve the absence of it.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-10-18 23:07:47 +02:00
Sean Healy
d566b4d9dd Fix BWindow::_FindView when the window is hidden
_FindView finds a view that contains a specific BPoint (usually used to
dispatch a mouse event to it). It should ignore hidden views, but not if
they are hidden because of their parent.

In particular, if the whole window is hidden (for example, it is used to
draw onto a BBitmap), this should not be taken into account here.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-10-18 22:36:16 +02:00
Alexander von Gluck IV
403baf656d u-boot: mmc single case volume label
* Makes parsing slightly easier in tools like rune-image.
* Mixed case introduces some extra encoding the WIP Rust
  FAT driver doesn't support (yet)
2017-10-18 11:43:54 -05:00
Humdinger
2618d62084 AboutSystem: moved michaelvo to pt_BR
As requested on the i18n mailing list.
2017-10-16 07:37:28 +02:00
Automatic Committer
64aae234a1 Update translations from Pootle 2017-10-14 06:55:10 +02:00
Automatic Committer
7b8c7524f1 Update pci.ids from pciids.sourceforge.net 2017-10-12 05:20:25 +02:00
Jérôme Duval
0c57e260d7 Rebuild x86_64 packages. 2017-10-10 22:45:32 +02:00
Jérôme Duval
a295d3f46e wait4(): retrieve dead team entries usage information.
* This adds a parameter to the wait_for_child syscall. I extended the test case
to show the actual retrieved information.
* fix #13546
2017-10-10 17:20:46 +02:00
Adrien Destugues
c80ec6a9fe Rebuilt HaikuWebKit to fix ABI breakage.
WebPositive should work again.
2017-10-09 07:23:11 +02:00