Commit Graph

33918 Commits

Author SHA1 Message Date
Alexander von Gluck IV
09295be8a1 added 4270 PCIID from user submission; corrected R600, R700 series ranges thanks to Xorg Radeon decoder ring
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-20 14:36:22 +00:00
Stephan Aßmus
ddc9530b4d The frame that the bitmap is centered in has already
an appropriate offset when the button is drawn in
pressed look. Fixes the bitmap being drawn with a 
much too big offset.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-20 12:59:01 +00:00
Stephan Aßmus
cf0d830818 * Display a tool bar by default (setting can be toggled in the
View menu)
 * The previous/next, selection mode, zoom actions and full screen
   mode are accessible via tool bar.
 * The tool bar can currently not be shown in full screen mode.
   Eventually, I want it to work like in MediaPlayer when it is
   generally enabled.
 * Fixed capitalization "Selection Mode" into "Selection mode"
   (needs catalogs update for all languages).
 * When leaving selection mode, clear the selection. Especially
   with the new tool bar icon, it looked really weird and irritating
   when the selection persisted.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-20 12:53:38 +00:00
Alexander von Gluck IV
47ad511f59 pre-work style cleanup; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-19 18:49:14 +00:00
Stephan Aßmus
d1901581f4 Introduced DataSource::InternalName(), which must be implemented by all
derived classes. This is now used for storing and restoring DataSources
in/from the ActivityView archive. Fixes replicant restoration after
switching the preferred system language.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-19 16:38:30 +00:00
Stephan Aßmus
e6c49e10f9 Don't ignore the entire var directory, but rather only
the swap file specifically. There is already a TODO in
the code for replacing this mechanism with something
cleaner and more flexible. Resolves ticket #7367.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-19 13:49:28 +00:00
Fredrik Holmqvist
7fae779766 Just some cleanup. We won't need pci module for setup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-19 11:47:18 +00:00
Alexander von Gluck IV
04de4ed00e added Radeon HD 4200 IGP
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-19 01:58:31 +00:00
Jonas Sundström
c3cd5321d5 Localization of Screensaver unlock window. Ticket #7232
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-18 22:45:59 +00:00
Clemens Zeidler
07bd7cf4e6 When iterating through mails in a tracker read query window, don't mark the old message as read before retrieving the next message. This would fail because the old message left the query.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-18 10:15:42 +00:00
Siarzhuk Zharski
4d1288ba20 Fix for the typo in alert message. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-18 09:15:28 +00:00
Clemens Zeidler
165991b56a When fetching the message body also fetch the flags in one go. For example, gmail does not send flag change updates. If a message is
marked as read by another client the haiku client at least updates the flags and mark it as read when fetching the body. Thats the way Opera is 
doing it.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-18 04:49:32 +00:00
Michael Lotz
6339610f44 Add a way to override report descriptors with fixed ones based on vendor and
product id. Currently the list only has an example entry.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 22:21:55 +00:00
Siarzhuk Zharski
4115645af6 Localization of some UI parts:
- context menu of the replicant dragger. Fixes #7363;
- default <empty> menu placeholder. Fixes #7072;
- other messages used in PrintJob, Dragger and ZombieReplicantView classes.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 20:25:44 +00:00
Alexander von Gluck IV
89534eeb88 added Radeon HD 3870 IGP, this is also the Radeon HD video card that AMD SimNow Emulates
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 14:20:02 +00:00
Jonas Sundström
52a055c405 Removing localization of name of class instance.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 03:57:26 +00:00
Jonas Sundström
4cbdf74761 Build fix. (fwiw, both failed revisions built fine over here, with both gcc2 and gcc4.)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 03:22:33 +00:00
Jonas Sundström
bffb78de5b Build fix. CID 3165 FORWARD_NULL, avoid casting be_app.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 02:28:45 +00:00
Jonas Sundström
f4265833aa Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 01:15:04 +00:00
Clemens Zeidler
495ecdfea8 Do not recreate the account file when saving the settings. This fix
alternating account names (once AccountName_1 the other time just 
AccountName).
Sort accounts by creation time. This fix the order in mail
preferences.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 00:45:30 +00:00
Jonas Sundström
d374a27286 App name localization.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 20:33:35 +00:00
Clemens Zeidler
dd64744e69 Check first if the QUOTA extension is available.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 20:24:13 +00:00
Clemens Zeidler
2e20611a4f Hacked in a "used storage on server" status string in the IMAP folder window.
The complete window need some love so do not complain at this stage, feel free to fix it, though :-) (Main problem is to add a cancel button to abort the folder fetch and show an error message, see #7258).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 20:01:28 +00:00
Clemens Zeidler
86be65dc7a Disconnect connection if login failed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 19:46:01 +00:00
Clemens Zeidler
3f9320c6a2 Add a GetQuota command for the IMAP QUOTA extension.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 19:12:30 +00:00
Clemens Zeidler
f96f677b90 Fix ExtractBetweenBrackets. It was assumed that the string starts with a bracket, be a little bit more lenient now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 19:09:19 +00:00
Jonas Sundström
71302e7c6d Further localization. Making use of B_TRANSLATE_APP_NAME, AboutWindow. Cleanups. Please review/test changes in Terminal.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 18:48:41 +00:00
Jonas Sundström
7b3cdb9657 Prepare BFilePanel for localized names.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 18:32:25 +00:00
Jonas Sundström
8f8e1924c9 CID 6942, 6943. SECURE_CODING. Replacing sprintf() with BString::SetToFormat(). App name localization. Partially untested. I have no TV card.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 13:28:31 +00:00
Jonas Sundström
31db75d0ae New stippi on the block? Nah. Just a typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 10:58:38 +00:00
Jonas Sundström
b97c51490a Making use of B_TRANSLATE_APP_NAME, BAboutMenuItem, BAboutWindow. Clean-up. Removal of some ellipsis. ('About Haiku' in Deskbar.)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 00:42:18 +00:00
Jonas Sundström
d7f342e8a3 Simplifying the BAboutMenuItem and adding it properly to the locale kit's DoCatalogs list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 21:00:16 +00:00
Jonas Sundström
2708c3e1c8 Making it build. Mostly untested. I just wanted to be able to jam from within src/apps. Not part of the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 17:41:41 +00:00
Jonas Sundström
c53bd10cbb Remove ellipsis. The about-window is not a dialog requiring additional information from the user.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 11:07:33 +00:00
Jonas Sundström
12d8a9f85b Introducing BAboutMenuItem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 01:04:41 +00:00
Clemens Zeidler
21b9693bd2 Clear variables after free them. Don't leak fSSLBio. Should help a bit for #7365. Note: the IMAP ServerConnection should be reused for POP3 and SMTP.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 21:20:42 +00:00
Michael Lotz
6e499760b3 * Since the usages of the local state are now processed also for collections
there is no need to do the usage page and usage id handling anymore.
* As this also removes the only use of the global state it is removed as well.
* Try the usage maximum as a fallback as well and print something if none of the
  usage sources are valid and the collection ends up without a proper usage.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 20:21:38 +00:00
Michael Lotz
baba9584dd Do the usage preprocessing also for collections. While the collection handles
the conversion, it makes it easier to do it for all items the same. This fixes
the missing initialization of the usage stack as pointed out by caz_haiku in
#7354, thanks for the pointer!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 20:10:01 +00:00
Michael Lotz
6391a79957 * Correct case for long items (didn't matter as no long items are defined).
* Move the main data declaration to where it's used.
* Tiny cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 19:03:42 +00:00
Jonas Sundström
825c2d76d2 Disallow quitting Installer silently, midinstall, in the LiveCD/post-install case. Allow quitting Installer without first quitting BootManager/DriveSetup in the LiveCD/post-install case. Make use of B_TRANSLATE_APP_NAME. Stop-icon in abortive BAlerts. Please review.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 17:24:52 +00:00
Jonas Sundström
066522e87b Localization changes. Use of B_TRANSLATE_APP_NAME(). Small cleanups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 14:41:13 +00:00
Ithamar R. Adema
e59aab0981 ARM: Some header cleanup in preperation of more CPU support code...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 13:48:21 +00:00
Jonas Sundström
47798a10f7 Localization changes. Stop using AddCatalogEntryAttribute rule in Jamfiles.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 02:16:35 +00:00
Clemens Zeidler
ac2d675877 Store path instead of an entry_ref. Should fix part of #7364.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 01:59:25 +00:00
Clemens Zeidler
5eb5a9be1a Update table demo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 00:25:31 +00:00
Clemens Zeidler
ef93b55df4 - Areas with same tabs are put in a column/row automtically. Move preferred size constraint from Area to the column/row. This avoids a "spring" effect of the
quadratic solver if multiple Areas are in the same column/row.
- Replace GetString by ToString.
- some clean up



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 00:24:12 +00:00
Clemens Zeidler
66c782cdc0 Soft constraints can now be weighted.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 00:17:30 +00:00
Matt Madia
f6c4812a09 Added '`' to the list of escaped characters.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 00:06:23 +00:00
Matt Madia
32e5ce1060 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 00:05:39 +00:00
Ithamar R. Adema
36fa904ede Fix aligment of data segment, by moving our ARM ldscript closer to the X86 one. This restores
the state of the ARM port to booting all the way up to the idle thread again.

However, will still need to investigate why we need the PHDRS magic, likely due to improper
setup of the ARM toolchain. If anyone has ideas, please let me know!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 23:17:29 +00:00
Jonas Sundström
da7a08abb8 Rename System tab to Options. Suggested by deejam.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 21:20:53 +00:00
Clemens Zeidler
e3beb7c047 Init ssl variables. Replace "/" in temporary filename. This should fix #7267.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 20:32:45 +00:00
Philippe Saint-Pierre
85c3d59821 dstcheck:
* Change button labels to use verbs.  Since the labels are now "Use this time" and "Manually adjust time...", don't ask for a second confirmation in case you chose to adjust time.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 19:28:24 +00:00
Jonas Sundström
480d660fb0 Introducing a catalog app name context, related macros, and making use of this in DeskCalc.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 17:29:10 +00:00
Ithamar R. Adema
60644e6de6 * Add support for R_ARM_ABS32 to kernel ELF linker
* Removal of some commented out (messy) code



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 15:48:52 +00:00
Ithamar R. Adema
5707f2519c * Quiet down VM debug output, so we can easily find errors ;)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 10:42:18 +00:00
Ithamar R. Adema
8bbaee6124 * Fix ARM kernel compilation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 10:28:51 +00:00
Philippe Houdoin
61698f2dad Audio clips are also concerned with backgroup volume level settings, so actually
"clips" was valid. Also adds a missing : after menu labels.
Thanks Humdinger for proofreading and suggestion.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-12 13:06:08 +00:00
Philippe Houdoin
b17cf6ff58 The "movies" term was used everywhere else, for coherency use it instead of "clips".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-12 10:41:02 +00:00
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
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
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
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
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
Clemens Zeidler
548402bb7c Close the status window again when an error occurred durring a message fetch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 03:09:41 +00:00
Philippe Saint-Pierre
c45c76e658 DeskCalc
Move the Invalidate() call introduced in r40863. It is now in FrameResized().

This now seems to fix #7010 for good.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 01:50:25 +00:00
Philippe Saint-Pierre
13b4be3fb2 DeskCalc:
Invalidate the CalcView after changing the Show Keypad option, to force to redraw the keypad.

Fixes ticket #7010.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-07 23:33:08 +00:00
Philippe Saint-Pierre
d8e2b9fea6 dstcheck:
* Make alerts closeable using escape

fixes ticket #6902.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-07 23:01:45 +00:00
Philippe Saint-Pierre
95780b6475 Allow DiskUsage to be used as a Tracker add-on again.
Fixes #7343.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-07 19:13:21 +00:00
Jonas Sundström
82e7ef6709 Add app filename localization catalog entry support to BAppFileInfo, registrar and mimeset. Need help to understand why the build-version of UpdateMimeInfoThread.cpp does not compile with the added code, currently commented out. Sorry about the arbitrary B_MIME_TYPE_LENGTH*3. Advice and review welcome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-07 15:14:46 +00:00
Philippe Houdoin
b70b735dca Fix error message formating.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-07 14:25:32 +00:00
Alexander von Gluck IV
b09a1ac2bd small fix for multiple addons, need to track tabs for each add-on as well as overall number of tabs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-07 03:17:21 +00:00
Alexander von Gluck IV
df3ba0993e fix static message names to remove abbreviation; add secondary click menu to InterfacesListView; make interface icon adjustable
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 23:10:56 +00:00
Alexander von Gluck IV
28ff2040e9 myself and #c++ think this really doesn\'t do anything good, removing to ensure the Beceem Wimax driver compiles under gcc2... also removes a warning on gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 21:33:57 +00:00
Jonas Sundström
cb9c3e9ced Support added to the resource compiler and resource definition files (.rdef) for application name catalog reference. Please review.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 19:04:59 +00:00
Alexander von Gluck IV
17202e2f0f add newlines after case breaks to enhance readability
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 18:30:16 +00:00
Alexander von Gluck IV
4b7b79d52f fix a few missed style corrections in BeceemCPU; style cleanup in BeceemDDR; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 18:26:19 +00:00
Fredrik Holmqvist
1687edd0fd Final set of style cleanup patches by John Scipione as part of #7052.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 16:57:59 +00:00
Joachim Seemer
044f12ae62 Localization of screensavers. Fixes #7326.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 16:42:58 +00:00
Fredrik Holmqvist
1ad8c760ed More style cleanup patches from John Scipione as part of #7052.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 15:57:48 +00:00
Alexander von Gluck IV
e0728fa558 BeceemCPU style cleanup, little functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 15:54:37 +00:00
Philippe Saint-Pierre
d020e3568f Screenshot
* Fix violations to coding guidelines
 * Error checks on the received entry_refs
 * Typo in comment

Thanks Axel!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 14:14:37 +00:00
Jérôme Duval
0f4ab8dfd3 Comparing with i915 DRM:
* add a INTEL_TYPE_915M type to be used by 0x2592 (mobile version)
* 0x2e32 is actually non mobile, added its brothers 0x2e02, 0x2e12, 0x2e22, 0x2e42, 0x2e92
* 0x27a2 is actually mobile.
* added 0x2972, 0x2982, 0x2992 for INTEL_TYPE_965 type, and 0x2a12 for INTEL_TYPE_965M.
* added corresponding entries in intel_gart.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 11:57:20 +00:00
Stephan Aßmus
670fbd136a Typo fixed and debug left-over removed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 10:34:16 +00:00
Stephan Aßmus
45739d5d4b * Added creation of default indices, as are currently present on regular Haiku
volumes. I've decided not to put this into InstallerInitScript, as I reckon
   the script is to customize the installation process more than to be a critical
   part of the process.
 * Make mirroring the existing indices onto the target volume ignore more errors.
This should be the final fix for ticket #7320.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 10:25:25 +00:00
Clemens Zeidler
13ee057787 Fix spelling, thanks Jérôme!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 09:41:11 +00:00
Jérôme Duval
0961433d2a Patch from diver (bug #7329) with cleanup by myself: remove excessive localization
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 09:33:39 +00:00
Clemens Zeidler
f5a2f7b79d Set progress after the body has been fetched. This fixes #7255.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 07:49:00 +00:00
Clemens Zeidler
8c018efae7 Add some check if we are still connected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 07:42:20 +00:00
Clemens Zeidler
faad334022 Fix endless loop when try to logout and the connection is already lost.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 07:36:45 +00:00
Philippe Saint-Pierre
c6d2f9af2c Screenshot
* Consider the message that the FilePanel returns and add the path to the output destination MenuField.

Ticket #6886


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 22:13:12 +00:00
Stephan Aßmus
df4e063a13 Of course I did not get this right on first try... the targetDevice
was taken from sourceDirectory, and fs_read_index_dir does not set
errno when returning NULL (i.e. no more index entry), which resulted
in the logic to think an error happened, but it only carried over from
fs_create_index() when the index already existed. I think lsindex
needs to be fixed as well, since it checks errno after
fs_read_index_dir(). In case fs_read_index_dir() is supposed to set
errno, it should reset it internally before it's possible to encounter
any error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 17:37:24 +00:00
Jérôme Duval
8775d8d25d dir_remove() now handles a path which ends with "/./" and fixed #6817.
Another way would be to disallow removing such a path, as Linux does.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 17:17:19 +00:00
Fredrik Holmqvist
1075cc34a0 Missed these as part of r40817. Style cleanup by John Scipione from bug 7052.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 16:33:57 +00:00
Fredrik Holmqvist
c562239723 Even more style clean up patches by John Scipione from bug 7052.
(I modified BeMenu.h to have consistent style for pointer variables.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 16:22:42 +00:00
Stephan Aßmus
a2dc49b516 * Mirror all the indices from the source volume to the target volume.
Note that it would have been an option to invoke mkindex, which has
   a similar mirroring option, in the InstallerInitScript, but I favor
   making Installer depend on as few external tools as possible.
 * Very small cleanup in _PerformInstall(). It should be broken up more
   into individual methods.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 16:14:52 +00:00
Fredrik Holmqvist
4ec67d2b37 Patches from John Scipione as part of bug 7052.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 15:52:49 +00:00
Fredrik Holmqvist
62a78b3566 Style cleanup patches by John Scipione from bug 7052. (Modified header to have consistent style).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 15:40:24 +00:00
Jonas Sundström
4d15b48647 Reordering for readability.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 12:11:45 +00:00
Clemens Zeidler
4e401f8153 Fix crash when opening a new mail. Thanks Jonas.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 00:18:25 +00:00
Jonas Sundström
cd7548f537 Some apps get the name lookup attribute.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 22:34:20 +00:00
Clemens Zeidler
c8057498b3 One more sanity check.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 21:31:11 +00:00
Jonas Sundström
fca835f134 Style fixes. Thanks, Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 18:42:48 +00:00
Axel Dörfler
65763c9728 * Fit image to the view bounds again after a rotation (it's quite annoying when
you suddenly only see part of the image). This could be improved by only doing
  so if the image was fit before, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 18:04:10 +00:00
Joachim Seemer
d4f58f5cf9 Added DateTimeView.cpp to Jamfile to DoCatalogs. Thanks diver for pointing that out in #7278.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 14:34:01 +00:00
Jonas Sundström
ec3ead230b Style fixes. Doxygen comment. Use standard strchr function.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 11:11:03 +00:00
Ryan Leavengood
8a99b1dc31 Apply patch from stimut to avoid a C++ exception in the JPEGTranslator.
Should fix the remaining issue on #6975.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 03:21:53 +00:00
Clemens Zeidler
b5d2724841 Add a safety check. Should helps with #7266.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 21:44:46 +00:00
Clemens Zeidler
b0acdd1578 Remove some code that pretty much looks like some legacy code to add additional attributes to a running system.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 21:42:29 +00:00
Jonas Sundström
f5c0a9970a Support for showing localized app entries in Deskbar. Just the app entries so far, and not yet the items in the leaf menu. Please review.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 20:58:58 +00:00
Clemens Zeidler
2e1acbe269 Re-add Mail support declaration for mails again, thanks Stippi.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 20:10:40 +00:00
Clemens Zeidler
443561c08d Add another mime type file for partial downloaded messages. Clean up a bit, could somebody check if this is all right?
Removed the partial downloaded bitmap icon since I was unable to load a bitmap it in the mime type file. I'm using the new mail icon now. Could somebody create a partial vector icon?



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 19:58:09 +00:00
Philippe Houdoin
7703b15314 Those should have been part of r40791. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 14:07:57 +00:00
Philippe Houdoin
662c94f6c4 Reorganized to follow libwebp source layout.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 13:27:41 +00:00
Clemens Zeidler
b8d2bbd616 - Partial downloaded messages are now opened by Mail and not by the mail daemon. Mail request the body fetch and get notified when the daemon is done. During this time the Mail window title is showing "Downloading: subject". This fixes #7256.
- Some cleanup in Mail.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 09:05:04 +00:00
Oliver Tappe
e8226ce48d * fix support for influencing tzset() via TZ environment variable
(now at least <std> and <offset> are supported properly)
* instead of creating a TimeZone object whenever needed, we now
  create it in tzset() and keep it around
* add tests for TZ to locale_test

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 00:34:51 +00:00
Jérôme Duval
548836e4f8 * if ioctl hook wasn't found, now returns B_DEV_INVALID_IOCTL
* in case fd_ioctl() was about to return B_DEV_INVALID_IOCTL, translate to ENOTTY to satisfy #7279.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 18:58:14 +00:00
Jérôme Duval
e523d3cfc1 changed ioctl hook return code when the opcode isn't supported.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 18:49:02 +00:00
Jérôme Duval
f53ec236e2 changed ioctl hook return code when the opcode isn't supported.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 18:24:19 +00:00
Philippe Houdoin
552c44608f Change a bit the tooltip text, per Axel suggestion.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 17:37:02 +00:00
Philippe Houdoin
a559946f03 Use string_for_size() to format and localize sizes in a consistent way.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 16:08:24 +00:00
Philippe Houdoin
d25cab17b0 * Check data size before trying to translate it into a picture image
* Remove leftover debug traces


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 15:28:09 +00:00
Siarzhuk Zharski
8b921e3650 - Localization of the global popup menu name is removed as invidible to the end-user;
- In consistency with other applications, following units were replaced: MB -> MiB, KB -> KiB;
Pointed out by Jean-Loic Charroud. Thanks.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 15:08:26 +00:00
Philippe Houdoin
372bd6a113 Use be_control_look to draw the progressbar. The previously hardcoded one was
following the BeOS look, not our.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 11:17:19 +00:00
Philippe Houdoin
e5dca0c2c0 * Scale down a bit the picture view, now using the same ration than
official (passport, ID card) photos
* Add a tooltip to give user some hints on the picture "field"


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 09:54:30 +00:00
Philippe Saint-Pierre
471b5ec496 DiskUsage :
* Reduce the height of the StatusView. It was way taller than necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 00:22:24 +00:00
Alexander von Gluck IV
c0467a9613 fix two missed style issues in switch, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 22:27:28 +00:00
Alexander von Gluck IV
f7008de829 change to kMsg style BMessage; introduce a new BMessage for listitem click events so I can implement a BPopUpMenu; style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 22:21:21 +00:00
David McPaul
0df942b65c Use multiplication instead of shifts and adds. Include SSSE3 routine
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 21:32:01 +00:00
Jonas Sundström
146d274d81 Return of the on-stack buffer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 20:24:04 +00:00
Alexander von Gluck IV
ea76002c38 style cleanup; fixed missing break on i2c disable check... it looks as though i2c was always enabled, even on chips where it was known to be broken. Lets hope this fixes a radeon graphics bug. CID 3234
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 19:26:35 +00:00
Alexander von Gluck IV
f02c85adba Fix non-static, non-initialized member fProcessID CID 9946; Remove non-used fLockFlag, set un-initilized fSavedAttr member, CID 9945; fixed a few extra spaces
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 18:42:18 +00:00
Alexander von Gluck IV
1c9368988e remove a double free of fOurInfo. CID 10563
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 18:00:28 +00:00
Jonas Sundström
a29fb9388d Rename and a small simplification. Thanks, Clemens and Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 08:26:00 +00:00
Clemens Zeidler
8e4e1a2880 Reset status view when fetch failed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 03:19:15 +00:00
Clemens Zeidler
8209ab9c98 Hopefully handle cases when the connection to the server is lost. This should trigger a reconnect.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 23:16:57 +00:00
Clemens Zeidler
fecd4735be The read-next button was not working in a tracker query window because the message was marked as read too early. In this case the
mail left the unread query and the next message can't be retrieved from tracker.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 23:13:09 +00:00
Siarzhuk Zharski
0a1ce0a8a4 Localized some still missed strings pointed out by Diver. Thanks!
Use more safe snprintf calls instead of sprintf ones.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 21:59:23 +00:00
Fredrik Holmqvist
57a096382a Starting to apply style cleanup patches by John Scipione from bug 7052.
This will force me to practice our code style.
(As a sidenote, we are aware of the no of patches in the bug). 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 21:27:29 +00:00
Clemens Zeidler
c38ff3e36c Remove unused files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 21:26:23 +00:00
Philippe Houdoin
f22fe14c4c * Implement "Load Image" popup menu.
* Implement B_COPY_TARGET drop event. People is not (yet) ready to
  to be itself such target (copying a person picture to another one),
  though.
* Remember the source type and MIME and use them to save the picture in same
  format when possible.
* Avoid flickering when only focus is changing.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 19:37:16 +00:00
Joachim Seemer
860c710dca Unlocalized playlist settings file of MediaPlayer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 18:36:07 +00:00
Joachim Seemer
3a0dfaf3f2 Patch by taos to un-localize CharacterMap's settings. Thanks. Fixes #7303.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 17:26:33 +00:00
Clemens Zeidler
78e0108c39 google expunge all deleted flagged messages automatically but some server keep them and EXPUNGE has to be executed explicit. Add the infrastructure for expunge but don't use it for now. The problem is that with each expunge all messages are deleted and calling expunge each time when a mail is deleted would delete messages in a virtual trash folder on other clients. Have to think about how to deal with it first. So it might be that you delete a message and the message will be downloaded again when you sync the next time (but the message is flagged as deleted).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 08:27:23 +00:00
Clemens Zeidler
093a895c3f Very bad idea to not add kDeleted flagged mails to the message list since the position in the list is used as a message id. The result was that the server synced the wrong messages.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 06:44:37 +00:00
Siarzhuk Zharski
3bd9bbd5d4 I suspect, that the "application/" prefix is not required here.
I remember there was a ticket about the localization problem in one of 
this components. I'll look for it tomorrow and close them all. If I'll find them.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 22:44:21 +00:00
Siarzhuk Zharski
c4489236c7 Additional and hopefully final fix for #7281 "Shutdown is not localized".
PS: Yes, I'm not brave enough to change the character case in the signature for 
one of the most significant servers in the system ;-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 22:38:02 +00:00
Clemens Zeidler
0a0ce30e65 Quitting the mail window should result in a normal attribute update so remove the custom status string from the quit message. Cleanup. Fix #7290.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 19:57:31 +00:00
Clemens Zeidler
179d0b37ee Don't alter custom status attribute. Part of #7290.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 19:53:40 +00:00
Alexander von Gluck IV
1b2142ff26 ignore loopback interface as we will not be configuring that one
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 17:26:28 +00:00
Alexander von Gluck IV
7ab22792c7 make network settings window save button send save call to all add-ons; set interface address via BNetworkInterface; still have work to do.. but we can apply ipv4/ipv6 ip/netmask changes to the interfaces now!!!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 16:58:09 +00:00
Jonas Sundström
3838fb9359 Using the buffer of the string instead of one on the stack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 15:19:54 +00:00
Siarzhuk Zharski
551c9f15a4 Localization-related fixes:
- unify the character case of the same looking strings;
- removed excessive translation for strings unvisible for end users;
- beginning spaces are handled outside of B_TRANSLATE;
- meaningful captions for warning Alerts.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 12:03:27 +00:00
Siarzhuk Zharski
0e7ade19b4 Looks like any \-shadowed characters in comment string of
the B_TRANSLATE_WITH_COMMENT macro are misinterpreted by our
localization routines. I fix this one, because it provocate
permanent fingerprint check failure during catkeys link procedure.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 11:19:50 +00:00
Siarzhuk Zharski
aef9025a8f Using of B_UTF8_ELLIPSIS in B_TRANSLATE_WITH_COMMENT should be avoided,
looks like it make troubles in looking for the translated lines at run-time.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 10:22:53 +00:00
Jonas Sundström
c9e27adabf Cleanup. Efficiency makerover.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 09:25:26 +00:00
Jonas Sundström
10444a4364 CID 8952 STRING_OVERFLOW
CID 6753 SECURE_CODING
CID 3299 MISSING_BREAK

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 06:16:30 +00:00
Jonas Sundström
19b0b28182 Crediting also myself and Patrik Gissberg for translation to Swedish.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 03:08:27 +00:00
Siarzhuk Zharski
e6b48d2c0f Fix the crash during priority menu building - use the snprintf instead of sprintf.
The buffer 32 + 20 bytes become too small for localized strings - increase it too. 



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 23:10:20 +00:00
Siarzhuk Zharski
53e3cc5227 Some buffers become too small for localized strings. Pointed out by Diver. Thanks.
Fixes #6664 and #6591.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 22:04:38 +00:00
Philippe Houdoin
fede04962c Remove "priority" from the mask to allow free localization.
--This line, and those below, 
will be ignored--

M    processcontroller/PriorityMenu.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 20:06:24 +00:00
Jérôme Duval
57ceeee424 copy sig_action structure from the current thread if we're the same team. Helps with #7235
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 15:26:47 +00:00
Joachim Seemer
9717d515fd More localization for Time preflet, with a patch by taos. Thanks! Fixes #7278.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 12:45:45 +00:00
Jérôme Duval
fa90700d74 reverted r40686
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 10:45:03 +00:00
Stephan Aßmus
7d805b2d52 * Fixed unlocking the window before suspending the
tracker task thread, which got broken/removed in r40226.
 * Also fixed a race condition that the previous code
   had, which is that after unlocking the window, the task
   thread could be interrupted, the window could theoretically
   go away and the view be destroyed before the thread continues,
   but we still access/dereference the BView pointer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 09:56:48 +00:00
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
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
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
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
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
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
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
Siarzhuk Zharski
ace9bd8d80 Belarusian translation updated from HTA;
Russian translation updated from HTA;
ProcessController localization fixed - missed file added
into DoCatalogs Jamfile rule.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 18:50:50 +00:00
Jérôme Duval
b62dd5abd5 cleanup, header inclusion should be revisited.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 17:39:09 +00:00
Jérôme Duval
1cc2cf286c Switched attribute type to B_XATTR_TYPE, as recommended by Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 17:34:56 +00:00
Philippe Houdoin
3f2a0963f6 All debugger commands we've added, remove we must.
Closes #7251.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 13:27:00 +00:00
Philippe Houdoin
a4c21b1c82 Check if the name is already used in add_debugger_command*() and reject
duplicate attempt(s).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 11:56:57 +00:00
Jonas Sundström
a49fe9b849 Unsafe strncpy replaced by strlcpy. CID 2262, 2263, 2262, 2253, 2252, 2251, 2250, 2249. BUFFER_SIZE_WARNING.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 07:09:14 +00:00
Clemens Zeidler
07ede8884c Close the mail window when marking the last message as read.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 06:45:23 +00:00
Jonas Sundström
aea362af0c Crediting Michael Davidson, Mikael Eiman and Pier Luigi Fiorini for the notification server.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 04:53:23 +00:00
Clemens Zeidler
7398688a5e IMAP commands are serialized using the BLooper message queue. MarkMessageAsRead used the direct way to access the protocol and so interfered with ongoing requests.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 00:42:02 +00:00
Clemens Zeidler
4ee7dfd971 Write status attributes correctly again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 23:10:19 +00:00
Clemens Zeidler
47d780d247 Don't mark read messages as seen when closing the mail window.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 20:08:46 +00:00
Alexander von Gluck IV
c9b05e5212 when loading addons, put them in a map so we can access them later easily; use addon instances stored in map and call Save/Revert for each through dynamic addon osmosis; little style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 18:59:58 +00:00
Philippe Houdoin
025c4ea25a When no device is given, find ourselves which removable device (if any) can
be considered the default one.
When several are, the command failed after listing them.
This should avoid to always fallback to floppy as
the default removable device.
Closes #7247.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 18:27:38 +00:00
Philippe Houdoin
9b26b17b0e Made eject command a C++ program.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 18:24:30 +00:00
Alexander von Gluck IV
cdd15f8478 style tab cleanup; start using classy kMsg style BMessage vars; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 16:02:17 +00:00
Stefano Ceccherini
03683e642c Fixed the 10Mbit speed as noticed by Philippe.
Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 13:13:23 +00:00
Stefano Ceccherini
7920b5579c Style fixes, notably the pointer style and struct keyword used
iconsintently.
Respect the 80 columns limit, update copyright, used calloc instead of
malloc.
No functional changes (hopefully)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 13:11:24 +00:00
Clemens Zeidler
f191a57149 - Change the new mail query to search for the MAIL:read attribute.
- The deskbar status query is looking for MAIL:read values equal to B_UNREAD now. This has the effect that in manual mark as read mode also unseen messages are counted as read messages. In this way the deskbar shows the full mailbox icon only for really new messages.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 10:01:39 +00:00
Clemens Zeidler
d773c5bf4c If not in "mark automatically as read" mode mark the mail as seen. Fix selection of this option in the preference window. Fix some read/unread bugs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 09:52:41 +00:00
Stefano Ceccherini
8fbb452a31 Winbond 840 NIC driver: implemented link status api (tested)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 08:47:43 +00:00
Clemens Zeidler
9967dfd924 - Extend MarkMailAsRead to take a flag not only a bool value. Write an additional MAIL:read attribute.
- Remove some hard coded paths.
- Catch failure of FindMessage correctly. Thanks Axel.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 07:24:29 +00:00
Clemens Zeidler
ba11c28b6b Fix crash in imap config view. Remove hard coded path.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 07:19:24 +00:00
Jonas Sundström
27f365eaa3 Small fix. Helps when doing a Close All from Deskbar and the Terminals all flatten/unflatten all over each other.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 04:02:50 +00:00
Alexander von Gluck IV
80d265a95f Impliment new struct for protocol information (friendlyname,present(working),inet AF number,socket id); Detect OS supported protocols; Draw tabs based on *working* OS protocols; make route ioctl calls ipv6 friendly (shudder); construct/deconstruct sockets based on supported protocols; no crashes! (8000 crashes later)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 02:48:48 +00:00
Philippe Saint-Pierre
2905062e64 In CharacterMap:
Separate the CodeView (info section at the bottom of the window)
in 2 sections, one with the character itself, the other with the
remaining infos (hex code, etc..)

The idea behind this is that if the font in the CharacterView above
is different than the default font used in that CodeView, it might
happen that a glyph doesn't show in the CodeView below but was shown
in the CharacterView above, or vice-versa.


Fixes ticket #4020


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 01:56:00 +00:00
Stephan Aßmus
9473d287b3 * Added functionality for initializing and retrieving future tool bar
icons.
 * Imported a few of zuMi's awesome tool bar icons as C code. Doing
   it this way imposes the least start up panalty (10ms on my Core 2 Duo,
   which is imperceptable when usually opening some largish image).
 * The init code is run, but there is no tool bar yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 22:42:30 +00:00
Stephan Aßmus
804c69ca06 Moved IconButton from LaunchBox (actually the updated version from WebPositive)
into libshared.a as BPrivate::BIconButton. Removed some outdated functionality
as well (now only uses BControlLook for drawing, cleaned up custom drawing).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 22:33:05 +00:00
Siarzhuk Zharski
1153eaca5f 1) Devices application localization support reordered to let more translated
values be handled. Partialy fixes #7245;
2) Support for localization some still not handled parameters in ProcessController.

Pointed out by Diver. Thanks.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 18:45:23 +00:00
Joachim Seemer
922f48327f With these changes the add-ons now sport a MIME type, which has been missing before and was complained about by the LocaleKit in the syslog before. It still won't find the catalog, however... See ticket #5594.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 17:25:43 +00:00
Alexander von Gluck IV
450a2dc7e4 make protocol selection more generic and easy to configure; this adds complexity but allows us to configure ipv4/ipv6 support from a single point.. now just have to figure out how to check for the presence of the IPv4 vs IPv6 network add-ons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 16:19:43 +00:00
Axel Dörfler
f38b8016a8 * Be a bit more generous about the maximum cache size; it filled up pretty
quickly with high resolution pictures.
* Changed the way how it's determined to reject pre-caching an image; this
  should work better in practice, and should also fix a potential problem that
  sometimes the cache wouldn't accept anything beyond the current picture as
  observed by stippi.
* Add optional debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 15:42:46 +00:00
Axel Dörfler
ebd792d8c1 * Made the minimum zoom depend on the actual zoom factor, too. This fixes the
wrong resizing as observed by humdinger.
* I did not remove the limit altogether, because it's a bit odd to be able to
  zoom out until you only see a pixel from the original image... Maybe someone
  has a better idea on how to go about this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 15:39:25 +00:00
Rene Gollent
83d2f58767 Style fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 14:46:19 +00:00
Rene Gollent
f16c55b074 Due to the changes in r40529, the resource data pointer was no longer pointing to static data.
Consequently the locale kit would fail to load resources since the pointer was no longer an address within the liblocale.so image,
with the result that things like flag bitmaps would no longer be accessible.
Fixes #7246.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 14:42:39 +00:00
Siarzhuk Zharski
1da233a71f Yet another localization fix in Data Translators.
Partialy fixes #7129.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 12:15:28 +00:00
Clemens Zeidler
ee1568cb41 Also add IMAP body fetch status message.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 08:15:24 +00:00
Clemens Zeidler
0e657c0b6c Remember tracker message when downloading a partial message and open it with Mail. This is needed to get the next/previous message after downloading the body.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 07:55:47 +00:00
Clemens Zeidler
65598ac67b Fix POP3 fetch header status view.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 07:53:57 +00:00
Clemens Zeidler
ae4a84c9fb Fix the partial download settings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 06:49:02 +00:00
Clemens Zeidler
df317863c8 Fix regression spotted by Humdinger. Try to open the entry in settings/Mail/mailbox first.
Add some more info to the self made query, not perfect yet.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 06:08:26 +00:00