Commit Graph

45139 Commits

Author SHA1 Message Date
Gediminas Jarulaitis
723f4b6a43 iso9660 fs driver bugfix + code refactoring
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2013-03-12 21:09:34 -04:00
Humdinger
21406bd896 Added optional package System-sounds.
Added the optional package for system sounds that
were collected for GCI 2012. Also added the demo
packges to the "contents" at the top of OptionalPackages.
2013-03-12 18:47:08 +01:00
Pawel Dziepak
c5a88cf7e6 nfs4: VFS uses signed offsets while NFS4 expects unsigned 2013-03-12 17:36:53 +01:00
Pawel Dziepak
1a0386d743 Fix #8661: fcntl(fd, F_GETLK, ...) violates POSIX
The standard states that F_GETLK should check whether given lock would be
blocked by another one and return description of the conflicting one (or
set l_type to F_UNLCK if there is no collision).

Current implementation of F_GETLK performs completely different actions, it
"Retrieves the first lock that has been set by the current team". Moreover,
if there are no locks (advisory_locking == NULL) an error is returned
instead of l_type set to F_UNLCK.
2013-03-12 17:35:54 +01:00
Pawel Dziepak
0b269c601f Fix #9487: GIFLoad array subscript below array bounds
Recently enabled variable range propagation enables GCC to among others analyze
whether array subscript is in a valid range. While being quite useful this
particular feature also happens to produce false positives. This is merely
a workaround to make compiler happy.

