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
Stephan Aßmus
581144ea46
fLastSnapTime was never initialized, which may have prevented
...
snapping to work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 11:36:26 +00:00
Stephan Aßmus
cbaa4d3143
Initialize all members. They don't seem to be used, but this can avoid future
...
use in derived classes without enforced code paths... (CID 10252).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 11:29:26 +00:00
Jonas Sundström
46f4e9db27
Useless type qualifier on return type. CID 5666.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 04:38:57 +00:00
Jonas Sundström
93e53019bf
Missing InitCheck. Error checking stale status variable. CID 2962.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 04:35:37 +00:00
Jonas Sundström
6e9c6db2e9
Unsafe use of strncpy replaced by strlcpy. CID 2214.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 02:54:16 +00:00
Clemens Zeidler
73da57481b
- Don't download messages flaged as deleted.
...
- Set watching variable when leaving the watching method.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 02:25:22 +00:00
Philippe Saint-Pierre
14afc67b4c
DeskCalc:
...
* Replace usage of strcpy by strlcpy (CID 6790)
* Check the return value of FindApp before continuing (CID 2366)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 02:08:03 +00:00
Jonas Sundström
08a750214c
Unsafe use of strncpy replaced by strlcpy. CID 2237.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 01:54:33 +00:00
Jonas Sundström
585db48d51
Unsafe use of strncpy replaced by strlcpy. CID 2238.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 01:19:30 +00:00