Commit Graph

33370 Commits

Author SHA1 Message Date
Siarzhuk Zharski
007d8a0cea Yet anothert localization patch from Jorma Karvonen. This one fixes #7116.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 17:03:01 +00:00
Alexander von Gluck IV
8332dfe78c added gateway textbox and new NetworkSettings function to support; made address tabview accessible by BMessage handler to reload current settings (revert); renamed Cancel button to "Revert" (it verks!); small style fix thanks to Clemens
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 16:25:37 +00:00
Oliver Tappe
ead4d20c7a * 'pkgman list-repo -v' now shows more detailed info (from repo-cache)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 15:48:02 +00:00
Oliver Tappe
c9acc4f8cd * implemented reading of package-infos in BRepositoryCache
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 15:47:20 +00:00
Oliver Tappe
2b6e6760b6 * add listing of repository attributes to 'package_repo list'
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 12:48:02 +00:00
Siarzhuk Zharski
405318137d It is yet another localization patch from Jorma Karvonen. :-D Fixes #7111. Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 11:58:00 +00:00
Siarzhuk Zharski
1c0ab34c37 Applied yet another localization patch made by Jorma Karvonen. Fixes #7109.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 10:44:45 +00:00
Siarzhuk Zharski
0ba57e76a4 Applied yet another localization patch made by Jorma Karvonen. Fixes #7105. Thanks.
Note that I have not applied the localization of terminal error messages (printf-handled ones). 
That stuff is not visible in the normal using circumstances but will take translator's time
for localizing it. A bit of disk space is also required to store those lines.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 09:22:57 +00:00
Clemens Zeidler
df0ad9c12a Fix account name in mail.
Work in progress: fetch next partial downloaded message.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 02:19:49 +00:00
Clemens Zeidler
9c4e0ece54 Use macro instead hard coded string.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 02:00:58 +00:00
Alexander von Gluck IV
f565d142b3 added BTextControls for IP address and Netmask configuration
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 00:04:27 +00:00
Rene Gollent
d6a17b61aa Slight simplification, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 23:48:32 +00:00
Alexander von Gluck IV
a1410c52e9 renamed classes and filenames as per recommendations on ML; Interface singular for interface config; Interfaces plural for overall views/windows dealing with lists of interfaces; avoid using generic terms and abbreviations
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 22:00:58 +00:00
Clemens Zeidler
13a19d84df Fix #7181. The active set solver can only handle positive values and the offset was not added everywhere.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 21:45:44 +00:00
Alexander von Gluck IV
ea23d8ecd6 no functional change/header cleanup; ensure new network preflet has correct Haiku, Inc identifier as per mmadia; correct questionable header within radeon_hd driver, gave credit to czeidler where it was due.. not perfect but better
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 21:25:24 +00:00
Axel Dörfler
f97b68a1e0 * Applied patch by Diver that lets Mail properly render vector icons for the
attachments, and adds a few missing translated strings. Thanks!
* Some cleanups by myself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 20:58:14 +00:00
Oliver Tappe
34d56c1bf5 * implemented repository reader and fixed some bugs in writer that
have been exposed during testing of reader

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 20:25:10 +00:00
Siarzhuk Zharski
973f8e214d Applied yet another localization patch from Jorma Karvonen. Fixes #7169.
Beside of localization task some refactoring was performed:
- strings, stored previously in resources were moved from resource definition
  file to cpp files at the place of using;
- cleanup of resource definitions and Common.cpp/Common.h.

Additionall tasks, made by S.Zharski:
- the rests of resource handling tasks were purged out from Common.cpp/Common.h;
- Common.h renamed to DiskUsage.h;
- the rests of code from Common.cpp merged into DiskUsage.cpp;
- the preprocessor tricks and magics targeted mainly for resources support
   were removed;
