History log of /haiku/src/apps/charactermap/CharacterWindow.cpp
Revision Date Author Comments
# 88a19e0e 28-Jul-2021 Murai Takashi <tmurai01@gmail.com>

charactermap: Add more localization

Change-Id: I94680126e4f9063d283ed4e7a6f1f0087032376b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4249
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 8d3f6fce 17-May-2020 Dale Cieslak <dcieslak@yahoo.com>

CharacterMap: gray out blocks that aren't supported by the current font

Fixes #15982.

Added font to UnicodeBlockView. Cache Unicode "Blocks" for both
UnicodeBlockView and CharacterView. Added lookup of non-Be Unicode blocks
(i.e. blocks with 'kNoBlock' specified). Gray out non-found blocks.

NOTE: tested fontconfig extensively in another environment and the shown
blocks match what fontconfig returns. However, you may sometimes see
characters in blocks that aren't 'included' in a font. I haven't figured
out why that occurs.

Change-Id: Ia3c7f8ccc6dc43c5ce062ed002846c861a8fa223
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2739
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>


# d0ac6099 07-Nov-2015 Humdinger <humdingerb@gmail.com>

Use B_USE_WINDOW_SPACING

Use B_USE_WINDOW_SPACING as inset from contents to window border.
Some whitespace cleanup.


# 0342049e 14-Sep-2015 Axel Dörfler <axeld@pinc-software.de>

CharacterMap: improved initial window size, and position.

* By making it scale with the font size, and by using
BWindow::CenterOnScreen().
* Minor cleanup.


# f4e8886f 27-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

CharacterMap: Fix 64-bit build


# 0340e4b3 26-Nov-2014 dsizzle <dcieslak@yahoo.com>

CharacterMap: several fixes to char. view scroll

* Select items in the encoding list by block identifier rather than
list index (there are holes in the list)
* Scroll to the start of the list when the application starts
* Add and use IsBlockVisible to detect when we need to make a block
visible, avoiding unwanted scrollings in some cases with the previous
method of testing for only one character in the block.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes some problems with previous enhancements from #3651.


# b8a8557a 25-Nov-2014 dsizzle <dcieslak@yahoo.com>

CharacterMap: use dynamic font menu

* only update if font family update is detected.
* character map can now detect new fonts or removed fonts without
restarting

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #3651 part 7.


# d67977a5 25-Nov-2014 dsizzle <dcieslak@yahoo.com>

CharacterMap: avoid jumping window size

set explicit minimum width of character view to be a bit larger than
fCodeView so that there isn't jumping of the pane sizes when fCodeView's
contents are too long

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #3651 part 9.


# c3205c10 25-Nov-2014 dsizzle <dcieslak@yahoo.com>

CharacterMap: show font family and style

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #3651 item 2.


# 74d9b875 23-Nov-2014 dsizzle <dcieslak@yahoo.com>

CharacterMap: select Unicode block for current character

* Scrolling the list of characters now selects the currently visible
block in the blocks list.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #3651, part 1


# 5cedc7f5 29-Dec-2013 Humdinger <humdingerb@gmail.com>

Removed defaulting B_USE_DEFAULT_SPACING.

As augiedoggie pointed out, B_USE_DEFAULT_SPACING is the default
parameter. Removed where not necessary.


# 86364884 29-Dec-2013 Humdinger <humdingerb@gmail.com>

Corrected inset of upper layout elements.

Now it's the same space on all sides.
Use B_USE_DEFAULT_SPACING instead of hardcoded value 10.


# 7f4d1af4 04-Jan-2013 Sergei Reznikov <diver@gelios.net>

Compilation fixes for x86_64.

Added quite a few missing components to image:

alert arp bc CortexAddOnHost

CDPlayer CharacterMap DeskCalc
Devices DiskUsage Expander LaunchBox MediaConverter NetworkStatus
PoorMan Pulse Screenshot ShowImage SoundRecorder TV Workspaces

DataTranslations Media Printers ScreenSaver

BSnow Cortex FontDemo OverlayImage Pairs

cddb_daemon midi_server power_daemon print_server print_addon_server

Canon LIPS3 Compatible Canon LIPS4 Compatible Gutenprint
PCL5 Compatible PCL6 Compatible PDF Writer PS Compatible

