25964 Commits

Author SHA1 Message Date
Axel Dörfler
d9b93b821a * The bitmap variant of get_device_icon() should now support getting all sizes
even if the icon is not available in that size (ie. is not a vector icon).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27034 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27034
2008-08-18 11:38:53 +00:00
Axel Dörfler
c35ab0c38d * Added new devfs_unpublish_device() that gets a BaseDevice instead of a path.
* Added inode ID member to BaseDevice to make this possible.
* Removed unused and unmaintained legacy_driver::devices_published field.
* Implemented legacy driver's unpublish_driver().
* Reenabled legacy driver reloading on changes.
* Renamed devfs_driver_{added|removed}() to driver_{added|removed}(), and
  made them private.
* Simplified deletion of device_node lists (no need to use an iterator here),
  added device unpublishing.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27033 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27033
2008-08-18 11:07:47 +00:00
Stephan Aßmus
aac7507616 * r27001 left some parameter checks which need to be ommited
for vector icons. Simplified the checks and moved them to
  where the old B_CMAP8 icon is retrieved. The bitmap is allowed
  to have another color space, in which case the icon data is
  converted (code was already in place).
* Added a NOTE comment to how the new B_GET_VECTOR_ICON ioctl
  knows about the correct buffer size for the icon data.
I've tested setting the desktop icon size to something else than
16x16 or 32x32 and it works fine now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27032 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27032
2008-08-18 11:05:15 +00:00
Axel Dörfler
320bd2bd5a * More specific error message when relocating fails.
* Whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27031 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27031
2008-08-18 11:03:50 +00:00
Axel Dörfler
a3901de208 * Build fix: this should have been part of the last commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27030 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27030
2008-08-18 11:03:03 +00:00
Axel Dörfler
8e390e5ea7 * Removed icon support from scsi_periph.
* Removed B_GET_ICON support from scsi_disk, and scsi_cd. This won't be
  necessary anymore soon.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27029 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27029
2008-08-18 11:02:05 +00:00
Salvatore Benedetto
b13724e955 * Update Jamfile
Udf is now compilable, although probably not working.
I'll post on the kernel mailing list as I'm having trouble to get it loaded.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27028 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27028
2008-08-18 10:17:08 +00:00
Salvatore Benedetto
c49d6efc60 * Replaced kernel_cpp.h with util/kernel_cpp.h
* Removed Udf namespace
* Minor clean up


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27027 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27027
2008-08-18 10:13:57 +00:00
Salvatore Benedetto
375d5b5d0c * Removed udf_recognize as it has been moved to kernel_interface.cpp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27026 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27026
2008-08-18 10:11:44 +00:00
Salvatore Benedetto
7d6edec63d * Remove unnecessary file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27025 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27025
2008-08-18 10:02:50 +00:00
Salvatore Benedetto
e1f5f06be8 * Partially ported Volume.cpp. Some stuff is still comment out.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27024 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27024
2008-08-18 10:01:27 +00:00
Salvatore Benedetto
deac135d7c * Replaced kernel_cpp.h with util/kernel_cpp.h
* Removed Udf namespace
* Clean up


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27023 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27023
2008-08-18 09:53:28 +00:00
Salvatore Benedetto
4b2b0bdc48 Ooops! Should have been part of previous commit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27022 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27022
2008-08-18 09:48:00 +00:00
Salvatore Benedetto
f48bfbccaa * Removed Udf namespace
* Renamed String to UdfString


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27021 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27021
2008-08-18 09:46:53 +00:00
Salvatore Benedetto
8cc064d1dc * delete unnecessary cache.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27020 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27020
2008-08-18 09:44:48 +00:00
Salvatore Benedetto
0e7990cd61 * Update CachedBlock.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27019 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27019
2008-08-18 09:43:14 +00:00
Salvatore Benedetto
5fc06217df * Removed fsproto.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27018 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27018
2008-08-18 09:41:29 +00:00
Salvatore Benedetto
a412472546 * Removed DirectoryIterator.{h,cpp} and included them in Icp.{h,cpp}
* Porting Icb to new file cache system


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27017 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27017
2008-08-18 09:40:42 +00:00
Axel Dörfler
e7ada11b55 * Use -f (force) when copying, or else it may bail out if the target already
exists -- this seems to happen only in case a specific name is given for
  the target, though, so it might well be a bug in the fs_shell as well.
  Seen when copying kernel.so to _KERNEL_ on a "update-all".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27016 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27016
