Commit Graph

29685 Commits

Author SHA1 Message Date
Michael Lotz
c26b324e20 Should fix GCC4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-25 21:26:54 +00:00
Oliver Tappe
33203f677e * added support for ctime to BFS by grabbing two of the pad-fields
* added TODO about a sanity check that should perhaps be dropped
I checked this change with both a haiku-BFS partition and one from R5

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-25 18:04:28 +00:00
Ingo Weinhold
42c9b01aa6 * {BEntry,BNode}::GetStat() were still passing the BeOS struct stat size to
the syscall. Anything beyond st_mtim was therefore not filled in. Fixes
  the incorrectly shown creation times in Tracker.
* The BStatable::GetStat() solution was not sufficient yet. We still have to
  provide the old GetStat() symbol for BNode and BEntry, since those could be
  used by old applications/libraries. We also still have to implement the old
  GetStat() slots in the derived classes, but don't need to implement it in
  the base class (was purely virtual before and is private now).
* The old BStatable::_OhSoStatable1() slot function was not implemented
  correctly. Calling the virtual function at the vtable slot obviously results
  in an infinite recursion. The correct implementation would make use of the
  Perform() method, but Be didn't provide one for BStatable, so we have to use
  the old GetStat() method. Fixed #3960.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-25 14:03:38 +00:00
Ingo Weinhold
a474455132 Changed the way the zip archive with the alternative gcc libraries is built.
Now that's done like building the network boot archive, which gives us a lot
more flexibility for defining its contents.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-25 01:21:32 +00:00
Jérôme Duval
56d4690860 wakeup() means wake any waiting threads, so we use the relevant flags. this gives a reliable dv receive stream here.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 23:15:04 +00:00
Michael Lotz
f2d4d6f676 Invalidate the elfHeader variable when the image struct is deleted on error, as
they share the same pointer. Should fix bug #3955.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 23:10:55 +00:00
Ingo Weinhold
d40c694ea5 * Reverted r30843.
* Don't call abmon_init() when HAVE_NL_LANGINFO is not defined. It would
  always fail.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 22:36:24 +00:00
Ingo Weinhold
48f1a5b4c9 Patch by Eric Petit: A read select() should not block when there's not data
available anymore and the remote end has been write-shut-down. Fixes #3536.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 22:13:12 +00:00
Ingo Weinhold
f604da453f Patch by Eric Petit: Fixed the library path for the build tools on Darwin.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 22:07:06 +00:00
Jérôme Duval
953008a064 use video/dv instead, use a more generic sniffer rule. Thanks Fredrik!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 17:22:25 +00:00
Jérôme Duval
16b35692b8 don't display an error when not using langinfo.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 16:35:17 +00:00
Jérôme Duval
12f1ff4387 added video/x-dv mime type
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 16:29:55 +00:00
Ingo Weinhold
9d1e2205f5 gcc 4 fix: missing include.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 15:12:00 +00:00
Michael Lotz
cc636a35cb Simplify dirty region handling when copying regions. Basically the full region
is considered dirty and only what we are really able to copy (which excludes all
possible dirty regions) is removed from that again. This is simpler and less
error prone than to remove more than we may copy and then add the old dirty
regions back. Fixes a few region copy related redraw issues most visible in case
of scrolling like non-updated parts when scrolling in Tracker or Terminal as in
bug #3803.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 14:38:09 +00:00
Jérôme Duval
1b0da12a6b update coreutils rdef
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 14:36:36 +00:00
Bruno G. Albuquerque
9bed204d78 - Remove left-over debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 14:02:06 +00:00
Bruno G. Albuquerque
5850567a72 - Fix renaming a FAT volume.
Note that this does not fix the fact that the volume name can be in the bpb or
in a diri. The dosfs_identify_partition() only returns the label in the bpb so
more usually than not it will show one name in Tracker's mount menu and a
different name when mounted.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 13:56:16 +00:00
Stephan Aßmus
cabb897a5e * I obviously forgot to test copying playlist items.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 12:38:21 +00:00
Stephan Aßmus
49ac3f1dbe * Cleanup
* Removed already resolved TODO


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 12:37:56 +00:00
Stephan Aßmus
c60fcc87e0 * Changed the PlaylistItem interface to be hopefully more flexible. It can
probably still be improved.
* Renamed EntryRefPlaylistItem to just FilePlaylistItem.
* Moved the "move into Trash" and "restore from Trash" implementation into
  FilePlaylistItem. Also added what's needed to allow Tracker to restore the
  entry itself.