libgame.so libmedia.so

Signed-off-by: Alex Smith <alex@alex-smith.me.uk>


# 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.


# 5dcd3cd1 22-Dec-2011 Hannah Boneß <hannah@animux.de>

Update layout building code in misc. apps (GCI 2011 task).

Replace the use of old-style BGroupLayoutBuilder and BGridLayoutBuilder with new, templatized BLayoutBuilder::Group<> etc.. in the following apps:

* CharacterMap
* Installer
* Mediaplayer
* Screenshot

This work was done for GCI 2011 by Hannah Boneß. Thanks Hannah!


# 11c7ff53 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Removing most About windows and menu items as discussed here
http://www.freelists.org/post/haiku-commits/r40968-in-haikutrunksrcapps-activitymonitor-bootmanager-charactermap-codycam-deskbar,3
Leaving them for now in replicants, and in Terminal, according to (my interpretation of) the instructions here
http://dev.haiku-os.org/browser/haiku/trunk/src/apps/terminal/README.GPL_to_OBOS#L70
Some sporadic cleanup.

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


# 560ff447 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.

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


# b97c5149 15-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Making use of B_TRANSLATE_APP_NAME, BAboutMenuItem, BAboutWindow. Clean-up. Removal of some ellipsis. ('About Haiku' in Deskbar.)

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


# 066522e8 14-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Localization changes. Use of B_TRANSLATE_APP_NAME(). Small cleanups.

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


# 3a0dfaf3 28-Feb-2011 Joachim Seemer <humdingerb@googlemail.com>

Patch by taos to un-localize CharacterMap's settings. Thanks. Fixes #7303.

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


# 2905062e 20-Feb-2011 Philippe Saint-Pierre <stpere@gmail.com>

In CharacterMap:

Separate the CodeView (info section at the bottom of the window)
in 2 sections, one with the character itself, the other with the
remaining infos (hex code, etc..)

The idea behind this is that if the font in the CharacterView above
is different than the default font used in that CodeView, it might
happen that a glyph doesn't show in the CodeView below but was shown
in the CharacterView above, or vice-versa.


Fixes ticket #4020


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


# 1c0ab34c 15-Feb-2011 Siarzhuk Zharski <zharik@gmx.li>

Applied yet another localization patch made by Jorma Karvonen. Fixes #7109.



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


# c16bcdfc 10-Feb-2011 Joachim Seemer <humdingerb@googlemail.com>

Made some more strings localizable, removed some unnecessary localizations from CDPlayer. I hope everything's OK...

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


# 7c2ffab8 13-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch from Jason Fagnière (Protonux) as part of GCI :
* i18nize devices, charactermap, cdplayer, activitymonitor.

Thanks!

(note : there are some known 80-column problems in this patch)


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


# 8b7eacd6 29-Sep-2010 Axel Dörfler <axeld@pinc-software.de>

* Added CharacterView::ScrollToCharacter(), and IsCharacterVisible().
* On text drops, the character map is now scrolling to the first character
dropped. This is helpful to see the code of a character as well as the block
it is contained in.
* Fixed a bug in CharacterView::_FrameFor() that would not return the correct
vertical position.
* Made a few methods const.


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


# efe5db55 13-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Remove superfluous tab introduced in previous commit.


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


# 2f313958 13-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Patch by diver: selected font family is now check marked too.
Closes #5624.
Thanks!


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


# 7f2103fe 19-Aug-2010 Oliver Tappe <zooey@hirschkaefer.de>

Fix warnings in charactermap
* no need to overload ScrollTo() with a non-related method - renamed local
ScrollTo() to ScrollToBlock()


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


# 7974d3dc 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


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


# f7b4d19d 04-May-2009 Axel Dörfler <axeld@pinc-software.de>

* Reverted r30529 as this was pretty much bogus (sorry stpere, but the size of
the window was already set with its constructor).
* Fixed the actual cause of bug #3752 instead: the fCharacterHeight and
fTitleHeight members were not initialized when MinSize() was called.


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


# fadee6b0 30-Apr-2009 Philippe Saint-Pierre <stpere@gmail.com>

