Commit Graph

47979 Commits

Author SHA1 Message Date
Ingo Weinhold
0ee677e7f1 Add BRemoveEngine
Similar to BCopyEngine, but it (surprise!) removes an entry.
2013-09-27 00:51:30 +02:00
Ingo Weinhold
4cf3529cbb BCopyEngine: Add base class BEntryOperationEngineBase
It contains a helper class Entry, which allows to generalize the
BCopyEngine::CopyEntry() parameters.
2013-09-27 00:51:30 +02:00
Ingo Weinhold
43ff23ebbf <NotOwningEntryRef.h>: Denote BPrivate explicitly 2013-09-27 00:51:29 +02:00
Axel Dörfler
6c7caf44df NetworkStatus now joins networks by address instead of name.
* This solves part of ticket #10008.
2013-09-27 00:21:04 +02:00
Jérôme Duval
1bc85a38d5 libroot: spawn_thread() now creates a detached pthread.
* __pthread_destroy_thread() will in turn free the pthread_thread object.
* this fixes a leak of 2072 bytes on each thread construction/destruction
and #9945. MediaExtractor spawns a thread on construction, which leaked
its pthread_thread object on destuction.
2013-09-26 21:30:59 +02:00
Alexander von Gluck IV
53e2862144 radeon_hd: Style cleanup of displayport.cpp
* These errors slipped in from an external patch
* No functional change
2013-09-25 20:49:15 -05:00
Alexander von Gluck IV
e1d4323c6c radeon_hd: Style cleanup of display.cpp
* These errors slipped in from an external patch
* No functional change
2013-09-25 20:46:14 -05:00
Adrien Destugues
e813a15846 Minimal support for uname -p
* This is used by cmake to know which CPU to build for.
2013-09-25 18:39:00 +02:00
Pawel Dziepak
2b66a08acb nfs4: Ignore superfluous slashes and get proper NFS4 share name 2013-09-25 00:58:43 +02:00
François Revol
1f4aeff06a Some places where to find OpenFirmware specs... 2013-09-23 20:21:53 +02:00
Rene Gollent
a5d9833346 HaikuDepot: Minor optimization.
- PackageAction now stores/returns a type code indicating the embodied
  action. Adjust PackageActionView accordingly in its comparison of
  the old/new package action list.
2013-09-22 17:30:02 -04:00
Rene Gollent
dd9658f010 HaikuDepot: Sort package list by name column on startup. 2013-09-22 17:26:26 -04:00
Jérôme Duval
4c78b73b8a ps2: added initial support for elantech pads.
* also added a license to ps2_alps.h
* added ps2_dev_sliced_command()
* moved some ps2 commands definitions to ps2_defs.h
2013-09-22 23:15:23 +02:00
Rene Gollent
f4058a3f9f HaikuDepot: Adjust displayed publisher.
- If available, show the package's copyright information for the
  publisher rather than the vendor, as the latter simply indicates
  the maintainer of the repository rather than the actual developers
  of the software contained in the package.
2013-09-22 16:49:38 -04:00
Rene Gollent
34f4c3ec4f HaikuDepot: Fix #10000.
- When switching selected packages, compare the new and old package action
  list. If they're the same, don't bother rebuilding the button bar.
2013-09-22 16:49:38 -04:00
Matt Madia
d68208fa16 Use double parenthesis for math expressions.
This allows FreeBSD with a pure /bin/sh (not a symlink to /bin/bash) to build
the cross-tools to a dedicated directory, outside of the generated folder.
2013-09-22 13:57:53 -04:00
Rene Gollent
99b3982f2c PackageListView: Force status field to update properly. 2013-09-22 09:04:59 -04:00
Rene Gollent
9e8ffcbb8f HaikuDepot: Rework to get actions working properly.
- BPackageManager doesn't (currently) support being reused for multiple
  differing actions, so instantiate it on the fly for each action to be
  performed.

- As such, pull the package action worker out of PackageManager and into
  MainWindow. Define abstract interface PackageActionHandler for other
  parts of Depot to use to instruct it to queue actions.

