Commit Graph

38748 Commits

Author SHA1 Message Date
Jonas Sundström
c91c2de735 Printf-like assignment method for BString.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 07:26:19 +00:00
Jonas Sundström
9f0f6fcd99 Fix mixed up button labels.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 05:57:46 +00:00
Jonas Sundström
0805772b3f Use the correct ICU country code for the Swedish flag resource.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 04:26:54 +00:00
Philippe Houdoin
3d1ed0fb56 Fix ShowImage crash when image loading fail: we don't have a CacheEntry then, but still
should notify our listener (of the error, in such case).
Closes #6842.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 01:37:44 +00:00
Philippe Houdoin
30a498f4a6 Localized priority submenu.
Closes #7283.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 00:10:36 +00:00
Siarzhuk Zharski
435b323040 - Finnish localization updated from HTA in request from Jorma Karvonen;
- InfoWin.cpp forgotten to be added into DoCatalogs in r40688 added with this.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 23:05:54 +00:00
Siarzhuk Zharski
2ee8f3f65f Bunch of localization fixes pointed out by Diver. Thanks!
Notes:
- FileTypes: The "Same as" button label separated to two entities in dependency of 
             context: "Same Type as ..." and "Same Application as ...";
- Tracker:   The sentences like "If you do %action [...]. To do %action [...]"
             now use separately translated verbs for so called
             "ifYouDoAction" and "toDoAction";
- NetworkStatus: NetworkStatusView _ShowConfiguration is fixed back after previous
			 attempt to localize it in r37337: useless code bloating purged out,
             broken quasi-header "ifaceName information:" pulled back from Hell;
- StyledEdit: Menu item "Can't undo" had different casing in some situation. Looks
             like HTA cannot detect such situation, so right lines "Can't undo"
             were masked by wrong one "Can't Undo" and this line stay untranslated
             for most time.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 22:18:31 +00:00
