Jérôme Duval
9bace5bbe1
fixed build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-30 21:40:24 +00:00
Stefano Ceccherini
6447787693
I forgot this: Add the test to the build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-30 09:17:37 +00:00
Stefano Ceccherini
daa54abdc5
Added a test for BDirectWindow, with even fewer requirements than the one already in the tree. Basically this only prints some info to stdout.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-30 08:16:19 +00:00
Stephan Aßmus
7ad3536bb5
remove some views, the more we use, the more problems...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 21:27:35 +00:00
Axel Dörfler
78924f7e7b
Now sets the process group of the terminal, so that signals are delivered (you can now Ctrl-C apps, at least in theory :)).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 14:05:34 +00:00
Michael Lotz
ee897a16b0
Theoretically it should now be possible to open a MiniTerminal
...
with coordinates specified as arguments, but this somehow
(and why ever) does hinder /bin/sh from execution (under R5
at least). If someone could point me to the problem I'd be greatful.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 17:04:50 +00:00
Michael Lotz
11356b94e3
Fix Setenv to properly export TERM that commands like clear work too.
...
We use Setenv instead of the native setenv to stay binary compatible with
BeOS, as R5 does not have setenv.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 16:05:55 +00:00
Michael Lotz
fa78489457
Added a BMessageFilter to catch the B_TAB key (for tab completion).
...
This doesn't work under Haiku yet though.
Also made the thread functions into members of MiniView so that we
can have correct private members.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 15:47:40 +00:00
Michael Lotz
2a0a0e9c0a
Add the MiniTerminal to the buildsystem.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 06:12:25 +00:00
Michael Lotz
160bd2ffca
This is a minimalistic version of a terminal.
...
It can be run under R5 and Haiku (binary compatible) and should work
with the Haiku app_server and input_server.
It gives access to a /bin/sh like a normal terminal, but has no fancy features
like different text encoding support and it cannot even redraw itself when
something else overdraws it.
But it's pretty impressiv that it works so well under Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 06:11:38 +00:00
Stephan Aßmus
b1456ac915
the BViews in the test windows draw something
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 22:00:50 +00:00
Stephan Aßmus
ffc01863ba
BitmapBuffer moved into app_server
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 22:00:19 +00:00
Stephan Aßmus
7a54109e1b
moved BitmapBuffer, because it comes in handy in app_server
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 16:47:37 +00:00
Stephan Aßmus
c6d265aa15
allow access to bitmap
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 16:46:50 +00:00
Stephan Aßmus
4e9146ad6a
removed agg_font_freetype.cpp from the build, as it is already included with libagg.a
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 23:33:45 +00:00
Stephan Aßmus
fa3717f73c
updated, because Painter now lives in app_server subfolder drawing
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 17:56:50 +00:00
Stephan Aßmus
8490b97156
I just realized I called it "windows", so now the app creates two windows...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 17:44:53 +00:00
Stephan Aßmus
1a6138742b
a simple test that runs a Haiku BApplication connecting with Haiku app_server, comes with a script that launches app_server too
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 17:36:50 +00:00
Stephan Aßmus
5f0b72b37b
updated to app server move
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 15:51:56 +00:00
Stephan Aßmus
5df6611a26
link with the objects needed for ServerFont
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 22:32:11 +00:00
Stephan Aßmus
2fc1fe2098
corrected code for general test
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 22:31:32 +00:00
Axel Dörfler
28fb0f9857
Added a very simple mkindex command - can only create string indexes for now
...
(and added support for that function in the emulated kernel).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 03:08:32 +00:00
Axel Dörfler
ea0bca7cd2
The boot floppy now builds at its new location.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 17:57:45 +00:00
Axel Dörfler
57f911a437
Moved kernel/apps to tests/kernel/boot_floppy, removed boot_floppy stuff
...
from kernel/Jamfile. Actually kernel/apps is still there as Subversion
doesn't let me commit it -- I'll remove that later.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 17:54:13 +00:00
Axel Dörfler
6557584901
Made some kernel tests build again (that didn't work anymore since I moved
...
some pieces around). There might be more left, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 17:38:22 +00:00
Axel Dörfler
133841a10e
Moved cache_control.cpp out of kernel/apps/ and into tests/kernel/core/cache/.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 17:32:14 +00:00
Axel Dörfler
200599e9df
Moved consoled out of kernel/apps and into tests/kernel/.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 17:25:45 +00:00
Ingo Weinhold
f8e5453f2b
Added a small program for testing unblocking on close and select support. Not quite exhaustive and tests for ECHO mode are missing, since I couldn't figure out how to turn it on.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-20 22:35:05 +00:00
Jérôme Duval
f28587e165
removed .cvsignore files
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-20 12:31:46 +00:00
Axel Dörfler
afd64c82e7
Moved kernel/vm2 to tests/kernel/vm2.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 01:43:25 +00:00
Axel Dörfler
a2e1b654dd
Added a test program for the advisory locking via fcntl() - covers many but not all cases.
...
Makes sure the test apps will also build with target=haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 01:32:17 +00:00
Ingo Weinhold
01203fdf42
Made a bit more compliant to the shell `cp':
...
* When the target is a symlink, it is tried to be resolved before making
the decision what to do.
* If the (resolved) target is a file and the source is a file, we don't
fail anymore, if `-f' wasn't specified. We truncate the target file
instead and copy the source data into it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 17:52:29 +00:00
Ingo Weinhold
2c05bc8a8d
Move to_platform_open_mode() to stat_util.cpp/h and made it available to other source files. It has little to do with stat data, but it fits with the other conversion functions at least and I found no better place.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 17:48:21 +00:00
Ingo Weinhold
6ce30cc809
Made xcp the default cp/copy command. The code for it is still there, for it is also used in other tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 17:45:59 +00:00
Axel Dörfler
3380da1e1f
Another small improvement to how things build as suggested by Ingo.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-09 14:43:42 +00:00
Axel Dörfler
7f67a70cfe
Now builds under Dano/Zeta as well.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 12:44:03 +00:00
Axel Dörfler
fa900c88f7
Fixed warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 12:43:15 +00:00
Axel Dörfler
3f687b627a
mkbfs now also writes a standard boot block to disk (works for images only).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 12:29:09 +00:00
Axel Dörfler
9fcf97f229
Added a binary copy of BFS's boot block code (as used in BeOS). This will
...
be used by our R5 mkbfs replacement for now, until someone replaced that
boot loader code :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 01:39:44 +00:00
Ingo Weinhold
61f6087c2a
Define _GNU_SOURCE for GNU extensions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 13:42:17 +00:00
Ingo Weinhold
9c523f7e48
* Added source for scripting support under Linux.
...
* Define _GNU_SOURCE for GNU extension.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 13:40:54 +00:00
Ingo Weinhold
0adb8b09ca
Implemented fs_shell scripting under UNIX using UNIX sockets. Refactored
...
the platform independent code out of fs_shell_command_beos.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 13:39:17 +00:00
Ingo Weinhold
58183b99ff
* dirent::d_dev is not POSIX. Use it only under BeOS.
...
* Make return value of implementations of Directory::GetNextEntry()
match the base class version.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 13:36:25 +00:00
Ingo Weinhold
19de31b510
B_OK -> FS_OK
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 13:33:25 +00:00
Ingo Weinhold
76a14666e0
* As read_pos() and write_pos() are supposed to be platform functions,
...
they return the respective error codes.
* Fixed the open mode conversion function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 13:32:33 +00:00
Ingo Weinhold
7d0617a836
Er, the last change was quite wrong. Correctly define O_NOTRAVERSE to O_NOFOLLOW, if available.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 13:31:26 +00:00
Ingo Weinhold
cc13340e9a
Fixed struct stat conversion functions for non-BeOS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 13:09:50 +00:00
Ingo Weinhold
16157ab59e
ioctx::lock was not initialized properly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 13:08:58 +00:00
Ingo Weinhold
875d890122
O_NOTRAVERSE is called O_NOFOLLOW under Linux.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 13:07:41 +00:00
Ingo Weinhold
6ff9fee56f
Improved the output in case the command failed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-06 00:13:39 +00:00