- Adjust other parts of code to take the above into account.
2013-09-22 09:02:46 -04:00
Rene Gollent
c996b65a89 HaikuDepot: Init with correct repo flags before performing actions.
Still something not entirely correct with the uninstall case though.
2013-09-21 16:58:14 -04:00
Pawel Dziepak
afaa6ed4b3 x86[_64]: Randomize initial stack pointer on alternative signal stacks
If the alternate signal stack is used randomize the initial stack
pointer in the same way it is randomized on "normal" thread stacks.
Also, update MINSIGSTKSZ value so that regardless of where the new
stack pointer points to there is at least 4k of stack left.
2013-09-21 21:52:13 +02:00
Rene Gollent
e550d7b8c5 HaikuDepot: Miscellanous improvements to package state tracking.
- MainWindow now listens for package installation state changes so
  it can keep Model's package location lists in sync.
- PackageListView now updates its status column on package state changes.
- PackageInfoView now updates the available action list when package
  installation state changes.
- PackageManager populates the expected user-specified install/uninstall
  package sets for ProblemWindow so that one can properly filter those out.

There still remain some issues with the installed locations for ResultWindow
not being entirely correct though, which causes issues for package
uninstallation.
2013-09-21 14:27:12 -04:00
Rene Gollent
fdcd014b1d HaikuDepot: Only send package status change notifications...
...if the package status actually did change.
2013-09-21 08:41:18 -04:00
Niels Sascha Reedijk
18ad64f227 Update translations from Pootle 2013-09-21 06:13:38 +02:00
Jerome Duval
3ffd22ce6d usb_disk: base the error sense handling on a reference table.
* imported asc-num.txt as a reference, was used to generate the asc sense table.
* use the sense asc and key tables to know which action and status codes are
to be applied.
* tested with an hard disk and a dvd reader.
* these tables could be reused by the scsi_periph module.
2013-09-20 23:56:06 +02:00
Alexander von Gluck IV
8304a88369 radeon_hd: Add PCIID for another REDWOOD card.
* Resovles #9993
2013-09-20 15:41:30 -05:00
Rene Gollent
7cf0e76439 HaikuDepot: Cleanups.
- Fix passing the force parameter to the refresh worker. This makes the
  refresh depots menu item actually work.

- Make failure messages regarding depot initialization/refresh visible to the
  user.
2013-09-20 14:40:04 -04:00
John Scipione
09c9f21ce4 ScreenSaver: tabs hug window boundary
Taking a page from HaikuDepot's book, remove the border from the tab
view and set the inset to 0 in order to position the tabview right on
the window's edge. Looks a bit better than the previous method since
the tabview border appeared to extend the thickness of the window
border.
2013-09-19 19:03:38 -04:00
Ingo Weinhold
acc6f8326a Update x86 openssh and perl packages, add libedit_devel 2013-09-19 23:52:15 +02:00
Oliver Tappe
7092893bdd Actually rename the updated repository to the target name. 2013-09-19 22:38:31 +02:00
Rene Gollent
4f9db8d66d Should have been part of previous commit. 2013-09-19 21:23:45 +02:00
Jessica Hamilton
59f1891eda Change volume label for MOUNT_TYPE_HOME to "config". Fixes #9968.
Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
2013-09-19 21:07:10 +02:00
Ingo Weinhold
1c521f0b31 BString::Split(): Fix check 2013-09-19 20:58:31 +02:00
Rene Gollent
efcb3de14e Debugger: Fix #9961.
- The previous solution was applying source path mappings too early, with
  the consequence that the file manager would incorrectly adjust some
  relocations due to not being aware of the presence of all the possible
  parent paths yet, leading to the observed "Source not available" behavior
  when restoring some combinations of mappings. We now lazily apply the
  mappings at the point when the source code itself is actually requested
  to be loaded, which doesn't occur until after all image loading, etc.
  has completed, so the information map is complete.
2013-09-19 20:55:18 +02:00
Rene Gollent
c848949bf1 Debugger: Fix crash in Inspector.
- If a selection was active, and the hex mode was switched to not
  display, a divide by zero crash would occur. Spotted by Olivier Coursiere.
