Ingo Weinhold
c64ead1580
Accidentially gave a empty commit message when committing the changes to
...
the bfs_shell related files:
* Fixed a couple of `friend without struct/class' errors gcc 3
complains about.
* Several adjustments do make the FS add-on build in a BeOS-like
environment. E.g. the fs_shell header "myfs.h" is not longer included.
For "cache.h" and "proto.h" the local copies are included.
* additional_commands.c must is part of the fs_shell and must be build in
the same environment as the fs_shell. The fs_shell definitions must be
used for system dependencies.
* The FS add-on has a platform dependency, since it opens and fstat()s
the underlying device. open() is harmless, but we must wrap fstat().
* We don't longer compile in kernel_cpp.cpp, but rather use the
platform C++ support directly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 23:48:52 +00:00
Ingo Weinhold
105d7373e9
*** empty log message ***
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 23:36:57 +00:00
Ingo Weinhold
efaa1f0e73
We now build a static library from the fs_shell sources. No need to compile them again for each FS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 23:35:57 +00:00
Ingo Weinhold
bc421eb5c9
Jam rule SetupFSShellIncludes that sets up the include search dirs for building the fs_shell. Reused, hence in a separate file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 23:34:29 +00:00
Ingo Weinhold
e6f3010336
A whole bunch of changes to make the fs_shell build (and work) under
...
Linux:
* Corrected use of error code. We consequently use the errors we
defined to be compatible with BeOS and translate error code to and from
the build platform where necessary.
* Consequently use the structs my_stat and my_dirent and the type
fs_off_t when dealing with the guest FS. my_dirent had to be adjusted
to be BeOS compatible.
We wrap the platform fstat() now to translate the struct stat to the
BeOS representation.
* Fixed a bug introduced with the last checkin: The fs_shell crashed after
executing a command.
* Fixed printf() format warnings under Linux.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 23:32:35 +00:00
Ingo Weinhold
9b3fd9f88c
Support for translating error codes between the build platform and the
...
emulated system (i.e. the FS).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 23:18:54 +00:00
Ingo Weinhold
d2df6f5a20
We compile the fs_shell with BuildPlatformMain, which is more correct. We
...
use all Haiku headers save the POSIX and STL headers. Let's see how we
fare on Linux with this change...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 00:47:39 +00:00
Ingo Weinhold
2585523bed
Changed since the fs_shell additional command mechanism has changed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 00:44:59 +00:00
Ingo Weinhold
fc5863cce5
* Renamed fsh.c to fsh.cpp to have a more usable static initialization at
...
hand. Fixed all compiler errors.
* Changed the mechanism for including additional commands. Now an array
is exported by the instance code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 00:43:23 +00:00
Ingo Weinhold
ea8e6dbaab
Made C++ safe.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 00:40:03 +00:00
Ingo Weinhold
25209a1365
Commented out iso9660 and udf tests for the time being.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-03 00:39:20 +00:00
Ingo Weinhold
a57bb4edc8
Added fs_shell (for fs_shell_command).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 22:23:54 +00:00
Ingo Weinhold
50329cd67c
Added a BeOS specific command (using ports) to send commands to the
...
fs_shell. A Linux specific one will follow as soon as the fs_shell builds
under Linux.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 22:23:11 +00:00
Ingo Weinhold
ce13a6d573
Follow-up changes to make the fs_shell instances build after adding the scripting extension.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 22:20:51 +00:00
Ingo Weinhold
87580cd7ab
Extended fs_shell by an interface for external scripting.
...
This is the first step towards getting rid of the UserlandFS dependency
for building a HD image. Which is in turn the first step to being able to
build one under Linux.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 22:19:03 +00:00
Axel Dörfler
4bb67ad318
Added small test tool to dump the contents of a BFS log.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-02 17:26:01 +00:00
Matthew Wilber
658ffe9fcf
Added BAlert manual test, used to make the BAlert unit tests and compare the behavior of Be's BAlert to Haiku's BAlert.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 16:49:03 +00:00
Matthew Wilber
82cbd5d87d
Added tests for the B_OFFSET_SPACING mode.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 16:22:04 +00:00
Matthew Wilber
b85443713f
Added tests for B_WIDTH_FROM_WIDEST mode
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 16:45:35 +00:00
Matthew Wilber
db441663b3
Added tests for B_WIDTH_FROM_LABEL mode.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 14:10:50 +00:00
Matthew Wilber
485f31599b
Added B_EMPTY_ALERT tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 23:34:10 +00:00
Matthew Wilber
8ebac7a655
Added B_EMPTY_ALERT mode tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 23:32:18 +00:00
Matthew Wilber
dfb8c585c6
Updated with new Translation Kit version macro names.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 18:22:17 +00:00
Stephan Aßmus
2ad954608f
clean up, ellipse comparison test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 15:40:37 +00:00
Axel Dörfler
d399ab82cc
Some work on the userland boot loader test: moved over to new DoublyLinkedList,
...
added some command line options - additional boot images can now be listed as
arguments.
platform_run_menu() now prints out the root directories of all known file systems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 18:30:29 +00:00
Axel Dörfler
338d4420a4
Now InitCheck() returns the actual error code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 18:28:36 +00:00
Matthew Wilber
aa44f14baa
Added more tests for single button Alerts and added tests for two and three button Alerts.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 21:21:14 +00:00
Matthew Wilber
855c5b57b8
Created structures to make it much easier to test BAlert's various options.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 19:51:38 +00:00
Matthew Wilber
eca22332b6
Added BAlert tests to Jamfile
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 05:46:49 +00:00
Matthew Wilber
da9a5ee7be
Added BAlert tests to Interface Kit tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 05:46:00 +00:00
Matthew Wilber
baccf4d71e
Initial check in for the BAlert tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 05:45:05 +00:00
Ingo Weinhold
9b99cdbb5a
Added a program testing the registrar's MessageDeliverer. Particularly
...
with respect to whether the delivery still works when the port is full.
It seems to do (now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 00:45:30 +00:00
Ingo Weinhold
c6de9dc035
Missing initialization of members in the second constructor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:34:00 +00:00
Philippe Houdoin
cf5a8b98ba
Added feature: allow to send data from a file (think "Print To File" output) thru
...
the loaded print transport add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 14:08:01 +00:00
Stephan Aßmus
1dd7c68f7a
more refactoring and separating tests, currently it tests straight line performance
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 21:40:09 +00:00
Stephan Aßmus
41ce67c0f6
refactoring, but there's going to be even more of it
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:14:54 +00:00
Stephan Aßmus
70443ebf5a
automatically uses alpha blending for B_RGBA32 bitmaps
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:13:28 +00:00
Axel Dörfler
739532577c
Added a small test program for the transfer_area() call.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 07:19:13 +00:00
Philippe Houdoin
5b2465501c
Sync with local (tiny) changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 22:34:46 +00:00
Philippe Houdoin
45ded7fef6
Fixed warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 21:48:13 +00:00
Ingo Weinhold
902c72f6bb
Added small clipboard test. Didn't realize that something similar did already exist in src/apps/bin. But this one can write to the clipboard, too.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 17:51:37 +00:00
Stephan Aßmus
fd78338f60
current state of test app, contains some cleanup too
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 23:08:17 +00:00
Stephan Aßmus
56b6de0768
it builds the Painter test app, feel free to review it for newbie mistakes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:08:02 +00:00
Stephan Aßmus
838f42e799
Painter test code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:58:17 +00:00
Stephan Aßmus
ee5f6d23c2
adding the Painter test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:56:25 +00:00
Ingo Weinhold
31b14cbbf8
Added dump_mime_types, a small test program that prints out all installed MIME types with several of its attributes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 01:30:41 +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
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
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
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