Commit Graph

50333 Commits

Author SHA1 Message Date
Stephan Aßmus
81507fa496 app_server: Fix transformed DrawString()...
...when the transformation moves the text into the view bounds. The
rect returned from Painter::BoundingBox() is already transformed, as
should be expected.
2014-05-23 20:52:14 +02:00
Stephan Aßmus
ae4fa7ce39 Transformation test: Refactored duplicated code. 2014-05-23 20:44:51 +02:00
Stephan Aßmus
bfb2fd4153 HaikuDepot: Cleanup JSON string builder. 2014-05-23 20:29:43 +02:00
Adrien Destugues
5e36a367d7 Convert strdup.c to C++. 2014-05-23 18:30:26 +02:00
Adrien Destugues
5710ad967d Move overflowing items from bookmark bar to a menu.
Since the bookmark bar can now be resized smaller than the space needed
for the items, move items that don't fit in it to a menu, which is
always the last item in the BMenuBar.
2014-05-23 17:54:30 +02:00
Adrien Destugues
6f79af3c55 Web+: move BookmarbKar to own file.
It's a bit long for an inline class, and I'm going to add more stuff to
it.
2014-05-23 15:38:10 +02:00
Adrien Destugues
b6c34f4c44 Add a transform test for DrawString with offsets
* The text is not drawn at all when some transforms are used.
2014-05-23 15:07:19 +02:00
Axel Dörfler
59750213e7 usb: fixed potential crash.
* The active interface may be null. This actually happens with a Lasmex
  USB speaker in case it is turned on.
2014-05-22 18:34:23 +02:00
Axel Dörfler
1152f83ddc usb: coding style cleanup.
* Removed a few superfluous comments, too.
2014-05-22 18:33:26 +02:00
Axel Dörfler
ee6a0b91b2 FAT: minor style cleanup. 2014-05-22 16:12:37 +02:00
Axel Dörfler
257739f2d4 FAT: improved last fix.
* Don't use filename at all, since it's not clear if puni has already
  been set at this point.
* Also, fixed warning *vnid is ino_t, not a pointer.
2014-05-22 16:09:34 +02:00
Axel Dörfler
e2e54a381b FAT: Fixed some dirent pointer access issues.
* Fixed #9806 which Ingo had analyzed perfectly, but then forgot to
  fix it.
* Fixed CID 603015.
2014-05-22 15:58:37 +02:00
Jessica Hamilton
549fcbf51a Don't delete session objects...
... disc->GetSession() doesn't allocate a new object, so delete
will cause problems later on.
2014-05-22 19:38:55 +12:00
Jessica Hamilton
d1c05d9b22 Revert "Partitioning system: avoid leakage of resource"
This reverts commit f6bd30f2af.
2014-05-22 19:35:48 +12:00
Jessica Hamilton
2e454dffc2 Revert "Fix coding style violation"
This reverts commit 00e081a1ec.
2014-05-22 19:35:36 +12:00
luroh
b3fe70844e Specify the location of the .PackageInfo file.
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2014-05-22 09:31:57 +12:00
czeidler
03af6a44ed Update the ALE package and add the sources. 2014-05-22 08:33:34 +12:00
John Scipione
cbb1537fa2 Add documentation for BPolygon class. 2014-05-21 16:15:13 -04:00
John Scipione
b955a4ca6b BPolygon: Style fixes for documentation. 2014-05-21 16:12:47 -04:00
Stephan Aßmus
82d885a82b app_server: Fix another problem with transformed bitmaps...
... the view rect was clipped to the view bounds in
_DrawBitmapGeneric32(), which is incorrect when affine
transformations are used.
2014-05-21 21:26:38 +02:00
Stephan Aßmus
b944cf31b1 app_server: Fix drawing transformed BBitmaps...
...when the untransformed view rect is partially outside
the view bounds. Untested.
2014-05-21 20:35:56 +02:00
Adrien Destugues
569bd922a6 Add a test that shows bitmap being wrongly clipped.
* The bitmap should cover the same area as the rectangle, but it
doesn't.
2014-05-21 17:02:13 +02:00
Alexander von Gluck IV
2aaeccd9ec autoraise: Toggle not toogle; no functional change 2014-05-20 18:36:31 -05:00
Alexander von Gluck IV
cc67216333 kernel: Toggle not toogle; no functional change 2014-05-20 18:36:30 -05:00
Fredrik Holmqvist
5c62e15f76 Fix bitrot, parent unused error and acpi_object_type union change. 2014-05-20 22:19:43 +02:00
John Scipione
30275c3f99 Add BPoint documentation. 2014-05-20 16:01:37 -04:00
John Scipione
1867d69c8b BPoint: Replace max_c() and min_c() with std::max() and std::min() 2014-05-20 15:48:04 -04:00
John Scipione
e430d19ef6 BPoint: Style fixes for documentation. 2014-05-20 15:47:25 -04:00
John Scipione
18d4375e7c Fill out documentation for BPictureButton class. 2014-05-19 20:13:39 -04:00
John Scipione
03608f354a Fill out documentation for BPicture class. 2014-05-19 20:13:38 -04:00
John Scipione
c109d7e06f BPictureButton: Style fixes related to documentation
Some variable renaming for consistency.
2014-05-19 20:13:38 -04:00
John Scipione
df48d3f9a8 BPicture: Style fixes related to documentation.
Mostly pointer style adjustments
2014-05-19 20:13:38 -04:00
czeidler
87d5f67840 Add the Auckland Layout Editor (ALE) to the package list. 2014-05-20 10:44:16 +12:00
Adrien Destugues
1d6f73bcbd Follow-up fixes for FillRect+transforms
* Factor out AlignRect to avoid code duplication
* Give the right rectangle to the OverlayHider.
2014-05-19 17:30:49 +02:00
Adrien Destugues
2f9ac9582d Transformation: add one more test
* Add test for a translation that makes things that are out of view
bounds to become visible
* Fix the "rectangles" test to handle scrolling of the view. It seems
that in some cases some of the rectangles are not drawn.

