Commit Graph

31727 Commits

Author SHA1 Message Date
Adrien Destugues
b0ca26e475 Fix CPUFrequency replicant localization to no longer crash. Sorry about that :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-02 15:31:41 +00:00
Jonas Sundström
9e0985f930 Screen space diet to make the prefs panel fit on 640x480 like most of the other prefs panels, when using the current default font. Looks a bit cramped. Tabs may be a better idea.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-02 08:36:35 +00:00
Jonas Sundström
33eed03081 Simplified use of CenterOnScreen().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 23:03:48 +00:00
Ryan Leavengood
edbcbaa631 Updated the screensavers Haiku, Icons and Message to use the new default
settings view function.
Also some clean-up.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 21:49:15 +00:00
Ryan Leavengood
5d4dc64e6f Appropriately based on the name, DebugNow was full of bugs:
- The text was not centered because it was not taking into account the left
  offset of the text rendering, which can be gotten from the left value of the
  rect returned by GetBoundingBoxesForStrings. I'm pretty sure this was 0 on
  BeOS, so there might be problems with our GetBoundingBoxesForStrings. It
  doesn't make sense for flat edged glyphs like D and N to be offset. But
  nonetheless taking into account that left offset centers the text in this
  screensaver. This fixes #4261.
- The text rendering also could look weird because the low color was not set to
  blue. Again I'm pretty sure this was not a problem on BeOS, but could be
  related to the new subpixel AA rendering. Setting the low color fixes this
  and therefore fixes #4252.
- To avoid any weird repaint issues in the ScreenSaver preferences preview
  view, the whole background is painted every frame now.
- I also added an escapement_delta member which is used for both the
  GetBoundingBoxesForStrings call and the eventual text rendering. This may be
  pointless, but it is probably more consistent.

Other changes:
- This now makes use of the new settings view private function.
- I made the coding style compliant with our latest guidelines (I think I got
  most of the big ones at least.)
- Removed the references to the old BeOS screen saver kit stuff from the
  Jamfile.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 21:03:44 +00:00
