Commit Graph

49190 Commits

Author SHA1 Message Date
Alexander von Gluck IV
857bfe579b DisplayPort: Dump linkspeed value on error 2013-12-18 00:30:58 -06:00
Alexander von Gluck IV
bd1c4402bf radeon_hd: Improve DisplayPort function return logic
* Was putting status_t into int's and creating
  some logic problems when it came to DisplayPort
  link training.
2013-12-17 17:34:11 -06:00
Pawel Dziepak
5a7289d720 scheduler: Fix unassigning threads from core being disabled 2013-12-18 00:03:56 +01:00
Pawel Dziepak
1b06228f13 kernel: Propagate scheduler modes to cpu{freq, idle} modules 2013-12-17 23:26:37 +01:00
Pawel Dziepak
4fcbac58de kernel: Make get_cpu_topology() return a pointer to const
The client code is not supposed to change the topology info.
It would be also nice if cpu_topology_node::children was an array of
pointers to const but that would require several const_casts in the
topology tree generation code so it's probably not worth it.
2013-12-17 22:08:18 +01:00
Jonathan Schleifer
77ac2d8d8d SnifferRules.cpp: Make the arguments for operator< const.
It is used on const versions of sniffer_rule and thus it needs to be
declared with const.
2013-12-17 19:58:57 +01:00
Jonathan Schleifer
6a2d12cbee PackageInfoParser.cpp: Add missing include for strtoll. 2013-12-17 19:58:55 +01:00
Jonathan Schleifer
17fe3f8106 BPlusTree.h: Remove invalid forward declaration.
That forward declaration was actually a backward declaration, as
system_dependencies.h already included Stack.
2013-12-17 19:58:54 +01:00
Jonathan Schleifer
724947ebca HashSet.h: Replace whatever that was with proper C++ 2013-12-17 19:58:52 +01:00
Jonathan Schleifer
a7d796e232 Only declare strl{cpy,cat} if they aren't defines.
On some system (e.g. OS X Mavericks), those are defines to compiler
built-ins, thus trying to declare them will fail.
2013-12-17 19:58:51 +01:00
Murai Takashi
70b978fd9f Fix the build with GCC4.8
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2013-12-17 18:01:44 +01:00
Gerasim Troeglazov
3459199e5d PSDTranslator: Add export to psd support (uncompressed only) 2013-12-17 12:27:47 +00:00
John Scipione
cf9414ff69 Convert coords of B_MOUSE_IDLE in _SanitizeMessage()
When BWindow receives a message in screen coordinates and the
message has a target view, as it does when the message comes from
App Server, convert the coordinates to view coordinates before
passing the message along.

Revert the portion of hrev46532 where BView converts screen
coordinates and converts them since that happens in
BWindow::_SanatizeMessage() now.
2013-12-16 23:26:57 -05:00
John Scipione
19360a8c07 BWindow: Style fix, 80 char limit. 2013-12-16 22:52:31 -05:00
Pawel Dziepak
735f67481f x86: Debugger can now use dr3 2013-12-17 04:31:29 +01:00
Pawel Dziepak
a5b070f1fa x86: Store pointer to the current thread in gs:0
Apparently, reading from dr3 is slower than reading from memory
with cache hit.

Also, depending on hypervisor configuration, accessing dr3 may cause
a VM exit (and, at least on kvm, it does), what makes it much slower
than a memory access even when there is a cache miss.
2013-12-17 04:08:51 +01:00
Pawel Dziepak
611376fef7 x86: Let each CPU have its own GDT 2013-12-17 03:57:20 +01:00
Rene Gollent
1b744548e0 debug_server: Add default action support.
- debug_server now supports user configuration of both the general default
action to be taken on crashes, and per-app overrides. These are stored
config/settings/system/debug_server/settings. In the absence of the file,
behavior defaults to prompting the user for an action as before.

The file takes on a driver_settings style format as follows:

---
default_action user

executable_actions {
	app1 log
	/path/app2* debug
}
---

Valid values for an action are:
	- user = prompt user for action.
	- kill = silently terminate the crashing team.
	- debug = attach the debugger to the crashing team. in the debugger.
	- log / report = save a crash report and terminate the team.

If no default_action is specified, "user" is assumed.

The executable_actions subsection contains individual overrides of the
default. These take the form above, where the individual lines can be
only a team name, or a path, with wildcards.