Make the CharacterMap start with a reasonnable window size on first
launch (without saved settings). As it was before, the window took all
the space it needed i.e. each section was on a single line.

Maybe a better way would be to just start it zoomed.

Maybe it fixes ticket #3752.


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


# 7ac4610a 02-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Got rid of the mouse move heuristics again, and tried a cleaner approach
by redirecting up/down keys to the list view.


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


# c7c20fc1 02-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Improved filter input vs. mouse use behaviour.


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


# 8f400a12 02-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Added filter control for the Unicode block list.
* The status line now contains the character as well, as suggested by humdinger.
* Moved the list view into its own class UnicodeBlockView.


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


# a9fcf35b 01-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Added support for copying characters into the clipboard via Command-C, and
a popup menu.


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


# f03b0a18 31-Mar-2009 Rene Gollent <anevilyak@gmail.com>

gcc4 build fixes.



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


# 9a0dc161 31-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

* Selecting a font via its family didn't work.


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


# a664f9de 31-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

* Made the default window size a bit larger.


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


# beedda4c 31-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

* Added a string view that shows the character's code on mouse over, the
character gets also highlighted.
* Added support for dragging a character. Holding shift (or option) while
dragging will copy an UTF-8 hex string instead.
* Minor cleanup.
* Is there any reason BStringView restricts its maximum width?


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


# f05dab29 30-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

* CharacterView now accepts mouse wheel input (it did not forward the messages
to its superclass), and it also sets useful scroller steps.
* Improved layout a bit.


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


# 6722e2f7 31-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

* Temporarily removed the "Only Show Blocks Contained in Font" - Haiku does
not yet support this.
* Made sure the correct font is selected at start.


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


# b0452872 31-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

* Started an application showing the Unicode character map.


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


# 0342049e48c75414dfc120b81cfe8db4e8772bf1 14-Sep-2015 Axel Dörfler <axeld@pinc-software.de>

CharacterMap: improved initial window size, and position.

* By making it scale with the font size, and by using
BWindow::CenterOnScreen().
* Minor cleanup.


# f4e8886fae4a8a2662fa31d4f5aa86ac4989ce00 27-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

CharacterMap: Fix 64-bit build


# 0340e4b336ab01b78e7291c5d4ace2ba551a20f4 26-Nov-2014 dsizzle <dcieslak@yahoo.com>

CharacterMap: several fixes to char. view scroll

* Select items in the encoding list by block identifier rather than
list index (there are holes in the list)
* Scroll to the start of the list when the application starts
* Add and use IsBlockVisible to detect when we need to make a block
visible, avoiding unwanted scrollings in some cases with the previous
method of testing for only one character in the block.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes some problems with previous enhancements from #3651.


# b8a8557aa90deb8385cf3af021a2e6b4aab8d424 25-Nov-2014 dsizzle <dcieslak@yahoo.com>

CharacterMap: use dynamic font menu

* only update if font family update is detected.
* character map can now detect new fonts or removed fonts without
restarting

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #3651 part 7.


# d67977a5aedf0cb4d2245f0f0494f0da2e428d5e 25-Nov-2014 dsizzle <dcieslak@yahoo.com>

CharacterMap: avoid jumping window size

set explicit minimum width of character view to be a bit larger than
fCodeView so that there isn't jumping of the pane sizes when fCodeView's
contents are too long

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #3651 part 9.


# c3205c10d7515bd8a6fcabe6a4e8de3e266a20b5 25-Nov-2014 dsizzle <dcieslak@yahoo.com>

CharacterMap: show font family and style

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #3651 item 2.


# 74d9b875c2b854cadbd674a37bdde3ea64a4f062 23-Nov-2014 dsizzle <dcieslak@yahoo.com>

CharacterMap: select Unicode block for current character

* Scrolling the list of characters now selects the currently visible
block in the blocks list.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #3651, part 1


# 5cedc7f5ef75fdbd119b9c2ddbbd732b8054f8e2 29-Dec-2013 Humdinger <humdingerb@gmail.com>

Removed defaulting B_USE_DEFAULT_SPACING.

As augiedoggie pointed out, B_USE_DEFAULT_SPACING is the default
parameter. Removed where not necessary.


# 863648843f0c9a6a5ae8de3b40bf7737f34b12a3 29-Dec-2013 Humdinger <humdingerb@gmail.com>

