#
33d60fa2 |
|
19-Jun-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
BRegion: add ScaleBy(BSize) and user documentation.
|
#
669ac9d6 |
|
19-Jun-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
BRegion: add ScaleBy method. * Is there a reason to not have it?
|
#
1f424632 |
|
11-Jun-2014 |
John Scipione <jscipione@gmail.com> |
Style fixes to IK, focus on docs
|
#
daabbbe5 |
|
04-Jun-2014 |
John Scipione <jscipione@gmail.com> |
BRegion: Style fix, update parameter name No functional change. Trying to indentify each kind of object uniquely and consistently. ... update docs as well.
|
#
44cee340 |
|
03-Jun-2014 |
John Scipione <jscipione@gmail.com> |
BRegion: Style updates for documentation. No functional changes intended. * Updated copyright information. * Reduced doxygen documentation down to a helpful summary in a regular comment, the documentation has been moved into the Haiku Book. * Some parameter renaming for consistency and clarity. * A few other style fixes.
|
#
ac4525b2 |
|
10-Aug-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Changed BRegion to use int32 instead of long. There is no need for fCount and fDataSize to be long, not going to have more than 2^32 rectangles in a region. Thanks Axel for pointing that out.
|
#
c0dad949 |
|
24-Jul-2011 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
BRect's OffsetBy takes a BPoint. Add a similar BRegion method to be more consistent. This one takes a const reference instead a complete BPoint object. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42476 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75a6d1db |
|
26-Aug-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Optimized includes. For example, BeBuild.h is almost always already included via SupportDefs.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32748 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
89208c77 |
|
27-Aug-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Finished unifying the Interface Kit headers: * Fixed copyrights (puncuation and capitalization, removed authors from headers) * Updated indentation style * Unified pointer/reference style * Re-ordered some methods for better grouping where it could be done (abd adopted source accordingly) * Small coding style fixes here and there No functional change intended. +alphabranch git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32745 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e55653ec |
|
21-Apr-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Small cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30290 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b7cafeb2 |
|
09-Apr-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Small style cleanups again... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30088 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ac754ba0 |
|
31-Mar-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Brecht Machiels: Add operator==() to BRegion. Thanks a lot! Also fixed some coding style inconsistency. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29849 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3c7dd7c3 |
|
28-Jul-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Added const versions of the methods that should have been declared like that from the start. Please review for possible binary compatibility problems! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26663 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
374b5544 |
|
11-Jan-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* expose the XOR function for BRegions (for now called "ExclusiveInclude") which already existed in the region backend ported from XOrg git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23394 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ed225430 |
|
19-Jul-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* just realized a bug already when reading over the commit log... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21666 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
582da173 |
|
19-Jul-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* complete reimplementation of BRegion and it's backend I "ported" the region implementation from XOrg to work on BRegion data. This resulted in pretty much the same code structure as before, with RegionSupport.cpp containing the messy details. Only now it _is_ really messy from a code beauty point of view. I didn't exactly feel like cleaning it up right now... but I guess I will have to. So what does this mean - our BRegion implementation was very slow (no offense!), and on top of that it scaled very badly with more and more rects. The new implementation seems to be on par with the very fast R5 implementation and the data looks exactly the same too. BRegion is very performance critical for the app_server, and I cannot wait to try this on my slow computer... Some changes are noteworthy: The right and bottom coordinates of BRegion internal data are now exclusive! I inherited that from the XOrg implementation and didn't feel like changing the code, seeing it is probably tested quite well. The conversion is handled transparently. Secondly, constructing a BRegion with just one rect is not invoking malloc anymore for the member data, this makes it much more efficient to use temporary BRegions with just one rect, both externally and internally in the BRegion implementation. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21665 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
600fbd78 |
|
01-Apr-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* BView::FillRegion() sends the BRegion data instead of decomposing it and rebuilding it on the server side (that causes a huge speed up for regions containing many rects) * There is a method in ServerLink that could have been used, but I actually needed to add the direct BRegion support to LinkReceiver * added LinkReceiver as a friend to BRegion class * ServerApp and ServerWindow keep the CursorManager locked after they have retrieved a cursor until they have called Acquire() on the cursor. (Axel: what good is using atomic* stuff in Acquire() and Release() if we have to protect this by a lock anyways?) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16957 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dd10337f |
|
14-Jun-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed BAppServerLink to AppServerLink, BPortLink to PortLink, LinkMsgReader to LinkReceiver, LinkMsgSender to LinkSender, and put everything into the BPrivate namespace. Made AppServerLink a cheap object - it will use the applications receiver/sender and not create its own buffers. Fixed broken communication stuff here and there (mostly Font.cpp). Put the newly introduced set|get_system_colors() into the BPrivate namespace - please don't introduce private functions into the public namespace!!! Also fixed their broken communication use, as Darkwyrm obviously forgot about it again: the sequence Flush(); GetNextMessage() without error checking is purely wrong and can make the app hang and/or crash! :-) Other minor cleanup. The input_server used some test mode with the haiku build target which is probably wrong. Hopefully I did not forget anything this time. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13128 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2a8a80a7 |
|
22-Jan-2005 |
Adi Oanca <adioanca@nowhere.fake> |
Added BPortLink class as friend git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10942 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4be90e7f |
|
24-Oct-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Fixed a possible buffer overflow in r_or() and r_sub() (thanks to Ingo Weinhold for his advices), stripped BRegion of all his friends, and moved them into a single class (BRegion::Support()). Removed "find_small_bottom()", as we didn't use it at all. Added some debugging output to BRegion::Support (that will help fixing bugs) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5131 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d734a8ce |
|
23-Oct-2002 |
beveloper <beveloper@nowhere.fake> |
some header files to be R5 compatible git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1617 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
33d60fa21fb5df00b4309e20af8b79de506ac858 |
|
19-Jun-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
BRegion: add ScaleBy(BSize) and user documentation.
|
#
669ac9d6f57c4535f10c5e4eaf90cc3354d9dbc7 |
|
19-Jun-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
BRegion: add ScaleBy method. * Is there a reason to not have it?
|
#
1f424632be5dcad5b81a23080eb205ab6471cd7b |
|
11-Jun-2014 |
John Scipione <jscipione@gmail.com> |
Style fixes to IK, focus on docs
|
#
daabbbe5f95dbaa5f0c137c67dcce643ff202e32 |
|
04-Jun-2014 |
John Scipione <jscipione@gmail.com> |
BRegion: Style fix, update parameter name No functional change. Trying to indentify each kind of object uniquely and consistently. ... update docs as well.
|
#
44cee34013ec8dc148c06f7da30a131b3a542b6e |
|
03-Jun-2014 |
John Scipione <jscipione@gmail.com> |
BRegion: Style updates for documentation. No functional changes intended. * Updated copyright information. * Reduced doxygen documentation down to a helpful summary in a regular comment, the documentation has been moved into the Haiku Book. * Some parameter renaming for consistency and clarity. * A few other style fixes.
|
#
ac4525b2a5a2f3fa3805efaf0c61f88fe1ff1e30 |
|
10-Aug-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Changed BRegion to use int32 instead of long. There is no need for fCount and fDataSize to be long, not going to have more than 2^32 rectangles in a region. Thanks Axel for pointing that out.
|
#
c0dad949eef84a7f64a1d8f8b404c8c81b7e4dce |
|
24-Jul-2011 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
BRect's OffsetBy takes a BPoint. Add a similar BRegion method to be more consistent. This one takes a const reference instead a complete BPoint object. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42476 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75a6d1db99fe8ea432c7ff8d80cfc095710d02f5 |
|
26-Aug-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Optimized includes. For example, BeBuild.h is almost always already included via SupportDefs.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32748 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
89208c77f10235d43fda0c7b3fd6751db02cc12c |
|
27-Aug-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Finished unifying the Interface Kit headers: * Fixed copyrights (puncuation and capitalization, removed authors from headers) * Updated indentation style * Unified pointer/reference style * Re-ordered some methods for better grouping where it could be done (abd adopted source accordingly) * Small coding style fixes here and there No functional change intended. +alphabranch git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32745 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e55653ec192a2bdfb7d5fb148d03f1f26b21731b |
|
21-Apr-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Small cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30290 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b7cafeb2ad0bbb36fda67fc86fd8586e096d64a9 |
|
09-Apr-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Small style cleanups again... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30088 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ac754ba0a2a1e5557094a14305e8a41826bafea7 |
|
31-Mar-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Brecht Machiels: Add operator==() to BRegion. Thanks a lot! Also fixed some coding style inconsistency. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29849 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3c7dd7c3464c0575f7c0616556967d9acb3ebb2f |
|
28-Jul-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Added const versions of the methods that should have been declared like that from the start. Please review for possible binary compatibility problems! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26663 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
374b5544a99303dbcb9aba3c9a70c597107bab43 |
|
11-Jan-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* expose the XOR function for BRegions (for now called "ExclusiveInclude") which already existed in the region backend ported from XOrg git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23394 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ed2254308be290138c1cda130b7c390be17bbb66 |
|
19-Jul-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* just realized a bug already when reading over the commit log... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21666 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
582da17386c4a192ca30270d6b0b95f561cf5843 |
|
19-Jul-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* complete reimplementation of BRegion and it's backend I "ported" the region implementation from XOrg to work on BRegion data. This resulted in pretty much the same code structure as before, with RegionSupport.cpp containing the messy details. Only now it _is_ really messy from a code beauty point of view. I didn't exactly feel like cleaning it up right now... but I guess I will have to. So what does this mean - our BRegion implementation was very slow (no offense!), and on top of that it scaled very badly with more and more rects. The new implementation seems to be on par with the very fast R5 implementation and the data looks exactly the same too. BRegion is very performance critical for the app_server, and I cannot wait to try this on my slow computer... Some changes are noteworthy: The right and bottom coordinates of BRegion internal data are now exclusive! I inherited that from the XOrg implementation and didn't feel like changing the code, seeing it is probably tested quite well. The conversion is handled transparently. Secondly, constructing a BRegion with just one rect is not invoking malloc anymore for the member data, this makes it much more efficient to use temporary BRegions with just one rect, both externally and internally in the BRegion implementation. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21665 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
600fbd78e4d89c3666152fec0e857f11783c0258 |
|
01-Apr-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* BView::FillRegion() sends the BRegion data instead of decomposing it and rebuilding it on the server side (that causes a huge speed up for regions containing many rects) * There is a method in ServerLink that could have been used, but I actually needed to add the direct BRegion support to LinkReceiver * added LinkReceiver as a friend to BRegion class * ServerApp and ServerWindow keep the CursorManager locked after they have retrieved a cursor until they have called Acquire() on the cursor. (Axel: what good is using atomic* stuff in Acquire() and Release() if we have to protect this by a lock anyways?) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16957 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dd10337fd005a67a4947714fdeecf2121485b91d |
|
14-Jun-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed BAppServerLink to AppServerLink, BPortLink to PortLink, LinkMsgReader to LinkReceiver, LinkMsgSender to LinkSender, and put everything into the BPrivate namespace. Made AppServerLink a cheap object - it will use the applications receiver/sender and not create its own buffers. Fixed broken communication stuff here and there (mostly Font.cpp). Put the newly introduced set|get_system_colors() into the BPrivate namespace - please don't introduce private functions into the public namespace!!! Also fixed their broken communication use, as Darkwyrm obviously forgot about it again: the sequence Flush(); GetNextMessage() without error checking is purely wrong and can make the app hang and/or crash! :-) Other minor cleanup. The input_server used some test mode with the haiku build target which is probably wrong. Hopefully I did not forget anything this time. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13128 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2a8a80a764848c18fa37ae2a044b1b7791c4c754 |
|
22-Jan-2005 |
Adi Oanca <adioanca@nowhere.fake> |
Added BPortLink class as friend git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10942 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4be90e7fc18272a0431df7e816468040a25f45db |
|
24-Oct-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Fixed a possible buffer overflow in r_or() and r_sub() (thanks to Ingo Weinhold for his advices), stripped BRegion of all his friends, and moved them into a single class (BRegion::Support()). Removed "find_small_bottom()", as we didn't use it at all. Added some debugging output to BRegion::Support (that will help fixing bugs) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5131 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d734a8ce5a83e48e17a2d0d6635090d48c5ad161 |
|
23-Oct-2002 |
beveloper <beveloper@nowhere.fake> |
some header files to be R5 compatible git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1617 a95241bf-73f2-0310-859d-f6bbb57e9c96
|