Commit Graph

35801 Commits

Author SHA1 Message Date
Philippe Houdoin
546fac2d14 Removed NetworkingKit pseudo-target from OpenBeOS era: useless since long already.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 17:57:47 +00:00
François Revol
aa4035d909 This should fix the UTF-8 name for the Bépo keymap.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 15:36:11 +00:00
Alexandre Deckner
a111096469 * Minor style fixes, spaces vs tabs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 13:33:49 +00:00
Alexandre Deckner
148f33f206 * More PoseView localization by T.Murai (a.k.a mt). Thanks a lot. (be careful with the 80 chars indenting though ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 13:19:51 +00:00
Stefano Ceccherini
4dc7415f9f Also remove inclusion of AboutBox.cpp to fix the build. Sorry
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 13:17:08 +00:00
Alexandre Deckner
4ed28a571a * Applied libtracker localization patch from T.Murai (a.k.a mt) with some modifications (see below).
* Functional modifications:
     Reworked InfoWindow file size localization, the patch removed number formating (size in bytes) and was too complicated to my taste.
     Replaced the uses of sprintf with the safer snprintf.
     Changed signature to x-vnd.Haiku-libtracker instead of x-vnd.Haiku-libTracker (to be consistent with the binary name)
* Style modifications:
     Reworked lots of 80 char indenting (probably due to the now shorter line lengths since your previous patch that wasn't using the macros)
     Lots of missing brackets when "if's" becomes multiline.
     Other minor fixes.

Noticed a few uses of FindItem on translated names that might become problematic someday. Added some TODO's regarding localization of file sizes. Localization might still be 
optimized a bit regarding the produced en.catkeys

Note to translators: .catkeys files should be placed in haikusource/data/catalogs/kits/tracker though beware as the base en.catkeys might change 
slightly in the next days.
Note to users: As with any other app you need to restart Tracker (or any aother app using libtracker's filepanels) for it to pick the locale setting. E.g: use 'quit an 
application' and 'restart Tracker' from process controller.

Thanks a lot T.Murai 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 12:39:53 +00:00
Stefano Ceccherini
4195dda90c Removed unused file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 12:22:56 +00:00
Adrien Destugues
080f483b21 Make locale kit Hybrid build aware, so that the catalog add-ons will be available for gcc4 applications.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 10:51:57 +00:00
Adrien Destugues
7e44cf4a69 * Patch by starseed : add some useful charactersto the french azerty keymap. Thanks !
* Rename the Bépo keymap again to see if Imanage to cheat svn...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 09:41:42 +00:00
Stefano Ceccherini
4db1f9f387 Use BMenu::RemoveItems() instead of iterating.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 08:21:19 +00:00
Scott McCreary
1c0b18c75c Roll autoconf back to 2.65 until the AC_CHECK_SIZEOF regression is fixed, see HaikuPorts trac ticket 376 for more details.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 02:04:08 +00:00
Oliver Ruiz Dorantes
8638173cff - Implementation for sendto() & close(), tested over a Motorola V5
- Incomming command rejections not yet properly handled.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-12 22:08:11 +00:00
Oliver Tappe
aa9a027532 * fixed URL for updated gcc2 (sigh)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-12 19:35:01 +00:00
Oliver Tappe
7a5c50f900 * updated optional package for gcc2 to gcc-2.95.3-x86-gcc2-2010-07-12
(a version that correctly deals with utf-8 chars in wide character literals)
* adjusted required gcc2 version in configure

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-12 19:32:24 +00:00
Ingo Weinhold
06b318ef9b Added symlink support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-12 16:15:47 +00:00
Adrien Destugues
579a85af7f Try to properly encode the filename so that it works fine.
Note that you have to set LC_ALL=en_US.utf-8 in haiku to checkout the file with the right name (since our filesystem uses 
utf-8). On others OS nothing should be needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-12 16:11:56 +00:00
Ingo Weinhold
a2e7c7417b * Added Transaction class which wraps a block cache transaction and performs
all other operations required to roll back a transaction. Transactions are
  fully serialized -- due to limitations of our block cache and also to keep
  things simple.
* Use a transaction for all write operations.
* Implemented the directory entry management code (a simple tree algorithm).
* Finished/implemented the FS hooks for directory entry lookup, directory
  iteration, creation, and removal.
* Added non-persistent support for node access times.
* Set the user and group IDs on node creation.
* Added permission checks to several FS hooks.
* BlockAllocator::_Free(): The number of freed blocks was subtracted from
  fFreeBlocks instead of added.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-12 13:21:42 +00:00
Wim van der Meer
56f0a9c0ec Patch by Jorma Karvonen fixing the 3DMov build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-12 11:51:41 +00:00
Rene Gollent
140f3bd884 WellKnownEntry used a const char * to store the name of its entry, but didn't actually copy the passed-in string, only its pointer. Since the entries were all populated via strings off the stack, this led to them being overwritten with random garbage during program execution. In the best case, this would result in well known icons such as the ladybug boot volume failing to resolve. In the worst case, this likely led to random corruption/crashes. Fixed by having them store a BString instead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-12 02:06:29 +00:00
Oliver Ruiz Dorantes
aa5fca06bf Update l2cap client testcase
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-11 17:15:58 +00:00
Oliver Ruiz Dorantes
ef36d96496 - Implement hook Connect()
- Polish l2cap signals negotiation



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-11 16:57:47 +00:00
Jérôme Duval
f0cbfc95e0 fix build with gcc4 and DEBUG
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-11 13:25:14 +00:00
Jérôme Duval
7a87728eea added yuy2 and nv12 guid
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-11 12:00:06 +00:00
Matt Madia
61fae90060 Some improvements for installoptionalpackage
* copy the needed jam files during compile time. This ensures the correct data
 files are used, for example in non-trunk builds
 * -f now only removes the generated at runtime listing of available packages


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 22:38:47 +00:00
Rene Gollent
0537120f12 Fix broken BaseTranslator code that was 100% guaranteed to crash any app making use of Translators.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 21:37:29 +00:00
Rene Gollent
526e86ac79 Fix translator builds.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 20:52:30 +00:00
Adrien Destugues
87f030bc81 Patch by Jorma Karvonnen : localize BaseTranslator. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 19:20:08 +00:00
Ingo Weinhold
bb486a7223 cache_end_transaction(): Allow the hook parameter to be NULL.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 15:09:46 +00:00
Ingo Weinhold
b944766870 * Moved the vm_page initialization from vm_page.cpp:vm_page_init() to the new
vm_page::Init().
* Made vm_page::wired_count private and added accessor methods.
* Added VMCache::fWiredPagesCount (the number of wired pages the cache
  contains) and accessor methods.
* Made more use of vm_page::IsMapped().
* vm_copy_on_write_area(): Added vm_page_reservation* parameter that can be
  used to request a special handling for wired pages. If given the wired pages
  are replaced by copies and the original pages are moved to the upper cache.
* vm_copy_area():
  - We don't need to do any wired ranges handling, if the source area is a
    B_SHARED_AREA, since we don't touch the area's mappings in this case.
  - We no longer wait for wired ranges of the concerned areas to disappear.
    Instead we use the new vm_copy_on_write_area() feature and just let it
    copy the wired pages. This fixes #6288, an issue introduced with the use
    of user mutexes in libroot: When executing multiple concurrent fork()s all
    but the first one would wait on the fork mutex, which (being a user mutex)
    would wire a page that the vm_copy_area() of the first fork() would wait
    for.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 15:08:13 +00:00
Ingo Weinhold
61728e1e09 Use MovePage() instead of RemovePage() + InsertPage().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 14:39:15 +00:00
Adrien Destugues
6c5a134228 Patch by Jorma Karvonnen : localize filepanel application.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 13:23:18 +00:00
Adrien Destugues
34de781cef Add "Bépo" French keymap (French Dvorak layout), contributed by
Guillaume 
Sarradin at the 
RMLL. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 12:56:15 +00:00
Matt Madia
2d6072229e Updates for the Catalog API change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 11:13:26 +00:00
Matt Madia
8d37fd1227 Updates for the Catalog API change. (hoping this was done correctly!)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 11:08:26 +00:00
Matt Madia
874e983f9d Updated Transmission to v2.01
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 11:05:41 +00:00
Matt Madia
aac2f1f73a Fixes build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 08:36:42 +00:00
Matt Madia
db22cdca2f Automatic whitespace cleanup. No functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 08:36:16 +00:00
Stefano Ceccherini
1e8e2989d6 Use -WError also for libdevice and libtranslation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 04:53:07 +00:00
Stefano Ceccherini
7bbe3922f8 Enable WError for midi, midi2 and print kits (tested with both gcc2 and gcc4)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 19:55:30 +00:00
Stefano Ceccherini
acbbf2c0bb Remove unused define
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 19:54:35 +00:00
Stefano Ceccherini
51b3623ee6 Fix warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 19:54:18 +00:00
Stefano Ceccherini
9b74142851 Move assigments a bit earlier, so they aren't done at every loop.
Thanks to Sean Bailey for watching after me.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 19:53:58 +00:00
Stefano Ceccherini
c445fa21e6 missing return
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 17:53:49 +00:00
Stefano Ceccherini
bbbcf3d61b regex.c is already in libroot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 17:23:09 +00:00
Stefano Ceccherini
821a9b0306 Renamed attachAborted to addAborted
Use fAttachAborted in AttachedToWindow().



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 17:13:34 +00:00
Stephan Aßmus
a9ab7e7f24 Patch by Kaliber: Supported device list was missing terminator. Fixes ticket
#6286. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 15:52:35 +00:00
Rene Gollent
852b01198c Fix missing space.
Fix file being in CR/LF format.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 13:57:46 +00:00
Rene Gollent
05754f2fdc Update WebPositive to r529 to bring it inline with recent layout kit changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 12:27:54 +00:00
Scott McCreary
4035ddb3df Updated autoconf to version 2.66.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 01:47:01 +00:00
Philippe Houdoin
b37fa18bdb Fixed Size() and BytesRemaining() semantics, which was broken.
Revert r33437, which was missing the root cause.
Spotted by Christophe Huriaux, thanks. 
And welcome in contributors list!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 00:24:18 +00:00