Commit Graph

13428 Commits

Author SHA1 Message Date
Axel Dörfler
d7013609a8 Fixed a big memory leak: _user_writev() and _user_readv() allocated
a new iovec array, but only freed them on (early) error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 23:43:05 +00:00
Stefano Ceccherini
16046321cc Implemented BPrivateScreen::ReadBitmap(), but the guts are still missing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 22:33:52 +00:00
Rudolf Cornelissen
9b7ed7eb1f added parial memory pitch programming: lowres virtual width screens can be used now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 18:58:28 +00:00
Rudolf Cornelissen
318120fe05 added parial memory pitch programming: lowres virtual width screens can be used now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 18:57:41 +00:00
Axel Dörfler
ea563033b2 Same as before, but for Replace*() methods: fixed memory leaks, small
optimazation for ReplaceFlat() (also done for AddFlat() before).
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 18:34:11 +00:00
Axel Dörfler
b9dddc39f3 Fixed some memory leaks in case of errors (Add*() only).
Some minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 18:25:23 +00:00
Axel Dörfler
c9955bf00a Added new but empty function file_cache_invalidate_file_map().
This is needed in case the on-disk representation of a file changes (due to reorganization/defragmentation).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 16:33:05 +00:00
Jérôme Duval
1188944790 Readded TYPE()
Init Messenger, Ref, Message on error


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 15:56:46 +00:00
David McPaul
f1459e8f91 performance improvements
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 13:41:08 +00:00
David McPaul
24af6494ea Removed many bugs relating to multiple video tracks. Replaced these bugs with much more interesting ones
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 12:59:02 +00:00
Jérôme Duval
b39b6ee51c DispatchEvent is now using when field from input message instead of real_time_clock()
Also watchs B_UNMAPPED_KEY_DOWN for Alt+Space (input method change)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 09:48:35 +00:00
Jérôme Duval
ce42d864ee Took Axel's remarks into account
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 09:23:21 +00:00
Axel Dörfler
698b96ef9b Added a simple test for the Dano message format reader (it accepts flattened message files as parameter).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-13 06:32:33 +00:00
Jérôme Duval
b0ba19ba3a Moved Add* through AddData, Find* through FindData, Replace* through ReplaceData
I think BMessageBody::FindData<>, BMessageBody::AddData<>, BMessageBody::ReplaceData<> could be untemplatized
Works here, not unit tested though
Axel, please review this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 23:21:29 +00:00
Rudolf Cornelissen
ef36c64242 activated hardware cursor in via.settings file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 20:03:08 +00:00
Rudolf Cornelissen
b3f85e6fb7 VIA cursor works (almost) perfectly now, added support for vertical virtual workspaces, so setting framebuffer startadress now (expl. pixelpanning yet).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 19:55:51 +00:00
Rudolf Cornelissen
5a2735230d VIA cursor works (almost) perfectly now, added support for vertical virtual workspaces, so setting framebuffer startadress now (expl. pixelpanning yet).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 19:55:11 +00:00
DarkWyrm
bc5804fdb6 Implemented Fast Forward and Rewind
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 19:47:21 +00:00
DarkWyrm
b8673e4300 Added menu selector like in R5's player.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 18:51:30 +00:00
Michael Lotz
9ea776d708 Removed (unimplemented) BMessageBody::Unflatten() as Unflattening happens directly at the BMessage level.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 17:49:33 +00:00
Michael Lotz
13b42e5eb4 Just some style cleanups again. Sorry I couldn't resist, won't happen again ;-).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 17:41:22 +00:00
Axel Dörfler
54476a21b5 file_create() now also supports FD relative path specifications.
This was the cause for some apps to put their settings files to the current
directory, and also that Tracker did not find some icons (from the icons
it installed in the MIME database).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 16:33:10 +00:00
DarkWyrm
c552d63dc5 Removed some commented-out test code from CDButton
Time display is updated when player is stopped
Turning off shuffle really takes it out of shuffle mode
Can change tracks while the CD player is not playing
Improved responsiveness of screen updates when changing tracks
Total disc time calculation is fixed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 15:23:30 +00:00
Ingo Weinhold
29aa57037d * Now we have a hardcoded list of apps which shall not be terminated on
shutdown (input, app, debug server, and registrar).
* Fixed crashing bug, if the shutdown was aborted before the window was
  created.
