History log of /haiku/src/apps/fontdemo/FontDemoView.cpp
Revision Date Author Comments
# 48de299d 24-Feb-2020 X512 <danger_mail@list.ru>

FontDemo: remove flickering workarounds

Part of #15623.

Change-Id: Iddd1bff519fac8f5387ba1eeec22cc2314112271
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2276
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# f4c2f7eb 10-Jan-2014 Jonathan Schleifer <js@webkeks.org>

Remove variable length arrays of non-PODs.

Variable length arrays of non-PODs are not part of the C++ standard, but
a GNU extension that never worked correctly. Instead, BStackOrHeap array
is used now, which makes sure that it's not too big for the stack, calls
all constructors and is valid C++.


# 5cf20610 20-Jul-2012 Philippe Saint-Pierre <stpere@gmail.com>

FontDemo: Further cleanup

the strlen was used also in _AddShapes. Widen use of BString.

Sorry for the noise!


# c5e8e32a 20-Jul-2012 Philippe Saint-Pierre <stpere@gmail.com>

FontDemo: Cleanup of previous UTF-8 compliancy fix

Avoid using the private API, rather use the public BString. Thanks mmlr.


# 6b036230 21-Jul-2012 Philippe Saint-Pierre <stpere@gmail.com>

FontDemo: make it multibyte chars compliant (UTF-8)

fixes #8146.


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# a5763448 29-Oct-2011 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by Karvjorm : localize FontDemo (#7349).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42959 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 494c97f7 02-Jan-2011 Ryan Leavengood <leavengood@gmail.com>

Apply patch from Karvjorm for #6126 to add console messages from FontDemo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40086 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a6c9cec4 02-Jun-2010 Matt Madia <mattmadia@gmail.com>

Fixed capitalization of demo string.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37003 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 23d857d9 12-Oct-2009 Michael Lotz <mmlr@mlotz.ch>

Fix missing initialization of fSpacing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33572 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f5bbbdc 26-Jun-2009 Axel Dörfler <axeld@pinc-software.de>

* Removed PI, and PI2 from math.h.
* Replaced all occurences with the standard macros M_PI, and M_PI_2.
* Some coding style cleanup on the touched files, no other changes besides
adding a missing check for a failed memory allocation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31250 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6eafd65d 10-Feb-2008 François Revol <revol@free.fr>

Fix freeing uninitialized pointer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23941 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2bea4eae 15-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

Fixed warning.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22574 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 693c7a1e 02-Aug-2007 Stephan Aßmus <superstippi@gmx.de>

* I was trying to debug my new font stuff in the app_server for about an hour
before I realized that it was FontDemo which was broken. It was easy to tell
once I ran it on R5 for comparison... :-\


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21796 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f4841beb 19-Apr-2007 Jérôme Duval <korli@users.berlios.de>

added a menu to change the drawing mode
bounding boxes are now drawn alternatively red and green to differenciate between characters


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20751 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b7652959 06-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

Added a FontDemo replacement, contributed by Mikael Konradson.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17745 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f4c2f7ebdb11576420c00fc4ecb23b32c3ce3137 10-Jan-2014 Jonathan Schleifer <js@webkeks.org>

Remove variable length arrays of non-PODs.

Variable length arrays of non-PODs are not part of the C++ standard, but
a GNU extension that never worked correctly. Instead, BStackOrHeap array
is used now, which makes sure that it's not too big for the stack, calls
all constructors and is valid C++.


# 5cf20610e113bcf3bddddf323fdf348ac283c4be 20-Jul-2012 Philippe Saint-Pierre <stpere@gmail.com>

FontDemo: Further cleanup

the strlen was used also in _AddShapes. Widen use of BString.

Sorry for the noise!


# c5e8e32acd64dbbf41b67aee6dd7badb66c1ca7b 20-Jul-2012 Philippe Saint-Pierre <stpere@gmail.com>

FontDemo: Cleanup of previous UTF-8 compliancy fix

Avoid using the private API, rather use the public BString. Thanks mmlr.


# 6b0362305fa9f8a35ce0f2b7052b4c901d040fe9 21-Jul-2012 Philippe Saint-Pierre <stpere@gmail.com>

FontDemo: make it multibyte chars compliant (UTF-8)

fixes #8146.


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# a576344849833885d2e1eda3d77461306a30bbca 29-Oct-2011 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch by Karvjorm : localize FontDemo (#7349).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42959 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 494c97f7f9a7f4f3b8642573f65820a3d4f8e329 02-Jan-2011 Ryan Leavengood <leavengood@gmail.com>

Apply patch from Karvjorm for #6126 to add console messages from FontDemo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40086 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a6c9cec4d0dfed8c2d1993e9385e10f56a3de48d 02-Jun-2010 Matt Madia <mattmadia@gmail.com>

Fixed capitalization of demo string.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37003 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 23d857d96a9f5e72b7ac1cbf9e76c6349c2bbb6a 12-Oct-2009 Michael Lotz <mmlr@mlotz.ch>

Fix missing initialization of fSpacing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33572 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f5bbbdc56fa18cfc94ea649e9f1337301906e19 26-Jun-2009 Axel Dörfler <axeld@pinc-software.de>

* Removed PI, and PI2 from math.h.
* Replaced all occurences with the standard macros M_PI, and M_PI_2.
* Some coding style cleanup on the touched files, no other changes besides
adding a missing check for a failed memory allocation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31250 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6eafd65d0091975dc07e6526e7e4b8893ee9597e 10-Feb-2008 François Revol <revol@free.fr>

Fix freeing uninitialized pointer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23941 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2bea4eae5ca3b8895656eb39eca5f201183a23db 15-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

Fixed warning.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22574 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 693c7a1eaa061fd849e9ad8d5f5cc01ce74aa0da 02-Aug-2007 Stephan Aßmus <superstippi@gmx.de>

* I was trying to debug my new font stuff in the app_server for about an hour
before I realized that it was FontDemo which was broken. It was easy to tell
once I ran it on R5 for comparison... :-\


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21796 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f4841bebd44b42b3f285b545086e562e13b241a5 19-Apr-2007 Jérôme Duval <korli@users.berlios.de>

added a menu to change the drawing mode
bounding boxes are now drawn alternatively red and green to differenciate between characters


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20751 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b7652959706ec2bd94c4a5586945e05df6dab4d4 06-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

Added a FontDemo replacement, contributed by Mikael Konradson.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17745 a95241bf-73f2-0310-859d-f6bbb57e9c96