Commit Graph

618 Commits

Author SHA1 Message Date
Matt Madia
9d833d3147 Add newline at end of file. 2012-11-25 15:07:48 -05:00
Oliver Tappe
9761f00b1b Fix build of set_haiku_revision.cpp with gcc2 (on haiku)
* move template method implementations out of class body, as otherwise
  gcc2 bails with internal compiler error - thanks to Christof Lutteroth
  for reporting
2012-11-20 21:51:27 +00:00
Alex Smith
11c9f9a1d6 Merge branch 'master' into x86_64
Conflicts:
	build/jam/FloppyBootImage
	build/jam/OptionalBuildFeatures
	build/jam/OptionalPackages
	headers/private/shared/cpu_type.h
	src/bin/ps.c
	src/bin/sysinfo.cpp
	src/kits/tracker/PoseView.cpp
	src/preferences/appearance/DecorSettingsView.cpp
	src/preferences/virtualmemory/Settings.cpp
	src/servers/input/AddOnManager.cpp
	src/servers/input/InputServer.cpp
	src/servers/input/InputServerMethod.cpp
	src/system/boot/Jamfile
	src/system/boot/platform/raspberrypi_arm/mmu.cpp
	src/system/boot/platform/u-boot/arch/arm/Jamfile
	src/system/kernel/arch/x86/arch_cpu.cpp
	src/system/kernel/arch/x86/arch_thread.cpp
	src/system/kernel/cache/block_cache.cpp
	src/system/kernel/vm/VMAnonymousCache.cpp
2012-11-18 14:02:07 +00:00
Jérôme Duval
61cb4d8c6d libpng and jpeg: build against optional packages.
* added optional feature package for libpng 1.5.12 gcc4/gcc2 x86 and ppc
* drop libpng sources and headers from the tree.
* added optional feature package for jpeg 8d gcc4/gcc2 x86 and ppc
* drop jpeg sources and headers from the tree.
2012-08-27 22:03:18 +02:00
Alex Smith
e688bf23d4 Merge branch 'master' into x86_64
Conflicts:
	src/servers/app/ServerWindow.cpp
2012-08-16 21:11:15 +01:00
John Scipione
e4e68917c3 Cleanup darwin build system some more.
* Convert fs_darwin.cpp and fs_freebsd.cpp to C.
* Convert extern C calls to __BEGIN_DECLS and __END_DECLS macros
* Link rm_attrs with dynamic libroot
2012-08-12 20:33:46 -04:00
Alex Smith
d384cac443 Support ELF64 in set_haiku_revision. 2012-08-11 09:17:15 +01:00
Alex Smith
0efc5e72dc Merge branch 'master' into x86_64 2012-07-28 16:29:41 +01:00
Axel Dörfler
846b2f90f6 Changed the kernel's file_map.cpp to be usable from the fs_shell as well.
* This should reduce our maintenance burden a tiny bit :-)
* It also fixes a bug in the fs_shell, see hrev43395.
2012-07-24 16:00:22 +02:00
Alex Smith
5f6b522746 Merge branch 'master' into x86_64 2012-07-21 14:17:22 +01:00
Philippe Saint-Pierre
599150a3fc CID 701957: opendir() NULL returns weren't accounted for. 2012-07-20 18:31:44 -04:00
Alex Smith
82694bd124 Merge branch 'master' into x86_64
Conflicts:
	headers/posix/arch/x86_64/arch_setjmp.h
	src/system/kernel/cache/block_cache.cpp
2012-07-20 18:33:46 +01:00
Andreas Henriksson
8959a4e0c3 An unused dirty block would put again into the unused list.
* This could cause bug #8123. While this fixes the crash, one underlying
  problem is still there, as dirty blocks should never leave a transaction.
