Commit Graph

58010 Commits

Author SHA1 Message Date
Humdinger
f9492b5f11 Add Theo Knez
for his translations to Swedish. Thanks, Theo!
2018-03-01 08:55:51 +01:00
Alexander von Gluck IV
1b1df6828d ReadMe.compiling.md: Add quick lesson on bootstrap in-tree
Change-Id: I416a2e96adc6f34609c3f6ca1aadf892d29c7fd7
2018-02-28 21:48:34 -06:00
Alexander von Gluck IV
82876dc4cb build_cross_tools_gcc4: Disable TLS on PowerPC for now
Change-Id: Ib99a1a4aeeb5d17a301ffd1d9c5fcadd37261ebf
2018-02-28 21:46:24 -06:00
Humdinger
b965ce7025 Changes to HaikuDepot GUI
As discussed at #13860.

* Moved "Show only featured packages" from the "Show" menu to a
  checkbox in the filter view.
* Moved "Repositories" popup menu into the menu bar.
* Removed the "Featured packages" title.
* Entering a search term doesn't override the "Only featured"
  filter anymore (used to disable the "Only featured" filter).
2018-02-28 19:17:57 +00:00
Jérôme Duval
959fdbd314 acpi_battery: use user_strlcpy in acpi_battery_read().
* also check for user addresses in acpi_battery_control().
2018-02-28 20:10:34 +01:00
Jérôme Duval
6470e36518 acpi_button: use user_memcpy to write the user buffer.
* fix warning on x86_64.
2018-02-28 18:37:46 +01:00
Kacper Kasper
821f3e571b ProcessController: fix replicant for up to 12 CPUs. 2018-02-28 16:44:25 +01:00
Kacper Kasper
57313774b9 AboutSystem: don't add licenses twice. 2018-02-28 16:02:12 +01:00
Barrett17
9ab4c38420 MediaConnection: Add more plans about buffer management 2018-02-27 02:49:50 +01:00
Barrett17
444d8ec0e2 MediaConnection: Hide connection callbacks
* At this point we want to avoid the user calling the callbacks
in the form of BMediaConnection. Instead we force to use the
BMediaInput and BMediaOutput versions.
2018-02-27 02:43:38 +01:00
Barrett17
ff56eda570 MediaConnection: Move buffer management on producer side 2018-02-27 01:50:09 +01:00
Andrew Lindesay
54312619ab HaikuDepot : 'Old Client' Handling
The server side has the ability to reject client
requests where the client is no longer supported
because it is presumably too old.  This change
will inform the user when this happens and will
prevent the client from attempting further server
communications within this execution of the
application.
2018-02-26 21:51:45 +00:00
Alexander von Gluck IV
3a747315b2 stdlib: Add common bsd mkstemps function
Change-Id: I8c54f4b42e8b41f9a769b8b53f074a307b1a054c
2018-02-26 21:46:25 +00:00
Automatic Committer
5f071d4aee Remove unused translation catalogs 2018-02-26 20:22:26 +01:00
Hrishi Hiraskar
6dc1f7eb1e [pkgman] pkgman informs if package is already installed.
While installing packages through pkgman, it will inform if specific
package is already installed. Fixes #12447 : [pkgman] inform if a
package is already installed.
Change-Id: I194bc849c42ba52a696a6cb52d87aebaff530f35
2018-02-26 18:33:58 +00:00
Jérôme Duval
0bb9fd3868 write_overlay: Read()/Write() with user_memcpy(). 2018-02-26 18:59:01 +01:00
Xiang Fan
fb6387f2b4 kernel: add /dev/null polling test
Bug: 13965
2018-02-26 10:44:22 +00:00
Xiang Fan
a9388f6d39 kernel: vfs: don't notify output-only select events by default
Output-only events (B_EVENT_ERROR, B_EVENT_DISCONNECTED and
B_EVENT_INVALID, with B_EVENT_INVALID masked out before passing down
events) are used to indicate error, so they should not be notified if
the vnode does not have select().

Bug: 13965
2018-02-26 10:44:22 +00:00
Xiang Fan
f3b05a74bb kernel: devfs: don't notify output-only select events by default
Output-only events (B_EVENT_ERROR, B_EVENT_DISCONNECTED and
B_EVENT_INVALID, with B_EVENT_INVALID masked out before passing down
events) are used to indicate error, so they should not be notified if
the device does not have Select().

Bug: 13965
2018-02-26 10:44:22 +00:00
Xiang Fan
8a38c1fdc2 kernel: fd: don't notify output-only select events by default
Output-only events (B_EVENT_ERROR, B_EVENT_DISCONNECTED and
B_EVENT_INVALID, with B_EVENT_INVALID masked out before passing down
events) are used to indicate error, so they should not be notified if
the filesystem does not explicitly provide an fd_select() override.

