Commit Graph

269 Commits

Author SHA1 Message Date
Ryan Leavengood
5a1210fbef Moved the BAboutWindow implementation to the shared source directory, which
despite being talked about repeatedly, does not currently exist.

Adding this required adding some new Jam rules to deal with this shared source
directory and headers. I had some fun figuring this out. Despite writing
articles about Jam in the Haiku newsletter a few years ago I still find Jam to
be a PITA at times.

But my solution seems to work pretty well. Basically you just call the rule
UseSharedSource and pass the name of the shared source file you want to use.
This rule sets up the header directories and the right Jam variables for the
source file. You then add the source file to the source list in the Application
rule like any other source file.

I also made the authors list sent to the about window constructor null
terminated instead of passing the size of the array, as suggested by Hugo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-12 03:54:07 +00:00
Stephan Aßmus
943ef65ef4 * cleanup in the Leaf menu: Applications is no longer a link to
/boot/beos/apps, but a folder containing links to _selected_
  apps in that folder
* a new entry "Desktop Applets" has been added, which contains
  all the apps that you either do or do not start at system boot,
  but don't need frequent access to
* some apps have been hidden:
  - ShowImage and Expander are usually not
    directly started on their own, but through double clicking documents
  - AboutSystem is invoked elsewhere from the Leaf menu, so it doesn't need
    to clutter the Applications menu