2012-07-19 23:44:25 +02:00
Alex Smith
da80a0500c Preparation for merge of x86 and x86_64 kernel sources.
Since x86 and x86_64 share a lot of common code, x86_64 kernel sources/headers
are going to reside under headers/private/kernel/arch/x86 and
src/system/kernel/arch/x86 along with the existing x86 code. This commit
changes the build system to handle this. A new variable, TARGET_KERNEL_ARCH,
has been added. This is the name of the kernel/boot architecture directory
name, set to x86 on both x86 and x86_64. This is now used in all places where
TARGET_ARCH was used to get to kernel arch sources/headers (I've changed
everything necessary as far as I can tell). Kernel won't build for x86_64
at the moment as the sources have not been merged, loader does.
2012-07-02 14:07:49 +01:00
Alex Smith
40e20c1076 Added gensyscalls headers for x86_64. 2012-06-14 14:18:50 +01:00
Alexander von Gluck IV
966df2f98b cpuidtool: Style cleanup 2012-06-04 11:05:36 -05:00
Alexander von Gluck IV
bd12d75f96 cpuid: consolidate tools to one tool
* Don't move vendor mask
* Place extended cpu info before vendor *if* amd
  cpu family == 0xF
2012-06-04 08:34:44 -05:00
Alexander von Gluck IV
d995d3c634 intelcpuid: A small tool for OS.h
* Takes an Intel CPUID and converts it to a number for OS.h
2012-06-01 11:01:29 -05:00
Alexander von Gluck IV
c84fd0f0fe amdcpuid: Redo how we store amd cpuid's
* Ran out of space, so we do AMD chips as VVFFMM
* Longer family and model masks work
* Plug in any raw hex AMD CPUID and get back Haiku format
2012-05-31 23:57:53 -05:00
Alexander von Gluck IV
f0aca319b9 amdcpuid: A small tool for OS.h
* Takes an AMD CPUID and converts it to a number for OS.h
* Splits on family 0xF as per AMD recommendation
2012-05-31 19:16:30 -05:00
Oliver Tappe
546208a539 More catalog-related cleanup.
* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
  B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.
2012-04-16 21:31:22 +02:00
Oliver Tappe
541ff51a6e Cleanup BCatalogAddOn.
* rename BCatalogAddOn to BCatalogData, since it doesn't represent an
  add-on, but rather the catalog data provided by an add-on
* move BCatalogData out of Catalog.{h,cpp} into its own header and
  implementation file
* drop BCatalogData::MarkForTranslation() methods, they're not needed
* drop BCatalog::GetNoAutoCollectString() methods, they're not being
  used anywhere
* cleanup the B_TRANSLATE_... macros somewhat
* add versions of the B_TRANSLATE_MARK_... macros that are meant to be
  used in void context (when the string isn't being used by the program,
  just meant to be picked up by collectcatkeys).
* adjust several apps to use B_TRANSLATE_MARK_..._VOID where needed
* adjust users of BCatalogAddOn accordingly
2012-04-16 00:04:41 +02:00
Oliver Tappe
5ac65b7f11 More cleanup in locale kit, this time regarding namespaces.
* it's bad practice to do a 'using <namespace>' in a header, as that
  is very likely to have unintended effects, so drop those from a couple
  of private Locale headers
* adjust files all over the locale kit in order to fix the problems
  (by explicitly importing the required classes in the implementation
  files)
2012-04-16 00:04:40 +02:00
Axel Dörfler
8175a2c342 Fixed warning. 2012-04-01 13:06:59 +02:00
Axel Dörfler
bae8d9ab83 Reset the counter after each pass. 2012-03-31 21:57:14 +02:00
Axel Dörfler
ce17af69dc Implemented repairing index b+trees.
* There are now two passes in case a corrupted index tree has been found.
* The second pass will clear the affected indices at first, and will then walk
  over all inodes again to fill them.
* As a side effect, this will also defragment the indices; ie. the same
  mechanism could be used for this some day.
2012-03-31 10:36:35 +02:00
Axel Dörfler
1674a53a45 Added recursive_lock_transfer_lock() to the fs_shell. 2012-03-31 00:09:47 +02:00
Jérôme Duval
026d20288d fs_shell: fix trace build for vfs.cpp 2012-03-18 15:36:25 +01:00
Axel Dörfler
87d5beae86 Made the duplicate_array endian safe. Cleanup.
* Renamed the sorted_array to duplicate_array (which was only a typedef
  before), and moved it into the BPlusTree.cpp file, as its specific to
  that one.
* Utilities.cpp is no longer needed.
* Introduced endian safe getters/setters so that little endian BFS volumes
  should now work fine on a big endian architecture.