Bug: 13965
2018-02-26 10:44:22 +00:00
Xiang Fan
46b328f136 wait_for_objects: add macros for output-only select types
Bug: 13965
2018-02-26 10:43:54 +00:00
Barrett17
e74e02ac05 MediaClient: Update docs and add TODOs 2018-02-25 23:44:39 +01:00
Barrett17
9cf18a39cd MediaConnection: BufferSize should be inherited
* While it's trivial for audio to calculate the buffer size,
it isn't the same for video.
2018-02-25 23:44:33 +01:00
Barrett17
78fea9cd2d MediaClient: General cleanup
* We are finally not dependent on media kit definitions.
* Offline mode is not important at this moment.
2018-02-25 23:44:16 +01:00
Jérôme Duval
4bd0c1066b runtime_loader: add hybrid support. 2018-02-25 08:29:51 +01:00
Barrett17
befa252fbf MediaConnection: Non simple connections should be inherited
* BSimpleMediaConnections are provided for that.
* Make SetOutputEnabled private.
2018-02-24 16:13:34 +01:00
Barrett17
c61ffa962e MediaConnection: Remove latency range interface
* In preparation for the introduction of BMediaGraph.
2018-02-24 15:42:16 +01:00
Barrett17
dc4c49c305 MediaConnection: Introduce Endpoint() method.
* Used to get the other side of a connection when
available.
2018-02-24 15:42:12 +01:00
Janus
be5456794b Haikudepot: Draw BarberPole border only when displayed 2018-02-24 13:29:07 +01:00
Jérôme Duval
b5ace95f87 scsi_periph: use user_memcpy for user buffers.
ioctls in this module can actually be called from the kernel (file systems or
ddm).
2018-02-24 10:08:46 +01:00
Barrett17
3b36cb5942 MediaClient: FileInterface is a bad idea, remove TODO 2018-02-24 02:34:38 +01:00
Barrett17
72958d8ba8 MediaClient: Remove SetRunMode 2018-02-24 02:30:40 +01:00
Barrett17
e8bf0f3e72 MediaClient: Reappropriate copyright 2018-02-24 02:23:41 +01:00
Jérôme Duval
3da236362c usb_hid: also use user_memcpy() in TabletProtocolHandler. 2018-02-23 23:27:51 +01:00
Kacper Kasper
e0c304f798 efi: fix 64-bit build. 2018-02-23 22:23:51 +01:00
Alexander von Gluck IV
233af7df05 ReadMe: Add note about infrastructure 2018-02-23 11:40:11 -06:00
Automatic Committer
42b3847379 Update translations from Pootle 2018-02-23 13:15:49 +01:00
Jérôme Duval
ee1521b957 pci: map msix maps for the kernel only. 2018-02-22 22:44:56 +01:00
Automatic Committer
a477cca575 Update translations from Pootle 2018-02-17 07:04:34 +01:00
John Scipione
940a3a2322 Revert "build/libgnuregex: Remove."
This reverts commit ca087b0532.

Mac OS X requires libgnuregex for Keymap
2018-02-16 16:45:11 -08:00
Alexander G. M. Smith
f12d3b3477 Update BListItem::SetHeight() docs with selection box warning.
The cached top coordinate of each BListItem isn't updated when you
change the height of the item, leading to confusing highlighting and
incorrect mouse clicks.  Rather than fixing it, this just documents a
workaround or two to force an update of the cached coordinates.
2018-02-17 00:26:34 +00:00
Autocommitter
a298f79ff9 Update translations from Pootle 2018-02-11 10:21:10 +01:00
Jérôme Duval
bec80c1ced white space cleanup 2018-02-10 19:34:43 +01:00
Jérôme Duval
718d7149b1 white space cleanup 2018-02-10 16:15:37 +01:00
Jérôme Duval
e2e571c035 usb_raw: use user_memcpy to read/write the user buffers.
also check buffer addresses passed through structures. For transfers, first compute
the direction of the transfer, to copy before or after the actual transfer.
2018-02-08 13:54:06 +01:00
Jérôme Duval
f1549b1611 usb_hid: use user_memcpy to read/write the user buffers.
also check buffer addresses.
2018-02-08 13:31:15 +01:00
Humdinger
2539550c6e Improved Belarus flag 2018-02-05 21:21:04 +01:00
Rene Gollent
770075026c Debugger: Rework type handlers to allow for custom selection.
TypeHandler:
- Add name field for presentation purposes. Adapt subclasses accordingly.

TypeHandlerRoster:
- Add methods to count and retrieve all type handlers for a given type,
  and adjust CreateValueNode to allow for passing in an explicit handler.
  Adjust callers accordingly.

VariablesViewState:
- Add helpers to store an explicitly chosen type handler for a node.

TypeHandlerMenuItem:
- ActionMenuItem subclass that takes care of reference management
  for its contained type handler.

VariablesView:
- Add context menu for choosing type handlers if applicable. Implement
  support for invoking said type handlers in a similar manner to explicit
  typecasts.
- Adjust saving/restoring the view state so that hidden nodes are taken
  into account as well. This is necessary since it may be the case that
  the handler had to be applied to the hidden child rather than the visible
  node (i.e. the BMessage handler when applied to a pointer to a BMessage).

All together, these changes allow choosing to switch between views of a type
when the Debugger has multiple handlers for it. For example, for BMessages
this allows switching between displaying the raw underlying structure vs
the decoded message content.
2018-02-04 14:13:01 -05:00
Jérôme Duval
401fb209ea kernel: use x2apic on hypervisor, or if already enabled.
* this can be disabled per safe mode setting.
2018-02-04 19:08:53 +01:00
Jérôme Duval
ac690cf148 glue: correctly support different architectures.
* use MergeObject even if we don't need the merged object: the rule does what
is needed and is standardly used for instance in libroot.so.
* add a grist to source files for the bootstrap glue.
2018-01-31 22:57:56 +01:00