Rene Gollent
ad9496c20c
Fix #9687 .
...
- Fix operator prefix/suffix reversal that caused the first
argument to be evaluated twice.
- Track if we managed to find a name match for the team at all.
If not, print an error indicating such.
2013-04-19 17:27:26 -04:00
Ingo Weinhold
3c6784e95c
BPackageInfo::Parser: Be a bit stricter wrt. names after all
...
Also disallow the operator characters in names.
2013-04-19 16:21:42 +02:00
Ingo Weinhold
00b5554e11
pkgman: Print correct error when parsing package info failed
2013-04-19 16:06:11 +02:00
Ingo Weinhold
cba60307b8
BPackageInfo::Parser: Relax package/resolvable name rules
...
Now we allow any character but '-', '/', and whitespace.
2013-04-19 16:04:27 +02:00
Ingo Weinhold
f16dbba442
Update libsolv package
2013-04-19 01:34:26 +02:00
Ingo Weinhold
b50e5e3307
package[_repo]: Print version correctly
...
Use BPackageVersion::ToString() instead of assembling the version
string manually. This fixes the incorrect pre-release separator.
2013-04-19 01:31:47 +02:00
Ingo Weinhold
ea8b5c257d
BPackageInfo parser: Allow '.' in micro version component
...
Otherwise we'd have to encode e.g. "cvs-1.12.13.1" differently.
2013-04-18 18:43:47 +02:00
Ingo Weinhold
06b4ebe51c
package-infos in tree: use '~' as pre-release separator
2013-04-18 17:50:47 +02:00
Ingo Weinhold
9d81dc7655
BPackage{Info,Version}: Switch to '~' as pre-release separator
...
Also allow '.' in the pre-release string (as in "alpha4.1") and in
package and resolvable names.
2013-04-18 17:50:47 +02:00
Ingo Weinhold
b7c89d42a6
packagefs: Use '~' as pre-release separator
...
"[...]" turns out to be not so good an idea after all. In the shell it
would require escaping.
2013-04-18 17:50:46 +02:00
Ingo Weinhold
7fa369956e
BOpenHashTable::Clear(): Set fItemCount to 0
...
If not empty, the count would afterwards be out of sync with reality.
2013-04-18 15:53:34 +02:00
Ingo Weinhold
5e6adff989
BPackageVersion::ToString(): Return empty string, if invalid
2013-04-18 15:12:04 +02:00
Ingo Weinhold
7b2d062147
Enforce current package rules for packages built from tree
...
* Replace '-' in package name by '_'.
* Use new '[...]' notation for pre-release version component.
2013-04-18 14:44:44 +02:00
Ingo Weinhold
defc1f774a
BPackage{Version,Info}: Switch to new pre-release rule
...
Also add several checks in the package-info parser to enforce the
<alphanum_underscore> requirement of package/resolvable names and
version components.
2013-04-18 14:41:27 +02:00
Ingo Weinhold
d0367de056
packagefs: Switch to new rule for pre-release version part
2013-04-18 14:38:24 +02:00
Ingo Weinhold
ceb18a3777
packagefs: Fix typo in debug output
2013-04-18 14:35:59 +02:00
Philippe Houdoin
9058801fe2
Fixing my own mess introduced in r41274. Fix #9446 .
hrev45525
2013-04-18 02:06:20 +02:00
John Scipione
30e6af93e4
Eliminate background app and Deskbar app checks
...
This is a follow up on the fix for #9632 .
Now that the group list in Deskbar never deals with background apps or the Deskbar app itself we can simplify the code by eliminating the checks, especially in Switcher.cpp (Twitcher).
Checking for background apps and Deskbar has also been eliminated from TExpandoMenuBar and TTeamMenu. The single point of entry for these checks is in TBarApp::AddTeam().
In Switcher.cpp remove OKToUse() since the list is assumed to contain only valid entries. TSwitchManager::CountVisibleGroups() also got removed because all groups are visible. TSwitchManager::_FindNextValidApp(), TSwitchManager::QuitApp(), TIconView::ItemAtPoint(), TIconView::ScrollTo(), and TIconView::FrameOf() all got simplified significantly.
hrev45524
2013-04-17 18:50:03 -04:00
Philippe Houdoin
1e77e4f852
Tokenize directly in team_info.args buffer.
hrev45523
2013-04-18 00:20:10 +02:00
Philippe Houdoin
cc2c83fa5c
Applied patch by Prasad Joshi to add kill by process name support. Thanks. Closed #1944 .
2013-04-18 00:20:05 +02:00
Pawel Dziepak
103977d0a9
arch: NX is initialized too early on non-boot CPUs
hrev45522
2013-04-18 00:15:57 +02:00
John Scipione
807ea4dad0
Rename sig variable to signature in BarApp
hrev45521
2013-04-17 17:20:49 -04:00
Philippe Houdoin
184fada4e9
Connecting an UDP endpoint was resetting a previously bound local port. Fix #9678
hrev45520
2013-04-17 22:23:27 +02:00
John Scipione
ab37997c98
Style fix and comment update
hrev45519
2013-04-17 15:58:42 -04:00
Pawel Dziepak
46575667eb
Merge branch 'aslr'
hrev45518
2013-04-17 20:07:32 +02:00
Pawel Dziepak
3ef8e34c0a
nfs4: fix few issues related with file caches
...
* update metadata cache when writing to cache
* do not limit size of a io request
* minor checks in Inode::Write
hrev45517
2013-04-17 19:29:54 +02:00
Rene Gollent
f6c0237372
Fix handling of string fields in BMessages.
...
We can't depend specifically on a generic array type of a primitive
being available in the global type cache, because there might not have
been a DIE for it. As such, simply look up the type for the character
primitive and then derive an array type from that instead.
hrev45516
2013-04-16 22:57:22 -04:00
Rene Gollent
1b74b08f75
Save/restore renderer settings in view state.
hrev45515
2013-04-16 21:19:20 -04:00
Rene Gollent
c819aef9a1
Add renderer settings to VariablesViewNodeInfo.
2013-04-16 21:18:59 -04:00
Rene Gollent
ba2c3d57f6
Extend Settings to allow value restoration via message.
2013-04-16 21:17:44 -04:00
Rene Gollent
2b9c68af5d
Fix broken save/restore of split view settings.
2013-04-16 17:56:45 -04:00
Pawel Dziepak
84bb91df83
arch: use PRNGs from kernel utils for initializing stack pointer
2013-04-16 22:35:10 +02:00
Ingo Weinhold
a8b23e3ecf
pkgman resolve-dependencies: Allow specifying multiple packages
2013-04-16 20:43:20 +02:00
Ingo Weinhold
caba55ee61
Revert to previous libsolv package
...
In the latest one the version comparison is broken.
2013-04-16 20:34:52 +02:00
Ingo Weinhold
8d85f8e41e
Update libsolv package
...
The Haiku repository support has been upstreamed and the maintainer,
Michael Schroeder, has fixed and improved a few things.
2013-04-16 17:08:45 +02:00
Ingo Weinhold
4210ed011a
Fix BMessage::GetInfo() return value check
...
Since B_OK is 0, the change doesn't affect the semantics.
2013-04-16 17:08:45 +02:00
Ingo Weinhold
88f22c9768
InstallOptionalHaikuImagePackage: Remove first parameter
...
Instead deduce the file name from the URL. A long overdue change. Avoids
unnecessary name duplication, which only led to errors.
2013-04-16 14:39:31 +02:00
Ingo Weinhold
6185f6e7cc
Fix libtool file name
2013-04-16 13:45:33 +02:00
Oliver Tappe
e7563b87c7
Updated several base packages
2013-04-16 11:18:44 +02:00
John Scipione
af84ce79da
Rename B_COLOR_WHICH_COUNT to kColorWhichCount
hrev45514
2013-04-16 03:44:42 -04:00
John Scipione
376e5bb692
Set legeneral_ui_info.mark_color to B_CONTROL_MARK_COLOR
hrev45513
2013-04-16 03:23:07 -04:00
John Scipione
45fec7fc74
Check for empty group list in _FindNextValidApp(). Fixes #9632
...
Thanks mmlr! I went with "The easiest solution". Perhaps the OKToUse() could be simplified by removing the checks for background apps and Deskbar but I prefer to keep it as is in case there someone changes the code in the future.
hrev45512
2013-04-16 01:32:28 -04:00
John Scipione
6e22ba05d6
Style update
2013-04-16 01:32:24 -04:00
Rene Gollent
41cec3e6d4
Remember any applied typecasts in VariableViewState.
...
Preserves and restores typecasts across steps like we already do
for node expansion states.
hrev45511
2013-04-15 23:17:27 -04:00
Pawel Dziepak
8614737f71
elf: restore correct region protection after relocation
2013-04-16 03:44:38 +02:00
Rene Gollent
3f7664ad1c
Revert part of previous commit.
...
The aforementioned ReleaseReference() exposes what appears to be a somewhat
more severe issue, leading us to a deadlock. Need to rethink this a bit.
hrev45510
2013-04-15 21:10:44 -04:00
Rene Gollent
00d0a0eae3
Fix reference count problem as suggested by Ingo.
...
During DefaultNotificationService's constructor, we get registered
with the NotificationManager, which acquires a reference. When
uninitializing the module we need to release this reference before
calling the destructor in order to balance the books, as it were.
hrev45509
2013-04-15 20:54:31 -04:00
Pawel Dziepak
9f3bd49737
runtime_loader: explicitly randomize rld_heap and _rld_debug_ positions
2013-04-16 02:44:47 +02:00
Pawel Dziepak
db1ca60528
runtime_loader: randomize position of runtime_loader
...
* make runtime_loader a dynammically linked object
* add kernel support for loading user images that need to be relocated
* load runtime_loader at random address
2013-04-16 02:29:05 +02:00
Rene Gollent
001d65dba7
Disable broken hardware cursor accelerant hooks.
hrev45508
2013-04-15 18:07:01 -04:00