Commit Graph

618 Commits

Author SHA1 Message Date
Ingo Weinhold
0ba49c35b3 * BuildPlatformMain supports overriding HOST_LIBROOT on the target now,
so one can set it to the static libroot, if desired.
* Generic attribute emulation:
  - Added build tool rm_attrs, a simple "rm" replacement, which also
    removes the attributes directory for a given file.
  - Added build/scripts/rm_attrs shell script, which wraps the
    invocation of the rm_attrs tool. If it doesn't exist yet, the
    ordinary rm is used.
  - The RM jam variable refers to the rm_attrs script now, i.e. whenever
    something is removed by the build system, the attributes are removed
    too (if the build tool has already been built, that is).
  - Removed the shell function attrrmrf() in build_haiku_image. We use
    the rm_attrs tool instead, if necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-22 21:05:03 +00:00
Ingo Weinhold
c852f04a83 "rm" was leaking the dir FD when failing to read from the dir.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-20 13:34:23 +00:00
Stephan Aßmus
55ef60a5ae * Removed the Copyright image/rendering.
* Fixed the icons image, it was upside down.
* Support the new 24 bit boot screen images in the boot_loader and the kernel.
* Prepare the code for future indexed versions of the boot screen images.
  But the generate_boot_screen tool currently does not generate those.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-18 20:27:47 +00:00
Stephan Aßmus
a3636f92c0 * Removed almost all global variables.
* Release the resources needed for reading the PNGs and storing the image data.
* Change the semantics of the tool, previously it only supported palette mode
  PNGs. Now I am doing the opposite, the tool tries to set up the PNG lib to
  hand out RGB data, even stripping a potential alpha channel.
* Used standard Haiku license header.
* Improved output syntax.
* No longer depends on input image names, even with paths. The generated
  output needs to have fixed names, or else the other source code will break.
* Made the use of the setjmp feature optional, depending on the PNG lib version
  in use. This makes it possible to build the tool on BeOS without updating
  the installed PNG lib.
* Added a few TODOs. Most important is to generate a single palette for all
  three images, and storing the images in their palette representation along
  with the full quality versions, so that they are ready during boot without
  sucking up too many CPU cycles.

NOTE: The header which is now generated is not usable by the rest of the
source code yet, but that will come later. generate_boot_screen is not
integrated yet anyways.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-18 18:15:58 +00:00
Ingo Weinhold
2ca4cee18f * Renamed hbsg to generate_boot_screen and moved it to src/tools.
* Build generate_boot_screen as a build platform tool. It requires
  libpng to be installed.
* Added output file name as fourth argument.
* Replaced unnecessarily complicated
  fwrite(<string>, strlen(<string>),...) and sprintf()+fwrite()
  constructs by fputs() and fprintf() respectively.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-18 14:06:57 +00:00
Stephan Aßmus
c09ac5cf13 patch by Artur Wyszynski (aljen):
Build fix for Darwin host platform.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-18 10:10:50 +00:00
Ingo Weinhold
1149e982f0 Left over debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-11 17:00:55 +00:00
Ingo Weinhold
45eb999ec8 Added "query" and "chmod" (octal, non-recursive only) commands.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-09 17:41:42 +00:00
Ingo Weinhold
0006905bfb Added "--ignore-attributes" switch to the "cp" command.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-09 17:40:04 +00:00
Axel Dörfler
fa28330bbf * Explained under which circumstances vnode_path_to_vnode() will clobber the
buffer of the provided "path" argument.
* Applied patch by Vasilis to fix some warnings when build on Linux (missing
  const on certain functions). We should probably fix the original
  {add|remove}_debugger_command() functions in Haiku as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-09 13:43:38 +00:00