2012-03-09 21:18:35 +01:00
Axel Dörfler
08601a8488 Added support for reporting invalid B+trees.
* Fixed the inode progress not being overwritten by the final stats.
* Minor cleanup.
2012-03-07 01:55:02 +01:00
Axel Dörfler
e7985acc3c Build fix -- accidently committed stuff that doesn't exist yet.
* Also removed debug leftover from register_additional_commands().
2012-03-01 09:34:46 +01:00
Axel Dörfler
e9091262c5 Added "checkfs" as additional command for the bfs_shell. 2012-02-29 23:28:54 +01:00
Axel Dörfler
29ecf7b04e command_ioctl() leaked the root directory's file descriptor. 2012-02-29 23:27:46 +01:00
Axel Dörfler
360a644650 Implemented support for file system specific commands.
* File system specific shell implementations can now register any additional
  commands by implementing the register_additional_commands() function.
2012-02-29 22:12:37 +01:00
Rene Gollent
86b8d5d95a Fix build. 2011-12-17 00:04:46 -05:00
John Scipione
0e35d5d2e5 Change instances of wether in comments to whether. No functional change intended. 2011-12-12 14:41:49 -05:00
Ingo Weinhold
2fac6eaa60 Add "package add" command. 2011-11-25 06:19:00 +01:00
Ingo Weinhold
723336fe52 Move directory iteration helper to own file 2011-11-25 06:18:59 +01:00
Ingo Weinhold
cba1e22376 Move PackageWriterListener to separate file 2011-11-25 06:18:59 +01:00
Ingo Weinhold
37d971d3cc Support for extracting only specified entries 2011-11-25 06:18:48 +01:00
Ingo Weinhold
02982802e6 Disable function remapping via macros
STL fstream::open() is used, so the macros break the build.
2011-11-25 06:18:41 +01:00
Ingo Weinhold
f2db3c439d .OPD -> .PackageInfo conversion tool 2011-11-25 06:18:38 +01:00
Ingo Weinhold
2aedac8df2 Build the package tool for the build platform 2011-11-25 06:17:35 +01:00
Oliver Tappe
323b65468e Filtered flat import of Oliver's svn package management branch
Bring the changes that aren't package management related and the ones
that are but don't take effect as long as they are ignored by the build
system into the master.

Summary of changes:
* Introduce private header <directories.h> with constants for a good
  deal of paths that should usually be retrieved via find_directory().
* Replace hard-coded paths by using find_directory() or the
  <directories.h> constants (e.g. in drivers and the kernel).
* Add find_directory() constants needed for package management.
* Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros.
* src/apps/deskbar: BeMenu.* -> DeskbarMenu.*,
  DeskBarUtils.* -> DeskbarUtils.*
* Change deskbar menu settings directory from ~/config/be to
  ~/config/settings/deskbar.
* Other smaller cleanups, changes, and fixes.
2011-11-25 06:17:07 +01:00
François Revol
fdb0863fbe Fix some warnings: use accessor functions instead of deprecated struct fields.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-06 00:39:38 +00:00
Joachim Seemer
a94afff898 A little hack for the script that pulls catkeys from the HTA site. It corrects the confusion of 'zh-hans' vs.'zh_hans' until the catkeys at HTA are correctly found under 'zh_hans'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-05 10:35:46 +00:00
Alexander von Gluck IV
c0ea2063b7 * undo r43186
* fix build due to changes in DSO Linking the right way
  as per bonefish.
* we may need to check host GCC version here... can't find
  when this option was introduced
* fixes #8031 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 19:23:34 +00:00
Alexander von Gluck IV
2f4f7479b0 * relink libroot again to make build compile under new Ubuntu / Fedora versions
which set the --no-add-needed flag (DSO Linking Changes)
* fixes #8031 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 17:59:06 +00:00
Adrien Destugues
1a5c1f9ed5 * Use const references instead of pointers for the read from/write to
attribute/resource method in locale kit catalogs
 * Only load the embedded catalog if nothing else was found, so it can easily
be overridden
 * Change the resource type to 'CADA' (CAtalog DAta) for embedded catalogs, and
use a hash of the language code as the resource ID. This allows multiple
languages to be stored in the same file and does not interfere with the user
storing his own BMessages as resources.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 10:13:34 +00:00
Adrien Destugues
924ead9a3e * Coding style
* Stub out the unneeded code in the buildtool version of DefaultCatalog.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 09:16:38 +00:00