Author: czeidler Date: 2010-05-14 07:24:56 +0200 (Fri, 14 May 2010) New Revision: 36808 Changeset: http://dev.haiku-os.org/changeset/36808/haiku Added: haiku/branches/features/stack-and-tile/3rdparty/cppcheck/ haiku/branches/features/stack-and-tile/3rdparty/cppcheck/checksources.pl haiku/branches/features/stack-and-tile/3rdparty/cppcheck/haiku.lst haiku/branches/features/stack-and-tile/3rdparty/qtcreator/ haiku/branches/features/stack-and-tile/3rdparty/qtcreator/create_project_files.pl haiku/branches/features/stack-and-tile/3rdparty/vmware/haiku-nightly.vmx haiku/branches/features/stack-and-tile/build/jam/AnybootImage haiku/branches/features/stack-and-tile/build/scripts/build_archive haiku/branches/features/stack-and-tile/build/scripts/convert_build_config_to_shell_format.pl haiku/branches/features/stack-and-tile/data/artwork/GET HAIKU - download box haiku/branches/features/stack-and-tile/data/artwork/GET HAIKU - download box 2 haiku/branches/features/stack-and-tile/data/artwork/HAIKU alpha 2 logo - white on blue - big haiku/branches/features/stack-and-tile/data/artwork/HAIKU logo - black on white - installer haiku/branches/features/stack-and-tile/data/artwork/alpha-numbers-stamp haiku/branches/features/stack-and-tile/data/artwork/cursors/ContextMenu haiku/branches/features/stack-and-tile/data/artwork/cursors/Copy haiku/branches/features/stack-and-tile/data/artwork/cursors/CreateLink haiku/branches/features/stack-and-tile/data/artwork/cursors/Cross haiku/branches/features/stack-and-tile/data/artwork/cursors/FollowLink haiku/branches/features/stack-and-tile/data/artwork/cursors/Grab haiku/branches/features/stack-and-tile/data/artwork/cursors/Grabbing haiku/branches/features/stack-and-tile/data/artwork/cursors/Help haiku/branches/features/stack-and-tile/data/artwork/cursors/IBeam haiku/branches/features/stack-and-tile/data/artwork/cursors/Move haiku/branches/features/stack-and-tile/data/artwork/cursors/NotAllowed haiku/branches/features/stack-and-tile/data/artwork/cursors/Pointer haiku/branches/features/stack-and-tile/data/artwork/cursors/Progress haiku/branches/features/stack-and-tile/data/artwork/cursors/ResizeEast haiku/branches/features/stack-and-tile/data/artwork/cursors/ResizeEastWest haiku/branches/features/stack-and-tile/data/artwork/cursors/ResizeNorth haiku/branches/features/stack-and-tile/data/artwork/cursors/ResizeNorthEast haiku/branches/features/stack-and-tile/data/artwork/cursors/ResizeNorthEastSouthWest haiku/branches/features/stack-and-tile/data/artwork/cursors/ResizeNorthSouth haiku/branches/features/stack-and-tile/data/artwork/cursors/ResizeNorthWest haiku/branches/features/stack-and-tile/data/artwork/cursors/ResizeNorthWestSouthEast haiku/branches/features/stack-and-tile/data/artwork/cursors/ResizeSouth haiku/branches/features/stack-and-tile/data/artwork/cursors/ResizeSouthEast haiku/branches/features/stack-and-tile/data/artwork/cursors/ResizeSouthWest haiku/branches/features/stack-and-tile/data/artwork/cursors/ResizeWest haiku/branches/features/stack-and-tile/data/artwork/cursors/VerticalText haiku/branches/features/stack-and-tile/data/artwork/cursors/ZoomIn haiku/branches/features/stack-and-tile/data/artwork/cursors/ZoomOut haiku/branches/features/stack-and-tile/data/artwork/icons/Action_GoBack haiku/branches/features/stack-and-tile/data/artwork/icons/Action_GoBack_1 haiku/branches/features/stack-and-tile/data/artwork/icons/Action_GoBack_2 haiku/branches/features/stack-and-tile/data/artwork/icons/Action_GoForward haiku/branches/features/stack-and-tile/data/artwork/icons/Action_GoForward_1 haiku/branches/features/stack-and-tile/data/artwork/icons/Action_GoForward_2 haiku/branches/features/stack-and-tile/data/artwork/icons/Action_GoUp haiku/branches/features/stack-and-tile/data/artwork/icons/Action_Stop haiku/branches/features/stack-and-tile/data/artwork/icons/App_PackageInstaller haiku/branches/features/stack-and-tile/data/artwork/icons/App_bootman haiku/branches/features/stack-and-tile/data/artwork/icons/File_Playlist haiku/branches/features/stack-and-tile/data/artwork/icons/Prefs_Locale haiku/branches/features/stack-and-tile/data/artwork/icons/Prefs_OpenGL haiku/branches/features/stack-and-tile/data/artwork/icons/Prefs_Printer_PDF haiku/branches/features/stack-and-tile/data/artwork/icons/Prefs_Printer_PDF_2 haiku/branches/features/stack-and-tile/data/artwork/icons/Prefs_Touchpad haiku/branches/features/stack-and-tile/data/artwork/icons/Prefs_Touchpad2 haiku/branches/features/stack-and-tile/data/artwork/icons/Tracker_copy haiku/branches/features/stack-and-tile/data/artwork/icons/flags/ haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Afghanistan haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Albania haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Algeria haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Angola haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Anguilla haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Antigua_and_Barbuda haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Argentina haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Armenia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Austia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Australia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Azerbaijan haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Bahrain haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Bangladesh haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Barbados haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Belarus haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Belgium haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Benin haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Bolivia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Bulgaria haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Burkina Faso haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Cameroon haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Canada haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Chad haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Chile haiku/branches/features/stack-and-tile/data/artwork/icons/flags/China haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Colombia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Czech Republic haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Denmark haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Djibouti haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Estonia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Finland haiku/branches/features/stack-and-tile/data/artwork/icons/flags/France haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Gabon haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Germany haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Ghana haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Guinea haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Guinea Bissau haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Haiti haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Hungary [... truncated: 7293 added files follow ...] Removed: haiku/branches/features/stack-and-tile/3rdparty/cppcheck/checksources.pl haiku/branches/features/stack-and-tile/3rdparty/cppcheck/haiku.lst haiku/branches/features/stack-and-tile/3rdparty/qtcreator/create_project_files.pl haiku/branches/features/stack-and-tile/build/scripts/build_haiku_cd haiku/branches/features/stack-and-tile/build/scripts/build_tgz_archive haiku/branches/features/stack-and-tile/build/scripts/build_zip_archive haiku/branches/features/stack-and-tile/data/artwork/icons/Navigation_Left haiku/branches/features/stack-and-tile/data/artwork/icons/Navigation_Right haiku/branches/features/stack-and-tile/data/artwork/icons/Navigation_Up haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Afghanistan haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Albania haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Algeria haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Angola haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Anguilla haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Antigua_and_Barbuda haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Argentina haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Armenia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Austia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Australia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Azerbaijan haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Bahrain haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Bangladesh haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Barbados haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Belarus haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Belgium haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Benin haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Bolivia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Bulgaria haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Burkina Faso haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Cameroon haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Canada haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Chad haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Chile haiku/branches/features/stack-and-tile/data/artwork/icons/flags/China haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Colombia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Czech Republic haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Denmark haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Djibouti haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Estonia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Finland haiku/branches/features/stack-and-tile/data/artwork/icons/flags/France haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Gabon haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Germany haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Ghana haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Guinea haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Guinea Bissau haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Haiti haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Hungary haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Iceland haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Indonesia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Ireland haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Israel haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Italy haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Ivory Coast haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Japan haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Kuwait haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Laos haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Latvia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Libya haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Lithuania haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Luxembourg haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Madagascar haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Mali haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Mauritius haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Monaco haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Netherlands haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Niger haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Nigeria haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Norway haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Palau haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Peru haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Poland haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Republic of the Congo haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Romania haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Russia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Senegal haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Serbia and Montenegro haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Sierra Leone haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Somalia haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Sudan haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Sweden haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Switzerland haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Ukraine haiku/branches/features/stack-and-tile/data/artwork/icons/flags/United Arab Emirates haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Vietnam haiku/branches/features/stack-and-tile/data/artwork/icons/flags/Yemen haiku/branches/features/stack-and-tile/data/catalogs/add-ons/tracker/ haiku/branches/features/stack-and-tile/data/catalogs/add-ons/tracker/zipomatic/ haiku/branches/features/stack-and-tile/data/catalogs/add-ons/tracker/zipomatic/de.catkeys haiku/branches/features/stack-and-tile/data/catalogs/add-ons/tracker/zipomatic/eo.catkeys haiku/branches/features/stack-and-tile/data/catalogs/add-ons/tracker/zipomatic/es.catkeys haiku/branches/features/stack-and-tile/data/catalogs/add-ons/tracker/zipomatic/fi.catkeys haiku/branches/features/stack-and-tile/data/catalogs/add-ons/tracker/zipomatic/fr.catkeys haiku/branches/features/stack-and-tile/data/catalogs/add-ons/tracker/zipomatic/hu.catkeys haiku/branches/features/stack-and-tile/data/catalogs/add-ons/tracker/zipomatic/it.catkeys haiku/branches/features/stack-and-tile/data/catalogs/add-ons/tracker/zipomatic/ja.catkeys haiku/branches/features/stack-and-tile/data/catalogs/add-ons/tracker/zipomatic/lt.catkeys haiku/branches/features/stack-and-tile/data/catalogs/add-ons/tracker/zipomatic/nb.catkeys haiku/branches/features/stack-and-tile/data/catalogs/add-ons/tracker/zipomatic/nl.catkeys haiku/branches/features/stack-and-tile/data/catalogs/add-ons/tracker/zipomatic/pl.catkeys [... truncated: 6962 deleted files follow ...] Modified: haiku/branches/features/stack-and-tile/ haiku/branches/features/stack-and-tile/3rdparty/mmu_man/onlinedemo/haiku.php haiku/branches/features/stack-and-tile/3rdparty/mmu_man/scripts/dev-perso haiku/branches/features/stack-and-tile/3rdparty/vmware/haiku-alpha.vmx haiku/branches/features/stack-and-tile/Jamfile haiku/branches/features/stack-and-tile/Jamrules haiku/branches/features/stack-and-tile/build/config_headers/kernel_debug_config.h haiku/branches/features/stack-and-tile/build/config_headers/tracing_config.h haiku/branches/features/stack-and-tile/build/jam/BeOSRules haiku/branches/features/stack-and-tile/build/jam/BuildSetup haiku/branches/features/stack-and-tile/build/jam/CDRules haiku/branches/features/stack-and-tile/build/jam/CommandLineArguments haiku/branches/features/stack-and-tile/build/jam/FileRules haiku/branches/features/stack-and-tile/build/jam/FloppyBootImage haiku/branches/features/stack-and-tile/build/jam/HaikuCD haiku/branches/features/stack-and-tile/build/jam/HaikuImage haiku/branches/features/stack-and-tile/build/jam/HelperRules haiku/branches/features/stack-and-tile/build/jam/ImageRules haiku/branches/features/stack-and-tile/build/jam/MainBuildRules haiku/branches/features/stack-and-tile/build/jam/MiscRules haiku/branches/features/stack-and-tile/build/jam/NetBootArchive haiku/branches/features/stack-and-tile/build/jam/OptionalBuildFeatures haiku/branches/features/stack-and-tile/build/jam/OptionalPackageDependencies haiku/branches/features/stack-and-tile/build/jam/OptionalPackages haiku/branches/features/stack-and-tile/build/jam/OptionalTestPackages haiku/branches/features/stack-and-tile/build/jam/ReleaseBuildProfiles haiku/branches/features/stack-and-tile/build/jam/UserBuildConfig.ReadMe haiku/branches/features/stack-and-tile/build/jam/UserBuildConfig.sample haiku/branches/features/stack-and-tile/build/scripts/build_cross_tools haiku/branches/features/stack-and-tile/build/scripts/build_cross_tools_gcc4 haiku/branches/features/stack-and-tile/build/scripts/build_haiku_image haiku/branches/features/stack-and-tile/configure haiku/branches/features/stack-and-tile/data/artwork/HAIKU logo - black on white - tiny.png haiku/branches/features/stack-and-tile/data/artwork/HAIKU logo - black.svg haiku/branches/features/stack-and-tile/data/artwork/HAIKU logo - website - everything haiku/branches/features/stack-and-tile/data/artwork/HAIKU logo - website - logo haiku/branches/features/stack-and-tile/data/artwork/icons/App_ArmyKnife haiku/branches/features/stack-and-tile/data/artwork/icons/App_Poorman haiku/branches/features/stack-and-tile/data/artwork/icons/Misc_Hand haiku/branches/features/stack-and-tile/data/artwork/icons/Prefs_Printer haiku/branches/features/stack-and-tile/data/bin/which haiku/branches/features/stack-and-tile/data/boot_cd/README.html haiku/branches/features/stack-and-tile/data/catalogs/preferences/appearance/bg.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/appearance/de.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/appearance/fi.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/appearance/fr.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/appearance/ja.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/appearance/lt.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/appearance/ru.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/appearance/sv.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/appearance/uk.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/bluetooth/bg.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/bluetooth/de.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/bluetooth/fi.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/bluetooth/fr.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/bluetooth/it.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/bluetooth/lt.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/bluetooth/ru.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/bluetooth/sv.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/bluetooth/uk.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/cpufrequency/bg.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/cpufrequency/de.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/cpufrequency/fi.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/cpufrequency/fr.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/cpufrequency/it.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/cpufrequency/lt.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/cpufrequency/ru.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/cpufrequency/sv.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/cpufrequency/uk.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/fonts/bg.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/fonts/fi.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/fonts/fr.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/fonts/hu.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/fonts/it.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/fonts/ja.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/fonts/lt.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/fonts/ru.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/fonts/sv.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/fonts/uk.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/keymap/fr.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/keymap/lt.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/keymap/ru.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/keymap/uk.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/locale/de.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/locale/fi.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/locale/fr.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/locale/hu.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/locale/lt.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/locale/ru.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/locale/sv.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/locale/uk.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/media/fr.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/media/lt.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/media/ru.catkeys haiku/branches/features/stack-and-tile/data/catalogs/preferences/media/uk.catkeys haiku/branches/features/stack-and-tile/data/common/boot/post_install/mime_update.sh haiku/branches/features/stack-and-tile/data/etc/inputrc haiku/branches/features/stack-and-tile/data/etc/profile haiku/branches/features/stack-and-tile/data/settings/kernel/drivers/kernel haiku/branches/features/stack-and-tile/data/system/boot/Bootscript [... truncated: 6150 changed files follow ...] Log: Merge trunk into stack and tile branch. Property changes on: haiku/branches/features/stack-and-tile ___________________________________________________________________ Modified: svn:ignore - haiku.image generated* svn-commit.tmp .cproject .project + haiku.image generated* svn-commit.tmp .cproject .project haiku.pro haiku.pro.user .settings Added: svn:mergeinfo + /haiku/trunk:33839-36798 Copied: haiku/branches/features/stack-and-tile/3rdparty/cppcheck/checksources.pl (from rev 36798, haiku/trunk/3rdparty/cppcheck/checksources.pl) =================================================================== --- haiku/branches/features/stack-and-tile/3rdparty/cppcheck/checksources.pl (rev 0) +++ haiku/branches/features/stack-and-tile/3rdparty/cppcheck/checksources.pl 2010-05-14 05:24:56 UTC (rev 36808) @@ -0,0 +1,52 @@ +#!/usr/bin/perl + +use warnings; +use strict; +use File::Basename; +use File::Find; + +if (scalar @ARGV < 2) { + die "Usage: $0 <dir to check> <file to log> <optional number of jobs>\n"; +} + +if (!-e "./ReadMe.cross-compile") { + die "ERROR: $0 must be called from Haiku top directory!\n"; +} + +my %headers; +my $dirToCheck = shift @ARGV; +my $fileToLog = shift @ARGV; +my $jobs = 1; +if (scalar @ARGV) { + $jobs = shift @ARGV; +} +my $headersDirs; +my $cppcheck; + +print "Scanning headers...\n"; +find({ wanted => \&process, no_chdir => 1}, + ("headers/posix", "headers/libs", "headers/os", "headers/private")); + +foreach my $dir (sort keys %headers) { + $headersDirs .= "-I $dir "; +} + +print "Running cppcheck tool...\n"; +$cppcheck = "cppcheck -j $jobs --force --auto-dealloc 3rdparty/cppcheck/haiku.lst --enable=exceptRealloc,possibleError $headersDirs $dirToCheck 2> $fileToLog"; + +system($cppcheck); + +sub process +{ + if (substr($_, -4, 4) eq '.svn') { + $File::Find::prune = 1; + } else { + return if $File::Find::dir eq $_; # skip toplevel folders + my $name = (fileparse($_))[0]; + if (-d $_) { + push @{$headers{$File::Find::name}->{subdirs}}, $name; + return; + } + } +} + Copied: haiku/branches/features/stack-and-tile/3rdparty/cppcheck/haiku.lst (from rev 36798, haiku/trunk/3rdparty/cppcheck/haiku.lst) =================================================================== --- haiku/branches/features/stack-and-tile/3rdparty/cppcheck/haiku.lst (rev 0) +++ haiku/branches/features/stack-and-tile/3rdparty/cppcheck/haiku.lst 2010-05-14 05:24:56 UTC (rev 36808) @@ -0,0 +1,17 @@ +BAlert +BButton +BCheckBox +BControl +BMenuBar +BMenuField +BMenuItem +BMenuWindow +BPopUpMenu +BRadioButton +BScrollBar +BSplitView +BStringView +BTextControl +BView +BWindow + Modified: haiku/branches/features/stack-and-tile/3rdparty/mmu_man/onlinedemo/haiku.php =================================================================== --- haiku/branches/features/stack-and-tile/3rdparty/mmu_man/onlinedemo/haiku.php 2010-05-13 22:09:06 UTC (rev 36807) +++ haiku/branches/features/stack-and-tile/3rdparty/mmu_man/onlinedemo/haiku.php 2010-05-14 05:24:56 UTC (rev 36808) @@ -79,7 +79,7 @@ ."-parallel none " ."-net none " ."-usbdevice wacom-tablet " - ."-vga vmware " + //."-vga vmware " ."-snapshot "); // absolute path to the image. Modified: haiku/branches/features/stack-and-tile/3rdparty/mmu_man/scripts/dev-perso =================================================================== --- haiku/branches/features/stack-and-tile/3rdparty/mmu_man/scripts/dev-perso 2010-05-13 22:09:06 UTC (rev 36807) +++ haiku/branches/features/stack-and-tile/3rdparty/mmu_man/scripts/dev-perso 2010-05-14 05:24:56 UTC (rev 36808) @@ -17,10 +17,12 @@ # # This script should be sourced by bash, either from /etc/profile # (in /etc/profile.d/) or your own .bashrc or .profile +# after exporting DEVROOT optionally to point to the projects folder. # # setup: # - edit DRLIST below to include your own possible devroots # (ie. where you have subfolders for your own projects) +# or export DEVROOT before sourcing dev-perso. # - optionally edit PWLIST below to where you possibly have a # PASSWDS/ folder with passwords stored as plain text. # (not really a good idea though :) It's exported @@ -51,15 +53,19 @@ # automagically find them on different machines... -DRLIST="/Data /work $HOME/devel" +if [ -z "$DEVROOT" ]; then + DRLIST="$HOME/devel /Data /work /Volumes/Data/devel" + for d in $DRLIST; do + test -d $d && DEVROOT=$d && break; + done +fi +export DEVROOT + +# automagically find password files PWLIST="/Data /fat32 $HOME" -for d in $DRLIST; do - test -d $d && DEVROOT=$d && break; -done for d in $PWLIST; do test -d $d/PASSWDS && PASSWDS=$d/PASSWDS && break; done -export DEVROOT export PASSWDS # svn sometimes forgets about vi and wants me to use nano... @@ -67,15 +73,23 @@ function dev() { if [ $# -lt 1 ]; then - ls $DEVROOT/*/.profile | sed 's,.*/\([^/]*\)/.profile,\1,' + #ls $DEVROOT/*/.profile | sed 's,.*/\([^/]*\)/.profile,\1,' + for f in "$DEVROOT/"*; do test -e "$f/.profile" || continue; echo ${f##*/}; done return 0 fi if [ "x$1" = "x--help" ]; then echo "setup project-specific development environment" - echo "usage: dev [project]" + echo "usage: dev [-n] [project]" echo "running without argument lists available projects" + echo "-n projname initializes a new project" return 1 fi + if [ "x$1" = "x-n" -a -n "$2" ]; then + shift + mkdir "$DEVROOT/$1" && touch "$DEVROOT/$1/.profile" + # fallback + fi + export DEVPROJ="$1" if [ ! -d "$DEVROOT/$1" ]; then echo "invalid project name '$1'" return 1 @@ -91,16 +105,20 @@ history -r # set the prompt # cf. http://tldp.org/HOWTO/Bash-Prompt-HOWTO/ + NICEPS1='\[\033[1m\][\u@\h \w]\[\033[0m\]\$ ' case "$TERM" in dumb|emacs) # simpler prompt export PS1='[\u@\h \w]\$ ' ;; + linux) + export PS1="$NICEPS1" + ;; *) # prompt: set window title to [project:folder] also #export PS1='\[\033]0;['$1':\W]\a\]\[\033[1m\][\u@\h \w]\[\033[0m\]\$ ' #export PS1='\033]0;['$1':\W]\a\033[1m[\u@\h \w]\033[0m\$ ' - export PS1='\[\033[1m\][\u@\h \w]\[\033[0m\]\$ ' + export PS1="$NICEPS1" export PROMPT_COMMAND='echo -en "\033]0;['$1':${PWD##*/}]\a"' ;; esac @@ -109,6 +127,9 @@ beos|haiku) prio $$ 1 ;; + darwin10.*) + renice 3 $$ + ;; linux-*) # linux doesn't really need it much #renice 3 $$ @@ -116,7 +137,10 @@ esac # source the specific profile file - source .profile + test -f .profile && . .profile + + # if no editor defined, set one + test -z "$EDITOR" -a -z "$SVN_EDITOR" && export EDITOR=vim # make sure the update action is the first found in history. test -d .svn && history -s svn up Copied: haiku/branches/features/stack-and-tile/3rdparty/qtcreator/create_project_files.pl (from rev 36798, haiku/trunk/3rdparty/qtcreator/create_project_files.pl) =================================================================== --- haiku/branches/features/stack-and-tile/3rdparty/qtcreator/create_project_files.pl (rev 0) +++ haiku/branches/features/stack-and-tile/3rdparty/qtcreator/create_project_files.pl 2010-05-14 05:24:56 UTC (rev 36808) @@ -0,0 +1,106 @@ +#!/usr/bin/perl + +use warnings; +use strict; + +=head1 create_project_files.pl + +This simple script traverses the haiku sources and creates (incomplete) *.pro +files in order to make the haiku sources available within the qt-creator IDE. +Additionally, it will add those files to svn:ignore of their parent directory +(unless already contained there). + +=cut + +use File::Basename; +use File::Find; + +if (!@ARGV) { + die "usage: $0 <haiku-top-path>\n"; +} + +my $haikuTop = shift @ARGV; +if (!-e "$haikuTop/ReadMe.cross-compile") { + die "'$haikuTop/ReadMe.cross-compile' not found - not a haiku top!\n"; +} + +my %collection; + +print "scanning ...\n"; +find({ wanted => \&process, no_chdir => 1}, + ("$haikuTop/headers", "$haikuTop/src")); + +writeProFile("$haikuTop/haiku.pro", { subdirs => ['headers', 'src'] }); +foreach my $dir (sort keys %collection) { + my $proFile = $dir.'/'.fileparse($dir).'.pro'; + writeProFile($proFile, $collection{$dir}); +} + +sub process +{ + if (substr($_, -4, 4) eq '.svn') { + $File::Find::prune = 1; + } else { + return if $File::Find::dir eq $_; # skip toplevel folders + my $name = (fileparse($_))[0]; + if (-d $_) { + $collection{$File::Find::dir}->{subdirs} ||= []; + push @{$collection{$File::Find::dir}->{subdirs}}, $name; + return; + } + elsif ($_ =~ m{\.(h|hpp)$}i) { + $collection{$File::Find::dir}->{headers} ||= []; + push @{$collection{$File::Find::dir}->{headers}}, $name; + } + elsif ($_ =~ m{\.(c|cc|cpp|s|asm)$}i) { + $collection{$File::Find::dir}->{sources} ||= []; + push @{$collection{$File::Find::dir}->{sources}}, $name; + } + } +} + +sub writeProFile +{ + my ($proFile, $info) = @_; + + return if !$info; + + print "creating $proFile\n"; + open(my $proFileFH, '>', $proFile) + or die "unable to write $proFile"; + print $proFileFH "TEMPLATE = subdirs\n"; + print $proFileFH "CONFIG += ordered\n"; + if (exists $info->{subdirs}) { + print $proFileFH + "SUBDIRS = ".join(" \\\n\t", sort @{$info->{subdirs}})."\n"; + } + if (exists $info->{headers}) { + print $proFileFH + "HEADERS = ".join(" \\\n\t", sort @{$info->{headers}})."\n"; + } + if (exists $info->{sources}) { + print $proFileFH + "SOURCES = ".join(" \\\n\t", sort @{$info->{sources}})."\n"; + } + close $proFileFH; + + updateSvnIgnore($proFile); +} + +sub updateSvnIgnore +{ + my $proFile = shift; + + my ($filename, $parentDir) = fileparse($proFile); + + my $svnIgnore = qx{svn propget --strict svn:ignore $parentDir}; + if (!grep { $_ eq $filename } split "\n", $svnIgnore) { + chomp $svnIgnore; + $svnIgnore .= "\n" unless !$svnIgnore; + $svnIgnore .= "$filename\n"; + open(my $propsetFH, "|svn propset svn:ignore --file - $parentDir") + or die "unable to open pipe to 'svn propset'"; + print $propsetFH $svnIgnore; + close($propsetFH); + } +} Modified: haiku/branches/features/stack-and-tile/3rdparty/vmware/haiku-alpha.vmx =================================================================== --- haiku/branches/features/stack-and-tile/3rdparty/vmware/haiku-alpha.vmx 2010-05-13 22:09:06 UTC (rev 36807) +++ haiku/branches/features/stack-and-tile/3rdparty/vmware/haiku-alpha.vmx 2010-05-14 05:24:56 UTC (rev 36808) @@ -48,6 +48,8 @@ ide0:0.writeThrough = "false" ide0:0.startConnected = "false" +# blank-bfs-2048mb.vdmk is an expanding disk image and is available at +# http://haiku-files.org/files/blank-bfs/blank-bfs-2048mb.vmdk ide0:1.present = "true" ide0:1.fileName = "blank-bfs-2048mb.vmdk" ide0:1.deviceType = "disk" Copied: haiku/branches/features/stack-and-tile/3rdparty/vmware/haiku-nightly.vmx (from rev 36798, haiku/trunk/3rdparty/vmware/haiku-nightly.vmx) =================================================================== --- haiku/branches/features/stack-and-tile/3rdparty/vmware/haiku-nightly.vmx (rev 0) +++ haiku/branches/features/stack-and-tile/3rdparty/vmware/haiku-nightly.vmx 2010-05-14 05:24:56 UTC (rev 36808) @@ -0,0 +1,78 @@ +#!/usr/bin/vmware +config.version = "8" +virtualHW.version = "3" + +MemAllowAutoScaleDown = "false" +MemTrimRate = "-1" + +uuid.location = "56 4d 20 2e e7 51 21 3a-cf 1f 8c a4 85 aa 04 9b" +uuid.bios = "56 4d 20 2e e7 51 21 3a-cf 1f 8c a4 85 aa 04 9b" + +uuid.action = "create" +checkpoint.vmState = "" + +displayName = "Haiku" +guestOS = "other" +memsize = "512" + +ethernet0.present= "true" +ethernet0.startConnected = "true" +ethernet0.virtualDev = "e1000" +ethernet0.connectionType = "nat" +ethernet0.addressType = "generated" +ethernet0.generatedAddress = "00:0c:29:aa:04:9b" +ethernet0.generatedAddressOffset = "0" + +serial0.present = "true" +serial0.fileType = "file" +serial0.fileName = "serial-port.txt" +serial0.tryNoRxLoss = "false" + +usb.present = "true" + +sound.present = "false" +sound.autodetect = "true" +sound.virtualDev = "es1371" +sound.fileName = "-1" +sound.startConnected = "true" + +scsi0.present = "false" + +floppy0.present = "false" + +ide0:0.present = "true" +ide0:0.fileName = "haiku-nightly.vmdk" +ide0:0.deviceType = "disk" +ide0:0.mode = "persistent" +ide0:0.redo = "" +ide0:0.writeThrough = "false" +ide0:0.startConnected = "false" + +# blank-bfs-2048mb.vdmk is an expanding disk image and is available at +# http://haiku-files.org/files/blank-bfs/blank-bfs-2048mb.vmdk +ide0:1.present = "true" +ide0:1.fileName = "blank-bfs-2048mb.vmdk" +ide0:1.deviceType = "disk" +ide0:1.mode = "persistent" +ide0:1.redo = "" +ide0:1.writeThrough = "false" +ide0:1.startConnected = "false" + +ide1:0.present = "false" +ide1:0.deviceType = "cdrom-raw" +ide1:0.startConnected = "true" +ide1:0.fileName = "auto detect" +ide1:0.autodetect = "true" + +ide1:1.present = "false" + +tools.remindInstall = "false" + +# If you have a dual core (or more), you might want to use both cores in the +# emulation as well. VMware Player only supports 2, otherwise 4 are possible. +#numvcpus = "2" + +# This gets rid of the annoying serial debug output requester - although it +# always append the serial output, then. +#msg.autoAnswer = "true" + Modified: haiku/branches/features/stack-and-tile/Jamfile =================================================================== --- haiku/branches/features/stack-and-tile/Jamfile 2010-05-13 22:09:06 UTC (rev 36807) +++ haiku/branches/features/stack-and-tile/Jamfile 2010-05-14 05:24:56 UTC (rev 36808) @@ -151,17 +151,26 @@ LocaleKitTests ; +# Prepare the optional build features before parsing the Jamfile tree. +include [ FDirName $(HAIKU_BUILD_RULES_DIR) OptionalBuildFeatures ] ; + # Add optional packages given via HAIKU_ADD_OPTIONAL_PACKAGES. if $(HAIKU_ADD_OPTIONAL_PACKAGES) { AddOptionalHaikuImagePackages [ FSplitString $(HAIKU_ADD_OPTIONAL_PACKAGES) : / ] ; } -# Evaluate optional package dependencies and prepare the optional build -# features before parsing the Jamfile tree. -include [ FDirName $(HAIKU_BUILD_RULES_DIR) OptionalPackageDependencies ] ; -include [ FDirName $(HAIKU_BUILD_RULES_DIR) OptionalBuildFeatures ] ; +# Include packages that are required by all images. +AddOptionalHaikuImagePackages MandatoryPackages ; +# If enabled, make sure that OpenSSL is added to the image. +if $(HAIKU_OPENSSL_ENABLED) { + AddOptionalHaikuImagePackages OpenSSL ; +} + +# Evaluate optional package dependencies +include [ FDirName $(HAIKU_BUILD_RULES_DIR) OptionalPackageDependencies ] ; + # Optionally we allow not to include the "src" subdirectory. if $(HAIKU_DONT_INCLUDE_SRC) { # Don't include "src", but at least include the stuff needed for the @@ -191,6 +200,7 @@ include [ FDirName $(HAIKU_BUILD_RULES_DIR) CDBootImage ] ; include [ FDirName $(HAIKU_BUILD_RULES_DIR) CDBootPPCImage ] ; include [ FDirName $(HAIKU_BUILD_RULES_DIR) HaikuCD ] ; +include [ FDirName $(HAIKU_BUILD_RULES_DIR) AnybootImage ] ; # Check whether all requested optional packages do actually exist. local package ; Modified: haiku/branches/features/stack-and-tile/Jamrules =================================================================== --- haiku/branches/features/stack-and-tile/Jamrules 2010-05-13 22:09:06 UTC (rev 36807) +++ haiku/branches/features/stack-and-tile/Jamrules 2010-05-14 05:24:56 UTC (rev 36808) @@ -7,7 +7,8 @@ HAIKU_BUILD_RULES_DIR = [ FDirName $(HAIKU_BUILD_DIR) jam ] ; HAIKU_OBJECT_DIR = [ FDirName $(HAIKU_OUTPUT_DIR) objects ] ; HAIKU_COMMON_PLATFORM_OBJECT_DIR = [ FDirName $(HAIKU_OBJECT_DIR) common ] ; -HAIKU_DOWNLOAD_DIR = [ FDirName $(HAIKU_OUTPUT_DIR) download ] ; +HAIKU_DOWNLOAD_DIR = [ FDirName $(HAIKU_OUTPUT_DIR) + download ] ; HAIKU_OPTIONAL_BUILD_PACKAGES_DIR = [ FDirName $(HAIKU_OUTPUT_DIR) build_packages ] ; @@ -76,7 +77,8 @@ # check whether it is unknown or one of the default profiles. if $(HAIKU_BUILD_PROFILE) && ! $(HAIKU_BUILD_PROFILE_DEFINED) { # define the obvious default profiles - if $(HAIKU_BUILD_PROFILE) in image vmware-image install { + if $(HAIKU_BUILD_PROFILE) in anyboot-image cd-image image install + vmware-image { DefineBuildProfile $(HAIKU_BUILD_PROFILE) : $(HAIKU_BUILD_PROFILE) ; } else { Exit "Build profile" $(HAIKU_BUILD_PROFILE) "not defined." ; @@ -86,7 +88,8 @@ # Include embedded board-specific file. # UserBuildConfig can override HAIKU_BOOT_BOARD. if $(HAIKU_BOOT_BOARD) { - include [ FDirName $(HAIKU_BUILD_RULES_DIR) board $(HAIKU_BOOT_BOARD) BoardSetup ] ; + include [ FDirName $(HAIKU_BUILD_RULES_DIR) board $(HAIKU_BOOT_BOARD) + BoardSetup ] ; } PrepareConfigVariables ; Modified: haiku/branches/features/stack-and-tile/build/config_headers/kernel_debug_config.h =================================================================== --- haiku/branches/features/stack-and-tile/build/config_headers/kernel_debug_config.h 2010-05-13 22:09:06 UTC (rev 36807) +++ haiku/branches/features/stack-and-tile/build/config_headers/kernel_debug_config.h 2010-05-14 05:24:56 UTC (rev 36808) @@ -24,7 +24,11 @@ // Set to 0 to disable support for kernel breakpoints. #define KERNEL_BREAKPOINTS 1 +// Enables the debug syslog feature (accessing the previous syslog in the boot +// loader) by default. Can be overridden in the boot loader menu. +#define KDEBUG_ENABLE_DEBUG_SYSLOG KDEBUG_LEVEL_1 + // block/file cache // Enables debugger commands. @@ -75,16 +79,18 @@ // available. #define DEBUG_SPINLOCKS KDEBUG_LEVEL_2 +#define DEBUG_SPINLOCK_LATENCIES 0 + // VM -// Enables the vm_page::queue, i.e. it is tracked which queue the page should -// be in. +// Enables the vm_page::queue field, i.e. it is tracked which queue the page +// should be in. #define DEBUG_PAGE_QUEUE 0 -// Enables extra debug fields in the vm_page used to track page transitions -// between caches. -#define DEBUG_PAGE_CACHE_TRANSITIONS 0 +// Enables the vm_page::access_count field, which is used to detect invalid +// concurrent access to the page. +#define DEBUG_PAGE_ACCESS KDEBUG_LEVEL_2 // Enables a global list of all vm_cache structures. #define DEBUG_CACHE_LIST KDEBUG_LEVEL_1 @@ -92,6 +98,9 @@ // Enables swap support. #define ENABLE_SWAP_SUPPORT 1 +// Use the slab allocator as generic memory allocator (malloc()/free()). +#define USE_SLAB_ALLOCATOR_FOR_MALLOC 0 + // When set limits the amount of available RAM (in MB). //#define LIMIT_AVAILABLE_MEMORY 256 Modified: haiku/branches/features/stack-and-tile/build/config_headers/tracing_config.h =================================================================== --- haiku/branches/features/stack-and-tile/build/config_headers/tracing_config.h 2010-05-13 22:09:06 UTC (rev 36807) +++ haiku/branches/features/stack-and-tile/build/config_headers/tracing_config.h 2010-05-14 05:24:56 UTC (rev 36808) @@ -26,13 +26,18 @@ #define BLOCK_CACHE_BLOCK_TRACING 0 #define BLOCK_CACHE_TRANSACTION_TRACING 0 #define BMESSAGE_TRACING 0 +#define FILE_DESCRIPTOR_TRACING 0 +#define FILE_DESCRIPTOR_TRACING_STACK_TRACE 0 /* stack trace depth */ +#define IO_CONTEXT_TRACING 0 +#define IO_CONTEXT_TRACING_STACK_TRACE 0 /* stack trace depth */ #define KERNEL_HEAP_TRACING 0 #define KTRACE_PRINTF_STACK_TRACE 0 /* stack trace depth */ #define NET_BUFFER_TRACING 0 #define NET_BUFFER_TRACING_STACK_TRACE 0 /* stack trace depth */ -#define OBJECT_CACHE_TRACING 0 #define PAGE_ALLOCATION_TRACING 0 #define PAGE_DAEMON_TRACING 0 +#define PAGE_STATE_TRACING 0 +#define PAGE_STATE_TRACING_STACK_TRACE 0 /* stack trace depth */ #define PAGE_WRITER_TRACING 0 #define PARANOIA_TRACING 0 #define PARANOIA_TRACING_STACK_TRACE 0 /* stack trace depth */ @@ -41,6 +46,8 @@ #define SCHEDULER_TRACING 0 #define SCHEDULING_ANALYSIS_TRACING 0 #define SIGNAL_TRACING 0 +#define SLAB_MEMORY_MANAGER_TRACING 0 +#define SLAB_OBJECT_CACHE_TRACING 0 #define SWAP_TRACING 0 #define SYSCALL_TRACING 0 #define SYSCALL_TRACING_IGNORE_KTRACE_OUTPUT 1 @@ -49,6 +56,7 @@ #define USER_MALLOC_TRACING 0 #define VFS_PAGES_IO_TRACING 0 #define VM_CACHE_TRACING 0 +#define VM_CACHE_TRACING_STACK_TRACE 0 /* stack trace depth */ #define VM_PAGE_FAULT_TRACING 0 #define WAIT_FOR_OBJECTS_TRACING 0 Copied: haiku/branches/features/stack-and-tile/build/jam/AnybootImage (from rev 36798, haiku/trunk/build/jam/AnybootImage) =================================================================== --- haiku/branches/features/stack-and-tile/build/jam/AnybootImage (rev 0) +++ haiku/branches/features/stack-and-tile/build/jam/AnybootImage 2010-05-14 05:24:56 UTC (rev 36808) @@ -0,0 +1,50 @@ +# Set anyboot file name and directory defaults. +HAIKU_ANYBOOT_NAME ?= $(HAIKU_DEFAULT_ANYBOOT_NAME) ; +HAIKU_ANYBOOT_DIR ?= $(HAIKU_DEFAULT_ANYBOOT_DIR) ; +HAIKU_ANYBOOT = $(HAIKU_ANYBOOT_NAME) ; +HAIKU_ANYBOOT_LABEL ?= $(HAIKU_DEFAULT_ANYBOOT_LABEL) ; + +rule BuildAnybootMBR binary : source { + Depends $(binary) : $(source) ; + + MBR_SOURCE on $(binary) = $(source) ; + + BuildAnybootMBR1 $(binary) ; +} + +actions BuildAnybootMBR1 { + $(RM) $(1) + $(TARGET_CC) $(MBR_SOURCE) -o $(1) -nostdlib -Xlinker --oformat=binary -Xlinker -S -Xlinker -N -Xlinker "-e start" -Xlinker "-Ttext=0x600" +} + +rule BuildAnybootImage anybootImage : mbrPart : isoPart : imageFile { + local anyboot = <build>anyboot ; + + Depends $(anybootImage) : $(anyboot) ; + Depends $(anybootImage) : $(isoPart) ; + Depends $(anybootImage) : $(mbrPart) ; + Depends $(anybootImage) : $(imageFile) ; + + BuildAnybootImage1 $(anybootImage) : $(anyboot) $(isoPart) $(mbrPart) $(imageFile) ; +} + +actions BuildAnybootImage1 { + $(2[1]) $(1) $(2[2]) $(2[3]) $(2[4]) +} + +local baseMBR = base_mbr.bin ; +local mbrSource = [ FDirName $(HAIKU_TOP) src bin writembr mbr.S ] ; +BuildAnybootMBR $(baseMBR) : $(mbrSource) ; +MakeLocate $(baseMBR) : $(HAIKU_OUTPUT_DIR) ; +MakeLocate $(HAIKU_ANYBOOT) : $(HAIKU_ANYBOOT_DIR) ; +BuildAnybootImage $(HAIKU_ANYBOOT) : $(baseMBR) : $(HAIKU_CD_BOOT_IMAGE) + : $(HAIKU_IMAGE_NAME) ; + +# TODO: this one seems to cause the build to fail each other run (caching?) +#RmTemps $(HAIKU_ANYBOOT) : $(baseMBR) ; +RmTemps $(HAIKU_ANYBOOT) : $(HAIKU_CD_BOOT_IMAGE) ; +RmTemps $(HAIKU_ANYBOOT) : $(HAIKU_IMAGE_NAME) ; +RmTemps $(HAIKU_ANYBOOT) : $(HAIKU_BOOT_FLOPPY) ; + +NotFile haiku-anyboot-image ; +Depends haiku-anyboot-image : $(HAIKU_ANYBOOT) ; Modified: haiku/branches/features/stack-and-tile/build/jam/BeOSRules =================================================================== --- haiku/branches/features/stack-and-tile/build/jam/BeOSRules 2010-05-13 22:09:06 UTC (rev 36807) +++ haiku/branches/features/stack-and-tile/build/jam/BeOSRules 2010-05-14 05:24:56 UTC (rev 36808) @@ -187,7 +187,7 @@ local cc ; local defines ; local localIncludesOption ; - + on $(1) { # use on $(1) variable values defines = $(DEFINES) ; @@ -204,9 +204,9 @@ DEFINES on $(1) = $(defines) ; CCDEFS on $(1) = [ FDefines $(defines) ] ; - HDRS on $(1) = [ FIncludes $(SEARCH_SOURCE) $(SUBDIRHDRS) $(HDRS) + HDRS on $(1) = [ FIncludes $(SEARCH_SOURCE) $(SUBDIRHDRS) $(HDRS) : $(localIncludesOption) ] ; - RCHDRS on $(1) = [ FIncludes $(SEARCH_SOURCE) $(SUBDIRHDRS) $(HDRS) + RCHDRS on $(1) = [ FIncludes $(SEARCH_SOURCE) $(SUBDIRHDRS) $(HDRS) : "-I " ] ; CC on $(1) = $(cc) ; @@ -274,9 +274,9 @@ # Extract catalog entries from the sourcefile and put the output textfile in # target. This output file is then used to create the binary catalog with # linkcatkeys. -rule ExtractCatalogEntries target : source : signature +rule ExtractCatalogEntries target : source : signature : regexp { -# get compiler and defines for the platform + # get compiler and defines for the platform local headers ; local sysHeaders ; local cc ; @@ -319,13 +319,18 @@ [ FSysIncludes $(sysHeaders) : $(systemIncludesOption) ] ; CC on $(target) = $(cc) ; - LOCALE_KIT_SIGNATURE on $(target) = $(signature) ; + HAIKU_CATALOG_SIGNATURE on $(target) = $(signature) ; + if $(regexp) = "" { + HAIKU_CATALOG_REGEXP on $(target) = ; + } else { + HAIKU_CATALOG_REGEXP on $(target) = -r $(regexp) ; + } SEARCH on $(source) += $(SEARCH_SOURCE) ; MakeLocatePlatform $(target) ; Depends $(target) : $(source) <build>collectcatkeys ; - LocalClean clean : $(target) ; + LocalClean clean : $(target).pre ; ExtractCatalogEntries1 $(target) : <build>collectcatkeys $(source) ; } @@ -333,54 +338,70 @@ { $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR) cat "$(2[2-])" | $(CC) -E $(CCDEFS) $(HDRS) - > "$(1)".pre - $(2[1]) -s $(LOCALE_KIT_SIGNATURE) -w -o "$(1)" "$(1)".pre + $(2[1]) $(HAIKU_CATALOG_REGEXP) -s $(HAIKU_CATALOG_SIGNATURE) -w -o "$(1)" "$(1)".pre } -# Link catalog entries from given catkey file into output compiled catalog file. -# Compiled catalog file will then be copied into the image, but only if the -# fingerprint matches the one from the untranslated catalog for the same file. rule LinkApplicationCatalog target : sources : signature : language { + # Link catalog entries from given catkey file into output compiled catalog + # file. Compiled catalog file will then be copied into the image, but only + # if the fingerprint matches the one from the untranslated catalog for the + # same file. + MakeLocateArch $(target) ; - LOCALE_KIT_SIGNATURE on $(target) = $(signature) ; Depends $(target) : $(sources) <build>linkcatkeys ; LocalClean clean : $(target) ; - LinkApplicationCatalog1 $(target) - : <build>linkcatkeys $(language) $(sources) ; + + HAIKU_CATALOG_SIGNATURE on $(target) = $(signature) ; + HAIKU_CATALOG_LANGUAGE on $(target) = $(language) ; + LinkApplicationCatalog1 $(target) : <build>linkcatkeys $(sources) ; } actions LinkApplicationCatalog1 { $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR) - $(2[1]) "$(2[3-])" -l $(2[2]:B) -v -s $(LOCALE_KIT_SIGNATURE) -o "$(1)" + $(2[1]) "$(2[2-])" -l $(HAIKU_CATALOG_LANGUAGE) -v \ + -s $(HAIKU_CATALOG_SIGNATURE) -o "$(1)" } -# General rules to invoke from jamfiles and that do (almost) everything related -# to localization -rule DoCatalogs appName # Application name - : signature # Application MIME signature (must match the one - # declared in the sourcecode) - : sources # List of cpp files where to search keys - : generatedCatalog # Name of the generated catalog (most probably - # english.catalog) - : translatedCatalogs # List of available translations +rule DoCatalogs target : signature : sources : sourceLanguage : regexp { - genCat = [ FGristFiles $(generatedCatalog) ] ; - trans = [ FGristFiles $(translatedCatalogs) ] ; - srcs = [ FGristFiles $(sources) ] ; - SEARCH on $(trans) += [ FDirName $(HAIKU_TOP) data catalogs $(SUBDIR_TOKENS[2-]) ] ; + # DoCatalogs <target> : <signature> : <sources> [ : <sourceLanguage> ] + # [ : <regexp> ] + # + # Extracts the catkeys from a target's source files, generates the + # default catalog from them, and also generates catalogs for all + # translations. + # + # target: The target. + # signature: Application MIME signature (must match the one + # declared in the sourcecode). + # sources: List of cpp files where to search keys. + # sourceLanguage Short name of the language of used for the strings in + # the sources. Optional: default is "en". + # regexp The regular expression used to parse the files. + # Optional: default is matching be_catalog->GetString - ExtractCatalogEntries $(genCat:S=.catkeys) : $(srcs) : $(signature) ; + local generatedCatalog = [ FGristFiles $(sourceLanguage:E=en:S=.catalog) ] ; - LinkApplicationCatalog $(genCat) : $(genCat:S=.catkeys) - : $(signature) : $(genCat:B) ; - - for catalog in $(trans) - { - LinkApplicationCatalog $(catalog:S=.catalog) : $(catalog) - : $(signature) : $(catalog:B) ; + # generate catkeys file from sources + ExtractCatalogEntries $(generatedCatalog:S=.catkeys) + : [ FGristFiles $(sources) ] : $(signature) : $(regexp) ; + + # find translations + local translationsDir + = [ FDirName $(HAIKU_TOP) data catalogs $(SUBDIR_TOKENS[2-]) ] ; + local translations = [ Glob $(translationsDir) : *.catkeys ] ; + translations = [ FGristFiles $(translations:BS) ] ; + SEARCH on $(translations) += $(translationsDir) ; + + # generate catalogs from all catkeys files + local catkeysFiles = $(generatedCatalog:S=.catkeys) $(translations) ; + for catkeysFile in $(catkeysFiles) { + LinkApplicationCatalog $(catkeysFile:S=.catalog) : $(catkeysFile) + : $(signature) : $(catkeysFile:B) ; } - - AddFilesToHaikuImage system etc locale catalogs $(signature) : - $(genCat) $(trans:S=.catalog) ; + + HAIKU_CATALOG_FILES on $(target) = $(catkeysFiles:S=.catalog) ; + HAIKU_CATALOG_SIGNATURE on $(target) = $(signature) ; } Modified: haiku/branches/features/stack-and-tile/build/jam/BuildSetup =================================================================== --- haiku/branches/features/stack-and-tile/build/jam/BuildSetup 2010-05-13 22:09:06 UTC (rev 36807) +++ haiku/branches/features/stack-and-tile/build/jam/BuildSetup 2010-05-14 05:24:56 UTC (rev 36808) @@ -73,6 +73,11 @@ HAIKU_DEFAULT_CD_DIR = $(HAIKU_OUTPUT_DIR) ; HAIKU_DEFAULT_CD_LABEL = Haiku ; +# Haiku Anyboot defaults +HAIKU_DEFAULT_ANYBOOT_NAME = haiku-anyboot.image ; +HAIKU_DEFAULT_ANYBOOT_DIR = $(HAIKU_OUTPUT_DIR) ; +HAIKU_DEFAULT_ANYBOOT_LABEL ?= Haiku ; + # analyze and optionally replace jam's target parameters ProcessCommandLineArguments ; @@ -181,17 +186,30 @@ # analyze the gcc machine spec to determine HAIKU_CPU switch $(HAIKU_GCC_MACHINE) { - case i386-* : HAIKU_CPU = x86 ; - case i486-* : HAIKU_CPU = x86 ; - case i586-* : HAIKU_CPU = x86 ; - case i686-* : HAIKU_CPU = x86 ; + case i?86-* : HAIKU_CPU = x86 ; + case x86_64-* : HAIKU_CPU = x86_64 ; case powerpc-* : HAIKU_CPU = ppc ; - case m68k-* : HAIKU_CPU = m68k ; + case m68k-* : HAIKU_CPU = m68k ; case mipsel-* : HAIKU_CPU = mipsel ; - case arm-* : HAIKU_CPU = arm ; - case * : Exit "Unsupported gcc target machine:" $(HAIKU_GCC_MACHINE) ; + case arm-* : HAIKU_CPU = arm ; + case * : Exit "Unsupported gcc target machine:" + $(HAIKU_GCC_MACHINE) ; } +# determine the endianness of the host +switch $(HOST_GCC_MACHINE) { + case amd64-* : HAIKU_HOST_IS_BIG_ENDIAN = 0 ; + case i?86-* : HAIKU_HOST_IS_BIG_ENDIAN = 0 ; + case powerpc-* : HAIKU_HOST_IS_BIG_ENDIAN = 1 ; + case x86_64-* : HAIKU_HOST_IS_BIG_ENDIAN = 0 ; + + # the following are rather unlikely as hosts ... + case arm-* : HAIKU_HOST_IS_BIG_ENDIAN = 0 ; + case m68k-* : HAIKU_HOST_IS_BIG_ENDIAN = 1 ; + case mipsel-* : HAIKU_HOST_IS_BIG_ENDIAN = 0 ; + case * : Exit "Unsupported gcc host machine:" $(HOST_GCC_MACHINE) ; +} + switch $(HAIKU_CPU) { case ppc : { @@ -226,6 +244,19 @@ Exit "HAIKU_YASM not set. Please re-run configure." ; } } + case x86_64 : + { + HAIKU_DEFINES += __x86_64__ ; + HAIKU_BOOT_PLATFORM = bios_ia32 ; + HAIKU_BOOT_FLOPPY_IMAGE_SIZE = 2880 ; # in kB + # offset in floppy image (>= sizeof(haiku_loader)) + HAIKU_BOOT_ARCHIVE_IMAGE_OFFSET = 300 ; # in kB + + # yasm is required for target arch x86_64 + if ! $(HAIKU_YASM) { + Exit "HAIKU_YASM not set. Please re-run configure." ; + } + } case m68k : { HAIKU_DEFINES += __M68K__ ; @@ -275,10 +306,8 @@ HAIKU_ASFLAGS = ; # C/C++ flags -HAIKU_KERNEL_CCFLAGS += -finline -fno-builtin - -DBOCHS_DEBUG_HACK=$(BOCHS_DEBUG_HACK) ; -HAIKU_KERNEL_C++FLAGS += -finline -fno-builtin -fno-exceptions - -DBOCHS_DEBUG_HACK=$(BOCHS_DEBUG_HACK) ; +HAIKU_KERNEL_CCFLAGS += -finline -fno-builtin ; +HAIKU_KERNEL_C++FLAGS += -finline -fno-builtin -fno-exceptions ; HAIKU_KERNEL_DEFINES += _KERNEL_MODE ; if $(HAIKU_GCC_VERSION[1]) >= 3 { @@ -296,38 +325,42 @@ HAIKU_KERNEL_PIC_CCFLAGS = -fno-pic ; HAIKU_KERNEL_PIC_LINKFLAGS = ; -if $(HAIKU_ARCH) = ppc { - # Build a position independent PPC kernel. We need to be able to relocate - # the kernel, since the virtual address space layout at boot time is not - # fixed. - HAIKU_KERNEL_PIC_CCFLAGS = -fPIE ; - HAIKU_KERNEL_PIC_LINKFLAGS = -shared -fPIE ; -} -if $(HAIKU_ARCH) = m68k { - # We don't need a PIC kernel as it's always at the same place. - # it's actually needed to not use pic, else linking fails due to too large - # pc refs. - HAIKU_KERNEL_PIC_CCFLAGS = -fno-pic ; - HAIKU_KERNEL_PIC_LINKFLAGS = ; - # we don't want to have to handle emulating missing FPU opcodes for 040 and - # 060 in the kernel - HAIKU_KERNEL_CCFLAGS += -m68020-60 ; - HAIKU_KERNEL_C++FLAGS += -m68020-60 ; -} -if $(HAIKU_ARCH) = mipsel { - # todo: verify correctness of this - HAIKU_KERNEL_PIC_CCFLAGS = -fno-pic ; - HAIKU_KERNEL_PIC_LINKFLAGS = ; -} -# If the environment variable DEBUG_PRINTF is defined we define an equally -# named macro to the variable value. Some components use the macro to allow -# another function than printf() to print the debug output. The variable should -# be set to the name of the alternative function. -# -if $(DEBUG_PRINTF) { - HAIKU_CCFLAGS += [ FDefines DEBUG_PRINTF=$(DEBUG_PRINTF) ] ; - HAIKU_C++FLAGS += [ FDefines DEBUG_PRINTF=$(DEBUG_PRINTF) ] ; +switch $(HAIKU_ARCH) { + case ppc : + { + # Build a position independent PPC kernel. We need to be able to + # relocate the kernel, since the virtual address space layout at boot + # time is not fixed. + HAIKU_KERNEL_PIC_CCFLAGS = -fPIE ; + HAIKU_KERNEL_PIC_LINKFLAGS = -shared -fPIE ; + } + + case m68k : + { + # We don't want to have to handle emulating missing FPU opcodes for 040 + # and 060 in the kernel. + HAIKU_KERNEL_CCFLAGS += -m68020-60 ; + HAIKU_KERNEL_C++FLAGS += -m68020-60 ; + } + case x86 : + { + HAIKU_CCFLAGS += -march=pentium ; + HAIKU_C++FLAGS += -march=pentium ; + HAIKU_KERNEL_CCFLAGS += -march=pentium ; + HAIKU_KERNEL_C++FLAGS += -march=pentium ; + + # Enable use of the gcc built-in atomic functions instead of atomic_*(). + # The former are inlined and have thus less overhead. They are not + # available with gcc 2, but the header will take care of that. + HAIKU_DEFINES += B_USE_BUILTIN_ATOMIC_FUNCTIONS ; + } + case x86_64 : + { + # Enable use of the gcc built-in atomic functions instead of atomic_*(). + # The former are inlined and have thus less overhead. + HAIKU_DEFINES += B_USE_BUILTIN_ATOMIC_FUNCTIONS ; + } } # If the environment variable HAIKU_INCLUDE_PATENTED_CODE is defined, we @@ -336,10 +369,8 @@ # techniques, for example the Freetype bytecode hinter or sub-pixel rendering # as well as some problematic media codecs. if $(HAIKU_INCLUDE_PATENTED_CODE) { - HAIKU_CCFLAGS += [ FDefines - HAIKU_INCLUDE_PATENTED_CODE=$(HAIKU_INCLUDE_PATENTED_CODE) ] ; - HAIKU_C++FLAGS += [ FDefines - HAIKU_INCLUDE_PATENTED_CODE=$(HAIKU_INCLUDE_PATENTED_CODE) ] ; + HAIKU_DEFINES [... truncated: 1959265 lines follow ...]