Commit Graph

56600 Commits

Author SHA1 Message Date
John Scipione
89c0b71c9a BNode: Style fixes, see below for details
Remove superfluous parens
Rename result variable to bytesWritten
Sync() Unwrap ternary style fix (for consistency)
* Shouldn't this return fCStatus instead of B_FILE ERROR?
* BeBook says "returning B_OK on success and an appropriate error message otherwise."
* Has returned B_FILE_ERROR since "it is accomplished ..."
Rename result variable to bytesWritten (again)
Remove superfluous space
explictly cast status_t to ssize_t
Remove superfluous parens, remove space, add newline
Explicitly cast status_t to ssize_t (again)
WriteAttrString() cleanup
* rename error to result
* rename sizeWritten to bytesWritten (consistency and clarity)
* check if error cede from WriteAttr and cast to status_t
* > not entirely style but functionaly same
* if length is different then written return B_FILE_ERROR
* > not a style change but a very minor functional change
* add some comments
Tiny documentation fix precede vars with \a
More style fixes
* Rename error to result
* Put parens around conditional of ternary instead of whole thing
* Compare against NULL explicitly
* Don't set fCStatus here, we're going to set it in the calling function instead
* > note that Unset() sets fCStatus to B_NO_INIT but that's ok
80 char limit style fix
More style fixes and don't set fCStatus
* remove superfluous parens
* compare ref to NULL explicitly
* > Also don't set fCStatus here since we will do that in calling function
    Unset() sets fCStatus to B_NO_INIT but that's ok
Unwrap ternary style fix (consistency)
Rename error to result (again)
2016-12-09 15:13:23 -08:00
John Scipione
19d8d9fa39 Add SoftwareUpdater to regular image 2016-12-09 13:52:27 -08:00
John Scipione
4e23cc438e SoftwareUpdater: Swap cancel and default buttons so default is rightmost
... and add default horizontal space between text and buttons
2016-12-09 13:52:03 -08:00
John Scipione
6ff8fbf568 SoftwareUpdater: Replace %d with B_PRIu32 for uint32
(gcc2h build gave me a stern warning)
2016-12-09 13:50:13 -08:00
John Scipione
7d82a586b0 SoftwareUpdater: Replace 4 spaces with 1 hard tab 2016-12-09 13:48:37 -08:00
Alexander von Gluck IV
b4ad45f630 SoftwareUpdater: Align to our style guidelines 2016-12-09 00:35:30 +00:00
Alexander von Gluck IV
8789541f9c SoftwareUpdater: Add some glue to buttons to slide them over 2016-12-09 00:26:09 +00:00
Alexander von Gluck IV
8ee9900d37 SoftwareUpdater: Change text based on number of updates avail 2016-12-09 00:13:36 +00:00
Alexander von Gluck IV
2f5a0addde SoftwareUpdater: Add some details on what's available
* Just example text for now to be filled in with
  data from our package kit.
2016-12-08 23:38:27 +00:00
Alexander von Gluck IV
c5867c77cc SoftwareUpdater: Add a fancy looking stripe view 2016-12-08 23:22:39 +00:00
Alexander von Gluck IV
f7d9c0110d SoftwareUpdater: Initial work on a GUI software updater
* Planning on having a notification box when updates
  available.
* Clicking the notification box will pop up the
  SoftwareUpdater with a simple "Apply Updates" button
* Currently users need to know to 'pkgman update'
2016-12-08 18:43:39 +00:00
Dario Casalinuovo
b8d4709eb9 MediaEventLooper: Remove soft real time lateness bounding
* The media_kit isn't an hard real time beast. Bounding lateness
looked like the perfect way to enable reasonable soft real time
performance and thus limiting port writes and reads between producers
and consumers. It seems to don't work very well so I just remove it.
* The result of the recent code simplification makes it equal to my
first version, before any discussion on it happened.
* Thanks to AlienSoldier for testing such issues.
* Fixes #13069.
2016-12-08 17:13:49 +01:00
Alexander von Gluck IV
a2b2f4d642 repo rework: Re-add compatibility url field
* We saw 3rd party repos break as well oddly.
* Reintroduces the url field in a little bit cleaner
  way.
* Should solve "Failed to open repository file" errors
* Once everyone updates beyond hrev50723 this is
  no longer needed.
