Jonas Sundström
ed7ee7a432
Localization support for filesystem entries in Tracker and Deskbar (leaf menu). (It appears to work, but is likely incomplete and quite possibly incorrect.) Fix issue with RosterData::Refresh() resulting in a B_LOCALE_CHANGED broadcast, and Deskbar looping. Add a global boolean gLocalizedNamePreferred to avoid calling BLocaleRoster::Default()->IsFilesystemTranslationPreferred() too often from Model instances. Following Tracker code style in libtracker, so as to not mix in too much clean-up.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-12 00:53:30 +00:00
Alexander von Gluck IV
5fb615a3b5
change Heal to Renegotiate for now as it is the most technically correct; add missing delete of fNetworkInterface from deconstructor; remove un-needed RemoveDefaultRoute as per Axel
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 23:31:11 +00:00
Clemens Zeidler
f5753b4af0
Add debug output to debug #7267 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 20:17:10 +00:00
Clemens Zeidler
37f85698cf
- Fix race condition when start watching a mailbox and directly afterwards stop watching it. A BLooper was not suitable to synchronise start and stop watching. Wait till the IDLE command is send before returning the SyncAndStartWatchingMailbox method now. That ensures that a later StopWatchingMailbox call find the maibox in an expected watching state.
...
There is one thread (BLooper) to handle new commands and one watcher thread which is just listening at the server port for updates. The race condition occurred for example when a sync/watching and a fetch body message are send to the looper. The sync message just triggered the IDLE command in the watcher thread. In the meantime the fetch body command send a DONE command, because the IDLE command has not be send at this time the watcher keeps watching.
- fix int32 -> ssize_t thanks Axel and Stippi
- clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 20:13:54 +00:00
Jonas Sundström
07cffb4786
Introducing a Locale option to display localized filesystem entries (primarily apps and folders) in Deskbar, Tracker, etc. Making use of this in Deskbar's list of apps. The option currently defaults to off, to avoid exposing everyone to unfinished work.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 19:52:15 +00:00
Alexander von Gluck IV
a991d18159
implement *basic* network interface Healing action; make fNetworkInterface a pointer so it actually works right
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 18:20:57 +00:00
Jonas Sundström
8fb856f826
Updated translation for Norwegian bokmål. Removing a few empty catkeys files.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 16:39:49 +00:00
Siarzhuk Zharski
9267e5f5dd
Belarusian, Russian and Ukrainian localizations updated from HTA.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 14:47:48 +00:00
Joachim Seemer
78fe3775dc
Removed Chinese catkeys again as they are all empty. Thanks Adrien for noticing.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 14:44:06 +00:00
Joachim Seemer
5bb469543f
Updated Finish catkeys.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 14:15:36 +00:00
Joachim Seemer
5e6450ce3b
Added/updated Italian and Chinese catkeys from HTA.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 14:10:28 +00:00
Siarzhuk Zharski
55f0b964a3
Applying revized localization patch prepared by Jorma Karvonen.
...
Fixes #7347 . Thanks.
Additionally: single function for About alert added - replaces the triplication of
the same text in original code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 22:32:12 +00:00
Siarzhuk Zharski
80cdaa81fd
Partially applying localization patch prepared by Jorma Karvonen.
...
Fixes #7350 . Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 22:25:29 +00:00
Alexander von Gluck IV
a0a9cb5c21
remove right-click menu in InterfaceView; add FrameResized hook to invalidate to correct tearing right status text; Add heal button to renegotiate interface address.. this also balances the buttons on the bottom.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 22:20:23 +00:00
Alexander von Gluck IV
b4725a13b7
fix another possible passing of unsigned int into a function requiring a signed int, CID 10665
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 21:44:36 +00:00
Jonas Sundström
2ffe72d7ff
Swedish and Finnish translation update.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 18:35:43 +00:00
Stefano Ceccherini
cb90adfacd
Partly revert the previous commit: don't reset ffd in the destructor since
...
it's useless.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 10:59:52 +00:00
Siarzhuk Zharski
73bf85cacb
Belarusian, Finnish and Russian translations are updated from HTA.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 10:17:30 +00:00
Stefano Ceccherini
aac111dc76
Initialize ffd to -1 in the constructor otherwise many checks may fail
...
afterwards, and BJoystick won't work.
Also reset it to -1 in the destructor for symmetry.
Found by Carwyn Jones. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 08:21:44 +00:00
Clemens Zeidler
0a3b9e75e0
Fix spelling. Thanks Marcus.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 07:58:55 +00:00
Clemens Zeidler
00413d511c
Fix default "check interval" and "show status window" values.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 07:47:49 +00:00
Clemens Zeidler
7f10625e83
Add provider info for yahoo.com.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 07:29:47 +00:00
Clemens Zeidler
c3a1b99caf
Fix gcc2 build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 07:27:51 +00:00
Clemens Zeidler
6467e4b16d
Fix reading of compressed strings. This fixes #7266 . Some clean up.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 06:25:57 +00:00
Clemens Zeidler
8b254785bb
The IDLE watching command is supposed to timeout after 29 min if nothing happens. Add an mechanism to not treat this timeout as an
...
error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 01:31:33 +00:00
Clemens Zeidler
7aafe6e5e7
There could more then one message fetch failing, count them to notify the listener.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-09 22:22:36 +00:00
Clemens Zeidler
f686f2f564
Cleanup the ongoing commands when disconnect otherwise we wait for them forever the next time.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-09 22:18:27 +00:00
Matt Madia
5848eb25e2
Copied friss to haiku-files.org.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-09 21:18:05 +00:00
Joachim Seemer
897e2f47ef
Manually updated pages from the translation site. Mostly to have the work of the GCI students in SVN history, as I already have a few reworked pages locally which I'd like to put on the translation site.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-09 17:03:28 +00:00
Jonas Sundström
212e4c4243
Jamfile changes to make <build>mimeset pick up headers/build/os/storage/AppFileInfo.h rather than the one in /boot/develop/headers on a BeOS-compatible host. This enables use of BAppFileInfo::Get/SetCatalogEntry() in <build>mimeset. Thanks Ingo!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-09 13:18:34 +00:00
Jérôme Duval
e680f0fa21
rename the printf function in the compat layer to avoid symbol clash with kernel printf (at least on gcc4)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 23:11:48 +00:00
Alexander von Gluck IV
eadb4f9f20
improve tracing in freebsd_network compat library, better log spam.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 22:38:16 +00:00
Stephan Aßmus
1d1031cf27
Duh, of course fStyle can be NULL in SetStyle(), which is for example
...
called from the constructors...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 21:47:57 +00:00
Stephan Aßmus
663738e98e
The whole file assumes fStyle cannot be NULL, and it can't be NULL unless there is
...
no default font at all, in which case we have more serious worries. CID 1559.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 21:36:35 +00:00
Stephan Aßmus
87911f6c6e
fClippingRegion cannot be NULL at this point (or at least is not supposed to be). CID 3167.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 21:26:17 +00:00
Stephan Aßmus
a498a54794
Don't hide the dragMessage parameter (which was unused). CID 5333.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 21:04:29 +00:00
Stephan Aßmus
de68adf69b
Secure coding, sprintf->snprintf. CID 6321.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 20:59:00 +00:00
Clemens Zeidler
3e3735a84c
Add some error checks. Fix memory leak in mx record list. Remove debug translation.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 20:56:37 +00:00
Stephan Aßmus
f1aceeca70
Initialize hash_link. I don't think it could be used uninitialized, but it never hurts...
...
CID 9468.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 20:55:01 +00:00
Stephan Aßmus
54fff0c456
Fixed resource leak in error code path. CID 5888.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 20:48:09 +00:00
Stephan Aßmus
feacc2de79
Patch by starsseed from ticket #7341 : Use correct format strings
...
in sprintf() invokations, specifically to avoid reading more
bytes than are contained in the passed arguments. Thanks! Small
cleanups of the touced code by myself included.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 20:23:03 +00:00
Axel Dörfler
7b2d26701f
* Fixed style violations introduced with the previous patch, and a few more
...
that were already present.
* Removed one more case of excessive translating that I missed before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 17:47:58 +00:00
Axel Dörfler
15301dc49b
* Applied patch by Karvjorm that localizes Sudoku - thanks!
...
* I removed translating the debug output, though. Style fixes come in the next
commit with the hope for improvement in future patches.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 17:40:58 +00:00
Alexander von Gluck IV
160de9e03d
overzealous close bracket, thanks Oliver for catching it!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 16:51:29 +00:00
Philippe Houdoin
26b61bd984
Clean wrong spacing, as spotted by Jerome.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 16:17:22 +00:00
Philippe Houdoin
0ceae11007
Remove leftovers
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:49:31 +00:00
Alexander von Gluck IV
3cd1b88812
fix possible passing of signed int to function that only receives unsigned ints, CID 3491
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:27:42 +00:00
Philippe Houdoin
9f76097f9e
Add WebP write support.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:27:33 +00:00
Philippe Houdoin
463c0d1e8d
Upgrade to latest libwebp.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:26:16 +00:00
Alexander von Gluck IV
d4167620d8
quick bit of style cleanup, no functional change
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:22:46 +00:00