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
Matt Madia
f5fcf28e9b
Set mime-type to text/html
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 18:18:05 +00:00
Joachim Seemer
ad5e743e2b
Update to user guide and welcome page. Introducing Portuguese and Chinese. Thanks to all translators\!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 18:03:41 +00:00
Axel Dörfler
268317bd9d
* Style cleanups.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 16:04:41 +00:00
Adrien Destugues
27d84b482c
Patch by Alex Wilson as part of GSoC 2010 : Archiving of Layouted BViews hierarchy.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 15:40:49 +00:00
Ingo Weinhold
fbb6335d2a
Style cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 15:04:38 +00:00
Ingo Weinhold
e5150e2847
Patch by Alex Wilson (compilation fixes by myself): Extended the archiving/
...
unarchiving protocol to support archival of arbitrary object graphs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 14:54:25 +00:00
Adrien Destugues
8fbd792dd8
Add small test file for checkstyle (and its vim equivalent). Feel free
...
to complete it if you find other misses or false positives.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 13:11:53 +00:00
Adrien Destugues
630acb8436
Remove useless debug output. Thanks Jerome for pointing it out!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 13:08:24 +00:00
Adrien Destugues
30a49962db
Style fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 11:05:31 +00:00