Commit Graph

27482 Commits

Author SHA1 Message Date
François Revol
0d1f354d28 Fix typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-11 19:26:58 +00:00
Jérôme Duval
c6f8aa29f2 * better handling of dropped files
* dragging now uses the mime type icon


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-11 19:24:33 +00:00
François Revol
47577f1cba Add COFF loader to ppc ISO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-11 19:22:16 +00:00
François Revol
11a47de374 Support creating a COFF bootloader from the ELF one, at least for ppc.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-11 19:08:51 +00:00
François Revol
aae9cf1518 update chrp script.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-11 19:06:34 +00:00
Stefano Ceccherini
176ecb2f37 use '=""' to initialize the empty strings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-11 15:33:42 +00:00
Jérôme Duval
922c02a7f9 added broadcom440x and pegasus drivers. They work fine on my machine. Removed bcm440x.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-11 15:32:43 +00:00
Stefano Ceccherini
8f21745055 fix dos endlines
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-11 15:28:46 +00:00
Stefano Ceccherini
cf585ce00f fix typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-11 14:17:09 +00:00
Jérôme Duval
d8d2506553 filled glue holes to have broadcom570x compiles, reusing part of patches posted on bug #1590. Obviously untested.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-11 13:31:28 +00:00
Jérôme Duval
1dc9113089 added m_cljget() with support for jumbo9 size: it should help with broadcom570x
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-11 12:26:07 +00:00
Jérôme Duval
11d2eeb7eb updated bge to current
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-11 12:20:21 +00:00
Axel Dörfler
59795d428e * Applied patch by Adrian: compat_read() was broken as it only considered the
first chunk of a possibly multi-buffer mbuf. This fixes #2840, thanks a lot!
* Fixed warning in _bus_dmamap_load_buffer().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-11 09:10:45 +00:00
Stephan Aßmus
e1f3108a60 Patch by Scott:
Make sure the comments are C style in headers that are included by POSIX
headers.

Thanks! Should fix #2870.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-10 23:50:42 +00:00
Jérôme Duval
08de01cdab Added Broadcom BCM440x from FreeBSD (bfe). Compiles and even works.
I just added a check in bmtphy_probe() as ENXIO is negative on Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-10 23:03:18 +00:00
Ryan Leavengood
ade73e8c85 Make the BObjectList member for font families a non-pointer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-10 17:07:47 +00:00
Axel Dörfler
73991edfcd * Removed marge artifacts as found by kaliber in ticket #3114, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-10 16:01:37 +00:00
Ingo Weinhold
8822df61f3 * All platforms will use gcc and there's no reason not to put it in the
same place.
* Added /boot/common/lib to BELIBRARIES.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-10 15:27:21 +00:00
Rene Gollent
dfdca9b67f Remove.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-10 13:47:58 +00:00
Rene Gollent
eb40d3eb59 Restore accidentally removed comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-10 13:45:21 +00:00
Stephan Aßmus
cc44241143 Prepend the mouse name with "Extended " if the device path contains "intelli". This makes
sure that you can have an old style mouse without scroll wheel and one with attached at the
same time. For example, when I hot-plug my PS/2 mouse with wheel, the IBM trackpoint will
otherwise already use up the "PS/2 Mouse 1" name.

Unfortunately, hot-plugging the PS/2 mouse on my T60 docking station still does not work
quite right. The PS/2 driver detects everything correctly, the node monitoring works and I end
up with the correct device threads in the input_server. (The notebook is automatically removing
the touchpad and trackpoint devices in this event, which cannot be turned off in the BIOS.)
However, the mouse does not move. In the syslog, I see one message
"ps2: strange mouse data, x/y overflow, trying resync" after the the output from the add-on
manager in the input_server that it has added the new device. When I restart the input_server,
it works fine, even though the same devices are detected and polling threads are running.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-10 12:33:16 +00:00
Stephan Aßmus
5125eae25d * Cleanup and refactoring, made several Mouse-/Keyboard-/TouchpadDevice
functions private and moved them accordingly in the file.
* I forgot to initialize the BObjectList to own the items in
  TouchpadInputDevice.
* Changed the methods that read and apply settings in all three addons to be
  executed from the control threads only, which fixes race conditions.
* The success of opening a device is no longer checked in the Start() method
  of the *Devices. Instead, the control thread checks the device before it
  enters the polling loop and cleans up if there was an error. This fixes
  non-running devices in the input_server because the PS/2 driver publishes
  devices which is has not checked yet for other reasons. It is important,
  however, to open() the devices in the Start() hook and not the control
  thread, otherwise there are unwanted race conditions in case node monitoring
  events are received more than once for the same device. That's the case
  for some reason on one of my computers for the AT 0 keyboard.

TODO:
* Combine the Touchpad and Mouse device addon into one, it's almost the
  same code except the Touchpad knows more settings and one more control
  message.
* Refactor a common base class for Keyboard and Mouse device addon.
* Fix the mouse speed/acceleration. If the speed is lowered from the default
  in the preflet, the mouse becomes almost unusable. To fix this, the same
  trick should be used as I used in the touchpad kernel driver, which is to
  sum up previous mouse moved fractional offsets.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-10 11:16:02 +00:00