Implements first part of #10301.
2013-12-16 19:23:47 -05:00
Pawel Dziepak
7b9668170c kernel, boot: Increase CPU limit to 64 2013-12-16 05:00:02 +01:00
Pawel Dziepak
d02aaee17e kernel, libroot: Add more memory info in system_info
system_info now contains all information previously available only
through __get_system_info_etc(B_MEMORY_INFO, ...).
2013-12-16 04:53:46 +01:00
Pawel Dziepak
1bc7045fdf kernel, libroot: Introduce new API for obtaining system info 2013-12-16 03:58:43 +01:00
François Revol
a99cee63cc Add icon for Oricutron
Derived from App_Clock
2013-12-16 00:40:54 +01:00
autonielx
037cd3a1a9 Update userguide from i18n.haiku-os.org 2013-12-15 13:04:28 +01:00
Gerasim Troeglazov
546a1bc793 PSDTranslator: Add simple parser for ImageResourcesSection for transparency support in Indexed color modes 2013-12-15 06:01:40 +00:00
Stefano Ceccherini
1666d18503 Correct source package name 2013-12-14 15:28:03 +01:00
Stefano Ceccherini
3daa96baf1 Add BeScreenCapture to the haikuports repo 2013-12-14 15:24:47 +01:00
Rene Gollent
928188b096 Add QuickLaunch package. 2013-12-14 09:21:38 -05:00
Gerasim Troeglazov
03ad24c9c1 PSDTranslator: Add indexed color mode 2013-12-14 12:04:31 +00:00
Gerasim Troeglazov
9d4b8b1f71 PSDTranslator: Add limited doutone support (mapped to grayscale) 2013-12-14 12:04:30 +00:00
Stefano Ceccherini
c5f9ac7e0b Add filteredquery command.
This code was rotting on my hard drive for years. Maybe it could be
extended.
2013-12-14 08:27:21 +01:00
autonielx
7f7a002285 Update translations from Pootle 2013-12-14 06:16:52 +01:00
Rene Gollent
2d768aeb6f libnetwork: Fix 64-bit debug build. 2013-12-13 17:54:07 -05:00
Rene Gollent
4b62c6b0bc libmedia: Fix x86-64 debug build. 2013-12-13 17:53:12 -05:00
Rene Gollent
df612ac9b3 Fix #10302.
- In the case of an error while unflattening, BMediaRoster::GetParameterWebFor()
would allocate a new parameter web object into the passed in web pointer, and
then delete it again. This would result in the desklink MixerControl object having
a bogus pointer in its fParameterWeb member, leading to a crash. As such, create
the object in a local variable first, and only overwrite the passed in pointer on
success. Furthermore, explicitly reset said pointer to NULL in desklink on failure,
as _Disconnect() tries to delete it unconditionally.
2013-12-13 17:27:48 -05:00
Rene Gollent
de1fb0e450 Time prefs: Fix x86-64 build. 2013-12-13 16:30:26 -05:00
Ingo Weinhold
c17e350c3b HaikuPorts x86: Update pe package
Meta data cosmetics only.
2013-12-13 15:32:47 +01:00
Gerasim Troeglazov
dc17c462e3 PSDTranslator: Add support for monochrome (1bit) and 16bit colors 2013-12-13 08:56:54 +00:00
Gerasim Troeglazov
0ba6a7e263 PSDTranslator: fix types 2013-12-13 08:38:17 +00:00
John Scipione
dd0bdb49dc Fix a bug retreiving tooltips
Noticed this in Time prefs was displaying wrong time zone tool tip,
dug deeper...

hrev46290 introduced this bug because it passes fLastCursorPosition
into the “be:view_where” parameter of the B_MOUSE_IDLE message.
The problem is that fLastCursorPosition is in the screen’s coordinate
system, not the view’s and BView expects “be:view_where” to be in the
view’s coordinate system.

So, to fix this I pass fLastCursorPosition in the “screen_where” parameter
instead which I’ve instructed BView to interpret as the point in the screen’s
coordinate system which is then dutifully converted back the the view’s
coordinate system.

I tried to follow the naming scheme of other code, not sure if screen_where
should be namespaced with the be: predicate or not.
2013-12-13 02:21:10 -05:00
John Scipione
8f5d92f98d EventDispatcher: Style fixes 2013-12-13 01:32:38 -05:00
John Scipione
7888f1d6ea Make destructor virtual 2013-12-13 00:42:11 -05:00
John Scipione
5b013eab68 Time prefs: rework time zone view
* Add country flags back to the time zone view.
* Use Appearance color constants.
2013-12-13 00:42:10 -05:00
John Scipione
553211b499 Time prefs: style fixes to ZoneView 2013-12-13 00:42:10 -05:00
John Scipione
3a2b6b9d52 Locale: Small cleanup of outline list view.
* preserve high and low colors of view between draws
* Use DefaultLabelSpacing() instead of using hard 4 pixel spacing
2013-12-13 00:42:09 -05:00
John Scipione
8c6d549022 BStringItem: Set the low color to the list view color
instead of the low color, practically this should make little difference,
just a cleanup.
2013-12-13 00:42:09 -05:00
John Scipione
e3be58f144 BStringItem: Tiny style fix 2013-12-13 00:42:09 -05:00
Rene Gollent
b38580f902 Add x86_64 which package. 2013-12-12 21:51:22 -05:00
Pawel Dziepak
b2504f3b56 drivers/graphics: Remove log_{coll, dump}
log_coll.c and log_dump.{c, h} don't appear to be used by anything.
2013-12-13 02:44:29 +01:00
Pawel Dziepak
e397276460 apps/BSnow: Do not use cpu_clock_speed 2013-12-13 02:38:35 +01:00
Pawel Dziepak
25feff2c29 ProcessController: Explicitly check thread priority 2013-12-12 21:46:48 +01:00