Commit Graph

48714 Commits

Author SHA1 Message Date
John Scipione
a1e717b8f7 Fix crash in Message Screensaver
In the Draw() method check to make sure that the view is valid, is
connected to the window, that the window is locked, that the screen
is valid and that the BBitmap buffer is valid. This (hopefully) fixes the
last of the bugs experienced due to #4260.

It is not sufficient to just check that the view is valid to prevent the crash,
you must also check that it is connected to a window via Window() and
that the window is locked.
2013-12-20 16:13:16 -05:00
Ingo Weinhold
5d7f782d4e BLooper: Add DispatchExternalMessage()
* This is primarily a service method for ports of widget tool kits
  that require single-threaded GUI. DispatchExternalMessage() calls
  DispatchMessage(), but also sets fLastMessage, so that
  [Detach]CurrentMessage() work correctly. This allows to detach a
  message in DispatchMessage() when called from the window thread,
  add it to a global queue, and later process the queued messages in
  a different thread that calls DispatchExternalMessage().
* BLooper/BWindow: Make sure fLastMessage is accessed only when locked.
2013-12-20 15:47:23 +01:00
Ingo Weinhold
57973ac96b BRadioButton: Fix spurious Invoke()
MouseUp(): Don't call SetValue() and Invoke() when the button was
already the selected one.
2013-12-20 15:23:45 +01:00
Gerasim Troeglazov
49a4700789 mime_database: add psb extension for vnd.adobe.photoshop 2013-12-20 10:24:00 +00:00
Gerasim Troeglazov
6d7acad27d PSDTranslator: Add Photoshop Big (PSB) format support 2013-12-20 09:30:03 +00:00
Gerasim Troeglazov
a47ae0d08e PSDTranslator: Add compression settings 2013-12-20 09:26:59 +00:00
Gerasim Troeglazov
b43bd42518 PSDTranslator: DataArray class improvements 2013-12-20 09:19:50 +00:00
Gerasim Troeglazov
10b179b33d PSDTranslator: Fix index of alpha channel 2013-12-20 09:04:30 +00:00
Stephan Aßmus
0ff602f52a Fixed typo in comment 2013-12-19 14:56:18 +01:00
Jonathan Schleifer
0485942c82 gitignore: Ignore NFC vs NFD on OS X. 2013-12-19 13:33:56 +01:00
Gerasim Troeglazov
5a65c29781 PSDTranslator: Add RLE compression method for export 2013-12-19 12:21:16 +00:00
Gerasim Troeglazov
7983058de3 PSDTranslator: Rework export module 2013-12-19 12:21:15 +00:00
Gerasim Troeglazov
e3ec312ebf PSDTranslator: Implemented DataArray class for export improvements 2013-12-19 12:21:13 +00:00
Jonathan Schleifer
bd50e8aedb Get rid of a workaround; building with Clang works now. 2013-12-19 12:57:20 +01:00
Alexander von Gluck IV
1665250fa7 radeon_hd: crtc_memreq only on DCE 3 - 5
* Prevent some atombios missing table errors
  on DCE 6 and later
2013-12-19 01:19:31 -06:00
Alexander von Gluck IV
92f91bc8da radeon_hd: Update DisplayPort aux for DCE6
* DCE6 requires a non-0 value for lpAuxRequest
  (0 is reserved)
2013-12-19 01:19:31 -06:00
Alexander von Gluck IV
233507b3cd radeon_hd: Missed a % for a B_PRI 2013-12-19 01:19:31 -06:00
Rene Gollent
d3a119a2b4 x86_64: Update haikuwebkit to 1.2.1 and add/update...
various dependent packages.
2013-12-18 22:59:53 -05:00
Rene Gollent
ac8612008b Update x86_64 Vision package.
Fixes #10317.
2013-12-18 20:58:51 -05:00
Jonathan Schleifer
fc5dbdc92c Get rid of an error caused by -Werror=unused-function.
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2013-12-19 02:07:21 +01:00
Jonathan Schleifer
f5a47df37d Fix the agg headers to be proper C++.
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2013-12-19 02:00:44 +01:00
Jonathan Schleifer
e3e0255008 rootfs.cpp: Replace undefined behaviour with offsetof.
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2013-12-19 01:52:33 +01:00
Jonathan Schleifer
c7cb9b2f59 delete_driver_settings.cpp: Get rid of the weak alias.
As weak aliases are not supported on OS X, this caused problems when
building Haiku on OS X, as this file is also used for the host tools.

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2013-12-19 01:52:33 +01:00
Murai Takashi
44d352cdb1 Fix DebugServer build with GCC4.8
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2013-12-19 01:42:28 +01:00
Gerasim Troeglazov
63b8eb480e PSDTranslator: Fix array size 2013-12-18 09:56:11 +00:00
Gerasim Troeglazov
af6518e48e PSDTranslator: Code cleanup. No functional change 2013-12-18 09:36:44 +00:00
Gerasim Troeglazov
aae30e0ec9 PSDTranslator: Fix bitmap block alignment 2013-12-18 09:06:17 +00:00
Gerasim Troeglazov
a38a6547d7 PSDTranslator: Codestyle cleanup 2013-12-18 08:58:12 +00:00
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
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
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
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