1354 Commits

Author SHA1 Message Date
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
Siarzhuk Zharski
26e9cef813 Yet another localization patch made by Jorma Karvonen. Fixes #7117.
Corrected a bit by me.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-16 21:27:21 +00:00
Oliver Tappe
a04f2e614a * fix out-of-bounds access to fFieldsPositions when drawing separator
(found by running the preflet with debug heap and guard pages)
* avoid leaking of field- and field-position-arrays when fetching them
  via BLocale-method

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-16 19:25:19 +00:00
Oliver Tappe
90433c431e * minor cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-16 19:22:43 +00:00
Jérôme Duval
5788aadfe3 * Patch from diver: use vector icons in ColumnListView
* style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-16 18:20:40 +00:00
Philippe Houdoin
edda6e98b9 Tell user why Turn Off feature is not available.
Close #3274.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-16 15:36:05 +00:00
Siarzhuk Zharski
ec568e04e5 Fixes #7156 "Bluetooth Preflet localization fix" by Jorma Karvonen.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-13 13:23:41 +00:00
Stephan Aßmus
0b4ddda5f0 * Some reordering of methods to match declaration order.
* Some updating to new header indentation style
 * Improved consistency of asterix style in FileTypes.cpp.
 * Implemented passing -type some/type on the command line and having
   that type initially selected in the FileTypesWindow. (Unfortunately
   BOutlineListView::ScrollToSelection() is broken.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 22:12:21 +00:00
Stephan Aßmus
a9bc82a4b0 * Ordered method implementations as their declarations in the header.
* Updated header indentation style.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 21:57:36 +00:00
Joachim Seemer
9c12d5c494 My GMX account works again. But only with ESMTP for outgoing mail. Changed the 'wizard' accordingly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 19:26:22 +00:00
Joachim Seemer
fbd18976e8 The E-Mail prefs 'wizard' always set 'APOP' when it's actually only working with 'Plain text' for googlemail.com for me. Didn't touch the gmail.com info, as I can't test that.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 18:33:21 +00:00
Joachim Seemer
0ea362ab50 * Improved ambiguous commands in Icon-O-Matic. A direction like left/right
when rotating indices doesn't always make sense. Think of an "8" shape.
   Reordered these items to give the correct shortcut order Alt+R - Shift+Alt+R.
 * More localizing of strings in ActivityMonitor and Expander.
 * TextSearch had problems with the search button being to small if one of the
   translated strings for Search/Cancel get's bigger than the other. Now resizes
   after toggling.
 * FileTypes missed a file for the catalog in the Jamfile.
   


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 19:20:11 +00:00
Joachim Seemer
c16bcdfcb7 Made some more strings localizable, removed some unnecessary localizations from CDPlayer. I hope everything's OK...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 22:03:51 +00:00
Clemens Zeidler
3d2622c790 Fix partial download limit. Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 21:46:41 +00:00
Clemens Zeidler
ee25382648 Fix spelling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 19:54:56 +00:00
Clemens Zeidler
d143d3a6df Fix typo. This fix the authentification method in auto config.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 01:57:59 +00:00
Clemens Zeidler
d26fee1afb Switch to the new MailProtocol and account API. Lot of other smaller adaption to the new mail server.
Remove button in the pref app removes the complete account because we don't have separate chains any more. The pref app stays a mess, needs some layout love! (I did it even look worse...)

The new account/mail settings classes know if they have been changed but the current pref panel does not use this feature very well. It always mark the settings as modified when the settings view is displayed or more precise when the settings view is detached from the pref window, this could be optimized. The according mail protocol is completely restarted when their settings changed.

Some system filters are now directly integrated in the mail protocols. Hopefully make things easier to understand.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 01:52:30 +00:00
Stephan Aßmus
2099a79214 Added two new buttons "Move up" and "Move down", which makes it a) possible
to manually sort the attributes and b) very obvious how to do it. Drag&drop
sorting should be implemented eventually (more convenient but less obvious),
but this works pretty well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-07 23:20:23 +00:00
Stephan Aßmus
a416707fb3 There is really no reason at all to mess up the current sorting
of the attributes just by adding a new attribute.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-07 23:18:14 +00:00
Stephan Aßmus
c8cbb2763f Try to remember the last selected attribute, or select a new attribute
if all other attributes are the same as before. This first is helping
a feature I am going to commit next, the other is making sure that a
newly created attribute is selected, I pondered other options to realize
this feature against the highly asynchronous model updates, but this
seems to be most robust and highly unlikely to be triggered in accident.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-07 23:17:11 +00:00
Stephan Aßmus
36ef875aad The left and right side of the FileTypes interface are now divided by
a BSplitView. The layout weight is remembered in the settings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-07 18:47:50 +00:00
Philippe Houdoin
bc597290b9 Now doing TestPageView content layout with... layout API!
Expand a bit the content. The print test page now features:
- a text giving info on the printer name, the driver, the transport (if any)
- a vector leaf logo with blue gradient
- gradients of the 3 primary colors, 3 secondary colors and white to black
- a radial lines

