Commit Graph

29504 Commits

Author SHA1 Message Date
Ingo Weinhold d3e1c27d6b Added FSplitString helper rule, which splits a string at a given delimiter
character, returning a component list.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-27 00:26:29 +00:00
Jérôme Duval 5348460789 Fixed #1896 by using directly pregenerated bc.c and scan.c instead of bc.y and scan.l
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 21:38:30 +00:00
Oliver Tappe b788c037f3 * Fixed incorrect use of IN_MULTICAST in ipv4: the macro must be invoked
on an address in host-byte-order, not network-byte-order.
  Basically this caused failure for all IP-traffic to any IP-address
  where the last byte & 0xF0 == 0xe0.
Now we can surf www.pcre.org again ;-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 21:34:42 +00:00
Jérôme Duval 7ba59d8729 don't try to allocate an empty BBitmap
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 20:38:10 +00:00
Rudolf Cornelissen 80b01907d9 modified GPU Ptimer programming which according to nouveau should fix LVDS panel programming in some cases. Bumped version to 0.91. If this update brings trouble, let me know... Sorry about the empty commit message before btw.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 18:46:00 +00:00
Rudolf Cornelissen aeb4bf93d4 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30867 a95241bf-73f2-0310-859d-f6bbb57e9c96 2009-05-26 18:34:05 +00:00
Oliver Tappe 2dc3fd4652 * fixed gcc4-build of DriverSettingsTest
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 15:23:06 +00:00
Oliver Tappe f36c9e44ac * added a couple more test dates that contain timezones
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 15:22:04 +00:00
Oliver Tappe 78176019e6 * squashed a TODO in parsedate() about missing timezones - now both textual
(3-letter) and numerical timezones (e.g. -0700) are supported
This means that the workaround in mail_util.cpp of the mail kit could be
removed, but since I do not know if that should still support other versions
of BeOS, I have chosen to leave it alone.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 15:11:05 +00:00
Ingo Weinhold f3473d28c0 Patch by Scott McCreary: Replaced C++ by C comments.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 12:24:37 +00:00
Oliver Tappe ee3720e79d * added optional package for rsync
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 11:39:09 +00:00
Oliver Tappe 440447ec2f closing #3481:
* applied a patch suggested by kaliber that seems to fix the issue for good,
  thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 11:21:56 +00:00
Ingo Weinhold 3a4d80e04c Added translators to the alternative gcc archive (the non-native part of the
hybrid build). Fixes #3952.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 01:07:10 +00:00
Ingo Weinhold 6f2961ffab Added awareness for running with a non-native ABI (hybrid build). In this case
we test for a respective subdirectory for any translators path added and use
that instead, if existing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 01:05:57 +00:00
Ingo Weinhold c7d1aa192f Added system_info::abi field. It contains the system's ABI version, which
might be different from that of the caller (on hybrid builds).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 01:02:39 +00:00
Ingo Weinhold d69c4f6aa9 Removed BeOS support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 00:14:16 +00:00
Ingo Weinhold bd8ff8aa9f Yummy, more style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-26 00:01:48 +00:00
Ingo Weinhold a9cfff5fc2 Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-25 23:51:16 +00:00
Ingo Weinhold 8c7bf264f5 The 'extern "C"' was missing for the C function replacement of the Version()
method. Rather reintroduced the method (private) instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-25 23:32:53 +00:00
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