Commit Graph

15927 Commits

Author SHA1 Message Date
Stephan Aßmus
b270799715 * read_chunk_into_cache() might not have put back physical pages
in case of a read error.

(coded by axeld)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-26 17:41:38 +00:00
Axel Dörfler
60a50e3a73 Aborted "svn commit" a little bit too late: build fix for the previous revision.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-26 17:41:29 +00:00
Stephan Aßmus
6106f57e21 * Didn't allow to write back attributes outside the inode block (they don't
have a user accessable stream, but they do have a file cache).
* removed superfluous dump_inode() version; the "bfsinfo" debugger
  command is now a bit more useful as well.
* Inode::fAttributes was not initialized when it wasn't used.

(coded by axeld)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-26 17:40:41 +00:00
Axel Dörfler
f41837b49f * The AllocationGroup now has a field for its number of blocks, as well as public
getter methods.
* Fixed allocation problem of an incomplete last allocation group, as reported by
  Robert Szeleney.
* Minor cleanup, slightly improved comments, renamed private methods to have a
  leading '_'.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-26 17:38:33 +00:00
Stephan Aßmus
067c811fe8 * "Extra Attributes" can now be added as well.
* Moved AttributeListView and AttributeItem into its own file.
* Can now be compiled on R5 systems again.

(coded by axeld)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-26 17:37:42 +00:00
Axel Dörfler
348837ad2f Fixed warning and simplified error output (BTW if this should stay, it should probably
go into the syslog).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-26 16:34:16 +00:00
Stefano Ceccherini
8152e71214 BMenuItem draws the various elements in a more correct position, i.e. it doesn't draw the shortcut char over the submenu arrow. Fixes bug 206
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-25 21:02:25 +00:00
Michael Lotz
5d5077a088 As on R5, Messenger.h is not included in Message4.h. This should fix the ShowImage build when using Message4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-23 09:36:47 +00:00
Jérôme Duval
3c70366ab9 fix for changes in revision 16498, pointed by Marcus
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-23 09:23:14 +00:00
Michael Lotz
20a4e7265c * Changed the AGGTextRenderer to use the new UTF8 handling
* Added more char codes to is_white_space(), should be all I think

Sorry if I stepped on your toes Stephan, but I wanted these changes flushed before I leave for holidays :-).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-23 09:04:26 +00:00
Michael Lotz
6990418519 * Fixed some more bugs in the message passing by area
* Reordered some functions
* Area messages can now be unflattened instead of using the private _Reference and a special port code