Unfortunatly, BPrintJob is not layout aware, and none of these are currently
recorded in the print job yet, except for corner marks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-02 17:02:56 +00:00
Siarzhuk Zharski
a5237f5fc6 Fixed crash of the Time Preflet in case localization catalog for current
system Locale persists. Pointed by Diver. Thanx!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-22 22:12:21 +00:00
Philippe Houdoin
260f2d0994 Add a draft test page.
The gradients are not recorded or played back by BPicture currently,
so they're not visible outside the dummyWindow (code commented out).
Needs to be polished before R1.
Another issue is that ConfigPage() allow user to switch to another printer
than the one selected when Print Test Page button was pressed.
We needs a programmatic way to setup a printjob config for a specific printer...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-20 11:58:03 +00:00
Alex Wilson
d2772fb43e Add missing breaks in SettingsView::MessageReceived() switch-statement.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-19 22:14:30 +00:00
Joachim Seemer
65012a2746 Localized Revert button.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-18 17:11:04 +00:00
Philippe Houdoin
9b8e30176a Removed Print test page button until the feature is actually available.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 18:01:19 +00:00
Jérôme Duval
e19ab31f64 Fixed warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 17:56:44 +00:00
Philippe Houdoin
e8e66c5cbd WIP: add a print test page button.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 17:08:35 +00:00
Alex Wilson
d49e0a272c In Media preflet: add an ItemWidth() method to MediaListItem::Renderer, which tells us how much space is needed onscreen for a MediaListItem. Use the new ItemWidth() method in MediaListItem::Update() to set our width. Add a MediaWindow::_UpdateListItemMinSize() method that uses the items' width to calculate the new explicit min width of our list view. This fixes a problem I saw with localized strings in the listview not being fully displayed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-11 19:34:05 +00:00
Siarzhuk Zharski
97873fad0d MIME type for Screen preflet changed globally: x-vnd.Be-SCRN -> x-vnd.Haiku-Screen
Pointed by Axel. Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-09 23:00:56 +00:00
Siarzhuk Zharski
298dd789ed Correct the preflet MIME type mismatch in the internationalization target.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-09 21:33:59 +00:00
Jérôme Duval
523ce58a8f Applied patch from engleek with fix hints from devheart (bug #4720):
Scale to fit now keeps the aspect ratio by cutting horizontally or vertically.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-07 20:44:27 +00:00
Alex Wilson
0ee86c8d2f In Media preflet, use BAlert to inform users that real-time audio/video is not supported (as per MediaRoster.cpp:3061). This fixes ticket #6012.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-07 02:02:44 +00:00
Alex Wilson
7afc775630 In Media preflet:
* Modify MediaListItem to use the visitor pattern
* Use the visitor pattern for comparison of MediaListItem subclassed objects
* Use the visitor pattern in MediaWindow to propagate changes to NodeListItems.
* Rename and/or remove some message constants
* Rename SettingsItem class to NodeMenuItem 
* Rename Settings2Item class to ChannelMenuItem
* Derive SettingsView from BGridView, and make it an abstract base class for two new classes, AudioSettingsView and VideoSettingsView.
* Have the SettingsView subclasses handle messages originating from their children (for the most part).
* Use a BCardLayout to hold our Audio/Video SettingsViews and our instantiated node view (when applicable).
* small changes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-05 20:47:17 +00:00
Ryan Leavengood
bdb262352e Fix style violations and a few other issues that were pointed out. Thanks!
Also moved private methods to the bottom of source files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-04 15:46:45 +00:00
Rene Gollent
0d791a3062 Fix uninitialized member var that was resulting in a crash on startup. Resolves #7055.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-04 04:02:51 +00:00
Ryan Leavengood
71d86b674b Apply another patch from Hamish Morrison to improve the VirtualMemory preflet.
Pretty much implements everything needed to set a swap volume once that is
implemented on the kernel side. This also improves the behavior of the Default
button.

A few changes I made:

- When the swap volume feature is turned on in the code, default to the boot
  volume if the settings file does not have one set.
- Don't show the volumes menu field in the GUI if the swap volume feature is
  not on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-04 02:13:13 +00:00
Ryan Leavengood
a89161d34b More changes for #1746 from hamish with a few small changes by me.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 05:44:43 +00:00
Stephan Aßmus
b03f6b7126 Fix coding style and improve readability and correctness.
(value != 0 != value == 1).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-01 21:31:07 +00:00
Ryan Leavengood
a1712b28a6 Fix #1746: Apply patch by hamish which sets the virtual memory size to the
default minimum instead of zero when the user turns on virtual memory. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-01 21:15:07 +00:00
Adrien Destugues
267479782d Various build fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 17:02:32 +00:00
Adrien Destugues
10e2c9e012 Patch by Mike Roll:localize DataTranslations. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:45:14 +00:00
Adrien Destugues
f2758b750b Patch by Mike Roll: localize Mail preferences.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:44:39 +00:00
Adrien Destugues
4915d3ef43 Patch by Mike Roll: localize Notifications
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:43:54 +00:00
Adrien Destugues
c9e8f97a95 Patch by Mike Roll as part of GCI: localize Screen.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:43:12 +00:00
Michael Pfeiffer
737e45854e * As pointed out by Rene the buffer size in snprintf
includes the 0-terminator.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 21:24:58 +00:00
Michael Pfeiffer
0f73490879 * CID 5322: renamed parameter to "transportPath" to
not hide parameter "path".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 20:53:11 +00:00
Michael Pfeiffer
1f8d90053a * CID7947 avoid buffer overflow (very unlikely;
should have happened only if the translated text was very large).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 20:49:01 +00:00
Michael Lotz
6c38786311 CID 2208 and 8119 (both pointing at the same issue): The strlcpy() was using
sizeof(char *) instead of the separately supplied textSize argument.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-27 01:29:46 +00:00