Corrected inset of upper layout elements.

Now it's the same space on all sides.
Use B_USE_DEFAULT_SPACING instead of hardcoded value 10.


# 7f4d1af49dd1d67ecbf1d934eddd92cae7c4c558 04-Jan-2013 Sergei Reznikov <diver@gelios.net>

Compilation fixes for x86_64.

Added quite a few missing components to image:

alert arp bc CortexAddOnHost

CDPlayer CharacterMap DeskCalc
Devices DiskUsage Expander LaunchBox MediaConverter NetworkStatus
PoorMan Pulse Screenshot ShowImage SoundRecorder TV Workspaces

DataTranslations Media Printers ScreenSaver

BSnow Cortex FontDemo OverlayImage Pairs

cddb_daemon midi_server power_daemon print_server print_addon_server

Canon LIPS3 Compatible Canon LIPS4 Compatible Gutenprint
PCL5 Compatible PCL6 Compatible PDF Writer PS Compatible

libgame.so libmedia.so

Signed-off-by: Alex Smith <alex@alex-smith.me.uk>


# 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.


# 5dcd3cd1f3c99ccbc5884220e5069ec344628072 22-Dec-2011 Hannah Boneß <hannah@animux.de>

Update layout building code in misc. apps (GCI 2011 task).

Replace the use of old-style BGroupLayoutBuilder and BGridLayoutBuilder with new, templatized BLayoutBuilder::Group<> etc.. in the following apps:

* CharacterMap
* Installer
* Mediaplayer
* Screenshot

This work was done for GCI 2011 by Hannah Boneß. Thanks Hannah!


# 11c7ff531a01b64773d8a8f0e02c1c7c9f27ca29 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Removing most About windows and menu items as discussed here
http://www.freelists.org/post/haiku-commits/r40968-in-haikutrunksrcapps-activitymonitor-bootmanager-charactermap-codycam-deskbar,3
Leaving them for now in replicants, and in Terminal, according to (my interpretation of) the instructions here
http://dev.haiku-os.org/browser/haiku/trunk/src/apps/terminal/README.GPL_to_OBOS#L70
Some sporadic cleanup.

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


# 560ff4478d5c85455ea3e5ed5e392ef93132d545 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.

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


# b97c51490af2a4e3a20d6baf7d31e59b63924e99 15-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Making use of B_TRANSLATE_APP_NAME, BAboutMenuItem, BAboutWindow. Clean-up. Removal of some ellipsis. ('About Haiku' in Deskbar.)

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


# 066522e87b5aa9f25957e3f419ac3a0565edbb4f 14-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Localization changes. Use of B_TRANSLATE_APP_NAME(). Small cleanups.

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


# 3a0dfaf3f2a760f0fe6ac4fb431aa43c08bd1bfd 28-Feb-2011 Joachim Seemer <humdingerb@googlemail.com>

Patch by taos to un-localize CharacterMap's settings. Thanks. Fixes #7303.

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


# 2905062e64b7f40cbf0689476e3e4486ac40a9e4 20-Feb-2011 Philippe Saint-Pierre <stpere@gmail.com>

In CharacterMap:

Separate the CodeView (info section at the bottom of the window)
in 2 sections, one with the character itself, the other with the
remaining infos (hex code, etc..)

The idea behind this is that if the font in the CharacterView above
is different than the default font used in that CodeView, it might
happen that a glyph doesn't show in the CodeView below but was shown
in the CharacterView above, or vice-versa.


Fixes ticket #4020


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


# 1c0ab34c371d3abce2673152625a2d7803d78b26 15-Feb-2011 Siarzhuk Zharski <zharik@gmx.li>

Applied yet another localization patch made by Jorma Karvonen. Fixes #7109.



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


# c16bcdfcb779bf4d85a8aceb10602581d3de104f 10-Feb-2011 Joachim Seemer <humdingerb@googlemail.com>

Made some more strings localizable, removed some unnecessary localizations from CDPlayer. I hope everything's OK...

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


# 7c2ffab858c6f0447aef751eef73f00a8512839d 13-Dec-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

Patch from Jason Fagnière (Protonux) as part of GCI :
* i18nize devices, charactermap, cdplayer, activitymonitor.