2008-08-18 08:39:46 +00:00
Jérôme Duval
b06a48ab8f updated DejaVu fonts to to 2.26
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27015 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27015
2008-08-17 22:41:03 +00:00
Jérôme Duval
a1e7587018 makebootable is now usable without absolute path
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27014 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27014
2008-08-17 22:34:56 +00:00
Jérôme Duval
1603c8367e added echo3g driver to the image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27013 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27013
2008-08-17 22:10:08 +00:00
Jérôme Duval
0b25da8b45 updated libpng to 1.2.30
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27012 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27012
2008-08-17 22:03:24 +00:00
Axel Dörfler
8b97187793 * Adds the _kunlock_node_() syscall obviously used by p4. This should fix
ticket #2626.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27011 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27011
2008-08-17 20:35:05 +00:00
François Revol
cbd43babfe - style cleanup
- remove multi_audio commented code
- don't connect in ctor, but in Node::Connected(), this way it doesn't hang up everything on startup even if it's not the selected system output.
- prepare for asynchronous connection
- add an enable checkbox and change parameter handling


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27010 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27010
2008-08-17 18:37:23 +00:00
François Revol
a4de1ff695 Fix style, ok now ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27009 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27009
2008-08-17 18:01:32 +00:00
Axel Dörfler
58f14b4cc7 * Changed scsi_disk/scsi_cd to return FreeDesktop.org compatible icon names,
see http://www.freedesktop.org/wiki/Specifications/icon-naming-spec for more
  info.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27008 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27008
2008-08-17 17:17:36 +00:00
Rene Gollent
878cc30445 Follow Axel's example in r27000 and use addr_t here.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27007 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27007
2008-08-17 16:49:39 +00:00
Axel Dörfler
de4daffba0 * Fixed bug #2616, preparseDate() would clear the elements array beyond its
maximal size.
* Turned off debug output accidently enabled with the last commit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27006 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27006
2008-08-17 15:00:25 +00:00
Axel Dörfler
e6a9c269be * Style cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27005 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27005
2008-08-17 14:58:36 +00:00
Axel Dörfler
8ce6cfc999 * Added two more public functions: get_named_icon().
* Implemented B_GET_ICON_NAME in get_device_icon().
* Comments welcome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27004 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27004
2008-08-17 14:32:33 +00:00
Bruno G. Albuquerque
128bb4926c - Added a crashing case (with a stack corruption, no less) to the ParseDateTest.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27003 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27003
2008-08-17 13:21:49 +00:00
Maurice Kalinowski
0eddadb922 fix gcc4 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27002 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27002
2008-08-17 13:20:45 +00:00
Axel Dörfler
06ba3f0acb * Added two new ways to retrieve an icon from a device:
- B_GET_ICON_NAME: returns the name of an icon. This will then be read from
    a predefined location on disk (not yet implemented). This would also allow
    to add specifiers like "-boot", or "-fat|bfs|ntfs|...", and have special
    icons for those.
  - B_GET_VECTOR_ICON: retrieves the vector icon of a device, if any.
* get_device_icon(BBitmap*, ...) now supports other color spaces than B_CMAP8.
* Added get_device_icon(), BPartition::GetIcon(), and BVolume::GetIcon()
  variants that can also retrieve the icon data directly (like
  BNodeInfo::GetIcon()).
* Reenabled the previous BPartition::GetIcon(), based on a patch by
  Justin O'Dell - this fixes #1391.
* Tracker's MountMenu class now uses B_RGBA32 icons, instead of B_CMAP8.
* Added vector icon to scsi_disk, and scsi_cd. The former doesn't have any
  special removable icon, though.
