Commit Graph

10593 Commits

Author SHA1 Message Date
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
DarkWyrm
abd0030237 Sync to AGG tree to support stippi's Painter classes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 11:05:58 +00:00
Waldemar Kornewald
75d0f2ba9b Finished the UI stuff. Not tested, though. If everything works as expected (I doubt it ;) you should see a little window prompting your login before connecting. It also allows canceling a connection attempt. After you establish a connection you should see an ugly Deskbar replicant. Click on it to see connection statistics and to disconnect.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 09:50:50 +00:00
Waldemar Kornewald
484a5f0ec2 Fixed some stupid bugs. Added atomic.S (only atomic_xxx64 functions). This will be removed later because Haiku has it built-in.
Added some little functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 09:48:11 +00:00
Waldemar Kornewald
29dcffdf80 Fixed some bugs. Setting a default interface now actually works, but the functionality is hidden because we do not yet have kernel-side IPCP support for ConnectOnDemand (COD).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 09:42:57 +00:00
Ingo Weinhold
625ffa198e * Re-enabled the tests for data-only-based MIME type sniffing. Had to
disable the special test for sniffing a MIME type file (as stored in the
  MIME DB), since the framework is not really prepared to deal with that.
* Removed left-over debug code.
* Fixed a nasty `use of member of temporary object' bug.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 04:01:59 +00:00
Ingo Weinhold
42e66e22c7 Really, a static BLooper attribute is not exactly a brilliant choice. Now every time the App Kit test add-on is loaded a BLooper is constructed. And it seems we somehow leak those loopers, since when some test actually starts, already six or seven looper threads do exist. Added only a comment, since I didn't dare to meddle with those templated BMessage unit tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:55:33 +00:00
Ingo Weinhold
9ed278d664 The unit test framework supports catching debugger() invocations and we need to make use of that here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:49:50 +00:00
Ingo Weinhold
26409756a9 Our warning in case of mismatching app signatures is formatted more nicely.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:47:48 +00:00
Ingo Weinhold
77b9927bb4 The BTestApp class from libcppunit always uses R5's BApplication, but here a Haiku BMessenger is tried to be created from it, which can't work. Can probably be rewritten to work, but I'm too lazy at the moment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:46:14 +00:00
Ingo Weinhold
c10206311d The case for data-only-based MIME type sniffing was missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:42:21 +00:00
Ingo Weinhold
132c664be7 Added TODO. The implementation should be revised. BClipboard::{Local,System}Count() is broken and I can see why. Instead of just fixing that a reimiplementation is probably best.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:41:06 +00:00
Ingo Weinhold
4536dd81ff Fixed standard 'backward iteration with unsigned var' bug.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:37:26 +00:00
Ingo Weinhold
0660acfd9c Must have accidently implemented BQuery::Rewind() when migrating to our syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:35:48 +00:00
Ingo Weinhold
f5b1fba063 Yuck! Bad typo. I wonder why the respective unit test ever passed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:34:28 +00:00
Ingo Weinhold
a368fecb8d When opening the node O_RDWR failed, we try again O_RDONLY, but we did that only, if the returned error code was B_READ_ONLY_DEVICE or B_PERMISSION_DENIED. Some FS return other error codes though, so we are completely ignorant now and always retry on error. Maybe we shouldn't for obvious cases like B_ENTRY_NOT_FOUND.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:33:25 +00:00
Ingo Weinhold
51634653c6 * Fixed BMessageBody::GetInfo(): Indexed based iteration was broken for
two different reasons.
* Fixed BMessageBody::FindData() in case of type B_ANY_TYPE, which should
  match any matchingly-named field.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:25:48 +00:00
Ingo Weinhold
c9f9a6b20d * fReplyTo.target (the handler token) is internally checked even, if the
preferred handler is addressed. So make sure, it has a usable value in
  this case, otherwise ReturnAddress() usually won't work.
* If the message to be read from the port is bigger than the on-stack
  buffer, the chunk of memory to be allocated on the heap has to be the
  size of the message, not the size of the on-stack buffer. This caused
  all kind of nasty, hard-trackable problems.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:20:15 +00:00
Ingo Weinhold
c5c962d426 Enhanced debugging output to print also the thread ID.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:13:52 +00:00
Axel Dörfler
e9bd14d444 Turned off debugging.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 23:42:22 +00:00
Axel Dörfler
1bf35f0f75 Added missing returns (forgot to commit this...).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 23:41:49 +00:00
Axel Dörfler
9c4f4c037d Changes because of renaming various data structures (pnp_node -> device_node, ...).
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 23:28:38 +00:00
Axel Dörfler
08ec614080 Changes because of renaming various data structures (pnp_node -> device_node, ...).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 23:26:00 +00:00
Axel Dörfler
aedf4f4358 Changes because of renaming various data structures (pnp_node -> device_node, ...).
Also renamed children_next|prev to siblings_next|prev as I was confused by the former.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 23:23:20 +00:00
Axel Dörfler
b83a8af4e0 First roll of renames: pnp_node_hamdle is now device_node_handle, pnp_node_attr
is now device_attr, pnp_bus_info bus_module_info, pnp_driver_info driver_module_info, ...
Small cleanup (more would be needed, but this has time).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 23:19:41 +00:00
Rudolf Cornelissen
b1e0087b8c added DMA paths to cmd structs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 21:13:48 +00:00
Rudolf Cornelissen
4abeaa0554 added a few NV40 arch specific comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 20:16:24 +00:00
Axel Dörfler
b8877975aa Added some code to dump the node tree. This is currently done always
after hardware recognition (but will be moved into a debugger command
later).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 16:19:59 +00:00
Rudolf Cornelissen
daaa769853 added checking for engine idle: which is actually the case over here :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 14:32:46 +00:00
Jérôme Duval
95e5262abe Added spacebar keycode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 00:36:41 +00:00
Jérôme Duval
e3c78aded7 Added input method key switching (alt+space)
Added code to enable deskbar replicant loading after input_server is started


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 00:34:37 +00:00
Michael Pfeiffer
dcab43435a Implemented delta row compression. Added media sources. Enabled duplex mode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 19:29:07 +00:00
Michael Pfeiffer
1ee14bea49 Added DeltaRowCompression.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 19:26:27 +00:00
Rudolf Cornelissen
342f26df0e added register defines needed for engine DMA setup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:43:41 +00:00
Rudolf Cornelissen
4610db2600 added DMA engine initialisation code for NV40 and higher. Still disabled, and needs support from driver (reserve DMA buffer RAM etc)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:41:36 +00:00
Axel Dörfler
d1f630f624 Fixed some typos, minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:30:37 +00:00
Michael Pfeiffer
30ec9a55ef Added 'Go to page' control. Contributed by Hartmut Reh.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:26:13 +00:00
Axel Dörfler
f1a1d6e98a Implemented get_safemode_option() (not yet tested).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:06:25 +00:00