2013-09-19 17:43:36 +02:00
Rene Gollent
b967ea4be4 Debugger: Temporarily disable file manager mappings.
- There seem to be cases where the file manager is incorrectly reapplying
  stored mappings, resulting in no source being displayed. As such, the
  functionality is being disabled until the cause can be found.
2013-09-19 17:01:52 +02:00
Rene Gollent
44698a437d HaikuDepot: Start implementing UserInteractionHandler hooks.
- Use package daemon's ProblemWindow/ResultWindow for the HandleProblems()
  and ConfirmChanges() hooks respectively.
2013-09-19 15:52:24 +02:00
Rene Gollent
4bee7f070b HaikuDepot: Add "Refresh repositories" menu item.
- Allows the user to request manually updating the package list
  from the server.
2013-09-19 15:32:47 +02:00
Rene Gollent
cea02697b4 HaikuDepot: Fix a few issues pointed out by Stephan. Thanks! 2013-09-19 14:59:51 +02:00
Rene Gollent
b4c8d2ff49 HaikuDepot: Show installation state in list view.
- Add package installation state to PackageInfo and update accordingly
  in Model.
- Add package listener event for installation state change (not yet used).
- PackageListView now fetches installation state from package and displays
  accordingly.
2013-09-19 13:45:12 +02:00
Oliver Tappe
50792d1199 Update openssh and perl for x86_gcc2. 2013-09-19 12:23:36 +02:00
Rene Gollent
adde35ff14 HaikuDepot: Flesh out PackageManager::GetPackageActions().
- Now actually checks if and where the package is installed, and
  correspondingly returns back the appropriate install/uninstall
  actions. Consequently, HaikuDepot now allows uninstallation of
  (non-system) packages.
2013-09-19 12:16:41 +02:00
Rene Gollent
f7bf1d3282 HaikuDepot: Add UninstallPackageAction class. Not yet used. 2013-09-19 12:16:32 +02:00
Rene Gollent
db259584ca HaikuDepot: Flesh out PackageActions a bit.
- Add background worker thread for asynchronous processing of
  package actions.
- Implement InstallPackageAction. As such, installing packages now
  actually works.
- Wrap requests in exception handlers, as the package manager uses those
  for various error cases. Fixes several cases of HaikuDepot spontaneously
  closing if a problem occurred. Still TODO: user error reporting, errors
  are currently reported on the console.
2013-09-19 11:52:32 +02:00
Rene Gollent
5af9dc2a77 Style fix. 2013-09-19 11:52:32 +02:00
Ithamar R. Adema
e7c330c6f3 ARM: improve error output, fix iframe reporting. 2013-09-19 03:15:06 +02:00
Ithamar R. Adema
e8a2aa0b28 ARM: FDT: verdex: fix the PXA2xx DTSI file.
It references a non-existing device in the aliases, just comment
it out until we sort out with upstream what's up.

(Since we've also added PXA devices to the Verdex definition we
need to chat with them anyway)
2013-09-19 01:30:12 +02:00
Ithamar R. Adema
124830be8d ARM: FDT: add DTS[I] files for the first couple of targets.
Both for the rPI and the Verdex target we now have FDTs. The verdex
DTS is homebrew, the pxa DTSIs come from Linux and should be kept
in sync.

The rPI DTS and Broadcom DTSI come from FreeBSD HEAD, and should
ofcourse also be kept in sync.

One global new Jam rule has been introduced for handling DTS
compilation, aptly named CompileDTS....

More coming!
2013-09-19 01:25:44 +02:00
Ingo Weinhold
be2254e30d package daemon: Handle post-installation scripts, users/groups
... specified by a package when it is going to be activated. We don't
try to remove users/groups when deactivating packages yet, nor is the
user properly identified in all error cases.
2013-09-18 23:56:43 +02:00
Ingo Weinhold
8b600ba48d package daemon: Use CommitTransactionHandler in all cases
... also when only activating/deactivating already moved packages.
2013-09-18 23:56:42 +02:00
Rene Gollent
976b547224 HaikuDepot: Implement publisher hyperlink handling.
- Clicking the publisher link now actually attempts to open the site
  in the browser.
2013-09-18 22:32:45 +02:00