Alex Wilson
c97121d35b Remove the realtime stuff from the media preflet, as these controls actually have no effect whatsoever. Also remove the message to restart the media server after default audio/video inputs or outputs are changed, as these changes take effect immediately. fixes #6012
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 22:09:05 +00:00
Jérôme Duval
3116b031dc FIONBIO and FIONREAD don't apply to directories, files, attributes: returns ENOTTY in these cases. This fixes #7279.
ENOTTY could also be replaced with a B_ error code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 19:58:25 +00:00
Alex Wilson
0611a317da Fix graphical erros in Tracker's status window by truncating the destination path as needed. (Fixes #5914). Also remove fallback drawing code for when be_control_look is NULL, as that shouldn't be the case ever.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 19:28:27 +00:00
Philippe Houdoin
55535ac178 Adapt after IconUtils.h being made public header.
Forgot to add PictureView.cpp to localization.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 13:47:16 +00:00
Philippe Houdoin
589d9759a4 Since _SetToRet() check previous value of fRef, an sane initial value must be
set at construction.
Closes #7264.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 13:45:43 +00:00
Philippe Houdoin
ea56573776 Localized Shutdown process.
Closes #7281.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 13:16:04 +00:00
Scott McCreary
2ec66f4a24 Updated sqlite to 3.7.5
Updated git to 1.7.3.5
Updated libevent to 2.0.10
Updated pcre to 8.12
Updated p7zip to 9.13


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 09:33:48 +00:00
Scott McCreary
c2422ccd59 Updated cmake to 2.8.4 and nano to 2.2.6
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 09:16:57 +00:00
Stephan Aßmus
4153964a10 Moved IconUtils.h to Interface Kit and therefor made it an "official" header. Since the class has no
virtual but only static methods, it is not so likely that binary compatibility issues may arrise
from using it in new apps. Adjusted all the Jamfiles that included the private libicon headers. Note
that it was never necessary to link against libicon.a, since it's part of libbe anyway. There was one
instance where that was done. Hopefully it does not break the build, but I did this change a while ago,
tested it and then the harddrive began failing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 09:12:38 +00:00
Stephan Aßmus
ed95053221 Applied patch by John Scipione that adds the scale2x algorithm to BIconUtils
and uses it when old B_CMAP8 icons are to be upscaled exactly 2x. Looks much
better than the previous blurry bilinear scaling. Small cleanups by myself,
closes #7130, thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 08:34:18 +00:00
Jonas Sundström
70da0d8639 CID 6331, 6333, 6334, 6335 SECURE_CODING
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 06:43:39 +00:00
Philippe Saint-Pierre
85b2f68b69 Fix build on gcc2.
(Note, I honestly have no idea what was initially wrong with the code; everything seamt right to me..)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 01:49:26 +00:00
Jérôme Duval
3a04b74922 Don't dereference thread after free(). Thanks to Stephan for noticing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 22:53:01 +00:00
Matt Madia
1b46426d40 Added WQY-MicroHei optional package to the alpha-* build profile. Fixes 6194.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 21:17:18 +00:00
Siarzhuk Zharski
1e61f4b782 Still unlocalized strings in Process Controller, Devices and Touchpad preferences
are localized. Pointed out by Diver. Thanks.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 19:03:47 +00:00
Philippe Houdoin
8cf55acfff When update the original image, we can't set it directly as its address has changed,
and _SetPicture() will then delete it behind our back.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 18:52:07 +00:00
Philippe Houdoin
433dc78379 As spotted by Stephan, pulled out items enabling/disabling of the if block,
as menu items must be updated even when the focus is not a text view!
Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 18:23:46 +00:00
Philippe Houdoin
e23bbaff47 Factorize a bit more.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 18:14:08 +00:00
Philippe Houdoin
bb0416a246 * PictureView is now keyboard navigable
* Alpha transparency of image is now respected
* Add a popup menu to load an image or remove the current one.
* The current picture can also be removed by pressing Delete key
* ... or by dragging the image to desktop's Trash


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 17:48:21 +00:00
Philippe Houdoin
b2435cc021 Save picture in JPEG format instead of PNG, for space consideration.
Small style fix.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 17:40:26 +00:00
Jérôme Duval
70e1a40a1d replaced use of malloc.h with stdlib.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 17:33:12 +00:00
Jérôme Duval
bafa759148 now correctly init the thread id in the pthread struct for main thread and threads spawned with spawn_thread(). This definitely helps for #7235.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 17:28:59 +00:00
Philippe Houdoin
2f76808976 Soon the current focused could be something else than a BTextView...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 14:26:13 +00:00
Siarzhuk Zharski
3c4365e313 Czesh translation updated from HTA in request from Radek.gmail.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 13:30:27 +00:00
Philippe Houdoin
0f5f1701c9 Fixed previously hardcoded strip width computation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 11:19:10 +00:00
Jonas Sundström
fb9fc445fe CID 9959 UNINIT_CTOR
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 09:42:16 +00:00
Jonas Sundström
dc36ea92be CID 6337 SECURE_CODING
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 09:35:55 +00:00
Jonas Sundström
1fc4ba42c2 CID 9835 UNINIT_CTOR - removing leftovers from 12/24 interval option
CID 8960 STRING_OVERFLOW
CID 6788, 6789 SECURE_CODING

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 08:33:35 +00:00
Jonas Sundström
c0107fb2bf CID 4147, NO_EFFECT
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 08:08:11 +00:00
Jonas Sundström
f9d7564f1d * CID 9830, 9829, 9828 UNINIT_CTOR
* CID 8959 STRING_OVERFLOW
* CID 6787 SECURE_CODING

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 07:53:35 +00:00
Scott McCreary
4def827271 Added WQY-MicroHei font as an OptionalPackage
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 06:51:48 +00:00
Scott McCreary
ae4af1aa05 Update curl to 7.21.4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 05:10:23 +00:00
Clemens Zeidler
5b1fc2da98 Use the correct descriptor size.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 04:57:56 +00:00
Scott McCreary
c588b4278a Add the GPL font exception clause to licenses
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 03:28:28 +00:00
Philippe Saint-Pierre
b754759693 Replace occurences of strcpy and strcat by strlcpy and strlcat. At both places, while improbable, it was possible to get string overflows.
CID 9043, 9044


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 01:23:21 +00:00
Philippe Saint-Pierre
0e952e21c3 If the template name was long enough, we would have exceeded the string size.
CID 9046


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 01:09:24 +00:00
Philippe Houdoin
84627497fb Add a new feature to People app: a picture can now be stored in Person file,
besides attributes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 19:31:28 +00:00
Philippe Houdoin
7a9ea6df3b Now center the picture in the frame.
Don't keep any storage reference, user should now called Update(entry_ref) when it changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 19:21:58 +00:00
Alexander von Gluck IV
4f882add11 remove legacy haiku-networkingkit-cvs and fix HaikuInstall path (although its not used anymore)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 18:47:33 +00:00
Jérôme Duval
921aaaa1ed the test now works as expected on Linux, and not on Haiku, it was broken before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 17:28:42 +00:00
Joachim Seemer
f44fb03bcb Apparently I forgot to fix those bloody fingerprints. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 17:12:18 +00:00
Joachim Seemer
97533fefb7 Added French catalogs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 16:20:50 +00:00
Jonas Sundström
786d2cbb69 Remove line-break from catkeys entry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 12:08:28 +00:00