2016-12-08 07:57:47 -06:00
Rene Gollent
67e0301477 Debugger: Adjustments to report generator.
DebugReportGenerator:
- Due to the changes made with respect to correctly handling switching to
  disassembly explicitly, the report generator needs to request loading
  source files as it walks the stack trace in order to get source-based
  line number information. Fixes crash reports having -1 as the line number
  in cases where debug information was available, but the user hadn't yet
  looked at the source file in question.

LoadSourceCodeJob:
- Cleanup.
2016-12-07 23:58:36 -05:00
Automatic Committer
83345e6b0b Update usb.ids from www.linux-usb.org 2016-12-08 05:20:16 +01:00
Alexander von Gluck IV
602076ef82 repo rework: Remove stubs; Breaks repo compat.
* These stubbs satisfied older Haiku releases that
  required the URL
* Users running nightly images will need to upgrade
  to hrev50723 - hrev50744 before upgrading further
* Getting this out of the way now before the beta
  comes out.
* New installations shouldn't suffer any problems.
2016-12-07 21:27:56 -06:00
Rene Gollent
7cfc043e00 libdebugger: Fix a regression with ELF loading in some cases.
ElfFile:
- The refactoring in commit 2c50fbb8e1
  inadvertently introduced a failure case if a section in the ELF file
  is skipped, since it was explicitly passing in the insertion index
  to BObjectList::AddItem(). Since in the skipped case, this would be
  out of bounds for the list's current size, this would cause the whole
  operation to fail with an out of memory error, and consequently halt
  all further loading of debug information for that particular file.
  This manifested itself with libroot on at least gcc5, where no symbols
  could be seen.
2016-12-07 22:17:34 -05:00
Jérôme Duval
245304f141 Add more packages for x86_64. 2016-12-07 17:29:46 +01:00
Jérôme Duval
a1a0f9f158 Sync x86_64 packages with HaikuPorts trunk. 2016-12-07 14:13:28 +01:00
Dario Casalinuovo
f1f0956504 MediaClient: Just some interface review 2016-12-06 21:16:36 +01:00
Jérôme Duval
ae7d265575 Update packages for x86_64.
* build against ffmpeg3.
2016-12-06 19:56:51 +01:00
Dario Casalinuovo
c1137899c5 MediaClient: Update comments to last changes
* The interface is being refined and various comments were inconsistent
at this point.
* AddInput/AddOutput is private now.
2016-12-06 16:47:16 +01:00
Rene Gollent
e218ec0288 Debugger: Hide connection controls.
TeamsWindow:
- As the functionality isn't yet actually ready, hide the controls in the
  teams window for now.
2016-12-05 18:18:14 -05:00
Rene Gollent
7e6e3c1be2 Debugger: Implement use of connection config roster.
Debugger:
- Initialize/Deinitialize roster as appropriate.

ConnectionConfigWindow:
- Implement config view listener interface, and use roster
  to retrieve and add appropriate config view when switching
  between interface types.
2016-12-05 18:18:11 -05:00
Rene Gollent
eede6646dd Debugger: Add connection config handler framework.
ConnectionConfigHandler:
- Abstract base class for the different types of connection that allows one to
  retrieve an appropriate configuration view based on the target host interface
  type. This will allow the configuration window to switch dynamically between
  network, USB, etc. without having to know the details of any of those.
  Initially only a network subclass has been implemented though.

ConnectionConfigHandlerRoster:
- Keeps track of the list of available config handlers, and handles mapping a
  request for a given interface info to the appropriate type of handler.

ConnectionConfigView:
- Abstract base class for the actual configuration views returned by the config
  handlers. This exposes a listener interface via which the view can notify
  an interested party that the configuration has been changed. Correspondingly,
  the configuration window will use this to determine if the configuration is
  complete enough to allow a connection attempt.
2016-12-05 18:18:09 -05:00
Rene Gollent
445f00371c Debugger: Implement spawning connection window.
TeamsWindow:
- Create new connection button now sends a message to the main app,
  which manages the connection window as a singleton.

Debugger:
- Handle creating/showing connection configuration window as requested.
2016-12-05 18:18:06 -05:00
Rene Gollent
c4b2191889 Debugger: Fix incorrect indentation. 2016-12-05 18:18:04 -05:00
Rene Gollent
c521fed0da Debugger: Add connection configuration window.
ConnectionConfigWindow:
- Utility window that is spawned in response to requests to create a new
  remote host connection. Allows setting up and attempting to make a
  connection.
2016-12-05 18:18:01 -05:00
Rene Gollent
10ba334855 Debugger: Cleanup.
- Split MessageCodes.h into a second file that separates out the
  application-specific message codes from those used by the core.
  Adjust includes accordingly. No functional change.