* we almost introduced a third category for rarely used apps, but in the
  end it would only have contained Installer, Icon-O-Matic and Diskprobe,
  and we felt that it is ok to leave these in the Applications menu, as long
  as their number is small


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 12:07:55 +00:00
Stephan Aßmus
7d6047f97c * moved Pulse from Apps to Demos
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-05 09:50:21 +00:00
Axel Dörfler
96bde26d12 Added the cdda file system to the image; note: you still have to mount the disks
manually because of some not-yet-fixed deficiencies in the disk device manager.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-22 13:21:58 +00:00
Ingo Weinhold
7661e44405 Renamed AboutHaiku to AboutSystem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-20 17:53:22 +00:00
Ingo Weinhold
a66c32dde5 Introduced new configure option --distro-compatibility to specify the
compatibility relation to the official Haiku distribution. "official"
is for the official Haiku distribution itself, "compatible" for Haiku
Compatible (tm) distros, and "default" for all others (the default value
for the option). The build system variable HAIKU_DISTRO_COMPATIBILITY is
defined accordingly, and one of the
HAIKU_DISTRO_COMPATIBILITY_{OFFICIAL,COMPATIBLE,DEFAULT} macros is
defined for source code and rdefs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-20 17:50:11 +00:00
Ingo Weinhold
bdf8a2e1e7 Added Haiku revision number to the kernel (same mechanism as used for
libroot). It's available in the kernel through the private
get_haiku_revision() and added to the kernel syslog output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-19 15:36:32 +00:00
Ingo Weinhold
c033041c9f Using a temporary file doesn't seem to work very well in this case.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 17:27:17 +00:00
Ingo Weinhold
31ef846e36 Missed the usual compatibility context.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 17:00:18 +00:00
Ingo Weinhold
b696213351 Added rule AddFileDataAttribute to add an attribute to a file. The
attribute value is read from another file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 16:50:47 +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
François Revol
74a5ba5b30 Add nbd and setdecor to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 17:58:12 +00:00
Ithamar R. Adema
8528239c6e * Add hda audio driver to image for public testing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-13 20:24:38 +00:00
Ingo Weinhold
13246f99ab Apparently _GNU_SOURCE doesn't imply 64 bit off_t on all glibc
platforms. Funny that it still isn't the default, anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 09:48:35 +00:00
Jérôme Duval
1667315c1f avoids building libGL.so for ppc
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 18:31:33 +00:00
Ingo Weinhold
1ba4119dda Get more features on glibc host platforms, among those ISO C 99
definitions (like LLONG_{MIN,MAX}).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 09:55:31 +00:00
Axel Dörfler
a5667a5b8b * Renamed nv.driver to "nvidia", nm.driver to "neomagic", and mga.driver to "matrox";
also renamed their accelerants and settings files accordingly.
* Added Mandelbrot and GLDirectMode as demo applications.
* Moved CortexAddOnHost to /bin.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 07:49:53 +00:00
Ingo Weinhold
991a7f3309 Create the Haiku image using the new FS shell. Successfully tested on
BeOS R5 and x86 Linux so far.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 14:12:04 +00:00
Jérôme Duval
70d85a2465 added an empty input methods system directory, to be able to add the canna IM
in fact, the directory is only monitored when existing


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 18:58:22 +00:00
Jérôme Duval
fa1d29d138 added mail_daemon addons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 17:30:29 +00:00
Ingo Weinhold
4ce381e26c Fixed "jam run" feature for older shells.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-30 16:55:27 +00:00
Jérôme Duval
13593fb776 updated bzip2 to 1.0.4
added bzip2 and bunzip2 to the image


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-26 22:11:52 +00:00
François Revol
9bd908afd9 Get urlwrapper in :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-26 09:49:39 +00:00
Marcus Overhagen
2566ae4922 DVB media-addon and TV application added
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 19:11:50 +00:00
Marcus Overhagen
607422bbba added test driver to haiku image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-23 19:11:02 +00:00
Hugo Santos
69adff2f81 A very simple controlable traffic generator for TCP testing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-19 06:39:05 +00:00
Marcus Overhagen
239fad6de1 integrate DVB-T driver into haiku-image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 22:44:37 +00:00
Jérôme Duval
c23db4e688 added mail_daemon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 14:46:12 +00:00
Jérôme Duval
1be80cfc83 added frcode, <bin>updatedb instead of updatedb
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 10:50:33 +00:00
Axel Dörfler
453fb26fda * Added telnetd (does not work yet for whatever reason), and NetworkStatus to
the image.
* Moved "nc" to the alphabetically ordered position.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-11 16:07:58 +00:00
Hugo Santos
055fcfbf98 added 'netcat', which is particularly helpful debugging TCP.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-09 22:51:08 +00:00
Hugo Santos
eaf517212a introduced an ipv4_datagram datalink_module to handle the registration of the IPv4 reader instead of doing it in the ARP module.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-08 21:34:21 +00:00
Ingo Weinhold
315cfc48ca The ":" to identify a target for the "run" feature must be at the
beginning of the string; it was formerly matched anywhere.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-08 02:21:10 +00:00
Ingo Weinhold
4f4e5272fc Under Linux it is now possible to emulate the BeOS attribute support via
xattrs. It can be enabled with the configure switch "--use-xattr". Note
that the amount of data stored in attributes may be limited by the used
file system -- e.g. AFAIK ext3 has a limit of one block (usually 4 KB)
for all attributes of a file, which might not suffice. XFS should be
fine, as should ReiserFS 3.6 (or any FS which stores attributes in
hidden files).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-08 02:19:01 +00:00
Ingo Weinhold
ea3f7d3d8d Added an "isExecutable" parameter to the Translator rule. All
translators pass "true" (was used before), but I suppose most of them
don't really need it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-07 01:42:47 +00:00
Ingo Weinhold
1acbe440b8 Removed the obsolete second argument ("relpath") of the Addon rule and
shuffled "isExecutable" to the end. The new order favors the common use
cases. Adjusted all Addon invocations and while at it also removed
separate LinkAgainst invocations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-07 01:27:19 +00:00
Ingo Weinhold
afed18de79 New build system feature to shorten the turn-around times when working
with image files. E.g.

  jam -q update-image libbe.so kernel_x86

will only build libbe.so and the kernel (if necessary) and copy them
onto the already existing Haiku image. The MIME DB will not be
reinstalled, and only those source directories will be copied for which
the AddSourceDirectoryToHaikuImage rule is given a second argument
(e.g. "1"). The image will otherwise remain unchanged.