Passing by area is now mostly working but it's not yet enabled. I will have to conduct performance tests first to see if and starting at what messagesize the overhead is reasonable.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-23 09:02:03 +00:00
Bryan Varner
43d0f55b38 Better checking on *buf bounds, should eliminate possible problems (which aren't at all likely).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-23 00:10:16 +00:00
Jérôme Duval
866d738a05 added error tracing to help on bug #106
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-22 22:57:50 +00:00
Bryan Varner
2e298fb603 Enabled acpi bus_manager build targets, R5 and haiku targets. R5 also has acpi_loader as a disk driver (so it's loaded early at boot). acpi ns dumper will dump your acpi namespace device tree. It's handy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-22 13:36:08 +00:00
Jérôme Duval
e0d2f8bb52 couldn't type 1 byte characters which need option key,
I don't know what it was meant to


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 21:46:18 +00:00
Jérôme Duval
9fe40077e9 added a "Save as default" menu item in Terminal, helps on bug #42
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 21:09:09 +00:00
Jérôme Duval
b221cf0502 fixed window title
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 15:23:40 +00:00
Jérôme Duval
88170dcc2a Danny Robson (danny at blubinc.com) wrote a paragraph intro for each of
the Haiku kits, thanks for this contribution!
the book is now chunked in multiple files


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 14:35:24 +00:00
Jérôme Duval
f0afb8f6ad added a grist on target index.html
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 14:26:25 +00:00
Jérôme Duval
3b07a76bbd forgot these ones
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 12:10:18 +00:00
Jérôme Duval
5d62b41983 more cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 11:33:15 +00:00
Jérôme Duval
09dec1db1b cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 11:18:17 +00:00
Jérôme Duval
d2f93d8c18 added checks in BListView::_Select() methods (ItemAt() can return NULL at any place)
style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 11:17:40 +00:00
Stefano Ceccherini
da13f34ea9 Shortcut chars and bitmaps were drawn too left
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 10:57:07 +00:00
Stefano Ceccherini
6b8c9f5708 Return B_ERROR in unimplemented methods
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-20 22:17:02 +00:00
Stefano Ceccherini
111b4fbcaf BTextControl was filling some part of the inner BTextView with the view color, thus hidding the text. This fixes bug 161
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-20 22:09:39 +00:00
Jérôme Duval
7a0de24359 added missing symbol B_NOTIFICATION_SENDER for Sequitur
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-20 22:08:55 +00:00
Stefano Ceccherini
56edd77bdd Implemented AutoResize(), probably not completely correct. Removed duplicated code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-20 22:07:58 +00:00
Michael Lotz
5b62df9d36 * Fixed some bugs noticed by rereading the whole implementation
* Added checksum generation and checking

The data itself is now checksummed too (unlike R5 where only the header gets a checksum). This might be a performance problem for larger messages. Opinions?

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-20 22:05:39 +00:00
Jérôme Duval
d2350b2881 hmm fixed these bits, padded to multiple of 4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-20 20:45:37 +00:00
Jérôme Duval
5a2ad00cab fix a TODO in _user_mount : added an argsLength parameter
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-20 18:04:27 +00:00
Jérôme Duval
34a290267c fix usage (added [-p parameter])
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-20 17:08:53 +00:00
Jérôme Duval
ebc67dde4a added haiku-mixer-cvs
added float to 20bits convert method
fix the 24 bits one
clean up Resampler.h


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-20 16:28:56 +00:00
Jérôme Duval
16c5a6248e workspaces window flag is in WindowPrivate.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-20 10:35:32 +00:00
Stefano Ceccherini
8369eefa1b Changed return type of EnsureValidMessenger after Marcus's advice. Changed the semaptics of BPrintJob::SetSettings() to match R5 ones.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-20 09:06:34 +00:00
Michael Lotz
8900925bf7 Fixed some bugs reported by Marcus Overhagen.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 23:29:26 +00:00
Jérôme Duval
883a07f811 fixes error message when launching terminal in another one
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 20:44:38 +00:00
Marcus Overhagen
c03dcec18a cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 19:41:55 +00:00
Jérôme Duval
80cfc30c48 small fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 19:31:39 +00:00
Jérôme Duval
10493d109c small fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 19:13:27 +00:00
Jérôme Duval
5f71cfd4bc draws CTL/ALT and SHFT bitmaps, not clean yet (green pixels)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 18:58:18 +00:00
Jérôme Duval
f0bac93530 completes fix for bug #155
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 17:06:49 +00:00
Jérôme Duval
d361f6fa3b added monitoring for input/keyboard/at, hope this fix bug #155
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 17:04:07 +00:00
Jérôme Duval
dac2d29a21 don't create the directory if it doesn't exist, fix bug #207
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 16:42:51 +00:00
Jérôme Duval
08a32bf95d replaced printf with PRINT (our Terminal doesn't handle so much data)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 16:24:53 +00:00
Jérôme Duval
72df4131fd added JPEG2000 translator
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 16:12:40 +00:00
Jérôme Duval
05c881350e fix display bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 15:32:51 +00:00
Jérôme Duval
f0c62dff95 added multiple-symbol-spaces for avoiding a downcast bug with CLAmp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 11:25:08 +00:00
Jérôme Duval
b4a124700c fixed naming of variables
fixed some font sensitiveness issues


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-18 18:03:29 +00:00
Michael Lotz
38b52de937 Hopefully fixed the build when not using Message4. As Message4 works well and is less broken than the older implementation we should maybe switch to it completely.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-18 17:25:58 +00:00