The actual reason why compiler is reporting false positive is that array is
indexed with a signed integer and it is not clear for compiler what value it may
have due to it being a member of the class and and external procedure being
invoked between its initialization and usage.
2013-03-12 00:56:43 +01:00
Humdinger
ea06a55228 Committed changed Pe and sourcecode icons. (#9518)
Changed icons by jstressman. Thanks!
2013-03-11 20:14:22 +01:00
Pawel Dziepak
89878bd670 Restore up-to-date HaikuImage
While merging nfs4 branch accidentally outdated version of HaikuImage was used
to resolve conflicts. This commit corrects that mistake.
2013-03-11 15:18:02 +01:00
Pawel Dziepak
8f5358e419 nfs4: Use B_PRI* instead of standard PRI* 2013-03-11 14:32:56 +01:00
Pawel Dziepak
25909fec0b nfs4: Fix compiler warning about optionsEnd being not initialized 2013-03-11 13:15:19 +01:00
Pawel Dziepak
3d8415d7da nfs4: Add nfs4 to 64 bit image 2013-03-11 13:01:10 +01:00
Pawel Dziepak
7f61e6e4e5 Merge branch 'nfs4'
Conflicts:
	build/jam/HaikuImage
2013-03-11 13:00:55 +01:00
Axel Dörfler
77dfc67033 mountvolume: open mounted images/volumes in Tracker.
* This can be done from the command line using the new "-open" option.
* When the application is invoked via Tracker, ie. by double clicking
  on an image, then it's being used implicitly.
2013-03-10 22:28:23 +01:00
Axel Dörfler
e43a7e3db6 intel_extreme: sanitize BIOS mode.
* For LVDS output, the sync parameters aren't really used which is why the mode
  set from the BIOS might not be valid if the PLL hardware would actually be
  used.
* Therefore, we sanitize this mode to make sure it's within allowed parameters
  so that intel_set_mode() will accept it.
* This should fix at least #8132, and #8796.
* Sorry for looking into this so late! I obviously messed up testing this
  before, as my EeePC 900 was actually affected by this, too.
2013-03-10 17:34:11 +01:00
Axel Dörfler
087341fcfb intel_extreme: reordered functions.
* retrieve_current_mode() was not static, but should have been.
* static functions come now first, as usual.
2013-03-10 17:34:11 +01:00
Rene Gollent
acd512e9c6 Always build the button bar. Fixes #9474. 2013-03-09 19:01:47 -05:00
Niels Sascha Reedijk
2e03f27e26 Update translations from Pootle 2013-03-09 06:26:19 +01:00
Ryan Leavengood
f6afd3e9f7 Improve alignment and layout of the notifications.
Implements diver's mockup from #8566.
2013-03-07 22:04:02 -05:00
Ryan Leavengood
a595db17d6 Further simplify the Time tooltips by using SetToolTip. 2013-03-07 09:30:04 -05:00
Ryan Leavengood
eb594c5cd5 Don't constantly recreate the tool tip, just update the text.
Fixes #9502, more or less.
2013-03-07 09:20:17 -05:00
Ryan Leavengood
57ad874483 Use GetBool and SetBool convenience methods for always on top. 2013-03-07 08:55:39 -05:00
Ryan Leavengood
f4b0041834 Save always on top setting and fix style issues. 2013-03-07 08:39:27 -05:00
Matt Madia
b58ffb0b4a Automatic whitespace cleanup. No functional change. 2013-03-06 17:25:32 -05:00
Dancsó Róbert
6cf270f88e Added "Always on top" menu to the ActivityMonitor.
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2013-03-06 17:24:54 -05:00
Michael Lotz
c5469c3939 Add missing check for unlocked state. 2013-03-05 11:05:02 -05:00
Michael Lotz
d3b8b801a8 Fix missing write of the keystore database on app removal. 2013-03-05 11:05:00 -05:00
Michael Lotz
ae542b141d Add setting/removal of keyring unlock keys to the cli app. 2013-03-05 11:04:59 -05:00
Michael Lotz
4a0460a9bc Add generic unlock key setting and removal.
* Replace {Set|Remove}MasterKey() by generic {Set|Remove}UnlockKey()
  that works on a keyring.
* Implement {Set|Remove}MasterUnlockKey() on top of that.
* Rename the commands and constants accrodingly.
* Implement setting and removing keyring unlock keys.
2013-03-05 11:04:57 -05:00
Michael Lotz
a82011ff96 Introduce keyring unlock key concept.
* Rename fKeyMessage to fUnlockKey and the KeyMessage() getter to
  UnlockKey().
* Keep track of whether the keyring has an unlock key set.
* Store and restore that info separately.
* En- and decryption will depend on unlock key presence later.
* Add functions to set and remove an unlock key and query for it.
2013-03-05 11:04:56 -05:00
Michael Lotz
bec02d0c2f Store each keyring in a message under a common keyrings field.
* Each keyring is now stored in a proper message which allows it to
  contain additional meta data along side the flat data.
* Adding all keyring messages under a common field also allows to add
  meta data to the keystore, as the keyrings don't use up random field
  names anymore.
* Treat the master keyring as any other keyring and just add it to the
  list. This allows to write/read the keystore database without special
  casing the master keyring.
2013-03-05 11:04:54 -05:00
Michael Lotz
d4d6d12393 Don't require a key when creating a new keyring.
There will be key setting/removal functions so the step of adding the
keyring and setting a key on it can be done individually.
2013-03-05 11:04:53 -05:00
Michael Lotz
8775bd129d Remove old TODO as we don't support multiple instances for now.
As there aren't any more generic meta data containers inside BKey,
there's no real way to distinguish different instances with the same
identifiers. This may be added later, for example the same index system
as used in BMessage could apply.
2013-03-05 11:04:51 -05:00
Michael Lotz
112af58652 Focus the password field in the key request dialog. 2013-03-05 11:04:50 -05:00
Michael Lotz
a59169de6f Add the access string to the app access request dialog.
This way the user can see what operation the application tries to do.
2013-03-05 11:04:48 -05:00
Michael Lotz
cbdd5aff17 Restyle the app access request dialog to make it less horrible. 2013-03-05 11:04:47 -05:00
Michael Lotz
ee83472042 Accumulate the app access flags instead of replacing them.
Before, each permanently granted access flag would overwrite the
previously granted flag, causing the dialog to come up whenever the
operation was changed.
2013-03-05 11:04:45 -05:00
Michael Lotz
a2f279870c Add strings that explain an access operation.
May be used in the app access request dialog later on to show what
privilege is actually requested.
2013-03-05 11:04:44 -05:00
Michael Lotz
0e4f2804b5 Remove the leftover checkbox in the key request dialog. 2013-03-05 11:04:42 -05:00
Michael Lotz
7306e9e4d5 Add an explanatory message to the key request dialog. 2013-03-05 11:04:41 -05:00
Michael Lotz
f1f719c433 Make the keyring label and name StringViews. 2013-03-05 11:04:39 -05:00
Michael Lotz
7b437e50eb Reflect "access" -> "unlock" change in key request dialog. 2013-03-05 11:04:38 -05:00
Michael Lotz
82b425a59f Reword the label from "Always Allow" to "Allow Always". 2013-03-05 11:04:36 -05:00
Michael Lotz
03a84249b5 Add app enumeration and removal to the keystore cli tool. 2013-03-05 11:04:35 -05:00
Michael Lotz
f8ccc32326 Remove the API part of the concept of apps per key.
The application access concept is on the keyring level only for now.
Generally it probably would get pretty complicated and therefore harder
to use when application access needs to be granted on a per key basis.
2013-03-05 11:04:33 -05:00
Michael Lotz
a5a5f4ca70 Rename "default" to "master" keyring as that's what it is.
Also add a well defined name ("Master") for the master keyring so it is
easier to understand what this keyring does instead of displaying an
empty string.
2013-03-05 11:04:32 -05:00
Michael Lotz
c8ae843f3d Rename keyring "access/revoke" to "unlock/lock".
The unlock/lock concept just seems easier to grasp and is used in
various similar tools as well.
2013-03-05 11:04:30 -05:00
Michael Lotz
f17ddab827 Initialize the BKey to default values and set fCreationTime.
* Using Unset() initializes the BKey to default values.
* Also set fCreationTime to 0 for now. It is still unused but needs to
  have a stable value for the exact matches when comparing keys.
2013-03-05 11:04:29 -05:00
Michael Lotz
b31a707a95 Implement the application enumeration and removal commands. 2013-03-05 11:04:27 -05:00
Michael Lotz
67a4644454 Allow for all entries of an application to be removed. 2013-03-05 11:04:26 -05:00
Michael Lotz
0778e1477d Add application iteration method. 2013-03-05 11:04:24 -05:00
Michael Lotz
cfa8131526 Resolve/validate the calling application, request if needed.
The application is resolved and then looked up in the keyring. If the
keyring doesn't provide a matching entry, an application access request
is triggered. The mechanism doesn't yet do any actual checksums, but
has provisions for differentiating between new and changed/updated
applications.
2013-03-05 11:04:23 -05:00