* Refactored everything to make Playlist use PlaylistItems instead of
  entry_refs and all that entails...
* The transition to virtualize PlaylistItems is not complete yet in the
  Controller, since it still uses BMediaFile there. But it's much easier to
  change that now.
* Objects which keep a PlaylistItem around do correct reference counting, but
  some commands could be simplified if they were using references as well. It
  still should work correctly, though, if I didn't miss anything. It should also
  fix theoretical situations of encountering out-of-memory while messing with
  the Playlist leading to inconsistent state between Undo/Redo and then leaking
  items because of that.
* Added the discussed change that MediaPlayer checks it's own supported types
  before rejecting a file by super type. (untested)
* When importing playlist items, the currently playling item is better
  maintained during Undo/Redo.
* Some debugging code added in MediaTrackAudioSupplier, no functional changes.
* Fixed a number of coding style issues and automatic whitespace cleanup.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-24 12:21:56 +00:00
Ingo Weinhold
a428058ded * Copy the attributes before setting the destination's permissions. At least
under Linux this caused trouble for files without write permission.
* Fixed gcc4 warning.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-23 23:56:08 +00:00
Ingo Weinhold
a84f41d8a0 Patch by Matt Madia: Added "cd-image" build profile type and "alpha-cd" build
profile. Small changes by myself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-23 22:19:30 +00:00
Jérôme Duval
396dd2edd3 added missing newline for the fwcontrol help
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-23 18:51:46 +00:00
Ingo Weinhold
bcfe344c53 * Made our struct stat POSIX compliant again -- the time_t fields have been
replaced by timespec fields. Via macros the structure is still source
  compatible with the old one.
* Introduced header <compat/sys/stat.h> that defines the old stat structure
  (as stat_beos) and conversion functions
* Introduced versions for [l,f]stat().
* Added symbol versions for BDirectory::GetStatFor() for sake of binary
  compatibility.
* BStatable::GetStat(): Renamed the old method, changed its parameter to
  stat_beos*, and and made it private. Added a new version (using up a
  reserved vtable slot). It remains source and binary compatible.
* BRefFilter::Filter(): Changed the struct stat* parameter to struct stat_beos*
  for sake of binary compatibility. This breaks source compatibility, though,
  which we can't help, since the class doesn't have reserved vtable slots.
* Fixed several issues with the stat structure change, mostly adjusted uses of
  BRefFilter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-22 15:15:16 +00:00
Ingo Weinhold
f15e418bab Removed remapping of the *stat() symbols for BeOS executables. We'll use
symbol versioning instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-22 14:59:19 +00:00
Ingo Weinhold
897514785a Introduced macro B_DEFINE_SYMBOL_VERSION() in <BeBuild.h> to help with
versioning symbols, and private macro DEFINE_LIBROOT_KERNEL_SYMBOL_VERSION()
for symbols compiled into both libroot and kernel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-22 14:57:40 +00:00
Ingo Weinhold
544e3d2523 Commented out more unused glibc stuff. Scary...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-22 14:55:28 +00:00
Ingo Weinhold
ef3966e888 Added version scripts for the kernel, libroot, and libbe. ATM each has two
version nodes: *_BASE and *_1_ALPHA1.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-22 14:53:31 +00:00
Ingo Weinhold
297827477b Added rule SetVersionScript to set the version script for a target and adjusted
the Link and KernelLd rules to support it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-22 14:51:16 +00:00
Ingo Weinhold
79182ad1e5 Reverted r30822, fixing the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-21 20:44:04 +00:00
Jérôme Duval
434f9efa9a merging coreutils-7.4 into trunk
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-21 19:42:01 +00:00
Jérôme Duval
d5dbb2e3b1 TARGET_STATIC_LIBSUPC++ needs strcat on gcc4, get it before libruntime_loader.a
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-21 19:36:52 +00:00
Michael Lotz
5ba33c51f2 * Integrate reports/items some more.
* Reorganize how items are added to collections.
* Make collections useful for enumeration through that.
* Added printing out of collections, reports and report items for easier
  verification of report parsing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-21 15:53:52 +00:00
