Commit Graph

38679 Commits

Author SHA1 Message Date
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
Philippe Saint-Pierre 8d779aa8df DiskUsage :
* add two missing break; (CID 3301, 3302)
  * replace strcpy, strcat and sprintf by strlcpy, strlcat and snprintf
    (CID 6804, 6805, 6806, 6807, 6808, 8962, 8963)
  * remove a PrintToStream (left by accident for debugging purposes)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 01:08:25 +00:00
Jonas Sundström 41e4f0903d Unsafe use of strncpy replaced by strlcpy. CID 2254.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 01:06:58 +00:00
Jonas Sundström d1a78f51e0 Unsafe use of strncpy replaced by strlcpy. CID 2256.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 00:55:44 +00:00
Jonas Sundström 117711e680 Unsafe use of strncpy replaced by strlcpy. CID 2257.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 00:37:01 +00:00
Jonas Sundström 7d5b23fb44 Unsafe use of strncpy replaced by strlcpy. CID 2258.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 00:30:17 +00:00
Jonas Sundström c4035e9124 Unsafe use of strncpy replaced by strlcpy. CID 2259.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 00:08:41 +00:00
Jonas Sundström d4f0eca634 Unsafe use of strncpy replaced by strlcpy. CID 2264, 2265.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 00:01:16 +00:00
Jérôme Duval 53c001249b gcc 4.5 build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 22:57:20 +00:00
Stephan Aßmus 96f9949a2d The parent menu of the attributes menu might be showing, thus it needs
to be locked before its font is retrieved or items are added.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 22:46:48 +00:00
Siarzhuk Zharski 211be12926 A bit of extra localization support for Devices app.
Partially fixes #7245.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 20:37:54 +00:00