The "update-vmware-image" and "update-install" work similarly for the
VMWare image and the directory installation respectively. Note that, due
to the way the VMWare image is created (prepending a header to the
standard image), the file itself is fully rebuilt, i.e. changes made
during the emulation will be lost after updating the VMWare image.

The feature requires Haiku's jam. With other jam versions a similar
effect can be reached by accordingly setting the HAIKU_IMAGE_UPDATE_ONLY
and HAIKU_INCLUDE_IN_IMAGE in the UserBuildConfig file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-06 21:13:35 +00:00
Ingo Weinhold
2c24a1a9f6 New handy build system feature: It is now possible to pass a command
line to jam that contains build targets and that will be executed by
the build system after building the targets and replacing their
occurrences in the command line by their paths. The keyword indicating
such a command line is "run", targets are marked by a leading ":".
E.g.:

  jam -q run ':<build>xres' -l :libtracker.so

This builds the xres tool for the host platform and libtracker.so for
Haiku, and afterwards lists the resources libtracker.so contains. Note,
that this feature requires using Haiku's jam version.

The functionality is implemented by the new RunCommandLine rule, which
can, of course, also be used in the UserBuildConfig.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-06 03:14:58 +00:00
Ingo Weinhold
f51c147043 Added rules NextID, which returns an numerical ID incremented with each
invocation, and NewUniqueTarget, which returns a unique target name.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-06 02:39:37 +00:00
Ingo Weinhold
25b12e83ae Added rules for performing basic integer arithmetics (+, -, *). The rules
operate manually on digit lists, so they are certainly not fast and shouldn't
be used excessively, but at least it's possible to do calculations in Jam now,
should the need arise.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-06 02:37:12 +00:00
Ingo Weinhold
62d61ee675 Reformatted to respect 80 columns/line limit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-28 16:39:29 +00:00
Ingo Weinhold
f332f5da9e Patch by "kaliber" (slightly modified): Adds
cardctl, compress, diff3, dump_cis, dump_cisreg, fmt, fold, ident,
install, installsound, merge, prio, pack_cis, pc, patch, rlog, unexpand,
updatedb, uudecode, uuencode, zipgrep
to the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-28 16:29:51 +00:00
Ingo Weinhold
b8ba8f58d7 Added the disk device API to the libbe_haiku.so, so that libtracker.so builds
again for target libbe_test. Added respective syscall stubs and other functions
to libhaikucompat.a.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-28 15:20:08 +00:00
Jérôme Duval
7bd0beb35e added ctags 5.6 from http://ctags.sourceforge.net
Integration patch from kaliber as of bug #1127, with a minor fix. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-27 18:49:40 +00:00
Ingo Weinhold
a63342db0c Patch by kaliber: Several missing /bin commands added.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-26 02:55:19 +00:00
Ingo Weinhold
4477befef2 * Modified AddVariableToScript to support multi-element arrays.
* Added rule AddSourceDirectoryToHaikuImage to copy source directories
  onto the image. They will be placed in /boot/home/HaikuSource/...
  according to their relative path. This should make it a bit more
  comfortable to use gdb as a source level debugger. Alas, the
  directories have to be made known to gdb individually (with the
  "directory" command). I guess we should update to 6.6...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-24 23:34:28 +00:00
Jérôme Duval
1fc17776e3 added make and tr
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-23 19:08:10 +00:00
Axel Dörfler
0995b56384 * Renamed BeMail to Mail.
* The settings are still saved in "config/settings/BeMail Settings", though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-18 13:44:26 +00:00
Ingo Weinhold
2c97a8d164 Use -I instead of -isystem for system header directories when building
with gcc 4. Fixed resulting build errors (gcc is more lenient for
headers in -isystem directories).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-14 20:36:42 +00:00
Ingo Weinhold
3f2a43554a * Moved the DeferredSubInclude rules into MiscRules.
* Added new rule HaikuSubInclude for more comfortable subdirectory inclusion.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-07 16:01:19 +00:00