Ingo Weinhold
9bf61a0ecc * Added GNU style ELF symbol versioning support in the kernel, too.
* Fixed memory leak in insert_preloaded_image() in error case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-21 15:08:42 +00:00
Ingo Weinhold
0f7d5a0010 Should have been part of r30818. The version "glue".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-21 15:05:45 +00:00
Ingo Weinhold
c154b94624 Added haiku_version_glue.o "glue code" containing the Haiku/ABI version
symbols recently introduced. Until init_term_dyn.o is linked into kernel
add-ons, too, we link with haiku_version_glue.o, so we have those symbols
in kernel add-ons as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-21 15:04:37 +00:00
Ingo Weinhold
b3f709b800 Removed unused elf_version_info::hidden field.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-21 13:11:54 +00:00
Stephan Aßmus
e06d0e5187 Patch by Geert Hendrickx: Implemented a Colemak keymap. See <http://colemak.com>
for more information. Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-21 12:05:18 +00:00
Jérôme Duval
886a2b2fed updated mesa to 7.4.2
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-21 11:08:49 +00:00
Axel Dörfler
519d40076d * Removed the outdated chkbfs command. The "checkfs" command has replaced
this one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-21 11:03:16 +00:00
Stephan Aßmus
f8c4cae9a9 Patch by scottmc: updated p7zip package. Thanks a lot!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-21 09:55:40 +00:00
Ingo Weinhold
94830eb226 * Moved most code of the heavy elf.cpp into several smaller source files.
* Some style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-21 00:57:46 +00:00
Oliver Tappe
b327a1bc7d * when forking a team, not only the signal mask, but also the sig_actions
and the signal stack must be copied into the new thread (at least that's
  what I could make of IEEE Std 1003.1-2001 regarding the expected behaviour
  of fork)
This brings down the failures of the rsync test suite from 24 to 18 ...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-20 23:10:13 +00:00
Ingo Weinhold
003ebb0e83 * Also define the build system variables TARGET_STATIC_{LIBSTDC++,LIBSUPC++}.
* runtime loader:
  - Fixed gcc 4 warnings.
  - Enabled -Werror.
  - Renamed all remaining *.c source files to *.cpp.
  - Implemented GNU style ELF symbol versioning support.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-20 02:22:36 +00:00
Stephan Aßmus
01b9223aa5 Woha, "anyways" is not proper English! Thanks bbjimmy for noticing!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-19 22:08:11 +00:00
François Revol
e7f164dc48 Some more extensions for souce code type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-19 21:45:37 +00:00
Oliver Tappe
b18b590a98 * added layouts for the Kinesis "Advantage" and "Ergo Elan" contoured keyboards
Ingo / Axel: please shout if the Advantage isn't correct - I could only test
with my Ergo Elan (the international version).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-19 20:39:09 +00:00
Stephan Aßmus
ba0e6050f5 Auto-hide cursor after 2 secs already, thanks Axel, for the suggestion.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-19 18:51:08 +00:00
Ingo Weinhold
66c7ac945a Updated copyright year.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 22:04:28 +00:00
Ingo Weinhold
3946355306 Already included in the header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 22:03:21 +00:00