Commit Graph

31954 Commits

Author SHA1 Message Date
Bruno G. Albuquerque b69dfc85c8 BnetEndPoint::Send() should use BytesRemaining() as the amount of data to be sent, not
Size(). This fixes #4724.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 10:31:47 +00:00
Ingo Weinhold 8a71915a9d Made the {debug,user}_{mem,strl}cpy() and user_memset() functions deal with
address overflows. Apparently at least the x86 string instructions generate
a general protection fault instead of a page fault, and we only use the fault
handler in the latter case (maybe we should change that, too). Fixes #4714.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 09:54:40 +00:00
Ingo Weinhold 4401e83384 Use correct tracing macros.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 03:13:20 +00:00
Ingo Weinhold e10cb2838b * ArrayIndexPath::SetTo(): Changed return type from bool to status_t.
* Finished support for retrieving and displaying array element values.
* Added work-around for pointer types, if the base type isn't specified in the
  debug info (as it should per specification).
* Added support for unspecified types, function types, and pointer to member
  types. All types relevant for C++ should be supported now. There are still
  quite a few TODOs, though.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 03:12:16 +00:00
Ingo Weinhold bdfb434cba * Introduced common base class DIEArrayIndexType for enumeration and subrange
types.
* Added/fixed some accessors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 03:11:41 +00:00
Ingo Weinhold 9cad16b96e Fixed drawing of the marker line backgrounds. They were off by the font
descent.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 03:11:04 +00:00
Ryan Leavengood d159cdcf4e Apply patch from Caitlin Shaw to allow for smaller screensaver tick times that 50 ms.
This fixes #4628.

I added the TODO because I think this code is getting hairy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 01:01:35 +00:00
Philippe Houdoin a02fe27649 Added OpenGL classical gears.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 22:00:35 +00:00
Ryan Leavengood 7d9b05f10d - Move Scott McCreary to current maintainers list.
- Add Caitlin Shaw to contributors list.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 21:29:16 +00:00
Ryan Leavengood 0d77a112bc A patch from Caitlin Shaw (aka rogueeve) to fix #4715, some Terminal
improvements:

* fixed text for "Use Text" radio button in Find dialog being cut off
* more user friendly error messages for Find dialog:
   "no search string" becomes "No search string was entered.", or "Nothing is
   selected." as appropriate.
* Preferences dialog opens unacceptably slow when a larger number of fonts are
installed due to AppearPrefView's "IsFontUsuable" routine. But was able to
cut opening time by about half with a minor optimization to the loop.

* Fixed an ugly word-wrap of Takashi Murai's name in About dialog


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 21:21:40 +00:00
Ryan Leavengood 0eab14cd22 Apply patch from Caitlin Shaw, aka rogueeve, to fix Tracker's replace behavior
for the case of 1 file.

Fixes #4717.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 20:52:04 +00:00
Clemens Zeidler 2e49589d67 Remove unused includes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 20:20:19 +00:00
Clemens Zeidler 3e1f071c14 Use the new CenterOnScreen function to center the window.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 19:48:03 +00:00
Adrien Destugues 14235a805c Updated de.catkeys for locale preflet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 18:23:55 +00:00
Adrien Destugues 9204b55593 Fixed russian translation of locale, again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 16:18:13 +00:00
Adrien Destugues a201a0b03e Fixed russian catalog for locale...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 15:47:44 +00:00
Adrien Destugues e95e93008f Fixed russian catalog for bluetooth.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 15:28:36 +00:00
Jonas Sundström 026fe75255 Fix bug in order of count entry fields. Change to 2x2 grid view.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 15:15:03 +00:00
Adrien Destugues 1300ae7029 Fixed tabs in the ru.catkeys for font. Sorry!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 14:37:04 +00:00
Michael Lotz b3901807e8 Adding RemoteDesktop client. It wraps a port forwarding ssh call to provide
security and compression for the session. This allows to keep these layers
separate from the actual protocol. This needs to be run from the command line,
as it will request ssh auth there. After connecting it will export the needed
env variable and run the specified shell (Terminal by default) on the remote
host to make it connect to the local client app.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 14:21:01 +00:00
Michael Lotz 68667bf48a * Adding a remote desktop interface that operates on app_server drawing
primitives by providing a RemoteDrawingEngine and a RemoteHWInterface.
  Not really optimized yet, still a bit WIP.
* Adding corresponding infrastructure like a blocking ring buffer and network
  sender/receiver that are attached to the buffers to feed/drain them as well
  as a RemoteMessage helper that provides a message based interface.  
* Adding target screen concept to request an app to be run on a specific screen.
  It's controlled by the TARGET_SCREEN environment variable which is added on
  the app side and sent to the app_server.
* Right now only remote target screens are supported, in which case a new
  RemoteHWInterface is created that tries to connect to the given host:port.
* Fix shape bounds when drawing, they need to be translated by the pen position
  and converted to screen like the points as well. Wasn't visible though as the
  bounds weren't used in the normal DrawingEngine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 14:15:17 +00:00
Adrien Destugues e40d2817aa Updated russian translations for appearance, locale, bluetooth.
New russian translation for fonts.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 13:48:41 +00:00
Adrien Destugues 0709efef4d Improvements to cpufrequency german translation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 13:33:49 +00:00
Adrien Destugues d474e23337 Add missing localization strings in locale preflet. ("12 Hour" and "24 Hour")
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 13:30:32 +00:00
Oliver Tappe e1f5315cfc * test commit via http ...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 11:45:59 +00:00
Oliver Tappe 16b7d6df29 * test commit via ssh ...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 11:44:25 +00:00
Adrien Destugues 52312b15b8 Improved bluetooth catalog.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-02 15:46:09 +00:00
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