#
7457ccb4 |
|
13-Aug-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
BMessageFormat: Rename to BStringFormat. The ICU class is named MessageFormat, but on Haiku, it sounds too much like something related to BMessage (which it isn't in the slightest) and not part of the Locale system. It works almost entirely with BStrings, so naming it BStringFormat makes much more sense. OK'ed by PulkoMandy and Humdinger.
|
#
d41ee54e |
|
09-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Fix corrupted text in poorman slider UpdateText must return a pointer to a fixed buffer, whcih BString.String isn't, if the sctring is modified. Copy the data to a char* we can use as a fixed position buffer.
|
#
961fdd8c |
|
08-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
BMessageFormat: parse the pattern at construction * Instead of parsing the pattern everytime Format() is called, parse it only once when the object is created. * Adjust all callers to make use of the feature and reuse the instance as much as possible. This also allows calling B_TRANSLATE only once instead of everytime the formatting needs to be done. We use either a static instance (when the message pattern is constant) or a field (when it is not known to be constant). * Since the BMessageFormat instances are now reused, add locking to avoid race conditions (ICU itself is thread safe, but the format pattern is recreated when the locale is changed)
|
#
0e7fcd84 |
|
08-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
PoorMan: use BMessageFormat.
|
#
a1ae8022 |
|
13-Jul-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Convert Poorman to use the Layout API. Also includes many style fixes. This patch was done by tokyo6pm, and then updated by mks after changes to Poorman broke the patch. ticket: #3787
|
#
230fd426 |
|
24-Aug-2009 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
fix gcc4 warnings (+alphabranch) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32658 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
000fe088 |
|
04-Apr-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Ma Jie: Basically - make Poorman (the webserver) work. Libhttpd from Jef Poskanzer is providing the backend, but had to be adopted in some ways. Other issues in Poorman have been resolved. When testing the license integration, I stumbled over some AboutSystem bugs, basically clicking licenses would not open them. I fixed those in this patch, sorry for mixing that up. Note to Ma Jie: I changed the encoding of the libhttpd files to UTF-8! (This affects only the (C) glyph.) Thanks a lot for your awesome work on Poorman, it's really appreciated! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29906 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
deb0af83 |
|
23-Jul-2004 |
Jérôme Duval <korli@users.berlios.de> |
Fixes Jamfile Fixes headers, now compiles on R5 git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8459 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4af8c448 |
|
22-Jul-2004 |
Phil Greenway <sikosis@gmail.com> |
Initial Checkin. Code by sl9c5 (sl9c5@cityinfonow.com) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8455 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d41ee54e6a430287c6e127e6176b3bbb97164ccb |
|
09-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Fix corrupted text in poorman slider UpdateText must return a pointer to a fixed buffer, whcih BString.String isn't, if the sctring is modified. Copy the data to a char* we can use as a fixed position buffer.
|
#
961fdd8cc3a4f138449895445e0b4531e98b1eb2 |
|
08-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
BMessageFormat: parse the pattern at construction * Instead of parsing the pattern everytime Format() is called, parse it only once when the object is created. * Adjust all callers to make use of the feature and reuse the instance as much as possible. This also allows calling B_TRANSLATE only once instead of everytime the formatting needs to be done. We use either a static instance (when the message pattern is constant) or a field (when it is not known to be constant). * Since the BMessageFormat instances are now reused, add locking to avoid race conditions (ICU itself is thread safe, but the format pattern is recreated when the locale is changed)
|
#
0e7fcd84af6c2bae5d5a741f3eb8f59813e0a6e0 |
|
08-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
PoorMan: use BMessageFormat.
|
#
a1ae8022797c710ead4307573ea988f92393ba11 |
|
13-Jul-2012 |
Alex Wilson <yourpalal2@gmail.com> |
Convert Poorman to use the Layout API. Also includes many style fixes. This patch was done by tokyo6pm, and then updated by mks after changes to Poorman broke the patch. ticket: #3787
|
#
230fd426a93e950397411ae43e978f5fa985a4b8 |
|
24-Aug-2009 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
fix gcc4 warnings (+alphabranch) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32658 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
000fe088a79bbd17ce42078273c04b306967827f |
|
04-Apr-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Ma Jie: Basically - make Poorman (the webserver) work. Libhttpd from Jef Poskanzer is providing the backend, but had to be adopted in some ways. Other issues in Poorman have been resolved. When testing the license integration, I stumbled over some AboutSystem bugs, basically clicking licenses would not open them. I fixed those in this patch, sorry for mixing that up. Note to Ma Jie: I changed the encoding of the libhttpd files to UTF-8! (This affects only the (C) glyph.) Thanks a lot for your awesome work on Poorman, it's really appreciated! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29906 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
deb0af83304c393bdcec5f44755ab5b619b3110d |
|
23-Jul-2004 |
Jérôme Duval <korli@users.berlios.de> |
Fixes Jamfile Fixes headers, now compiles on R5 git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8459 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4af8c448e2d7bf57b9062d868788a80abe569c13 |
|
22-Jul-2004 |
Phil Greenway <sikosis@gmail.com> |
Initial Checkin. Code by sl9c5 (sl9c5@cityinfonow.com) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8455 a95241bf-73f2-0310-859d-f6bbb57e9c96
|