Ingo Weinhold
60a463c673
Added /dev/dprintf driver. It's probably quite different from R5's, but nevertheless useful for debugging.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:36:50 +00:00
Axel Dörfler
cafa4dd931
Removed next_dev() again - it's implemented in libroot/os/fs_info.c and
...
now used from there, sorry Ingo (I forgot to commit the Jamfile that
included fs_info.c).
Minor comment cleanup to make their appearance consistent throughout
the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 14:41:00 +00:00
Axel Dörfler
40174b5c1b
Added fs_info.c functions to the kernel (next_dev, fs_stat_dev, ...).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 14:36:31 +00:00
Ingo Weinhold
40be269010
Added missing next_dev(). Axel?
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 13:46:04 +00:00
Axel Dörfler
625c061ad5
Added empty implementation of missing class BChannelSlider.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 04:38:32 +00:00
Axel Dörfler
08c97b50b9
Added empty implementation of missing BChannelControl class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 04:29:19 +00:00
Axel Dörfler
db2ce5ffc5
Added missing BSlider and BTabView/BTab classes to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 04:13:30 +00:00
Axel Dörfler
f17df0a3b5
Cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 04:12:09 +00:00
Axel Dörfler
e9e39349b0
Big cleanup, many parts now fulfill our style guide.
...
Made instantiation from BMessage more robust.
Fixed some crashing bugs (in ResolveSpecifier() (don't delete a string
that you don't own, in the BView iteration code in deleteView(), ...).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 04:10:16 +00:00
Axel Dörfler
d7e274c031
The "/tmp" symlink targeted the wrong location.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 01:27:04 +00:00
Axel Dörfler
e3954f5a94
acquire_sem_etc() really didn't like the combination of B_RELATIVE_TIMEOUT
...
and B_INFINITE_TIMEOUT -- it now does and won't start a timer anymore in
this situation. Reported by Ingo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 01:07:23 +00:00
Axel Dörfler
849647ec72
sync() now also syncs the vnode caches (file data).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 00:38:16 +00:00
Ingo Weinhold
bcab07add0
* More sophisticated debug output macro.
...
* Fixed BLooper::ReadMessageFromPort(). If ReadRawFromPort() failed,
there was nevertheless a message created and dispatched.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 00:28:58 +00:00
Axel Dörfler
c98d79095b
Fixed compilation, applied our style guide, simplified the sources, removed
...
some cruft and too extensive help text.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 00:13:58 +00:00
Ingo Weinhold
8359274f30
Added mkindex to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 23:34:23 +00:00
Rudolf Cornelissen
3c85aa4f00
more DMA related programming. Still acceleration this way is disabled. DMA command fetching now actually works on GeForce 6600/NV43 (verified). The acceleration engine still refuses to process the fed commands (correctly) though. OTOH: programming not yet coplete ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 21:30:22 +00:00
Axel Dörfler
8b74caaae0
Brought dump_port_info() into shape, added output of port_entry::total_count.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 20:45:18 +00:00
Axel Dörfler
6158f7d53a
Fixed a crashing bug in port_buffer_size_etc() - it had a special error
...
check for B_TIMED_OUT and B_WOULD_BLOCK, but it got through with other
errors.
Removed special error check for "known" error codes from port_buffer_size_etc(),
read_port_etc() and write_port_etc() - they no longer print out a warning in
that case.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 20:21:58 +00:00
Axel Dörfler
4d00c5e1ea
We introduced the new constant B_CURRENT_TEAM for this.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 19:50:12 +00:00
Ingo Weinhold
807ea2fa80
More informative debug output. The MIME manager keeps on getting spurious what == 0xffffffff messages under Haiku. Needs to be investigated.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 15:36:22 +00:00
Ingo Weinhold
dca399f444
Use the BApplication constructor that returns an error code instead of the one that just exit()s on error, so that we can at least print the error.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 15:33:57 +00:00
Ingo Weinhold
2397da28a0
Added support for get_next_image_info() with team ID == 0, which means the current team.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 15:32:14 +00:00
Jérôme Duval
e332769a38
added flag to work on R5
...
added flag work with gcc 20041202
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 12:47:56 +00:00
Jérôme Duval
5c889cacf2
replaced ... by B_UTF8_ELLIPSIS
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 10:42:54 +00:00
Jérôme Duval
d66aed044c
change to B_MULTIPLE_LAUNCH
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 10:39:19 +00:00
Stephan Aßmus
9f3445e1bf
added tests for using the pen location version of DrawString
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 02:22:26 +00:00
Stephan Aßmus
6303609fca
added support for retrieving the position of the virtual next char, for some reason the kerning is handled correctly across multiple calls to RenderString, it must somehow make sense from looking at the code, but I don't follow it this late in the night...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 02:19:23 +00:00
Stephan Aßmus
8837f9f78d
DrawString now modifies the pen position
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 02:16:44 +00:00
DarkWyrm
d9558e8396
Sync with stippi's version of PatternHandler with integration tweaks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 01:34:20 +00:00
Nathan Whitehorn
d864e822ca
Bumped MDR version number to 3.0.2
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 23:09:44 +00:00
Ingo Weinhold
b06942c604
All internally used FDs are now set to O_CLOEXEC.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 22:06:51 +00:00
Rudolf Cornelissen
a3587d4de6
modified cmd handles, added DMA blit partly. Still untested.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 14:27:02 +00:00
Jérôme Duval
b1c75e39b3
Fixed EnqueueMethodMessage() so that Eventloop port is released
...
WatchPort process adapted to this behavior :
we go through message processing without messages. in fact method messages musn't be processed as device messages.
Even if buggy, Canna method is now working with StyledEdit (with Input Method aware views typically).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 13:13:14 +00:00
Rudolf Cornelissen
0bfacfc2a9
added DMA cmd related info
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 12:11:36 +00:00
Rudolf Cornelissen
f180c737d7
more DMA stuff
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 09:56:00 +00:00
Stefano Ceccherini
5fd36a241d
A BMenuItem couldn't be removed and then added back to a BMenu: Fixed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 08:50:50 +00:00
Stefano Ceccherini
27ec1ee4fe
Added a clarifying comment.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 08:40:52 +00:00
Ingo Weinhold
77cbf881fc
* Got rid of the BClipboard::fCount. It was modified, but never read.
...
Renamed fSystemCount to fCount.
* be_clipboard is now initialized by init_clipboard().
* Documented at least {Local,System}Count(), since their meaning wasn't
very obvious to me (neither helped the BeBook description).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 00:54:00 +00:00
Ingo Weinhold
5fa518561e
Use new init_clipboard() function which initializes the global be_clipboard at libbe init time.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 00:50:26 +00:00
Ingo Weinhold
caf19c8b0a
* When run more than one time, the tests the increment the clipboard count
...
didn't pass anymore. Now we check only the difference, not for absolute
values.
* Fixed the style.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 00:48:38 +00:00
Ingo Weinhold
58b5124e46
Replace ClipboardTree by Clipboard, a class just representing a clipboard.
...
The clipboards are managed in a simple string->Clipboard map.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 00:45:55 +00:00
Jérôme Duval
697ba202b7
added some known messages codes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 22:57:39 +00:00
Rudolf Cornelissen
230c6e57f3
added more DMA programming: cmd buffer and FIFO setup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 21:04:22 +00:00
Ingo Weinhold
92b98fe111
Build the Haiku registrar (linked against our libroot and libbe). Haven't checked, if it works yet.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 14:35:47 +00:00
Ingo Weinhold
c3362b0a7a
Rewind()ing queries will work under Haiku, so check only for error under R5.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 14:22:35 +00:00
Ingo Weinhold
450b5c2c69
Reverted the last change. As Axel informed me, rewinding queries will work under Haiku. Also check, whether the query was Fetch()ed already.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 14:21:01 +00:00
Ingo Weinhold
08d0162ea2
Don't retry opening the node read-only, if opening read-write failed with B_ENTRY_NOT_FOUND.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 14:18:56 +00:00
Ingo Weinhold
458a27c988
Removed old debugging output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 14:16:53 +00:00
Stefano Ceccherini
2ce1b3ecc2
Cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 11:39:56 +00:00
DarkWyrm
d1d811ec70
sync to tree to support stippi's Painter classes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 11:09:33 +00:00