Thanks!

(note : there are some known 80-column problems in this patch)


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


# 8b7eacd6b08eeae7c4267a96997c7387360ed5b8 29-Sep-2010 Axel Dörfler <axeld@pinc-software.de>

* Added CharacterView::ScrollToCharacter(), and IsCharacterVisible().
* On text drops, the character map is now scrolling to the first character
dropped. This is helpful to see the code of a character as well as the block
it is contained in.
* Fixed a bug in CharacterView::_FrameFor() that would not return the correct
vertical position.
* Made a few methods const.


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


# efe5db55723e15971ff5718ee4a1c63a45d961a7 13-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Remove superfluous tab introduced in previous commit.


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


# 2f313958ce2f6f7e5541c0418ad6c85fd321bf51 13-Sep-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Patch by diver: selected font family is now check marked too.
Closes #5624.
Thanks!


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


# 7f2103fe254eecc85b4caca0d5d861864be88782 19-Aug-2010 Oliver Tappe <zooey@hirschkaefer.de>

Fix warnings in charactermap
* no need to overload ScrollTo() with a non-related method - renamed local
ScrollTo() to ScrollToBlock()


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


# 7974d3dcf39ce78e5885b481eee12e561ad6e096 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


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


# f7b4d19dc41e1598c6e8ae185716f2d2654e9f00 04-May-2009 Axel Dörfler <axeld@pinc-software.de>

* Reverted r30529 as this was pretty much bogus (sorry stpere, but the size of
the window was already set with its constructor).
* Fixed the actual cause of bug #3752 instead: the fCharacterHeight and
fTitleHeight members were not initialized when MinSize() was called.


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


# fadee6b0dddd0a4a41e21f7cb4460b31117f2246 30-Apr-2009 Philippe Saint-Pierre <stpere@gmail.com>

Make the CharacterMap start with a reasonnable window size on first
launch (without saved settings). As it was before, the window took all
the space it needed i.e. each section was on a single line.

Maybe a better way would be to just start it zoomed.

Maybe it fixes ticket #3752.


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


# 7ac4610afaa6ec96980ba5477476c72d9c3cf947 02-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Got rid of the mouse move heuristics again, and tried a cleaner approach
by redirecting up/down keys to the list view.


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


# c7c20fc18460035415cdc11ff43815045a1e8272 02-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Improved filter input vs. mouse use behaviour.


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


# 8f400a127ad8d2805104b69a279b4832a4bf42ea 02-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Added filter control for the Unicode block list.
* The status line now contains the character as well, as suggested by humdinger.
* Moved the list view into its own class UnicodeBlockView.


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


# a9fcf35b9884af24b10eec0bb61615b302473509 01-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Added support for copying characters into the clipboard via Command-C, and
a popup menu.


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


# f03b0a18cce34a4e52ede53a02f4ded32907eb6d 31-Mar-2009 Rene Gollent <anevilyak@gmail.com>

gcc4 build fixes.



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


# 9a0dc161a592052b8b892bceb16f4f2ba4dabc1e 31-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

* Selecting a font via its family didn't work.


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


# a664f9dec5f9b53b328db2005724128b232bf9c6 31-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

* Made the default window size a bit larger.


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


# beedda4c2c643e23c97dcb6917662d57df6a9b0d 31-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

* Added a string view that shows the character's code on mouse over, the
character gets also highlighted.
* Added support for dragging a character. Holding shift (or option) while
dragging will copy an UTF-8 hex string instead.
* Minor cleanup.
* Is there any reason BStringView restricts its maximum width?


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


# f05dab29fd1f453bff08127cff6b6af85108ec17 30-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

* CharacterView now accepts mouse wheel input (it did not forward the messages
to its superclass), and it also sets useful scroller steps.
* Improved layout a bit.


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


# 6722e2f797fd888265e22ed4871e9d11b75e5afe 31-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

* Temporarily removed the "Only Show Blocks Contained in Font" - Haiku does
not yet support this.
* Made sure the correct font is selected at start.


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


# b045287228b38d7892745c773bd74b7a2d122907 31-Mar-2009 Axel Dörfler <axeld@pinc-software.de>

* Started an application showing the Unicode character map.


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