Axel Dörfler
9c800a96c0 This should fix the build under Dano/Zeta again, at least it works here:
* added HaikuBuildCompatibility.h to the src/build/* files that are built as
  part of the tools we need to build Haiku.
* Changed HaikuBuildCompatibility.h so that it does not define the things
  that are already in the build headers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-27 09:03:46 +00:00
Ingo Weinhold
3f6971fd68 Some additions to the existing kludges to fix the build on BeOS.
I tested building libroot.so only (BeOS under VMware is not exactly
fun as a build platform), but I think that should suffice.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-26 02:31:59 +00:00
Ingo Weinhold
cbd4dd196d Patch by Vasilis Kaoutsis: Added missing headers. Fixes the build on
certain Linux distributions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-25 02:00:12 +00:00
Ingo Weinhold
da51719239 Patch by Samuel Rodriguez Perez:
Fixed building Haiku images on FreeBSD, which was broken since the
introduction of the device support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-25 01:01:41 +00:00
Stephan Aßmus
50baebaf5f * Fixed warnings.
* Truncated lines to 80 char width.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 10:00:52 +00:00
Ingo Weinhold
5d06d46935 Removed debugging leftover.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-17 18:07:25 +00:00
François Revol
32d33c44e5 Fix build on BeOS host, seems it was trying to instanciate a struct stat instead...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-17 17:53:54 +00:00
Ingo Weinhold
3e61704042 axeld + bonefish:
Added parameters --start-offset and --end-offset to restrict the
access of the file system to only that part of the given file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-17 13:42:27 +00:00
Michael Lotz
d9b0e6addd Two very small changes that help compiling Haiku under Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-12 00:54:04 +00:00
Ingo Weinhold
ed854de770 Also include info about the syscall return type in the
extended_syscall_info structure.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-07 16:03:00 +00:00
Ingo Weinhold
80b2da5e53 Patch by Samuel Rodriguez Perez: Added support for writing Haiku
directly onto a device under FreeBSD.

I messed around with the code a little (style-fixes, some refactoring)
without being able to compile or test it, so be careful...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-05 20:54:42 +00:00
Ingo Weinhold
b4f58d8758 Renamed syscall_parameters_info structure to extended_syscall_info (and
kSyscallParametersInfos to kExtendedSyscallInfos) and added "name"
field. Now the classes for syscall kernel tracing don't need to lookup
the syscall function symbol anymore, which speeds up printing/filtering
of those entries dramatically.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-21 15:29:00 +00:00
Ingo Weinhold
19101ba0f4 Generate a kernel array kSyscallParametersInfos containing information
about syscall parameters. Particularly interesting is a type_code field
for each parameter. The mechanism isn't very accurate, but we can
classify everything in string, pointer, and integer types.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-18 19:25:28 +00:00
Jérôme Duval
bbaaf4b7c3 gcc4 requires a cast, so we prepend (void *) to cast every syscall function
fixed syscall.cpp inclusions due to renaming


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-18 17:39:43 +00:00
Axel Dörfler
5d0afa4e4e * cache_detach_sub_transaction() didn't really work: it did not put all needed
blocks into the new transaction, but it would set that transaction on all
  blocks of the old transaction, too. Also, it did not correctly update the
  num_blocks/sub_num_blocks fields of the old transaction. Even worse, it did
  return B_OK instead of the ID of the new transaction...
* get_writable_cached_block() did not correctly maintain the number of blocks
  in the sub transaction.
* write_cached_block() did not free the original_data of a block when it wrote
  it back as part of a previous transaction.
* Changed "cookie" for cache_next_block_in_transaction() to "long", so it will
  be 64 bits when needed.
* Improved the API for detaching sub transactions: you can now get the blocks
  of only the main (parent) transaction as well, added new
  cache_block_in_main_transaction() function.
* BFS now flushes the log when there is no space left for the current
  transaction.
* _WriteTransactionToLog() allocated a "vecs" array, but never freed it.
* _WriteTransactionToLog() now also supports detaching the current sub
  transaction if the whole thing is getting too large (it will now also panic
  if that doesn't work out).
* Removed a useless optimization: making the blocks available in the cache
  isn't really needed, as all blocks in a transaction are locked into the
  cache, anyway.
* Implemented Transaction::WriteBlocks().
* Minor cleanup, removed some dead code, fixed warnings in the fs_shell's
  block_cache when compiled with debug output on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-18 17:07:18 +00:00
Axel Dörfler
4fc4f2c8ae * Added a transaction listener mechanism to be notified when a
transaction ends or has been aborted.
* BFS now listens for transactions when it created an inode to see if 
  the transaction will be aborted without freeing the inode (in which 
  case it will panic for now).
* Started implementing tracing support, but it's not working yet.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 17:18:29 +00:00
Axel Dörfler
7f2453fa9c Added a progress monitor when copying large files (ie. over 1 MB).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 23:53:09 +00:00
Ingo Weinhold
34b3b26b3b Merged branch haiku/branches/developer/bonefish/optimization revision
23139 into trunk, with roughly the following changes (for details svn
log the branch):
* The int 99 syscall handler is now fully in assembly.
* Added a sysenter/sysexit handler and use it on Pentiums that support
  it (via commpage).
* Got rid of i386_handle_trap(). A bit of functionality was moved into
  the assembly handler which now uses a jump table to call C functions
  handling the respective interrupt.
* Some optimizations to get user debugger support code out of the
  interrupt handling path.
* Introduced a thread::flags fields which allows to skip handling of
  rare events (signals, user debug enabling/disabling) on the
  common interrupt handling path.
* Got rid of the explicit iframe stack. The iframes can still be
  retrieved by iterating through the stack frames.
* Made the commpage an architecture independent feature. It's used for
  the real time data stuff (instead of creating a separate area).
* The x86 CPU modules can now provide processor optimized versions for
  common functions (currently memcpy() only). They are used in the
  kernel and are provided to the userland via commpage entries.
* Introduced build system feature allowing easy use of C structure
  member offsets in assembly code.

Changes after merging:
* Fixed merge conflict in src/system/kernel/arch/x86/arch_debug.cpp
  (caused by refactoring and introduction of "call" debugger command).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 00:36:44 +00:00
Axel Dörfler
4accd841c7 * Fixed a big bug in common_file_io_vec_pages(): vecOffset was not correctly
set when the first chunk of the file could be read in directly, causing it
  to read data to a wrong place in the buffer.
* Reading in the first chunk directly would have also only worked if vecIndex
  and vecOffset was 0 when calling the function.
* Applied the fs_shell changes in file_map to the kernel version as well (the
  constructor already worked correctly, though).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-06 14:04:15 +00:00
Axel Dörfler
87aa1668c9 * The file_map constructor would not set the size of the file_map object,
causing all reads with an offset unequal to 0 to fail.
* Also fixed file_map_translate() which was hiding this problem.
* Fixed build and warnings when compiled with debugging output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-06 13:21:00 +00:00
Jérôme Duval
a5d8db5d76 fix linux build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-08 14:40:33 +00:00
Axel Dörfler
21885de266 * BFS now always writes back the whole block when it writes the super block.
* Therefore, I've added an I/O control that let's it update the boot block
  part of this block, so that makebootable can use it on a mounted volume
  (this will probably be moved into a disk system API later).
* Added user_memcpy() to the fs_shell.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-08 14:23:35 +00:00
Axel Dörfler
d3a580d2e0 The fs_shell now also works with devices that don't return a correct
hd_geometry, but do support the BLKGETSIZE64 ioctl (it just crashed 
before).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-05 18:33:58 +00:00
Axel Dörfler
d0007186e5 The fs_shell cache implementation had the same problem as our real cache
until r22998 - but since this was the only implementation, its consequences
were much more likely.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-26 16:02:10 +00:00
Axel Dörfler
ddd1769901 The file map code isn't that smart yet...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-13 11:20:17 +00:00
Axel Dörfler
4a31d30e84 * The file map needs to know the actual file size to be able to know if it has
the complete extent info or not.
* file_map_translate() now cuts down the request to the file bounds.
* Adjusted BFS and FAT to the API changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-13 10:34:48 +00:00
Axel Dörfler
c98d35dc33 This might help with the build on Linux.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-10 21:46:57 +00:00
Axel Dörfler
3d268eda3d * Extracted file_map API out of the file cache - it's now an optional service
that can be used by file systems.
* Changed the way the file cache works: instead of reading/writing to the
  underlying device directly, it can now be used for any data source, ie.
  also network file systems.
* As a result, the former pages_io() moved to the VFS layer, and can now be
  called by a file system via {read|write}_file_io_vec_pages() (naming
  suggestions are always welcomed :-)). It now gets an FD, and uses that to
  communicate with the device (via its fs_{read|write}_pages() hooks).
* The file_cache_{read|write}() functions must now be called without holding
  an I/O relevant file system lock. That allows the file cache to prepare the
  pages without colliding with the page writer, IOW the "mayBlock" flag can
  go into the attic again (yay!).
* This also results in a much better performance when the system does I/O and
  is low on memory, as the page writer can now finally write back some pages,
  and that even without maxing out the CPU :)
* The API changes put slightly more burden on the fs_{read|write}_pages()
  hooks, but in combination with the file_map it's still pretty straight
  forward. It just will have to dispatch the call to the underlying device
  directly, usually it will just call its fs_{read|write}_pages() hooks
  via the above mentioned calls.
* Ported BFS and FAT to the new API, the latter has not been tested, though.
* Also ported the API changes to the fs_shell. I also completely removed its
  file cache level page handling - the downside is that device access is no
  longer cached (ie. depends on the host OS now), the upside is that the code
  is greatly simplified.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-10 21:19:52 +00:00
Ingo Weinhold
57225f0367 * Moved helper function to check initialization parameters to separate
source file. Added function to check the volume name.
* Removed bfs_validate_initialize(). This functionality is to be implemented
  in a userland add-on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-10 17:33:47 +00:00
Ingo Weinhold
a2db5acb28 At least one file is C++, so we have to link against the C++ runtime.
Should fix the build on Darwin.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-30 17:18:59 +00:00
François Revol
df05c21550 Default code for m68k.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 23:31:01 +00:00
Ingo Weinhold
db5c68ca46 * Added the partition size as parameter to the file and partitioning
system initialize() hooks. It's often the only info about the
  partition one needs and thus locking the partition just to get it is
  no longer necessary.
* intel partitioning system:
  - Removed passing around block sizes. We require 512 byte sectors
    anyway. In fact using the parent partition's block size was even
    wrong.
  - Simplified writing the partition map sector.
  - Simplified and corrected the partition map initialization.
  - We don't fail identifying a partition anymore, if the partition map
    contains no partitions. We would never identify a freshly
    initialized partition map before.
  - Made pm_identify() more intelligent: It determines the priority to
    return depending on whether the partition is the device itself and
    whether we have recognized child partitions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-04 23:48:18 +00:00
Jérôme Duval
ff386118f4 removed former haiku_book and headersampler tool
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-04 22:15:58 +00:00
Ingo Weinhold
8c8f8c8420 Added scan_partition() function which can be used by disk systems (e.g.
in *_initialize()) to save some work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-04 18:03:24 +00:00
Ingo Weinhold
6f05787478 * rootfs.c -> rootfs.cpp
* Made the kernel rootfs reusable by the FS Shell and removed the
  copy in the FS Shell sources.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-04 14:30:50 +00:00
Axel Dörfler
417f276c05 Forgot to commit the fs_shell with r22434, thanks for the note, Stefano!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-04 13:23:00 +00:00
Ingo Weinhold
32bf31b3ee Stricter limit for the number of unused vnodes. The fs_shell doesn't
really manage memory, so one could easily run out of memory when copying
large files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 20:14:50 +00:00
Ingo Weinhold
363d1373f4 We need to use _kern_open() on BeOS incompatible systems, if we want
to be able to open symlinks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-05 18:16:32 +00:00
Ingo Weinhold
fd51b44e2d * HostSymLink::fPath wasn't set to NULL by the constructor, which could
cause a segfault if Init() failed early.
* The -d (don't dereference symlinks) option of cp shall only take
  effect on the top level. When descending into directories, symlinks
  shall never be dereferenced.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-05 03:06:04 +00:00
Ingo Weinhold
d249fa1b2c Map the fssh_*stat() functions to _kern_read_stat() in libroot_build on
BeOS incompatible platforms. Thus *stat()ing symlinks works.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-05 03:01:41 +00:00
Ingo Weinhold
35f57d15ff Support for compiling unzip as a build tool.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-04 19:04:48 +00:00
Ingo Weinhold
76a8ec23db * Added disk system flags for whether a partition name and partition
content name are supported.
* Added file_system_module_info::flags (analogously to
  partition_module_info::flags) which indicate which disk device
  features the FS supports.
* Replaced the
  file_system_module_info/partition_module_info::supports_*()
  hooks by a get_supported_operations() hook and for partitioning
  systems additionally a get_supported_child_operations() hook.
* Updated file and partitioning systems accordingly.
* Updated fs_shell accordingly.
* Updated the DDM accordingly. The syscall interface remains unchanged,
  though.
* _user_supports_initializing_partition() also checks whether the parent
  partitioning system is content now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-22 21:21:30 +00:00
Ingo Weinhold
2a39e9e44e Made the remote_disk_server build under R5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-14 14:54:09 +00:00
Ingo Weinhold
7e8ac2903b * Prefixed the variables NETWORK_LIBS, NETAPI_LIB, and
SELECT_UNAME_ETC_LIB with TARGET_ and introduced HAIKU_* and HOST_*
  counterparts.
* Use HOST_NETWORK_LIBS for building remote_disk_server.
* Also got rid of {R5,BONE,DANO,HAIKU}_COMPATIBLE.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-12 22:15:10 +00:00
Ingo Weinhold
da0f9ae040 Added Haiku as host platform supported by the build system ("haiku_host").
Completely untested yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-02 21:13:56 +00:00
Ingo Weinhold
9e12e9a72e * Added mapping of dup() in the FS shell.
* Adjusted the FS initialize() hook to have FD and partition_id
  parameters like the other hooks instead of the partition path.
* Adjusted initialization in BFS accordingly.
* Implemented the FS initialization method in KFileSystem.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-02 12:43:49 +00:00
Ingo Weinhold
9b5ab44de9 Added switch "-a" to the FS shell's cp command. It turns on "attribute
only" mode, in which only the attributes from the source files are
copied to the (existing) target file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-26 23:11:16 +00:00
Ingo Weinhold
21bf59c6cd Be stricter in case of errors in loops. We do always fully fail now, if
an error occurs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-26 22:54:32 +00:00
Axel Dörfler
965b10ccaa * Fixed build under BeOS/Dano (only tried the latter, though).
* Does anybody know why HaikuBuildCompatibility.h is not included for tools when
  compiled on BeOS/Dano?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-23 00:15:45 +00:00
Ingo Weinhold
6a2dfcbd88 Fixed debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-19 13:34:42 +00:00
Ingo Weinhold
1485d7a2d7 Added small tool source_to_data, which takes an arbitrary data file and
generates a C source file defining an array variable containing the file's
data. DataFileToSourceFile is the respective jam rule.

The idea is to directly built the boot archive into the boot loader for
network booting (and thus avoiding to download it from somewhere). In
case of PXE this doesn't work, though, due to restrictions to the size
of the NBP. Maybe Open Firmware is less restrictive.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-15 00:04:27 +00:00
Ingo Weinhold
679cd7d84b Temporary kludge to fix the build problem under BeOS regarding missing icons
for add-ons/libraries that don't have a signature. I threw our BAppFileInfo
code into libhaikucompat_build.a and link <build>mimeset and
<build>setversion against it, thus overriding the uncooperative BAppFileInfo
implementation in the host platform's libbe. Earlier or later we should use
libbe_build.so on BeOS compatible platforms as well, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-04 22:26:29 +00:00
Jérôme Duval
308771ff5d reverted to use __x86_64__ as it seems BeOSHostCompatibility header is not included for fs_shell
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 13:17:03 +00:00
Jérôme Duval
9cc679bb80 replaced uint32_t by fssh_addr_t. Obviously, the cookie should be managed differently.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 11:57:25 +00:00
Jérôme Duval
913f680ea2 followed Ingo's suggestion and introduced HAIKU_HOST_PLATFORM_64_BIT macro
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 11:51:49 +00:00
Jérôme Duval
a3ca7ebc40 x86_64 changes :
added atomic*64() functions
use int32 instead of long


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 10:50:18 +00:00
Ingo Weinhold
57ab8f6b30 Just go with the portable code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-15 18:23:28 +00:00
Ingo Weinhold
ee074918de Mostly aesthetical change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-15 18:13:39 +00:00
Travis Geiselbrecht
b9a5b9a6ee fix the build on darwin:
-fs_shell was using weak aliases, which is apparently not supported on the darwin toolchain 
	(or it's supported in some different way)
-remove building strl* routines for some of the host tools, since that already exists in libSystem


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-14 05:17:59 +00:00
Ingo Weinhold
cad7120f0c __attribute__(constructor) doesn't seem to work with gcc 2.95.3, so we
invoke driver_settings_init() manually now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-26 14:32:40 +00:00
Axel Dörfler
db8890ba1d * The mutex was obviously never initialized, and therefore mutex_unlock() panicked
here when trying to build Haiku.
* Also probably fixed a memory hole, at least how BFS is using delete_driver_settings();
  it might be a general problem of the implementation with regards to parse_driver_settings_string(),
  though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 14:38:59 +00:00
Axel Dörfler
e25a15c53b This fixes the build with GCC 2.95.3; hopefully it will work with GCC 4 as well as it looks like a compiler bug (at least I would guess typeof() is supposed to propagate the C linkage as well).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 08:24:25 +00:00
Ingo Weinhold
eedc15536c Added driver settings support to the FS shell.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 05:07:34 +00:00
Ingo Weinhold
362d99e715 Added fssh_read/write() implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-25 05:06:02 +00:00
Ingo Weinhold
53a79a4cde Patch by Morgan Howe: Support for building on Mac OS X. It should now be
possible to build a complete Haiku image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-19 15:01:11 +00:00
Ingo Weinhold
39bdbadf39 If the boot code couldn't be found in makebootable's resources, it tries
to load it from an attribute ("BootCode"). On Darwin we write the boot
code into this attribute. This should solve the problem that writing
resources into the makebootable file renders it not executable there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 17:33:21 +00:00
Ingo Weinhold
64ceaa002d Build addattr as a build tool as well. Needed for the new AddFileDataAttribute
rule.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 16:55:33 +00:00
Ingo Weinhold
6dcd0ccf23 Patch by Morgan Howe (slightly modified): Several changes to support
building on Mac OS X (Darwin). A problem with makebootable remains.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 15:59:04 +00:00
Ingo Weinhold
633a699447 Since I haven't got enough information to solve the missing LLONG_MAX
issue on some Linux distros by now, here's a work-around.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 13:43:55 +00:00
Ingo Weinhold
e23824d781 Surprising how much gcc 4 compilers on Linux differ. Another attempt to
make both gcc 2.95.3 and the plethora of gcc 4s happy: Typedefed
struct fssh_stat to fssh_struct_stat, thus hopefully avoiding spurious
errors concerning clashes with the function or regarding namespacing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-07 13:41:12 +00:00
Ingo Weinhold
5ddfffd44a Removed left over debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-06 13:48:07 +00:00
Ingo Weinhold
21da033912 Typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-06 12:32:45 +00:00
Ingo Weinhold
047b4d3cc8 Patch by Samuel Rodriguez Perez (slightly modified): Make the new
bfs_shell build on FreeBSD. ioctl() is defined in a non-standard header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-05 13:16:00 +00:00
Ingo Weinhold
19d7a2a162 * Moved the syscalls into the FSShell namespace, so that they don't
collide with the functions defined in libroot_build.so.
* On BeOS incompatible platforms fssh_open() and fssh_close() use the
  libroot_build.so _kern_open() and _kern_close() respectively, so that the
  attribute support works also when using the generic attribute
  emulation.
* Use fssh_open()/fssh_close() instead of open()/close() for the cp
  command, so that we get attribute support on BeOS incompatible
  platforms when the generic attribute emulation is used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 16:59:10 +00:00
Ingo Weinhold
8dcb250c8a Thou shall not leave a blank line between copyright header and header
guard.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 14:26:29 +00:00
Ingo Weinhold
cc70cbe297 Reduced number of unused vnodes the VFS keeps around. We were hitting
the maximal number of (emulated) semphores on Linux before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 14:09:03 +00:00
Ingo Weinhold
84498b0ddc Incorrect vfs_put_vnode(). Missed that one when changing from
vfs_get_vnode() to vfs_lookup_vnode(). 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 13:45:17 +00:00
Ingo Weinhold
46a92976fd Missed this one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 13:13:36 +00:00
Ingo Weinhold
ca6586d9a3 Changed grist.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 13:10:52 +00:00
Ingo Weinhold
d0a2ff1303 Obsolete file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 13:07:54 +00:00
Ingo Weinhold
1fd66793e6 Link against libhaikucompat_build.a and the STL library.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-30 17:26:19 +00:00
Ingo Weinhold
a3615ef1e2 * Fixed build under BeOS.
* Added "sync" command.
* The input_loop() notifies the external command client also, if parsing
  the command line failed or the command didn't exist. It doesn't no longer
  try do so, when in interactive mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-30 17:24:26 +00:00
Ingo Weinhold
655195fec9 Don't use headers/build headers under BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-30 17:20:17 +00:00
Ingo Weinhold
c3c6ad0a0b BeOS build fixes:
* On BeOS compatible host platforms we must not include
  BeOSBuildCompatibility.h, but HaikuBuildCompatibility.h.
* Fixed errno usage in command_cp.cpp.
* Fixed fssh_ioctl().
* fssh_set_sem_owner() doesn't invoke BeOS's set_sem_owner() anymore or
  otherwise the FS's semaphores are assigned to the kernel.
* Commented out <string.h> functions that don't exist under BeOS (and aren't
  used anyway).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-30 17:19:19 +00:00
Ingo Weinhold
4b32170efd Work-around for an obscure gcc 2.95.3 bug: It complained about ambiguity
of fssh_stat struct and function.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-30 17:09:47 +00:00
Ingo Weinhold
b245b1a838 Missing POSIX macro under BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-30 17:04:26 +00:00
Ingo Weinhold
6c19139d0e Fixed external command related code. Increased the command line length to
100 KB.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-30 17:02:13 +00:00
Ingo Weinhold
aeb215184f Also quote the quoted string characters.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-30 17:00:43 +00:00
Ingo Weinhold
dac7faad8d Added volume initialization support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-29 07:22:22 +00:00
Ingo Weinhold
f6233d2330 * Quieted down success output.
* Added non-interactive (external commands) support. The BeOS
  implementation needs some more work; well, the whole FS shell will
  probably have build issues on BeOS ATM.
* Added reasonably complete argument processing in main(). Options are
  similar to the old FS shell.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-28 23:47:03 +00:00
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