* Header cleanup, added/updated license, whitespace cleanup.
* Marked deprecated/obsolete driver ioctls in Drivers.h.
* Removed OpenBeOS namespace in the headers I touched that still had them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27001 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27001
2008-08-17 11:27:07 +00:00
Axel Dörfler
9ad1415ecb * Use addr_t instead of int32, since we're dealing with addresses here, and this
way it wouldn't work on 64 bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27000 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev27000
2008-08-17 10:31:31 +00:00
François Revol
f4bf90f7ce We're actually using serial input for KDL for now...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26999 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26999
2008-08-17 02:11:32 +00:00
François Revol
038a21940d Fix building with TRACE on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26998 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26998
2008-08-16 23:47:20 +00:00
David McPaul
f09d71ca49 Add ALAC and AAC decoder support
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26997 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26997
2008-08-16 23:38:19 +00:00
François Revol
2a1458104d Avoid mounting images inside images (inside images (inside images...)).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26996 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26996
2008-08-16 22:23:10 +00:00
Rene Gollent
da3c38792b Slightly more defensive approach to searching for the image. Thanks Axel :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26995 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26995
2008-08-16 22:07:33 +00:00
Salvatore Benedetto
51933b5533 * Renamed udf.cpp to kernel_interface.cpp and ported it to the new FS API.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26994 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26994
2008-08-16 20:27:16 +00:00
Salvatore Benedetto
6ae7f6879f * Reworked the way sem_undo requests are processed by following
Ingo suggestions: instead of having one global sem_undo list,
  we now have two local list, one per semaphore set and one per team
  which is held in its xsi_sem_context structure, along with a mutex.
  A mutex has also been added to the semaphore set class in order to
  protect the local list, but also in order to (hopefully) improve
  concurrency.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26993 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26993
2008-08-16 18:20:54 +00:00
Michael Lotz
ee8d227588 * Update the size of the safemode settings "file" when concatenating it with
the kernel settings. Settings that were checked in the kernel (like on-screen
  debug output) didn't work anymore, because when handing the settings over to
  the kernel it would have copied only the old size part of the safemode file.
* Add a newline when the kernel and safemode settings are combined. Otherwise
  the first safemode and last kernel setting would get lost if the kernel
  settings file didn't end with a newline.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26992 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26992
2008-08-16 18:06:52 +00:00
Bruno G. Albuquerque
dd76369ea7 - Also fix references to the spa, server in Mail.
- Now marking emails as spam through the Mail app also works.

Still need to fix the Match Header filter as it seems not to be working.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26991 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26991
2008-08-16 12:48:27 +00:00
Axel Dörfler
63c96ae5a5 * Added find directory constants B_{BEOS|COMMON|USER}_DATA_DIRECTORY, which
currently points to /etc for the system, and dedicated "data" directories
  for common/user (the system directory should get a dedicated "data", too,
  though).
* Added B_USER_CACHE_DIRECTORY (in config/cache).
* These additions were discussed some years ago, but I just had a good reason
  to use them :-)
* Coding style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26990 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26990
2008-08-16 11:05:59 +00:00
Rene Gollent
6296f36bc3 Use __HAIKU__ instead of HAIKU_HOST_PLATFORM_HAIKU since apparently the latter doesn't get defined when cross compiling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26989 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26989
2008-08-16 05:11:36 +00:00
Rene Gollent
99b25014bb Do this somewhat differently so as to not break makebootable on non-Haiku hosts. Thanks to luroh for pointing this out.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26988 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26988
2008-08-16 04:26:27 +00:00
Rene Gollent
adf42886f2 Use get_next_image_info to resolve the path to the executable. This fixes the problem that makebootable will not work unless run with an absolute path.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26987 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26987
2008-08-16 03:06:02 +00:00
David McPaul
ac847fc895 Don't call Reader methods with invalid cookies
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26986 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26986
2008-08-16 02:24:19 +00:00
Bruno G. Albuquerque
9e5d812407 - We do not have the AGMS Spam Server in our tree, so fixed signature and names to load the third-party server if
provided.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26985 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev26985
2008-08-15 23:52:23 +00:00