* The text of the confirmation alert depends on whether we reboot or
  shut down.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 12:36:08 +00:00
Jérôme Duval
c458888ae0 added Konatu font copyright
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 09:17:44 +00:00
Jérôme Duval
8ef60809a7 added Konatu font (japanese). Thanks to michiya.
To: HAIKU Project (www.haiku-os.org)
Subject: Authorization to use Konatsu font in HAIKU operating system

I hereby authorize the HAIKU Project the use of the Konatu font 
(www.masuseki.com/be/konatu.html) under the MIT license.

MASUDA michiya
Website: www.masuseki.com
Email: mitimasu@gmail.com or masu@masuseki.com



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 09:05:42 +00:00
Ingo Weinhold
54fce51326 Uninitialized member variable. The cause for the shutdown process sometimes not to start at all.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 23:14:56 +00:00
Michael Lotz
b43356dbeb Removed some noise from the status icons, this bothered me some time now :).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 20:38:46 +00:00
DarkWyrm
6105ba9382 Fixes to monitoring of the CD drive's state
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 20:05:50 +00:00
DarkWyrm
0ca3e71c1e Total track and disc times are displayed in the appropriate boxes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 18:06:02 +00:00
Jérôme Duval
74ef4bcdc4 added OS.h for completeness
last commit was wrong as easily noticed by Jack Burton :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 15:44:37 +00:00
Rudolf Cornelissen
3a19646fe4 setup hardware cursor. bitmap not yet correct, colors neither.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 15:30:55 +00:00
Rudolf Cornelissen
f1971991da setup hardware cursor. bitmap not yet correct, colors neither.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 15:30:18 +00:00
Rudolf Cornelissen
5de64e32fd setup hardware cursor. bitmap not yet correct, colors neither.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 15:29:50 +00:00
Rudolf Cornelissen
9784ce8df4 naming update
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 12:21:11 +00:00
Rudolf Cornelissen
d3cb727f16 naming update
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 12:20:50 +00:00
Jérôme Duval
ca383c429e we're now C friendly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 09:55:52 +00:00
Axel Dörfler
f84e00e27c Although VirtualMemory did respect the font height already, it didn't care
if the window was wide enough for the strings - it now does.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 00:24:14 +00:00
Alexander G.M. Smith
36fa547a10 Updated keyword expansion to use SVN keywords. Also seeing if
svn is working well enough for me to update files from BeOS R5.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 00:11:29 +00:00
Michael Lotz
11a861d4dc Added another comment suggested by Rogier van der Hee.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 23:11:40 +00:00
Michael Lotz
4da5225f84 Fixed broken count_font_styles(), font menus now really work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 21:52:30 +00:00
Michael Lotz
3f319b3346 Some cleanup, some removed typos, some unification, some fixes and some added todos. Most of it related to client-server communication. Apps that rely on BFont stuff should work now (StyledEdit, Fonts, Keymap, Menu, ...). Or should not hang/quit at startup at least.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 21:16:43 +00:00
Rudolf Cornelissen
1de84caa7d updated via settings file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:39:22 +00:00
Rudolf Cornelissen
e9632ca5ff updated jamfile to include via driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:34:32 +00:00
Rudolf Cornelissen
e795b22aae updated jamfile to include via driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:34:11 +00:00
Rudolf Cornelissen
b1409f6742 updated jamfiles.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:31:18 +00:00
Rudolf Cornelissen
e26fcb493d updated jamfile.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:28:39 +00:00
Rudolf Cornelissen
0385c94c57 added via private headers, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:21:48 +00:00
Rudolf Cornelissen
67f767c0c6 added via private headers, a copy of skeleton driver yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:21:07 +00:00
Rudolf Cornelissen
dd99aca271 added via private headers folder
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 18:17:21 +00:00