2016-12-05 18:17:58 -05:00
Rene Gollent
918f4a0733 Debugger: StartTeamWindow Style fix. 2016-12-05 18:17:56 -05:00
Rene Gollent
365840af1c Debugger: Adjust TeamsWindow for connection selection.
TeamsWindow:
- Add Listener interface for selected target host interface changes.
- Add menu field to display/choose between active host connections.
- Add button to create a new connection (not yet functional).

TeamsListView:
- Implement TeamsWindow Listener interface to decide when to update
  the displayed team list.
- Remove unused current team ID.
2016-12-05 18:17:53 -05:00
Rene Gollent
692fe55503 libdebugger: Add initial version of network interface.
NetworkTargetHostInterface{Info}:
- Barebones classes for implementing a target host interface over TCP.
2016-12-05 18:17:50 -05:00
Rene Gollent
25ec63dbf5 libdebugger: Add string setting type.
- Needed in order to properly implement a settings description for
  a remote interface.
2016-12-05 18:17:48 -05:00
Rene Gollent
9e4d0fd483 libdebugger: Implement remaining remote request/response pairs. 2016-12-05 18:03:14 -05:00
Rene Gollent
bcca096ae5 libdebugger: Fix header order in RemoteDebugRequest. 2016-12-05 18:03:13 -05:00
Jérôme Duval
ca55f16f03 Add/update more packages for x86_64. 2016-12-05 21:35:31 +01:00
Janus
18497f036d DiskUsage: minor clean up
* remove unused code.
* make fPreviousSnapshot local.
* change app_flags to B_SINGLE_LAUNCH
  when it is invoked by add-on reuses an already scanned volume
2016-12-05 12:17:19 +01:00
Jérôme Duval
83e11ab9dd Add some packages for x86_64. 2016-12-04 22:32:10 +01:00
Jérôme Duval
711f6269e0 Add openblas and linaro_qemu packages for x86_64. 2016-12-04 18:19:12 +01:00
Jérôme Duval
17fe1d43f9 Add a few packages for x86_64.
Update mesa and scons packages for x86_64.
2016-12-04 15:43:13 +01:00
Jérôme Duval
3051f35ef1 Add/Update Qt apps and dependencies for x86_64. 2016-12-04 10:56:10 +01:00
Jérôme Duval
5d0fb74a05 Add more packages for x86_64. 2016-12-03 22:22:36 +01:00
Humdinger
c8b2fcc2a1 Updated transmission package 2016-12-03 19:30:17 +01:00
Jérôme Duval
5bab7b8ffc Add a few packages for x86_64. 2016-12-03 15:37:13 +01:00
John Scipione
129626b593 Fix warnings building on newer OS X
Apple has gotten around to updating their POSIX support so these
constants are now defined. Add some #ifndef guards to prevent warnings
during compile.
2016-12-03 00:01:51 -08:00
Jérôme Duval
e1d5fc2575 Add a few missing packages for x86_64. 2016-12-02 22:47:01 +01:00
Humdinger
dc48017858 Uploaded x86 packages
UberTuber, Weather, PhotoGrabber
sane_backends, libusb, libusb_compat, ffmpeg-3.2-1, a52dec

Tested by Vidrep a found to be working. Thanks!
2016-12-02 20:26:22 +01:00
Janus
1fad3c98b6 DiskUsage: avoid different crashes on rescan
* Fixes #9380, #11442.
2016-12-02 18:49:33 +01:00
Jérôme Duval
d060801146 Update a few packages for x86_64. 2016-12-02 19:24:12 +01:00
Alexander von Gluck IV
5ffaf72c8a repo rework: Remove need for repos to be self-aware
* See #12917 for details.
* Squashed to one commit to make revert easy if we
  run into any issues.
* pkgman is now pre-attached to the 'current' repo
  version within nightly images so they can be updated
  by default.
* This shouldn't impact us keeping older sets of package
  versions by commit hash for building older hrevs.
* There are XXX stubs with "Kill me". These will need
  to be dropped after users are given sufficent time to
  upgrade. We're dropping a previously required field (url)
  so making this a slowish roll out.
* Makes the repos a lot less restrictive which should
  help PM package building automation be a bit easier.
* Once this stuff smooths out, we'll add UUID's to the
  repo definitions for duplicate repo detection.
2016-12-02 00:41:06 -06:00