Ryan Leavengood
1c5a1e55c1 Suggestion from Rene:
- Make the BuildScreenSaverDefaultSettingsView function be built into
libscreensaver.so and under the BPrivate namespace. This avoids the repetition
of the compiled code in each screen saver that uses it.
- Updated the ScreenSaver preferences to use this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 20:48:14 +00:00
Ryan Leavengood
db9feb346e - Reordered headers to match coding guidelines.
- Added use of the new BuildScreenSaverDefaultSettingsView function (this is
basically the same code.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 20:22:30 +00:00
Adrien Destugues
0007a867cf -Internationalization and french locale for Fonts preflet
-Added grist to the sourcecode files sent to collectcatkeys to avoid mixups


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 20:05:56 +00:00
Ryan Leavengood
7d183c0492 Adding a private header with a method that can be used to provide a consistent
default look for the settings of screen savers without complicated settings
views. This is based on the code originally in the ScreenSaver preferences
window.

Also fixed a type in the ScreenSaverRunner header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 19:53:23 +00:00
Adrien Destugues
fdd05057a9 Improved german localization for cpufrequency preflet, done by Colin. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 17:35:57 +00:00
Adrien Destugues
d02410e19b Patch by Colin: improve the appearance german localization.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 17:29:47 +00:00
Adrien Destugues
6a1c5d17f4 German localization for bluetooth preflet, done by svend. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 17:26:12 +00:00
Ingo Weinhold
7326886515 Added support for displaying arrays. Their element's values aren't retrieved
yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 09:41:49 +00:00
Ingo Weinhold
9e4a5c5fdc Since arrays can be multi-dimensional, a single index does not suffice to
identify an element. We use the name string of the TypeComponent as index path.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 09:40:41 +00:00
Ingo Weinhold
84153f2c57 * Fixed typos in comparisons.
* Some more output on error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 09:38:31 +00:00
Ingo Weinhold
4fc4757d3d Added ArrayIndexPath, a small class storing a index list for identifying an
element in a multi-dimensional array, featuring conversion from and to string.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 09:37:24 +00:00
Ingo Weinhold
8ad4a2e971 Improved comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 09:31:20 +00:00
Ingo Weinhold
d815bfef61 Fixed build with tracing enabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 09:30:46 +00:00
Philippe Houdoin
32be844cec We can't use OpenGL logo before we obtains a license from SGI.
Meanwhile, let's replace it with a classical glgears one.

BTW, we need an icon for this preflet, currently it's the Network preflet one!
People more fluent with Icon-O-Matic than me (aka everybody) are welcome. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 07:45:06 +00:00
Ingo Weinhold
37e6de5d4c Don't destroy tracing entries. This is not necessary and even harmful, if the
code is no longer loaded, e.g. when the module has been unloaded or the tracing
buffer was reattached from a previous session.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 04:38:19 +00:00
Ingo Weinhold
c37a305de6 Implemented a "vmdk" partitioning system. It allows to access the contents of
monolithic vmware images as produced by the build system (by registering such
an image via the "diskimage" tool).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:09:18 +00:00
Ingo Weinhold
7f16b78c41 Moved vmdkimage.h to a shareable place, cleaned it up a bit, and renamed it to
vmdk.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:08:46 +00:00
Ingo Weinhold
d6778355ee * <DiskDeviceTypes.h>: Removed kPartitionTypeIntel{Primary,Logical} constants.
* Added new header headers/private/system/disk_device_types.h, which defines
  the <DiskDeviceTypes.h> constants as macros and which can be used where the
  constants cannot be used. The constants are defined using the macros, so now
  there's only one place where the string literals should be specified.
* Use the macros in the partitioning systems. I was too lazy to also adjust the
  file systems -- most of them seem to hard-code the string literal yet.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:07:42 +00:00
Ingo Weinhold
a9689e8492 * VFS:
- Fixed vfs_get_vnode_from_fd() return type.
  - Added vfs_open_vnode().
  - Added a "bool traverseLeafLink" parameter to vfs_get_fs_node_from_path().
    It was always resolving symlinks.
* device manager/devfs:
  - devfs: get_node_for_path() no longer resolves leaf symlinks. That still
    doesn't help with file disk devices, as creating partition wouldn't work
    anyway.
  - Pulled the module-related implementation part of BaseDevice into new class
    AbstractModuleDevice and made all methods of BaseDevice virtual. Small
    adjustments to devfs to be happy with the new BaseDevice interface.
  - Added BaseDevice subclass FileDevice, which maps the interface to a file's
    file descriptor. Still got a few TODOs, but should basically work.
  - Use FileDevice for publishing file disk devices in devfs. Now those do
    actually work, though there's some BFS trouble with one of the images I
    tested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:06:34 +00:00
Ingo Weinhold
6cc1f01511 Implemented small tool diskimage, which allows to register/unregister files
as disk devices. It also demonstrates that the respective devfs functionality
is utterly broken.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:05:06 +00:00
Ingo Weinhold
3c4721f516 The B_DISK_DEVICE_IS_FILE flag is cleared by KDiskDevice and needs to be reset.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:04:32 +00:00
Ingo Weinhold
80ea5e3508 Fixed incorrect return value of _user_get_file_disk_device_path().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:03:56 +00:00
Ingo Weinhold
c51d6579e4 Fixed incorrect uses of user_{strl,mem}cpy() in the kernel debugger. This could
break stack traces.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:03:16 +00:00
Ingo Weinhold
be51dd0f4c Added debug_strlcpy() for use in the kernel debugger.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:02:34 +00:00
Jonas Sundström
e9953d08dd Standardize on BWindow::CenterOnScreen().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 00:14:40 +00:00
Jonas Sundström
941098a211 Standardizing on BWindow::CenterOnScreen()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 00:03:00 +00:00
Jonas Sundström
71bd3ba59c Removing ifdefs and code for non-Haiku build targets. Partial clean-up. Enforcing the 80-char limit, renaming constants, newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 23:32:37 +00:00
Adrien Destugues
aee7417ca1 -Added german translation of cpufrequency.
-Fixed appearance and bluetooth style violation :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 21:44:53 +00:00
Adrien Destugues
f7d6177ab8 -Fixed bluetooth and appearance preflet. The catalog need to stay in memory as it can be used after the window construction.
-Re enabled the translation of the About alert in bluetooth, as it now works fine. This means you have to update the bluetooth cataogs...
-Updated the french bluetooth catalog accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 21:03:20 +00:00
Adrien Destugues
691922477c Patch by StoroZ Gneva : fix all russian translations (used the wrong encoding the first time)
Patch by titer : fix build on PPC host by not messing up the fingerprint endianness


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 20:26:42 +00:00
Oliver Tappe
d09525c9a1 * added new optional package PCRE (for both gcc2 and
gcc4 as it contains C++)
* fixed Beam dependencies to specify PCRE directly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 19:06:36 +00:00
Jonas Sundström
7cb2cbf17b Clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 18:37:57 +00:00
imker
adc602a44b Model string for Core i7 920 @2.66 added.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 18:01:16 +00:00
Axel Dörfler
0667145547 * Fixed indentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 12:36:21 +00:00
Ingo Weinhold
268335a069 After creating a userland thread we didn't set up the breakpoints for it.
Fixes #4665.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 08:40:55 +00:00
Stefano Ceccherini
fee1bc8eed Back to timer 2, since timer 0 doesn't work at all.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 06:34:15 +00:00
Michael Lotz
ace6934d79 While the AutoLocker is not public at least make BAutolock a bit more useful by
also providing Lock() and Unlock(). Applied public header style.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 01:00:23 +00:00
Jonas Sundström
290c903985 Partial clean-up. Asterisks and k-prefix constants.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 23:42:31 +00:00
Rene Gollent
230cb1a285 Patch by Matt Madia:
Update BeZillaBrowser to 2.0.22pre + several performance improving patches.
	
Closes ticket #4666.
s


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 23:27:30 +00:00
Jonas Sundström
e36a1b58e6 Set Tracker preferences background app flag, to avoid flashing by in Deskbar. (It quits right after having asked Tracker to shows its settings window.)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 22:05:31 +00:00
Jonas Sundström
21f3e082b1 Moving Deskbar options to a dedicated preferences window. Adding a preference application that simply tells Deskbar to open that window. Adjusting default settings Recent Folders from off to 10, and Auto-raise from on to off.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 21:47:45 +00:00
Adrien Destugues
920de8e31b Added russian locales done by Gneva StoroZ. I hope I did not mess the encoding conversions (can't check, I don't know russiant :)).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 21:36:48 +00:00
Adrien Destugues
408d098332 Patch by Colin Günther to improve german translation. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 20:52:02 +00:00
Oliver Tappe
f2a4cb29e1 * fixed a couple of warnings about TR_CONTEXT being redefined.
It is good practive to #undef this before every definition,
  due to how the ExtractCatalogEntries jam-rule works.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:58:51 +00:00
Stephan Aßmus
0d77f605b5 Updated comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:39:37 +00:00