49179 Commits

Author SHA1 Message Date
Gerasim Troeglazov
3459199e5d PSDTranslator: Add export to psd support (uncompressed only) hrev46549 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.
hrev46548
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.
hrev46547
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
hrev46546
2013-12-16 00:40:54 +01:00
autonielx
037cd3a1a9 Update userguide from i18n.haiku-os.org hrev46545 2013-12-15 13:04:28 +01:00
Gerasim Troeglazov
546a1bc793 PSDTranslator: Add simple parser for ImageResourcesSection for transparency support in Indexed color modes hrev46544 2013-12-15 06:01:40 +00:00
Stefano Ceccherini
1666d18503 Correct source package name hrev46543 2013-12-14 15:28:03 +01:00
Stefano Ceccherini
3daa96baf1 Add BeScreenCapture to the haikuports repo hrev46542 2013-12-14 15:24:47 +01:00
Rene Gollent
928188b096 Add QuickLaunch package. hrev46541 2013-12-14 09:21:38 -05:00
Gerasim Troeglazov
03ad24c9c1 PSDTranslator: Add indexed color mode hrev46540 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.
hrev46539
2013-12-14 08:27:21 +01:00
autonielx
7f7a002285 Update translations from Pootle hrev46538 2013-12-14 06:16:52 +01:00
Rene Gollent
2d768aeb6f libnetwork: Fix 64-bit debug build. hrev46537 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.
hrev46536
2013-12-13 17:27:48 -05:00
Rene Gollent
de1fb0e450 Time prefs: Fix x86-64 build. hrev46535 2013-12-13 16:30:26 -05:00
Ingo Weinhold
c17e350c3b HaikuPorts x86: Update pe package
Meta data cosmetics only.
hrev46534
2013-12-13 15:32:47 +01:00
Gerasim Troeglazov
dc17c462e3 PSDTranslator: Add support for monochrome (1bit) and 16bit colors hrev46533 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.
hrev46532
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. hrev46531 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
Pawel Dziepak
8cf2f36c37 libroot: Fix Hoard when the CPU count is not a power of two 2013-12-12 21:14:25 +01:00
Ingo Weinhold
685dd8a6fb HaikuPorts x86: Update pe package
Fixes "Find Function" dialog and adds haikuporter recipe highlighting.
hrev46530
2013-12-12 21:06:13 +01:00
Gerasim Troeglazov
85a9ab3f04 PSDTranslator: Add support for Grayscale, CMYK and Lab color modes hrev46529 2013-12-12 11:25:38 +00:00
Pawel Dziepak
82727571c3 libroot: Fix uninitialized counter in mutex_lock() 2013-12-12 04:00:56 +01:00
Pawel Dziepak
53aac05ee5 libroot: Add prototypes for __{get,set}_scheduler_mode 2013-12-12 03:56:33 +01:00
Pawel Dziepak
39f6ced055 bin/top: Remove busy_wait_time 2013-12-12 03:18:47 +01:00
Pawel Dziepak
4c125ccacd kits/media: CPU clock speed may vary significantly 2013-12-12 03:00:18 +01:00
Pawel Dziepak
fa15750925 kernel/cpu: Do not use get_system_info() to identify CPU 2013-12-12 02:53:18 +01:00
John Scipione
46f5821ad1 Add docs for BOutlineListView class hrev46528 2013-12-11 16:15:15 -05:00
John Scipione
1e1afb3939 Updates to BOutlineListView for docs
mostly param naming.

No functional change intended.
2013-12-11 16:13:52 -05:00
John Scipione
853f724631 Minor updates to BListView docs 2013-12-11 16:13:12 -05:00