Commit Graph

37592 Commits

Author SHA1 Message Date
François Revol c3159d4a01 - fix favicon url,
- more support for sound, it's enabled now but not activated by default, and needs an experimental patch of mine on QEMU,
- add a .pls playlist.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 22:57:26 +00:00
Jérôme Duval fee84c8b69 It seems 0x47 is the only byte we can trust to sniff mpeg transport stream, not enough to clearly identify.
Added ts as extension. This type of file isn't very well supported by our ffmpeg plugin atm (works well in VLC).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 19:41:41 +00:00
Jérôme Duval 68042b37e5 It seems extension matching is case sensitive, added MP4 for the time being
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 19:37:49 +00:00
Matt Madia b6dc016707 Added a ReadMe, which aims to explain which graphics are released under MIT,
which are trademarks, and where to get more information about the trademarks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 17:51:55 +00:00
Michael Pfeiffer 61729fe266 * Added application print_server_add_on that is used
by the print_server to run a printer driver add-on.
  This makes the print_server
  1) resistant to add-on crashes
  2) and memory leaks in add-ons
  3) license of an add-on cannot influence the
     license of the print_server since it does not
     directly load the add-on anymore; might be
     an issue with GPL printer drivers like Gutenprint
 
  Transport add-ons directly loaded by the print_server
  should be moved outside the print_server too.
  Right now I am not aware that the transport add-ons
  in the repository have any of the issues.
  The Gutenprint driver has 2 + 3 that was the main
  motivation to implement that now. 

  Disabled for now until the launch issue is resolved.
  BRoster does not find the application by its
  signature until it is opened in Tracker once.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 17:13:55 +00:00
Michael Pfeiffer 25a8957728 * Removed unused file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 16:55:08 +00:00
Matt Madia 3033e71f4b Removed ifdef __HAIKU__ for drivers that do not call the Package rule in their
Jamfiles.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 15:26:17 +00:00
Jérôme Duval a1cdecff94 DirectoryIterator changes:
* RemoveEntry(): set inode id to zero when reaching the end of block
* FindEntry(): keep on searching if Get() returns B_BAD_DATA
* added _Offset() based on fLogicalBlock and fDisplacement
* Next(): keep on searching when inode id is zero; also when entry length is zero, keep on with next block
* added GetNext() to get the next valid entry.
* Get(): now returns B_BAD_DATA on a zero length or inode id.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 15:19:08 +00:00
Matt Madia 6a10aabdcf Some alterations to the leaf used in ReadOnlyBootPrompt:
* lightened color to make the leaf more subtle
 * removed the artifact at the base of the stem


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 14:16:48 +00:00
Adrien Destugues 101bdf05d0 * Use BUnicodeChar to decide if a character is space. This is slightly better than considering only ascii space.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 10:08:46 +00:00
Matt Madia 91fbf9fbe5 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 01:44:27 +00:00
Matt Madia ee04dff0df Also unreserve the device on driver uninit. Relates to #6798.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 00:39:08 +00:00
Matt Madia 359353a24d * Initial attempt at updating to utilize (un)reserve_device.
* Also unreserve the device on driver uninit.
 * Improved some TRACE messages
Compiles but otherwise untested. Relates to #6798.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 00:35:40 +00:00
François Revol eab032317f Also unreserve the device on driver uninit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-07 00:22:24 +00:00
Matt Madia 0af80d313a Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 23:49:12 +00:00
Matt Madia a9ea5be764 Initial attempt at updating to utilize (un)reserve_device.
Compiles but otherwise untested. Relates to #6798.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 23:35:25 +00:00
Matt Madia 121d21b2eb Initial attempt at updating to utilize (un)reserve_device.
Compiles but otherwise untested. Relates to #6798.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 23:29:13 +00:00
Ingo Weinhold b0307f5c12 Coding style.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 23:04:52 +00:00
Matt Madia 8056fd2271 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 22:58:46 +00:00
François Revol 193e56fbef Add mount() and unmount() BeOS compatibility calls. This should help to run some old apps like Helios...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 22:28:07 +00:00
Stefano Ceccherini 190806e61f Also check if there are active process when closing a tab.
This completes the work needed to close ticket #3745


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 20:49:39 +00:00
François Revol ceee0a32a4 Fix warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 20:39:48 +00:00
Michael Pfeiffer 442f4337c1 * Workaround for ticket #6794.
Libprint requires the horizontal and vertical resolution
  to be the same. For now use the maximum resolution when
  rendering the page bands.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 18:09:23 +00:00
Rene Gollent 7bab78133d Build fix, ShowImage now uses STL classes,
but wasn't specifying libstdc++ in the Jamfile.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 16:23:44 +00:00
Jérôme Duval 82b3bdd45c Stop the journal on Sync(), start the journal when a transaction is written. This helps with fs state on shutdown.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 14:29:15 +00:00
Ingo Weinhold e5d4255933 Init AtExitInfoBlock::fFirstUnused in the constructor. Probably fixes #6793.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 13:08:04 +00:00
Stephan Aßmus e6cb8eb4c6 * Reuse the check for changed location which decides whether
to Invoke() in MouseUp() in the code path for keyboard control.
   Should fix ticket #6792, but I have not actually tested it.
 * Don't post notification values in KeyDown() when the value did
   not change because it was constrained between min and max values.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 12:43:24 +00:00