- some code style fixes and "internationalization style" fixes were made.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 18:26:15 +00:00
Axel Dörfler
669afb5012 * This should make DHCP work again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 17:36:44 +00:00
Oliver Tappe
c2388992ec * added embedding of license texts that need approval into repository
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 17:24:50 +00:00
Oliver Tappe
36d702ec79 * read package attributes before reading the TOC, as that allows to
take action in the content-handler that depend on the values of
  package attributes

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 17:23:43 +00:00
Oliver Tappe
d662b8345f * moved BlockBufferCacheNoLock into package kit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 17:22:31 +00:00
Oliver Tappe
ad6a8dbe2b Pulled reusable stuff from PackageReaderImpl into new class ReaderImplBase.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 13:09:09 +00:00
Siarzhuk Zharski
e28490dfa1 Fixed "translation style guidelines" violation. As result of discussion
in haiku-development mail-list.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 11:44:05 +00:00
Alexander von Gluck IV
47ee873768 small cleanup of radeon_hd device IDs... quite a mess
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 02:40:51 +00:00
Clemens Zeidler
55db88b7f4 Fix POP3 mail status #7216.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-13 23:15:14 +00:00
Clemens Zeidler
ad5bef4500 Use quotation marks around mailbox names. Maybe fix #7214.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-13 22:23:08 +00:00
Clemens Zeidler
a47656d480 Don't free stuff not belongs to us. Fix #7212 maybe #7213.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-13 21:50:15 +00:00
Jérôme Duval
cdd1c5c679 added additional power states
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-13 21:10:30 +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
Siarzhuk Zharski
c91a3f0969 Fixes #7157.
- Masked strings are presented in more consistent way;
- Trailing spaces in localized strings are supressed.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-13 10:26:06 +00:00
Siarzhuk Zharski
5dbce74310 Unused string constant removed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-13 09:39:44 +00:00
Siarzhuk Zharski
509881961f Fixing #6926 "ActivityMonitor localization patch" by Jorma Karvonen.
This application was already localized but some lines were missed. The name
of floating Settings window localized using B_TRANSLATE_WITH_CONTEXT to prevent
possible functionality breackage during using it from other module (and other
translation context) by window scripting. 



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-13 08:55:53 +00:00
Stephan Aßmus
6df0729855 Added "Configure attributes" item to Edit menu (?). This feature invokes
FileTypes with the Person MIME type selected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 22:15:38 +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
Oliver Tappe
05b101b223 Cleanup following up on r40466:
* remove commented methods no longer being used


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 22:09:47 +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
Oliver Tappe
33bc4425be Largish adjustments to PackagerReaderImpl and package attribute
handling:
* package attributes are now compatible with the low level attribute
  handling of other HPKG attributes (such that 'package dump' now shows 
  package attributes, too)
* dropped type names from hpkg format, the attributes were identified
  by IDs already and this simplifies the code considerably. Type names
  are now handled in BLowLevelPackageHandler only.
* instead of rolling their own mechanism, high-level package attributes 
  handling is now implemented via a corresonding set of 
  AttributeHandler-subclasses
* adjusted package writer to only write package attributes that are
  needed (empty ones are left out)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 19:21:37 +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
Axel Dörfler
41b9586a0a * Let SelectionWindow::MoveCloseToMouse() also take the current workspace into
account. This fixes bug #7211.
* Also, don't move it that close to the border of the screen (it now keeps an
  offset of 20 pixels).
* Always move the selection window to the mouse position, even if it's already
  on screen.
* Close the window when pressing the escape key.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 18:07:20 +00:00
Stephan Aßmus
fd44ef4211 Initialize fGroups, since that is used in BuildGroupMenu() called by the window.
If the user removed the groups attribute from the Person MIME type, People would
crash when trying to open any menu. (untested)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 17:42:22 +00:00
Stephan Aßmus
968ec77e1f Renamed PeopleWindow/View to PersonWindow/View, since they only show one person at a time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 17:40:58 +00:00
Matt Madia
37ddfc9ca4 Updated to use the pci.ids mirrored on www.haiku-files.org.
Fixes #7207, which has information on the mirror script.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 16:29:47 +00:00
Joachim Seemer
b6d49092c7 Committing all German catalogs. Thanks to all translators, esp. Mirko Israel who helped filling in the gaps and making everything as consistent as possible. Any mistakes or improvements are very welcome at the haiku-i18n-de mailing list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 09:54:42 +00:00
Alexander von Gluck IV
946b7d4387 added BView class to handle drawing IPv4/IPv6 interface configuration options
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 00:18:44 +00:00
Axel Dörfler
c335592329 * getaddrinfo() now detects at runtime if IPv6 is available, and will prefer
IPv6 interfaces when AF_UNSPEC is set.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 23:25:17 +00:00
Axel Dörfler
5ebd954871 * Fixed ignoring the netmask when computing the broadcast. Renamed a few
variables to make the function a bit clearer, hopefully.
* Fixed the wrong order of releasing the reference, and removing the object
  from the hash table -- thanks Rene!
