Ingo Weinhold
3b8715d804
Provide a way to convert FS shell error codes to host platform error
...
codes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-28 23:40:04 +00:00
Ingo Weinhold
2842773aa5
Added support for changing the host platform cwd to the cd command.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-28 21:34:54 +00:00
Ingo Weinhold
fd62d01f27
Add cp command source file too.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-28 18:48:52 +00:00
Ingo Weinhold
1137bb03cc
Added cp command.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-28 18:47:50 +00:00
Ingo Weinhold
a9a4bc6e1c
Copy'n'paste oversight.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-28 18:46:58 +00:00
Ingo Weinhold
4f7504e31e
* The command functions return actual error codes now.
...
* Added commands ln, mkdir, mkindex, rm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-28 13:13:30 +00:00
Ingo Weinhold
c94089f5db
Use vfs_lookup_vnode() instead of vfs_get_vnode() when creating a file
...
cache, so we don't run into a "vnode ... is not becoming unbusy"
problem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-28 10:56:19 +00:00
Ingo Weinhold
a49b91c957
Segfault when panic()ing -- simplifies debugging.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-28 10:54:41 +00:00
Ingo Weinhold
f7d4785d7a
Fixed debug build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-28 10:53:22 +00:00
Ingo Weinhold
ada99c21af
* Init kernel IO context.
...
* Added command management, an interactive input loop, and a few basic
commands.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-28 10:33:23 +00:00
Ingo Weinhold
90c0876839
FS shell changes:
...
* Added basic built-in module support.
* Added rootfs.
* Added "kernel" initialization.
* Exposed the FS syscalls.
* Mounting/unmounting the FS works now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-27 22:37:01 +00:00
Ingo Weinhold
4fc054f504
POSIX strdup() is not required to handle a NULL argument gracefully (and
...
it doesn't under Linux), on BeOS it has to, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-27 22:26:04 +00:00
Ingo Weinhold
c391f84b2c
* Prepared the BFS sources to be used with the new FS shell:
...
- Moved all inclusions of system headers into a new
system_dependencies.h header, which conditionally either includes
these or the FS shell headers.
- Fixed compiler warnings related to printf-like functions (int32 is
int, not long on non-BeOS platforms).
* Build a new bfs_shell. Compiles and links, but does nothing ATM.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-27 12:25:49 +00:00
Ingo Weinhold
a38a92c955
Beginnings of a new, better portable FS shell with Haiku FS interface.
...
Doesn't do anything ATM, but already provides the required system
interface (VFS, caches, POSIX functions).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-27 12:17:22 +00:00
Ingo Weinhold
6b533670b9
Fixed build on R5.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-06 16:37:36 +00:00
Ingo Weinhold
402d77f655
Small tool to update the haiku revision in a special haiku revision
...
section of an ELF object. Probably won't build under BeOS yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-06 16:30:26 +00:00
Waldemar Kornewald
35f71eb445
Fixed build under Linux. Also tested on BeOS. Fixes bug #983 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-28 12:33:12 +00:00
Marcus Overhagen
3ff2441acf
two additional savety checks
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-27 00:05:39 +00:00
Marcus Overhagen
dea33357ec
Commandline tool to write a vmware vmdk header to a haiku image file (space for the header has to be reserved)
...
Tested with VMware Player 1.0.3 on linux and works.
Can also be used to create a haiku.vmdk file from an existing haiku.image file:
rm haiku.vmdk
generated/objects/linux/x86/release/tools/vmdkheader/vmdkheader -h 64k -i100M haiku.vmdk
cat generated/haiku.image >>haiku.vmdk
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-26 23:52:57 +00:00
Marcus Overhagen
cdaaee9dba
haiku-image build fix for TARGET_BOOT_PLATFORM=pxe_ia32
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 20:29:26 +00:00
Ingo Weinhold
69b1f76d66
FreeBSD build platform support. Original patches courtesy of
...
Samuel Rodriguez Perez, somewhat hacked by myself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-29 18:08:00 +00:00
Axel Dörfler
bae87c9140
Added a new type for the vector icon format 'VICN' or B_VECTOR_ICON_TYPE.
...
It's hopefully now used everywhere instead of B_RAW_TYPE where appropriate.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-07 02:46:25 +00:00
Axel Dörfler
f23596149e
Added vector and PNG icon support to rc (PNG icons are not yet supported by the rest
...
of the system, though).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-06 12:08:24 +00:00
Axel Dörfler
33a44a136b
<build>mimeset no longer uses the native update_mime_info() call on BeOS compatible
...
platforms. Instead, it uses the (extended) Linux compatibility layer classes, so that
it supports setting vector icons as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-04 17:00:39 +00:00
Stephan Aßmus
97e01beb46
* fixed typo in comment
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:37:36 +00:00
Marcus Overhagen
83bf699b3f
some build fixes for pxe_ia32 platform
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 12:52:20 +00:00
Marcus Overhagen
456b127176
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 12:05:06 +00:00
Jérôme Duval
61b4dc2c64
improves the checks : now includes initializer, virtuals
...
style fixes
HeaderSampler.pl now outputs the good methodsynopsis content to copy/paste
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-15 13:56:32 +00:00
Jérôme Duval
71d23319cb
adapted the sampler to check for "<methodsynopsis>..." type signatures
...
fixed midi2endpoint.xml and midi2producer.xml accordingly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-15 12:18:01 +00:00
Jérôme Duval
d0641c6210
take namespace into account (they don't end with a ;)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 10:02:26 +00:00
Jérôme Duval
a18f94dc5b
added support for three lines signatures
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 09:41:08 +00:00
Jérôme Duval
226d853410
a tool to check a docbook file against a C++ header : it will output methods not found in the docbook file
...
typical command line :
perl src/tools/docbook/headersampler/HeaderSampler.pl headers/os/midi2/MidiConsumer.h src/documentation/haiku_book/midi/midi2consumer.xml
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 09:11:01 +00:00
Jérôme Duval
6032f4b737
remove useless stuff
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 20:30:53 +00:00
Niels Sascha Reedijk
e2d2cb7b5e
This finishes my docbook infrastructure.
...
It includes a change to xsltproc to accept catalog paths on the command line.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 15:52:15 +00:00
Niels Sascha Reedijk
b3472df816
Bringing libxslt to the main branch
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 14:06:18 +00:00
Niels Sascha Reedijk
fdff321087
Bringing libxml2 to the main branch
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 14:05:34 +00:00
Axel Dörfler
c5bbddb66c
The BEOS:APP_VERSION field is now also decompiled to nice plain text.
...
However, an eventual existing system version info is dropped - support for this
(also on the compilation side) should be implemented as well some day.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 15:24:11 +00:00
Axel Dörfler
0e50eab75e
Improved decompilation to support the built-in types: app_flags, app_signature,
...
file_types, mini_icon, large_icon.
Only app_version is desperately missing :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 15:03:07 +00:00
Jérôme Duval
0e8c81c72c
hey is in bin/ , kept the user guide in docs/bin/hey.html
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 08:54:19 +00:00
Axel Dörfler
4274405a4c
Even though Ingo broke the build of this tool (and mkbfs as well), this fixes a
...
stupid bug that will generally remove the last byte of any attribute.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 20:15:19 +00:00
Stefano Ceccherini
927a84f8f6
mkindex wasnt' built, so install-haiku failed on systems different than beos. Now it fails because it doesn't know what BEOS:APP_SIG is. I have no idea how to fix that problem, please someone have a look.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-01 22:32:23 +00:00
Axel Dörfler
622e9392f5
Not useless at all, fixed build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 13:38:22 +00:00
Jérôme Duval
04a5721e65
storage headers useless
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 08:04:52 +00:00
Jérôme Duval
422f5908e8
<build>mimeset now builds with resources on beos compatible platforms
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-09 19:21:15 +00:00
Axel Dörfler
a4f6a81235
Forgot to commit the updated "rc" to make AddRevisionToResources work:
...
* "rc" now accepts stdin as input file when "-" is used as a file name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 22:29:54 +00:00
Ingo Weinhold
04fcc147ca
* Small fixes.
...
* Added --dry-run option for paranoid ones like me.
* Added support for making partition devices bootable under Linux (x86, BIOS).
When specifying respective values for HAIKU_IMAGE_{DIR,NAME} ("/dev" and
e.g. "sda7") a "jam haiku-image" will now replace the contents of your
favorite partition with a fresh Haiku installation. BE WARNED: This is nothing
for the faint of heart and I don't guarantee that my implementation is bug-free
and won't mangle the contents of your hard disk even if you use it correctly.
That being said, note that you'll probably have to run the "jam haiku-image"
as root, if you want to access the partition devices, which is a bit annoying.
Furthermore, if the build_haiku_image script fails for any reason, jam tends
to remove the image file, which in this case would be a partition device node.
The mknod command will be your friend in this case.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 01:50:50 +00:00
Ingo Weinhold
7aa7880955
Build mimeset for the build platform and use it for the apps we build.
...
This fixes bug #74 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 22:02:48 +00:00
Ingo Weinhold
5615edfd4d
The server lazily opens the disk image now and closes and reopens it
...
when receiving a HELLO request. Thus it doesn't need to be restarted
when the image had been rebuilt. That was a bit annoying...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-30 03:34:37 +00:00
Ingo Weinhold
f84d7234a7
Moved jam into the buildtools modules, where it belongs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-29 18:40:48 +00:00
Ingo Weinhold
9980540b63
Added a little server implementing the "remote disk" protocol featured
...
by the boot loader.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-27 22:03:27 +00:00
Ingo Weinhold
98d294ceb6
Added dummy makebootable for boot platform Open Firmware. Just
...
to make the build system happy for now. We'll see later what we
have to do.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-07 22:34:01 +00:00
Ingo Weinhold
2ae568931f
Reworked the way how the gensyscalls stuff finds out about
...
the sizes and alignments of syscall parameters. It no longer
generates and compiles functions with the same signature as the
syscalls. This simply doesn't generally work for cross-compilation.
Instead we provide a bit of architecture-specific code that knows
how things work for the target architecture.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-28 12:53:55 +00:00
Ingo Weinhold
c7b36669c2
Moved bin2h and bin2asm to src/tools/misc (no longer added to the
...
build). We don't really need them any longer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-26 23:34:05 +00:00
Ingo Weinhold
3843df8eba
Don't use host include options with the target compiler.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-18 23:23:04 +00:00
Ingo Weinhold
758b1d0e05
Fixes that make Haiku build with gcc 4. Mainly out of the following
...
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
Otherwise the an inner class with that name is considered as friend.
gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-12 23:27:14 +00:00
Ingo Weinhold
155b583ac3
Fixed unit tests build for platforms libbe_test and r5. Only randomly tested
...
a few whether they actually work.
New pseudo target "unittests", which builds all unit tests for the currently
set TARGET_PLATFORM. They are placed in generated/tests/<platform>/unittests.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-09 16:17:31 +00:00
Axel Dörfler
5f5dfa87e1
Applied our style guide.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-08 10:35:41 +00:00
Axel Dörfler
d29f332ad4
"rc" should now produce R5 compatible flattened messages on Dano and Zeta.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-08 10:18:00 +00:00
Stephan Aßmus
1ce9b0cb59
fix build of rc under ZETA
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-01 12:44:40 +00:00
Ingo Weinhold
94978fa6a7
Renamed token type TYPE to RTYPE, so that the generated define won't conflict
...
with Dano's <Message.h> header. Reverted usage of Haiku headers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-31 14:18:03 +00:00
Axel Dörfler
bd65facedb
Fixed build of "rc" under Dano and probably Zeta.
...
If someone (Ingo) has a better solution, please yell :-)
The error output was strange:
C++ generated/objects/r5/x86/release/tools/rc/parser.o
In file included from /boot/home/develop/haiku/haiku/src/tools/rc/parser.y:26:
/boot/develop/headers/be/app/Message.h:38: parse error before `>'
/boot/develop/headers/be/app/Message.h:39: parse error before `>'
/boot/develop/headers/be/app/Message.h:54: template with C linkage
/boot/develop/headers/be/app/Message.h:54: confused by earlier errors, bailing out
gcc -c "generated/objects/haiku/x86/common/tools/rc/parser.cpp" -O2 -Wall -Wmissing-prototypes -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar -Wno-sign-compare -Wno-unused -include src/tools/rc/R5Compatibility.h -D_ZETA_USING_DEPRECATED_API_=1 -DARCH_x86 -D_NO_INLINE_ASM -DCOMPILE_FOR_R5 -Isrc/tools/rc -Igenerated/objects/common/tools/rc -Igenerated/objects/r5/x86/common/tools/rc -Igenerated/objects/haiku/x86/common/tools/rc -I- -o "generated/objects/r5/x86/release/tools/rc/parser.o" ;
...failed C++ generated/objects/r5/x86/release/tools/rc/parser.o ...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-30 21:03:11 +00:00
Ingo Weinhold
338b8dc301
Merged changes from branch build_system_redesign at revision 14573.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 16:27:43 +00:00
Andrew Bachmann
6b0cd2601e
update to use OBOS_TARGET
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 21:06:07 +00:00
Andrew Bachmann
ae124a62f8
search all possible directories for rc. build patch for missing uname.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-20 20:45:29 +00:00
Jérôme Duval
acdf6df22c
rc was moved to objects
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-11 12:33:16 +00:00
Axel Dörfler
c64fca3e22
Made copy_to_bfs_image compile and work again after Ingo's changes to
...
the fs_shell (some months ago, but no one noticed yet)...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 14:07:49 +00:00
Ingo Weinhold
687d231c5f
Fixed the rc build. Sorry for the inconveniences.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-04 11:16:03 +00:00
Ingo Weinhold
ea6253d0ba
rc is a build platform tool and should be built as such.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-03 16:47:26 +00:00
Jérôme Duval
40f44c2298
fixed jam build on R5, hopefully it's still working on Zeta ...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-01 10:00:39 +00:00
Axel Dörfler
0b2dbe7d46
Someone wrote the argument parsing code that may set argv[i] to NULL...
...
Patch submitted by Philipp Schmid.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-30 20:42:35 +00:00
Marcus Overhagen
77a63c75c4
fixed jam build on Zeta
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-29 23:51:45 +00:00
Ingo Weinhold
7e5f681ff4
Check the BApplication construction error.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-28 14:48:26 +00:00
Jérôme Duval
0e16d351bf
Reverted Jambase to keep jam compatibility
...
StaticLibraryFromObjects is a copy-paste of LibraryFromObjects without grist on source files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-17 11:41:18 +00:00
Jérôme Duval
1cc148a946
added opengl to SetupInclude
...
StaticLibrary now accepts static libraries to include (note that jam should be rebuilt)
LibraryFromObjects doesn't FGristFiles now, but Library does
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 15:22:55 +00:00
Jérôme Duval
4fadb30230
Fixed --> when at least two call forms are listed (thanks to axeld for reporting this)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 16:03:00 +00:00
Jérôme Duval
4a0c02c9d0
removed suffix in MANREFPRINTF (XML is only IDs based). this could break on non-XML outputs (we don't care).
...
added a para close tag when using refsect2
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 13:30:53 +00:00
Jérôme Duval
1ea5e6a028
Cleaned manref ids, in the end tools document filenames are cleaner
...
Commented out Name and Synopsis, they are useless in our case
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-25 16:18:28 +00:00
Axel Dörfler
db4227c6ac
rc now also builds under R5 with TARGET_PLATFORM haiku.
...
Since we currently use the same build for the host and for the target,
this is only a temporary fix - we should build it twice.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-23 13:16:43 +00:00
Axel Dörfler
8a326af7d2
"PUSSY_CODER_STYLE" is now the default (like in deres, and matching our basic
...
C++ style guide).
Prepared switching of open-brace-style via command line arguments.
rc meets our coding style guide.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-23 04:27:36 +00:00
Axel Dörfler
8a9b1cbb9f
No longer uses out.rsrc/out.rdef as output names when no output filename was
...
given - it now uses the name of the first input file as a basis and exchanges
the extension (if any).
Fixed some potential buffer overflow bugs.
More style guide cleanups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-23 03:34:07 +00:00
Axel Dörfler
ff174c960a
Accidently added some debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-23 03:32:35 +00:00
Axel Dörfler
38bf65769c
A first hello to our style guide.
...
Also fixed a small bug: instead of the directory of the source file, the current
directory was added as include directory which caused problems with our build
system (libtracker.so).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-23 03:12:44 +00:00
Axel Dörfler
fdb1daab5a
librdef.so is no longer built; we now use a static library.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-23 03:11:08 +00:00
Jérôme Duval
f62b833c30
moved pseudo target
...
upgraded to docbook 4.2
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 02:00:18 +00:00
Jérôme Duval
c45801ff45
moved Man2doc rules
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-13 15:43:18 +00:00
Jérôme Duval
cdd6a06ac5
Added quotes for MkDir1, allows spaces in directory names
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-20 17:55:21 +00:00
Jérôme Duval
ee63cc6e30
variablelist needs varlistentry
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-19 16:20:49 +00:00
Jérôme Duval
bb02230989
added some useful macros
...
I didn't manage to define this in the Jamfile (anyone, feel free to fix this)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-14 16:28:07 +00:00
Jérôme Duval
d0f052be51
added PolyglotMan 3.2 from http://polyglotman.sourceforge.net/
...
added rules to produce xml from man pages
still to be sharpened :
xml files could only be objects but they are located in distro ATM
users don't read xml AFAIK, so final documentation is to be reworked
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-14 16:10:58 +00:00
Axel Dörfler
99cd375fb3
Another round of build fixes, courtesy of Philipp Schmid.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-13 17:38:05 +00:00
Axel Dörfler
900849fa0d
Since objects/.../system/kernel is now a directory, the kernel target is now
...
called kernel_${arch} like on disk. A "jam kernel" will still work, though.
Also updated all those Jamfiles I forgot to update before.
Since makehdimage now runs through (and even builds a working image), I guess
most of the consequences of the "kernel/core" -> "system/kernel" rename task
are solved.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-13 14:49:55 +00:00
Ingo Weinhold
ff241c23eb
Install the StatCacheServer, too.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-31 10:40:42 +00:00
Axel Dörfler
61ad5bc2e7
Fixed various problems with the latest stdbool.h changes, including stdbool.h itself:
...
- SupportDefs.h only includes stdbool.h if included from C
- stdbool.h for C++ now includes a macro for "bool" as defined by that header
- stdbool.h does nothing if __bool_true_false_are_defined is already defined
- stdbool.h no longer defines a _Bool enum, but defines _Bool as unsigned char, as
previously done by SupportDefs.h (the previous version changed the size).
- The gensyscalls Jamfile now preprocesses its headers in C++ mode so that "bool"
stays "bool", and doesn't become _Bool.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 18:01:40 +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
46c1b0d6db
The bin/ directory has been moved out of apps/.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 01:10:29 +00:00
Ingo Weinhold
50ff751805
* Don't use int32 in sources to be compiled for the build platform
...
(Daniel Furrer).
* The strace interface for the generated file changed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 22:30:50 +00:00
Ingo Weinhold
3f38375acc
Write return and parameter type names into the generated strace file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 12:33:49 +00:00
Ingo Weinhold
747fcbd3e0
We generate two more files now: A simple array with the kernel function
...
pointers and overall parameters size for the kernel and some more
sophisticated code for strace.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:53:31 +00:00
Ingo Weinhold
ee524c9864
We now also store the names of syscall parameters. This is used for strace. Well, not yet, but it would make a nice extension. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:51:08 +00:00
Axel Dörfler
10b863b604
No longer assumes to be on a BeOS platform.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 23:12:36 +00:00
Ingo Weinhold
8dbd1340a3
Added resattr, a small tool that converts resources into attributes and vice versa.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 01:24:09 +00:00
Ingo Weinhold
3f6a966e41
I apparently misunderstood Matthijs. This re-adds the app version.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 17:15:57 +00:00
Ingo Weinhold
2d4896f90e
Simplified as suggested by Matthijs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 15:54:40 +00:00
Ingo Weinhold
eea1d4c47d
Add the resources to the StatCacheServer, so that it is a background app.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 15:39:38 +00:00
Ingo Weinhold
f08f5b9bd3
Make the server a BApplication for a smoother shutdown (I've never
...
experienced this problem, but others have). Original changes by Axel,
though edited quite a bit by myself.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 15:38:12 +00:00
shatty
55e6dc7beb
address compiler warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 18:22:53 +00:00
Axel Dörfler
b1318016f9
Fix the build of copy_to_bfs_image by using the R5 compatible BFS
...
version in tests/.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 11:23:17 +00:00
shatty
adde77da57
suppress "mem_list leaks" messages when the number of objects is zero
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 02:01:39 +00:00
Ingo Weinhold
135df065c1
Extremely bad idea: Since the inline stat() is not static, we get a endless recursion, if the server is not running. Fascinatingly this doesn't happen on R5, but at least on BONE (with the same executable) -- correctly, I would think. Apparently a bug in the R5 loader.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 23:52:15 +00:00
Ingo Weinhold
da434e3af1
Added the bootstrap jam.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 23:23:34 +00:00
Ingo Weinhold
568dabdb50
Added a server that caches stat data and directory contents.
...
To use this feature run StatCacheServer somewhere in the background.
The first run of jam will be slower, but subsequent ones will usually
benefit. Only little, if the BeOS FS cache is able to hold the data,
but as soon as the number of files and directories jam has to inspect
hits the limit at which the cache drops data needed for the next run,
the performance difference will be very noticeable.
E.g. the time for a "jam -n > /dev/null" in the root of a partially built
tree on my machine dropped from >1 min without the server to 13 secs
with it (not in the first run, of course).
Although tested quite a bit, I would still consider the feature
experimental.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 23:21:59 +00:00
Ingo Weinhold
49336e9ab1
Generated file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 23:02:00 +00:00
Ingo Weinhold
fc64fadfd7
Argh! No wonder, why the Jamfile cache didn't seem to have any effect:
...
A bug in the function reading the cache file caused everything after a
file beginning with an empty or comment line to be ignored. Since our
Jamrules begins with a comment and only after reading Jamrules the cache
starts to work anyway, it indeed had no effect at all.
Added some error output in case reading the cache file failed, so that
this can't happen unnoticed again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 12:19:13 +00:00
Ingo Weinhold
0eddefbe02
With our new gcc 2.95.3 we need to explicitly link against libnet.so again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 12:08:24 +00:00
Ingo Weinhold
1f90f9aa63
We do now also generate a header file that defines macros for the syscall numbers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 23:28:57 +00:00
Oliver Tappe
17753fd375
- added missing initialization of fInUse such that setting up a threaded
...
test won't fail randomly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-13 15:52:46 +00:00
Ingo Weinhold
15f030fd16
Now lines starting with "# <number>" are skipped. This should fix problems when using a gcc 3.x preprocessor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-11 14:07:18 +00:00
Ingo Weinhold
f740226bcd
Removed unnecessary include.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-11 14:05:05 +00:00
Ingo Weinhold
b9f857f16f
os/support headers not needed anymore.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-11 14:04:08 +00:00
Ingo Weinhold
2cfbe8a086
Added missing include.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 23:14:59 +00:00
Ingo Weinhold
91a4796939
No need to define the types here, since arch_config.h now uses C types.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 23:14:18 +00:00
Ingo Weinhold
d5ea40e2bd
Use the build platform libstdc++.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 23:13:09 +00:00
Axel Dörfler
be2703cb09
GCC 3 fixes. Doesn't work yet for some reason.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 18:29:52 +00:00
Axel Dörfler
8ad7344829
gensyscalls.cpp should now build under Linux again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 15:40:12 +00:00
Ingo Weinhold
d21749db83
Fixed a problem we had with bool parameters (probably with all types that consume more storage when being passed as function parameters).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 20:17:57 +00:00
Axel Dörfler
6169bb1f81
Added missing copy_to_bfs_image to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-30 23:30:19 +00:00
Ingo Weinhold
efd87ab8df
Had to change the mechanism for automatically generating most of the
...
boring syscall stuff. It has two phases now: The first one
(gensyscallinfos) parses syscalls.h and generates a source file containing
all the required information. This file is compiled and linked to
gensyscalls, which generates the actual output files.
Added to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:26:52 +00:00
Ingo Weinhold
a8ca1ab348
Completed. Properly generates the desired outputs now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-22 10:30:45 +00:00
Ingo Weinhold
2e463a12a9
The beginnings of a small tool to parse syscalls.h and generate the assembly file performing the calls and the respective part of kernel syscall dispatcher. The parsing part is done.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-22 00:06:00 +00:00
Oliver Tappe
c7000cc7b3
- fixed some issues when compiling with gcc-2.95.3. At least three more
...
problems remain, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-21 08:55:12 +00:00
beveloper
ed942695d6
added more targets to the "MediaKit" jam target
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 14:34:13 +00:00
mahlzeit
ca0206bf09
The (new) definition of id_t in sys/types.h conflicted with my own
...
id_t. Renamed mine to res_id_t.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-09 18:58:24 +00:00
mahlzeit
d7105e5d8b
Makefile now also uses parser.hpp instead of parser.cpp.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 16:02:12 +00:00
Jérôme Duval
a235dd1ea1
moved from .cpp.h to .hpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 23:29:08 +00:00
mahlzeit
87ffc773c1
There was an "u" missing. Thanks Axel ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 12:49:53 +00:00
mahlzeit
7850c907e6
Haiku be thy name.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 09:01:16 +00:00
Ingo Weinhold
8485888933
This should be a bit nicer: Just maintain the grist of the supplied
...
target instead of using the one from the current subdir. Should make
no difference in practice but is more correct this way.
BTW, fixes should rather go into a fixes branch to keep them separate
from new/changed features that won't be included into Perforce jam.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 20:20:15 +00:00
Jérôme Duval
2b7af43246
Fix to be able to build apps/bin/flex/parse.y when there is another parse.y in the tree.
...
Ingo, please change this if there is a better solution, thanks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-14 09:20:07 +00:00
Axel Dörfler
3b183ea392
It now has to use kernel_interface_r5.cpp instead of kernel_interface.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 08:37:14 +00:00
Axel Dörfler
f475c9696b
Fixes the build under R5.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 01:50:46 +00:00
Axel Dörfler
0692dc0cdd
Fixes the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 17:00:27 +00:00
mahlzeit
7513f62a98
Removed compiler warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 14:44:01 +00:00
Axel Dörfler
69a19e8844
Now supports creation of the target path if necessary.
...
Now supports renaming while copying if another target name was given.
Forgot to add license (applies for previous versions as well).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 02:38:37 +00:00
Axel Dörfler
ab647990dc
Now preserves the st_mod of the copied file.
...
Improved output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 01:44:59 +00:00
Axel Dörfler
b9523fa3ef
Wrote a simple tool to copy files to a BFS image from a shell. Internally,
...
it uses the fs_shell offerings to provide that functionality.
This tool allows to overcome the BeOS cache bug that happens as soon as you
mount a file system image; when you write the files onto an image using this
tool, you will be able to use it in Bochs (or other such uses) directly
without a reboot.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 00:00:57 +00:00
Matthew Wilber
85eea08ac9
decreased whitespace between files, modified error message text
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 00:35:57 +00:00
Matthew Wilber
1c47da1361
Initial check in for pnginfo, command line program for displaying info about PNG image files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 00:05:21 +00:00
Matthew Wilber
7678994136
Added pnginfo tool
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 00:03:34 +00:00
Stefano Ceccherini
5cfa0d90a5
This should fix the build of jam under linux (and gcc 3.2.2). At least, it wasn't building here.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-08 07:59:47 +00:00
Ingo Weinhold
1b89aa98ff
Made the Unit test stuff a bit more mwcc/mwld friendly. It still doesn't build right out of the box with our build system, but with a few changes to the build system it can be done (I'm not going to do that, though).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 21:38:04 +00:00
Ingo Weinhold
aa94570a34
Changes to make the CPPUnit build on PPC (with mwcc *shudder*).
...
Courtesy of Oliver Tappe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-17 19:57:58 +00:00
Ingo Weinhold
906937de1b
Added missing include. Compiles on PPC again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 21:54:07 +00:00
Ingo Weinhold
02f13c4aae
The header and the jamfile cache both normalize the paths of target files now. This should avoid that jamming from another directory invalidates teh cache due to differing relative paths.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 01:31:08 +00:00
Ingo Weinhold
74c89bd7f8
Added a normalize_path() function, that does a certain normalization of paths.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 01:29:19 +00:00
Ingo Weinhold
75bf6e0e81
Generated file changed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 23:33:56 +00:00
Ingo Weinhold
1c58cd91a4
Fixed header scanning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 23:33:00 +00:00
Ingo Weinhold
64c02ff8ac
Fixed SubDir rule.
...
WARNING: Don't use this jam version yet! Header scanning is still
completely broken.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 23:04:12 +00:00
Ingo Weinhold
7b0cd0ecb0
A jumptoeof must fall through rule invocations as well.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 23:01:34 +00:00
Ingo Weinhold
59f2d9c1c7
Updated to reflect changes relative to jam 2.5rc3.
...
NOTE: The current HEAD version is almost untested. After merging in the
2.5rc3 changes it had been quite a bit of work to make the beast compile
properly again. Only very little testing has been done yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-05 00:15:38 +00:00
Ingo Weinhold
707a00af04
Merged in the jam2.5rc3 changes and fixed conflicts with patches.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-05 00:06:33 +00:00
Ingo Weinhold
6a355c53af
This commit was generated by cvs2svn to compensate for changes in r6498,
...
which included commits to RCS files with non-trunk default branches.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-04 21:44:27 +00:00
Matthew Wilber
dae7c017c5
Initial check in for bmpinfo, a program that displays the header information from BMP image files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-14 01:42:30 +00:00
Matthew Wilber
06a2af8a70
added bmpinfo (shows info about BMP image files)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-14 01:39:57 +00:00
Niels Sascha Reedijk
5e821a67af
Remove the resize box from a non-resizable window.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 20:21:56 +00:00
Niels Sascha Reedijk
2743316489
Fixed bug [ 865891 ] Strange Scrollbar Layout in "Inspector"
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-04 11:57:26 +00:00
shatty
5d71fdcbf3
added #include <StorageDefs.h> to fix missing B_READ_ONLY
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 13:09:29 +00:00
mahlzeit
0ebe713837
Whoops! One of the parser rules was incorrect, making this impossible:
...
resource app_flags B_FOO | B_BAR;
Sloppy, because allowing this was the reason for making these changes
in the first place ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-22 16:52:14 +00:00
mahlzeit
eed2e48e69
Release 1.1
...
- added symbolic constants
- added simple expressions
- cleaned up docs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-22 16:01:04 +00:00
Ingo Weinhold
8c470cd758
Made use of the new parameter of *SymLink and adjusted dependencies where
...
necessary.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-02 22:05:41 +00:00
ejakowatz
1451b7398c
Removing place holder.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-02 06:35:00 +00:00
ejakowatz
a140b8cb6d
Placeholder file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-02 06:33:35 +00:00
Ingo Weinhold
257e63ba7f
Added support for asserting debugger() calls. The macro CPPUNIT_ASSERT_DEBUGGER shall be used in that case.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 00:45:18 +00:00
Ingo Weinhold
d55fa82ca2
Added elfsymbolpatcher.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 00:39:15 +00:00
Ingo Weinhold
e79e4e7c9e
A little library for patching symbols at runtime.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 00:38:35 +00:00
Matthew Wilber
f1d75a87bd
Added -pixels option to dump pixel info to stdout and changed to accept multple input files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-09 18:41:37 +00:00
Matthew Wilber
735e7442a8
Changed to accept multiple command line parameters, added reading of extension info
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 15:30:57 +00:00
Matthew Wilber
d61900aaa1
Initial check in for tgainfo, a command line program for displaying information about TGA image files. Useful for debugging the TGATranslator.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-07 04:39:21 +00:00
Matthew Wilber
f05b9fa836
added tgainfo command line tool
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-07 04:37:33 +00:00
Ingo Weinhold
b79e5b6020
Fixed building of libcppunit.so.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-30 21:02:21 +00:00
Axel Dörfler
2b3e9b28d6
Added bin.linuxppc to the ignore list
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 15:51:52 +00:00
Ingo Weinhold
66abd4d0a6
Fixed a few warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 21:36:38 +00:00
shatty
5517b3034e
ignore bin.beosx86
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 09:34:51 +00:00
shatty
4b45d1a25c
include StorageDefs.h for B_WRITE_ONLY and related friends
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:38:48 +00:00
Matthew Wilber
58f77562c6
added dumping of input / output formats to Info Window
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-19 17:52:23 +00:00
Matthew Wilber
374c8f77d5
resolved memory leak which occured everytime the user switched pages or opened a new image
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-19 04:13:12 +00:00
Matthew Wilber
fc54fa7117
reset selected document to 1 when new image is selected so that if the number of documents between the old image and the new image varies, it will not say that the new image can't be loaded
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-19 00:44:45 +00:00
Matthew Wilber
095b7731f4
added support for multiple images in a single stream, such as in multi-page TIFF files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-09 03:21:20 +00:00
Matthew Wilber
e5ef530596
The ActiveTranslatorsWindow now allows you to select which Translators to be loaded, added ShowImage-like border around the image, changed a few member variable names to be more readable
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 20:31:31 +00:00
Matthew Wilber
d1360823ff
Added beginnings of Active Translators window -- allows the user to select which translators will be active when an image is opened or saved
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 03:48:17 +00:00
Matthew Wilber
d1de8bd2d4
info window now shows useful information about the currently open image. This information includes bitmap colorspace and dimensions, image type and translator name and version
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-26 03:25:51 +00:00
Matthew Wilber
ce5a2573d3
added beginnings of InfoWindow -- window that displays as much info as possible for currently open document
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:20:43 +00:00
DarkWyrm
cd902621dd
Minor patch to unbreak the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 21:01:57 +00:00
Matthew Wilber
8cfb94cd04
removed tracker to app user feedback, added comments
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-21 02:15:47 +00:00
Matthew Wilber
ca699cf3d4
initial check in for Inspector - image viewer (and later on, hopefully documents in general viewer) for developers of Translators and users of the Translation Kit in general
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 22:23:58 +00:00
Matthew Wilber
ce189e5c0b
added Inspector
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-20 02:48:47 +00:00
Matthew Wilber
b87195f2a4
added signed types, fixed printing for unsigned types, added more detail for some fields, other minor improvements
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-15 02:42:04 +00:00
Matthew Wilber
cb455797b8
Now, stxtinfo reads the "styles" attribute that StyleEdit uses. So, this program can now be used to see information about what text styles are used in a text file created by StyledEdit. Also, it still can read the Be styled text format that the STXTTranslator works with.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-30 00:19:47 +00:00
Matthew Wilber
d7be1587b7
initial check in for stxtinfo, a command line program to display information about Be styled text data
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 17:55:27 +00:00
Matthew Wilber
8ceceb19ed
added stxtinfo
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 17:53:26 +00:00
Matthew Wilber
8e2f0a9a0a
added checking and printing of magic number, printing of bounding rectangle, changed member names to be more descriptive
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 16:44:28 +00:00
Matthew Wilber
4409942491
added macro to eliminate the chance of typos in the name strings and thus fixed at least one copy/paste error
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 01:34:46 +00:00
Matthew Wilber
610eca212f
initial checkin for tiffinfo, a command line tool for displaying information about TIFF image files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:55:52 +00:00
Matthew Wilber
069801512a
initial check in for bitsinfo, a command line tool for displaying information about Be bitmap images
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:54:51 +00:00
Matthew Wilber
a5c45f9618
initial check in for translation tools directory, contains bitsinfo and tiffinfo tools
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:52:57 +00:00
Matthew Wilber
4e2b1a4594
added translation subdirectory for tools used in developing translators
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:51:23 +00:00
mahlzeit
e664742f9d
- added import statement
...
- resources can now have fixed sizes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-06 12:10:42 +00:00
mahlzeit
f6afc7c611
When compiling multiple input files, the line number counter
...
was not reset correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 10:24:04 +00:00
Ingo Weinhold
4d95f6c63c
Worked around a problem with mwcc.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 00:15:44 +00:00
Ingo Weinhold
6ef929c392
Merged in changes from vanilla fixes branch.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:29:44 +00:00
Ingo Weinhold
cf838755a9
Added rc to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:01:09 +00:00
mahlzeit
285c7c7335
Import of rc and librdef 1.0
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 15:18:36 +00:00
beveloper
7120e97489
a small tool to print files that consist of a flattened BMessage
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 23:20:24 +00:00
Ingo Weinhold
9bfac2505c
To remove empty and comment lines from the Jamfile cache sounds like a nice idea, but it fools the line counter and thus makes error and warning messages a quite confusing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 19:18:25 +00:00
Ingo Weinhold
b229fec87b
Added support for multiple BTestHandlers in a BTestApp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 12:55:09 +00:00
Ingo Weinhold
3a361cfe8d
Added jamfile caching.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 00:35:19 +00:00
Ingo Weinhold
05c57717ee
Changed MAXLINE back to its original value.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 00:34:10 +00:00
Ingo Weinhold
d78319516e
Removed superfluous search() in compile_on().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 00:30:51 +00:00
Ingo Weinhold
9079f971cf
Added items for the recent changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 00:29:37 +00:00
Ingo Weinhold
9c0149e2c8
Added jamfile caching to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 00:28:20 +00:00
Ingo Weinhold
14911e19ca
Added Matt Armstrong's header caching (based on an implementation by Craig McPheeters).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 18:52:35 +00:00
Ingo Weinhold
4ed788defa
Changes to the original Jam version.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 18:48:41 +00:00
Axel Dörfler
339b7d7547
Our libroot.so starts to be too big for jam... (until that is fixed, we
...
need this patch in place to keep the thing building).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-03 02:16:39 +00:00
jerl1
e690855c7b
*** empty log message ***
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-20 11:36:24 +00:00
Tyler Dauwalder
03f8be561d
Added initial timing support. Individual test cases now display run time
...
information for verbosity >= v2. I'll probably add a command-line
toggle specifically for timing info someday. I also hope to add per-test
and per-suite run time info eventually as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 04:50:56 +00:00
Tyler Dauwalder
c5ff4aa6f5
It became apparent that in order to assure obos tests are run
...
with obos libs and r5 tests are run with r5 libs, two separate
unit testing programs in different directories would be needed.
Thus UnitTester is now just a shell program that calls the
appropriate unittester/UnitTester or unittester_r5/UnitTester_r5
program.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 03:45:17 +00:00
Ingo Weinhold
1007bf167d
Added B_BAD_TEAM_ID to known error codes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:25:02 +00:00
Ingo Weinhold
70c87ab1f9
Merged in changes for fixes to PPC support from vanilla branch.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 20:55:39 +00:00
Tyler Dauwalder
21791a4472
Added my favoritest error code ever to DecodeResult()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:06:38 +00:00
Tyler Dauwalder
3f6453cd59
Added v4 verbosity level
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 00:12:02 +00:00
Tyler Dauwalder
242a6db230
Changed TestApp to BTestApp for sake of consitency with
...
the rest of the test classes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 22:27:43 +00:00
Ingo Weinhold
b4793125a8
Fixed warnings (method shadowing).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 00:51:08 +00:00
Tyler Dauwalder
a6b33ea3de
+ Moved BAutolock and BArchivable over to new testing framework.
...
+ Added ability to specify entire suites to the UnitTester program.
+ BAutolock and BArchivable tests now use CPPUNIT_ASSERT, but BLocker
tests crash for some unknown reason with said assertion, so plain old vanilla
assert() is still used. I'll look into this later.
+ BArchivable tests that try to load a RemoteTestObject are failing
because the resource file doesn't appear to be linked into
libsupporttest_RemoteTestObject.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 06:45:28 +00:00
Michael Phipps
a17c6b5131
Checkin per Jason Vandermark.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:16:28 +00:00
Michael Phipps
eac95b9746
Commit per Jason Vandermark.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:15:19 +00:00
Tyler Dauwalder
aad997bd6c
Finished migrating Storage Kit tests to new framework.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 01:03:19 +00:00
Ingo Weinhold
16b9077c10
Stupid me. Forgot to check in the generated file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 17:35:00 +00:00
Ingo Weinhold
a610fc7459
Merged vanilla branch into main trunk.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 17:18:28 +00:00
Tyler Dauwalder
d1f6c38f0d
Unit testing update:
...
- Verbosity is now honored globally
- Added BTestCase::Outputf()
- Migrated BNode, BStatable, BDirectory, and BPath tests
- Added CommonTestLib, TestLib, and R5TestLib rules to Jamrules
- Updated Jamfiles for unit testing stuff
- Probably a few other things I've forgotten
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 10:50:55 +00:00
Ingo Weinhold
12aa5123e4
Changes in generated files due to modification in Jambase and jamgram.yy.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:53:12 +00:00
Ingo Weinhold
e96d98165c
Added jumptoeof to grammar.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:50:11 +00:00
Ingo Weinhold
fe9731da66
* Added parse_jumptoeof() to set the jumptoeof flag and parse_shall_skip() to
...
get it.
* Adjusted parse_file() to terminate when jumptoeof was invoked and reset the
jumptoeof flag.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:49:03 +00:00
Ingo Weinhold
5f2a792b63
* Added compile_jumptoeof() as parsing hook for jumptoeof.
...
* Adjusted compile_rules() to terminate once jumptoeof was run.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:44:36 +00:00
Ingo Weinhold
e73bb7c88e
Added support for always reading the whole Jamfile tree, even when invoking
...
jam in a subdirectory:
* Adjusted SubDir to include the root Jamfile, if invoked from a subdir.
* Added LocalClean and LocalDepends, which work similar to Clean and Depends,
but have no effect, when called from a Jamfile that is not in the tree of
the current subdirectory. Replaced the Clean/Depends invocations with
LocalClean/LocalDepends where necessery.
* Added FIsPrefix which is a support rule for LocalClean and LocalDepends.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:42:02 +00:00
Tyler Dauwalder
3401b538ed
Added TestSuite
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:51:17 +00:00
Tyler Dauwalder
c577d5b5f4
Rewritten completely; designed to work with new framework
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:50:53 +00:00
Tyler Dauwalder
6c3b4a051f
Added code to honor BTestShell::Verbosity() levels when outputting
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:50:13 +00:00
Tyler Dauwalder
20a45908ba
Added dynamic test loading, plus a hack to allow global access to a BTestShell var
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:49:34 +00:00
beveloper
4aec725457
Taking the address of a temporary is a bug, even if it seems to work fine.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 01:31:18 +00:00
Ingo Weinhold
0186b32eac
Build hey.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:47:31 +00:00
Ingo Weinhold
d7caef315e
hey.c -> hey.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:47:10 +00:00
Ingo Weinhold
1ab5344ac7
Removed jam from the build. It doesn't make sense to build the build tool regularly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:45:31 +00:00
Ingo Weinhold
0702d16ff6
That's the price to pay for having generated files in the CVS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:43:37 +00:00
Ingo Weinhold
ab8f576120
In case '.' isn't in PATH...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:42:11 +00:00
Ingo Weinhold
7b26da89fc
Set sane variable values for BeOS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:41:22 +00:00
Ingo Weinhold
47e9aba348
Merge from the vendor branch. Now we've got the real version.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:37:57 +00:00
Ingo Weinhold
8e5bbc1f49
It wasn't a good idea to remove Jamfile...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:36:08 +00:00
Ingo Weinhold
aa398c8e2c
Initial revision
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:29:12 +00:00
Ingo Weinhold
0bb69689e4
Removed in preparation for jam import.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:28:33 +00:00
Tyler Dauwalder
edcba68313
Added SemaphoreSyncObject, remove SafetyLock
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:31:23 +00:00
Tyler Dauwalder
0a99bdf489
Fixed multithreaded NextSubTest() output problems
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:30:45 +00:00
Tyler Dauwalder
b7ac06cfaa
Semaphore base SyncObject
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:28:41 +00:00
Tyler Dauwalder
4dd5a911be
Rhymes with BAutolock... :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:27:54 +00:00
Tyler Dauwalder
e832976e05
Updated to match changes to src/tools/cppunit/
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@79 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:39:36 +00:00
Tyler Dauwalder
03aa30ce94
Big CppUnit Update
...
+ Initial threaded test support
+ Integrated CppUnitShell code into TestShell
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@77 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:31:07 +00:00
Tyler Dauwalder
e5c292c0c9
Not currently used or integrated into other files, thus removed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@76 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:30:03 +00:00
Ingo Weinhold
25d7f21603
Typo: key -> hey.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@33 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:07:35 +00:00
Ingo Weinhold
533dbf2142
Adjusted to the new tree structure.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@20 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:43:03 +00:00
ejakowatz
52a3801208
It is accomplished ...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00