The gradient and bitmap tests currently have problem with view
scrolling, but I'm not sure why.
2014-05-19 14:18:57 +02:00
Adrien Destugues
79eb23a82d Fix handling of filled rectangles with transforms.
The DrawingEngine didn't properly make a distinction between the
rectangle being filled and the damaged region on screen. This led to
unexpected results when using BAffineTransform.
2014-05-19 14:18:56 +02:00
Adrien Destugues
66bce8233a CID 1210936: use after free. 2014-05-19 14:18:55 +02:00
Alexander von Gluck IV
a8f9011015 h2: Fix bluetooth driver build, missing PrivateKernelHeaders
* We likely should move all of this stuff to normal
  atomic test and set operations at some point.
2014-05-18 22:33:56 -05:00
Rene Gollent
fd8693ea29 Debugger: Improvements to crash report generator.
- If debug information is available for a given stack frame, show the
corresponding source file path and line number in the crash report.
2014-05-18 11:05:28 -04:00
Rene Gollent
4abae4aba8 Debugger: Fix #10781.
- Don't attempt to calculate a selection region if we don't currently have a
valid target block. Should fix remaining part of #10781.
2014-05-17 21:41:35 -04:00
Rene Gollent
6053c78a92 Debugger: Fix #10764.
- Destroy the background worker before going after all the managers. Otherwise,
there might potentially still be jobs in flight that might touch them, leading
to crashes.
2014-05-17 21:26:40 -04:00
Humdinger
25890b8f2a Updated QuickLaunch package to v0.9.7 2014-05-17 17:48:14 +02:00
autonielx
a8fffd7be9 Update translations from Pootle 2014-05-17 06:17:40 +02:00
John Scipione
979af5a8a2 IFSSaver: Don't DirectDraw for preview.
The ScreenSaver window is now a BDirectWindow, but, _DrawFractals() makes
the assumption that a direct window means that the screen saver is running full
screen, so, we need to make sure we draw the preview using the
DrawBitmapAsync() method.

Fixes #10832
2014-05-15 17:42:12 -04:00
John Scipione
f5e32a8614 IFS: Style fixes 2014-05-15 17:41:48 -04:00
John Scipione
49ea2debde IFSSaver: reverse these for consistency. 2014-05-15 17:41:47 -04:00
John Scipione
da679effb4 IFSSaver: remove fBounds variable 2014-05-15 17:41:45 -04:00
John Scipione
664720405e IFSSaver: style fix, check if NULL explicitly 2014-05-15 17:41:44 -04:00
John Scipione
694d9bc1e6 IFSSaver: style fixes 2014-05-15 17:41:39 -04:00
John Scipione
ca7ee40437 IFSSaver: Add some better error checking 2014-05-15 17:40:51 -04:00