* Added a bit of documentation to InterfaceAddress::Prepare().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 23:04:25 +00:00
Axel Dörfler
e06c0a1d50 * Added a test to check several BNetworkAddress::SetTo() variants - all pass
now since the last revision.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 22:50:13 +00:00
Axel Dörfler
448e9976cf * We need to convert the endian of the passed in IPv4 address.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 22:49:07 +00:00
Axel Dörfler
bcab06b16d * The test now runs through.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 22:48:24 +00:00
Alexander von Gluck IV
bd000a4a14 added initial interface settings dialog
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 22:31:49 +00:00
Axel Dörfler
3cb2e2a3d2 * Fixed retrieving the port from IPv6 addresses; ie. we now support the
"[addr]:port" notation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 22:27:19 +00:00
Alexander von Gluck IV
e51da86b61 check properly if the IP search was successful, else leave the address empty
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 20:29:19 +00:00
Axel Dörfler
b0766602db * RemoveAddresses() needs to remove the addresses from the hash table as well.
This fixes random memory access on interface removal.
* Optimized IndexOfAddress() for NULL addresses.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 20:21:03 +00:00
Axel Dörfler
0e4bbb1bee * No need to set the family there, the domain is what matters.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 20:19:33 +00:00
Axel Dörfler
b18832d423 * Only return the first address of the family if there was no address specified
in the request.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 20:19:08 +00:00
Axel Dörfler
4ae5863038 * Allow duplicates in the sAddressTable hash table; while it makes no sense to
have duplicates there, it should certainly not panic.
* Do not add unspecified addresses to the hash table.
* The result of adding the initial address of an interface was ignored; now, the
  interface is correctly destructed, if necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 19:36:15 +00:00
Joachim Seemer
26143717a4 Forgot to add those rdefs in last commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 19:24:24 +00:00
Joachim Seemer
1852df380e Added localization for disk_system add-ons which impact DriceSetup. I hope everything's OK, I ran it by DeadYak and PulkoMandy. Thanks guys.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 19:22:50 +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
Jérôme Duval
e44c723193 Improved DataStream::FindBlock() to return big extents instead of single blocks. This really speeds up the get_file_map operation for big files.
Thanks to Stephan for reporting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 18:13:21 +00:00
Philippe Houdoin
9fd5bdcbd4 Made BPrintJob layout aware: while drawing recursively, we can't anymore
assume that all children B_WILL_DRAW.
Also call Draw() only when the view said it will.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 17:06:41 +00:00
Joachim Seemer
46f8ab6c60 Removed left over commented line, put %s in quotes for better readability.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 08:09:48 +00:00
Clemens Zeidler
7c03514cad Initalize array for reading the uid string attribute. More cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 23:42:27 +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
a24bc8d9a3 Remove debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 21:48:18 +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
Jérôme Duval
ce9fdaeae4 * takes into account volume label
* clean up
* directories don't seem to have a valid contiguous flag, fixes directories with many files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 19:49:12 +00:00
Oliver Tappe
129e6b943f Disallow the use of 'any' as repository architecture
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 19:40:38 +00:00
Oliver Tappe
84d9977244 * add support to storing names and texts of licenses that require
approval to repository-info

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 19:07:21 +00:00
Oliver Tappe
4dcc52327b Fix problems in repository writer
* actually write the checksum
* compress the repository info archive, too (handle it as separate
  section)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 19:05:35 +00:00
Jérôme Duval
1ab9f3da33 gcc4 build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 18:47:21 +00:00
Axel Dörfler
bc235d9650 * The test should now actually work, however, it welcomes KDL for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 18:45:15 +00:00
Axel Dörfler
135d98d622 * Forgot to add the test to the suite.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 18:40:27 +00:00
Axel Dörfler
ce9e476882 * Added basic test for BNetworkInterface - I did not run that one yet, though
(switching to Haiku now to change that).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 18:15:38 +00:00
Axel Dörfler
cf93c8c719 * FindAddress(), and FindFirstAddress() now return -1 on failure.
* FindFirstAddress() did actually not specify the family to find, so that the
  stack did not have the opportunity to find anything else but the first
  address.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 18:13:15 +00:00
Oliver Tappe
91ebce663d Some cleanup, no functional change
* typedef base classes as 'inherited' and use that instead of the
  explicit base class name