Rene Gollent
577fe1f9a1 Implement missing B_CREATE_PROPERTY.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-10 05:52:43 +00:00
Rene Gollent
433cc8bc0f Resolved some more misunderstandings in how this is supposed to work. Ticket #3087 should finally be fixed now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-10 04:54:47 +00:00
François Revol
3b148e533f This gets the bootloader further on, but it still breaks... OpenHackware seems worse than Pegasos OF :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-10 02:03:58 +00:00
Ryan Leavengood
8a33d61123 Use BObjectList instead of BList.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 22:50:26 +00:00
Rene Gollent
f871c6f737 Reset the drawing state to that of the client view after we finish drawing the workspaces replicant. This fixes artifacts like fonts occasionally appearing tiny when selecting/deselecting items on the Desktop if the Workspaces replicant was also embedded.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 22:04:51 +00:00
Axel Dörfler
186c8af1e4 * The large page mapper did not invalidate the TLBs of the other CPUs for the
generic page mapping mechanism. This should fix #2902 (will test in a minute).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 21:49:33 +00:00
François Revol
14ff3a6a54 Finally found a hack to get the iso bootable in QEMU SVN (with some patching to get OpenHackware happy)...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 21:36:07 +00:00
Ingo Weinhold
4c9e13fdcd * Removed the /boot/develop/headers/gnu symlink.
* Updated autoconf, automake, libtool, texinfo, flex, and bison to
  their respectively current version. They are installed in /boot/common
  now.
* Removed the /boot/home/config/bin/perl and /bin/m4 symlinks again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 18:26:03 +00:00
Ingo Weinhold
2374c3d59e * Use a temporary buffer to create the output for function invocation.
* Replaced debug_printf() invocations by a macro, which is set to
  ktrace_printf() by default.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 18:21:31 +00:00
Rene Gollent
c02466e6ee Alter the order in which we updated our cached items. This fixes things like mmu_man's Themes app which has somewhat unusual list items that embed BViews.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 18:20:01 +00:00
Ingo Weinhold
aa22a3cfda dlclose() also set the static error variable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 18:19:46 +00:00
Ingo Weinhold
df30098d91 unload_library() invoked from dlclose() might not have deleted images
correctly and it returned an error on success.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 18:18:51 +00:00
François Revol
f0125931b4 Fix incorrect flag and resizing mode order.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 17:36:38 +00:00
Jérôme Duval
39dbc363ef clearer error messages
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 16:37:19 +00:00
Jérôme Duval
aea6792976 Scrolling up/down above Volume Control in deskbar's shelf now changes volume (bug #2323).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 16:13:41 +00:00
Jérôme Duval
019ed09bee * cancel rendering if selection changed
* update track slider borders if selection changed
* added drag'n drop from ScopeView


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 14:37:18 +00:00
Stephan Aßmus
59251feadc More realistic file size restriction. UINT32_MAX is not defined on some
target platforms, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-09 11:08:19 +00:00
Stephan Aßmus
9a3960e8de Ugh!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 23:07:16 +00:00
Rene Gollent
00c3e84a23 When previously fixing shelf scripting for BSnow, I accidentally broke nested specifiers (i.e. Get ID of Replicant).
This should fix ticket #3087.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 22:59:22 +00:00
Stephan Aßmus
3781dcda89 * Copy the FreeType headers to the 3rdparty headers. (Tested with WonderBrush
source and it works fine.)
* Updated WonderBrush package. The new version is compiled on Haiku and
  improves the installation of the document mimetype (finally a more reliable
  sniffer rule, thanks to Francois for helping me with this). The About window
  is fixed to no longer use a hardcoded font file path. This version only runs
  on Haiku, but it is fully unlocked! Next version with new features won't be.
  Also comes with a new vector icon for the native document type.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 22:47:53 +00:00
Jérôme Duval
dbbc34b6b2 resets fPlayFile once deleted
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 22:41:20 +00:00
Ingo Weinhold
0c85bd054e * Reworked undefined symbol resolution in the runtime loader. Got rid of
the per-root-image breadth-first sorted image array. Instead we have a
  per-image hook function to resolve the symbols. The default function
  uses the sLoadedImages list directly, which is breadth-first sorted
  anyway. There's also a BeOS function for old-style symbol resolution
  and one for add-ons, which lacks a proper implementation yet (just
  uses old-style ATM).
* Made the dl*() functions POSIX compliant:
  - dlopen() does no longer use load_add_on(), but loads the object as a
    library. It also properly supports a NULL name, now -- the previous
    "_APP_" work-around did only work, if this soname was set on the
    program (unlikely for programs using this API).
  - Implemented RTLD_{GLOBAL,LOCAL}.
  - dlsym() looks up symbols properly now, i.e. not just in the given
    image, but breadth-first for an actual image or in load order for
    the global scope. It also supports the not-quite POSIX RTLD_DEFAULT
    and RTLD_NEXT extensions. Our RTLD_NEXT finds more symbols than in
    Linux (also in later dlopen()ed libraries), but that should be fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 22:40:56 +00:00
Ingo Weinhold
e10b4cace5 Added __arch_get_caller(). Correctly implemented for x86 only.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 22:09:28 +00:00
Ingo Weinhold
e30bbad2c2 Added tests for RTLD_NEXT.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 21:58:06 +00:00
Jérôme Duval
6cd5f90f73 StyledEdit now alerts with "unsupported format" instead of "Bad argument type passed to function" (bug #3071)
OpenFile() now returns early when the format is unsupported (don't add the document to recent documents, don't allow to save the document) (bug #3072)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 15:58:06 +00:00
Stephan Aßmus
52de6dce94 Moved the gradient_type and color_step structs into the BGradient
class/namespace. Renamed the B_GRADIENT_* types to TYPE_* as the context
is already given.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 14:56:56 +00:00
Stephan Aßmus
3bd8c2318f * Fixed a warning.
* fStyleMap could be deleted more than once in certain situations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 13:22:33 +00:00
Stephan Aßmus
3d198cd3ae Do no export unsupported accelerant hooks. Hopefully fixes #3088.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-08 13:15:02 +00:00