Axel Dörfler 328932ac9e * Work in progress on implementing asynchronous image retrieval with a
read-ahead cache. Not yet done or used.
* Added deleting images via delete key again. The only difference to before is
  that it will open the previous image if the last image in a folder was
  removed, and only close ShowImage if there is no image left.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 12:17:49 +00:00
Stephan Aßmus fdca7b0ff3 Applied rest of kalibers patch from ticket #6349. The logging
function in the common accelerant code wasn't public in the first
place and the patch was a correction for r37670, sorry for
missing that. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 11:33:59 +00:00
Stephan Aßmus 4c9da6dc09 Applied patch by kaliber from ticket #6349. which fixes quite a
few warnings. Thanks! I did not apply the hunks about moving
a logging function in the common accelerant code to be static.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 10:17:41 +00:00
Michael Pfeiffer 6ddd8057e6 * Moved printer driver add-on loading and hook function
invocation code from class Printer into new class
  PrinterDriverAddOn.
  Refactored code a little bit.
* Removed duplicate code from class PrintServerApp
  and use methods from class Printer instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 10:17:13 +00:00
François Revol dfc8a217db Check for the unspecialized language code too when probing for a keymap. This way browsers reporting 'fr-fr' only will get fr keymap before other languages are tried.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-06 02:50:38 +00:00
Ingo Weinhold 3d64976518 The TRACE() macro is defined in runtime_loader_private.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-05 20:37:57 +00:00
Stephan Aßmus 08e6655afe Patch by kaliber (ticket #6333): Removed many instances of
passing an additional -Wall to the compiler, which may actually
have unwanted effects. -Wall is standard by the build system.
Also, -Wno-multichar was passed unnecessarily for Haiku targets.
I didn't remove it for the bfs_shell, hope this is what Ingo meant
in the ticket.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-05 20:31:11 +00:00
Jérôme Duval 1aa32c3dd0 if total sectors is greater than 0xffffffff, use this value for ReadCapacity().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-05 19:54:57 +00:00
Ingo Weinhold ea5a105b2d Fixed spelling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-05 19:43:10 +00:00
Axel Dörfler 75bb8dc650 * Applied kaliber's patch part of ticket #6789, thanks! This makes the code not
only more readable, but also working correctly.
* Solved the problem stippi outlined differently, by checking whether length is
  greater size for unsupported options.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-05 18:44:27 +00:00
Jérôme Duval e1d8e05d15 * some style cleanup
* don't try to non configured memory map IO space
* use a kernel thread when irq number is zero or 0xff
Should help with #4491


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-05 18:13:50 +00:00
Stephan Aßmus 21c8f94c7d I don't understand much about the code in question, but the ticket #6789
hints at a possible problem: Within the process_options() function, the
code does not make sure that size is a multiple of the option length
(unless I missed something) and thus the loop could wrap the unsigned
size variable, and not exit as intended. Make size an ssize_t and cast
where appropriate, after making sure it's initially a positive value.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-05 17:39:15 +00:00
Ingo Weinhold 09bd92c5c0 * Source text_setup with explicitly given current directory path component.
Apparently the source semantics has changed, as the that wasn't necessary
  in older OpenSuse versions.
* Replaced gcc invocations in the test scripts with with
  compile_{lib,program}[_dl]() shell functions defined in test_setup.
* Build libraries with -fPIC, so we don't get complaints for x86_64.

Apparently the runtime loader semantics has changed in OpenSuse 11.2 compared
to older versions. Some tests don't pass any longer (respectively even crash).
Would be interesting to know what happens on a current FreeBSD.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-05 16:38:44 +00:00
Ingo Weinhold 7aff60b7de Patch by Paul Davey with minor style changes by myself: For gcc 4 (and clang)
define the HUGE_VAL and friends macros to the respective __builtin_*()
functions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-05 13:20:52 +00:00
Ingo Weinhold aa3507feea terminate_program(): Call the termination function of all images, not only
of the program image and its transitive dependencies.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 21:15:39 +00:00
Ingo Weinhold e60625b708 get_sorted_image_list(): Allow passing a NULL image argument, meaning that
all loaded images will be sorted and returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 21:14:09 +00:00
François Revol 2ef563d813 80 cols & cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 19:37:30 +00:00
François Revol f649b1fa77 Make multiboot.h usable from assembler, and remove duplicate defines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 19:06:36 +00:00
Jérôme Duval eb7aa0dafb Volume: don't use a block allocator when mounting readonly.
BitmapBlock: also use file system blocks, current type is off_t. Also added more trace.
BlockAllocator: added an assert and more trace


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 18:25:58 +00:00
Jérôme Duval 6fa1b3a596 actually use the 64bits value when doing comparing, previously SCSI_6 were wronly used for some io requests.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 18:01:46 +00:00
Ingo Weinhold fb8e088927 Added dummy __cxa_atexit() and __cxa_finalize() to the kernel. We might
actually implement those, if we decide to support global
constructors/destructors in kernel add-ons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 16:26:43 +00:00
Ingo Weinhold d64f6189c0 unload_library(): Added comment about the exit hook handling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 16:22:11 +00:00
Ingo Weinhold 85f9496a24 Implemented __cxa_atexit() and __cxa_finalize() which are required by the
Itanium ABI. Whether __cxa_atexit() really works for associating hooks with
DSOs has not been tested yet, as our compiler doesn't use the function.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 16:21:20 +00:00