* remove superfluous scopes in case blocks


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 17:16:35 +00:00
Philippe Houdoin
3db9c51d0f Adds support for read or write-only midi devices entries.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 13:19:22 +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
079e5c8bc9 Use declarations form MailAddon.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 23:26:38 +00:00
Clemens Zeidler
a68750c1ac Fix spelling and potential deadlock.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 22:22:26 +00:00
Clemens Zeidler
b985151b34 At least in vmware it takes longer to read the local files then the remote list. Add a status message for that.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 22:17:54 +00:00
Clemens Zeidler
81d1d0e504 To sync the mailbox a thread is started which reads the local files while in the parent thread the id list from the server is fetched. To sync both threads a BLocker was used. BLocker does not block when locked from the same thread so use a semaphore now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 22:11:50 +00:00
Alexander von Gluck IV
9b533c387c FindFirstAddress returns errno when there is no address matching your search
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 21:01:17 +00:00
Jérôme Duval
245df7abd3 added exFAT partition type
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 20:30:00 +00:00
Jérôme Duval
e74e90aef9 * Implemented a read-only exFAT file system, tested with a 4GB image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 20:08:48 +00:00
Clemens Zeidler
294da6bff9 Belongs to the last commit, sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 19:44:59 +00:00
Axel Dörfler
e0971ab8f6 * Restricted the cursor position/selection restoration to the formula mode for
stored queries - it's usually more annoying than helpful for the other modes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 19:20:34 +00:00
Clemens Zeidler
37d898f0b6 Fix coding style. Thanks Jérôme!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 19:18:13 +00:00
Oliver Tappe
0d68f6afb3 Implemented repository writing:
* fleshed out RepositoryWriterImpl
* renamed BRepositoryHeader to BRepositoryInfo (in accordance with
  BPackageInfo)
* adjusted BRepositoryInfo to be able to parse itself from a
  driver_settings file
* added package_repo binary (only 'create' works as of yet)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 19:11:23 +00:00
Philippe Houdoin
78a471321c Made localizable attribute control's label formatting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 11:28:56 +00:00
Philippe Houdoin
46af96832f Use BMimeType constructor version directly, as suggested by Jerome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 11:25:41 +00:00
Clemens Zeidler
c608a3b2bc Fix count_pop_accounts. Returns number of all accounts regardless if it is a pop account or not (as before and in the whole file)...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 10:10:17 +00:00
Clemens Zeidler
2e5122917d Re-add/fix old c mail api functions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 09:58:00 +00:00
Clemens Zeidler
2cec29dba0 Remove unused system_filters directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 01:55:00 +00:00
Clemens Zeidler
dc2577cf2d Map one or more server mailboxes two a local directory. All subscribed mailboxes are fetched automatically and populated under the root account folder. On startup the local copy is synced with the server, means all local changes are rejected. (We should think about store offline changes and apply them when online)
Also the read flags are synced with the server. This makes it easy to have the same mailbox state on different machines.

Messages could be deleted by delete them form the folder (not when moving them to trash) This maybe needs some more thoughts but its a save solution. One problem with moving it to trash is that you also want to have the option to restore it again. If it is a header only messages and you delete it from the server you lose the body part. Complete messages could theoretically be append to the mailbox again when restoring the mail form trash. Append is commented out though...

An solution for the delete problem would be to move the message to a trash folder on the server. Moving mails on the server is not implemented yet, though.

You can subscribe or unsubscribe to a mailbox using the imap pref panel. The settings are written to the server and are not stored locally.

Add some helper classes which could also be used for POP and SMTP:
ServerConnection: abstract ssl or socket connection
ConnectionReader (still a bit IMAP specific but could be easily separated IMHO): read complete lines or a bunch of data more efficient. Old implementation did it byte by byte, this class read data in bunches and buffer the left over for the next request...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 01:54:18 +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
Clemens Zeidler
1af4fa4ba6 Major restructuring of the mail server:
Accounts are now stored in a separate file. Previously they where somehow magically assembled from the chain ids. Now its possible to remove a account temporary by removing the account file form the account folder.

Each account could have an inbound protocol, an outbound protocol and some filters.

Mails are now associated with an account and not with a chain. This required to replace the chain id attribute by an account attribute.

Replace BMailFilter and BMailChain by a less general approach. Basically the chain had a list of filters and call the ProcessMailMessage for each filter. This made it sometime difficult to understand what is going on, e.g. sometimes a filter used information gathered by another filters. The new MailProtocol and MailFilter classes are calling more dedicated hook functions, e.g. HeaderFetched or MessageReadyToSend.

As before all MailProtocol's (plus their filters) are running in their own thread.

Cleaned up the error and status window a bit. Abstracted the interface to these windows. Should be easy to write a BNotification api back-end now.

Parsing of mail headers is much faster now. Fetching the headers of a large mailbox takes ~min and not ~hour now! Initial checkout time is in the same order like Opera. The problem was the massive use of fgets in parse_header (mail_util.cpp) now the complete header is read in one go. Furthermore, only interesting fields are extracted.

Remove some unused files, BeOS relicts... Feel free to translate the mail server and remove the own language system (headers/private/mail/MDRLanguage.h).

Sorry for the remaining old (and new) coding style issues, sometime just ignore them, to many :(



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 01:49:01 +00:00