Commit Graph

32705 Commits

Author SHA1 Message Date
Ingo Weinhold
4ac097c559 Made the BToolTipManager lock non-static. Create the singleton via
pthread_once().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 11:06:51 +00:00
Stefano Ceccherini
bc78ca9385 Removed unused input method variables. Input method handling will
be implemented someday, but probably differently anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 10:48:36 +00:00
Ingo Weinhold
258b34c594 * Fixed wrong parameter of lazy_mutex_destroy().
* Split locks.cpp into mutex.cpp, recursive_lock.cpp, and rw_lock.cpp (new
  subdirectory locks/).
* runtime_loader no longer includes the rw_lock, allowing removal of the TLS
  dependency again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 10:29:51 +00:00
Axel Dörfler
c598298047 * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 08:31:31 +00:00
Axel Dörfler
a4faebeb11 * Replace the FD used for fopendir() instead of closing the old one - according
to the specs, the application may still use the FD without changing its state,
  and only closedir() should finally close it.
* This fixes bug #5055.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 08:29:12 +00:00
Axel Dörfler
ac628ead05 * Moved the B_NOT_MINIMIZABLE flag check into ServerWindow::NotifyMinimize()
as this fixes some more incorrect minimizations on the app_server side.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 08:06:50 +00:00
Jérôme Duval
f6379d4127 added tls.o to runtimeloader. It linked successfully on x86 because of inlining.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 21:58:35 +00:00
Philippe Houdoin
0bb3289c7b Removed lost comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 21:47:37 +00:00
Philippe Houdoin
50a1d8a4f5 Stupid me, vector icon data loaded by a local BResources
object is lost outside its scope. 
Now vector data is copied instead.

Spotted by Pete Goodeve, thanks!
This should close #4562.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 21:39:49 +00:00
Philippe Houdoin
fb40f7a489 Applied changes by Pete Goodeve to add PatchBay endpoint's vector icon support.
Display size is still kept to 32x32.

M    patchbay/Jamfile
M    patchbay/EndpointInfo.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 21:38:47 +00:00
Jérôme Duval
494aa1ee39 fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 21:33:55 +00:00
Jérôme Duval
4aafe92a0e * cleanup
* use gpio count for gpio quirks


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 21:16:41 +00:00
David McPaul
51b0c01316 Added ODML Index support, still needs work though too much duplicated code. Feedback welcome
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 21:07:35 +00:00
Jérôme Duval
3acb81a693 added another MacBook quirk
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 20:51:12 +00:00
Jérôme Duval
144c4c6240 * added vref and unsol responses definitions
* untested unsolicited response support
 * added quirk support for vref and gpio
 * vref are now enabled for all inputs, and gpio for some Apple Macs
 * replaced dprintf with TRACE and ERROR macros


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 20:32:19 +00:00
Philippe Saint-Pierre
001731449e Don't minimize windows (when hiding applications) if they have
the B_NOT_MINIMIZABLE flag. It should more properly fix #4337.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 19:55:02 +00:00
Philippe Saint-Pierre
5f341c3847 Reverting r34335. Wrong location of my "B_NOT_MINIZABLE" check.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 19:02:47 +00:00
Colin Günther
53b11310d4 Needed header to allow compilation of the wlan stack.
Bosii is a transcription of 802.11. It is a work-in-progress title to
point out parts of the wlan stack which are still in an experimental state.
For example the control codes within bosii_driver.h are moving targets.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 18:09:33 +00:00
Colin Günther
c322cc3d7c * Adding driver for Atheros AR8131/AR8132 Gigabit/Fast Ethernet network cards.
The source is based on the FreeBSD RELEASE_8_0_0 code, found in Haiku's
  freebsd vendor branch.
  This driver enables the network card in my EeePC 1005HA-M, for example.
  To compile it issue "jam atheros813x".
* Introducing the new build target.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 13:35:30 +00:00
Colin Günther
e6a7fa65fe Bringing the source up to par with FreeBSD RELEASE_8_0_0. This one slipped
somehow through the updating process.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 12:40:32 +00:00
Axel Dörfler
9b606d42db * TabFrame() did not check if the index was valid. This should fix #5051.
* Cleanup, removed commented code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 12:06:13 +00:00
Colin Günther
783c4cd1fa * Importing r401 of all compiling drivers from osdrawer.net/haiku-wifi.
The driver sources are based upon the FreeBSD RELEASE_8_0_0 source as found in
  Haiku's freebsd vendor branch.
* Currently only the atheros driver is working and can be compiled with
  jam atheros.
* Every driver contains a Jamfile already, so that the compilation process
  can be started with jam <driver_name>. Also note, that linking of every
  driver besides atheros and iprowifi2200 will fail at the moment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 11:41:48 +00:00
Colin Günther
aac7021064 * Adding directory, where all wlan drivers will be put in.
* Tell jam to recurse into the new directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 11:30:43 +00:00
Colin Günther
a315b76dc8 * Importing r401 of ported wlan stack from osdrawer.net/haiku-wifi.
This port is based on FreeBSD RELEASE_8_0_0 (r199625) found in Haiku's
  freebsd vendor branch.
* Added freebsd_wlan directory to the Jamfile in HAIKU_TOP/src/libs/compat/
  so that the stack can be built with jam libfreebsd_wlan.a.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 11:22:01 +00:00
Ingo Weinhold
ea77094b24 Replaced the hown-grown recursive lock implementation by a shared lazy
recursive lock. I haven't investigated it closer, but the previous
implementation was even broken -- "strace /bin/true" showed two
release_sem() calls, but no acquire_sem().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 11:17:53 +00:00
Ingo Weinhold
8bef23107e Added a lazy_recursive_lock implementation -- identical to recursive_lock,
just using a lazy_mutex instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 11:14:50 +00:00
Ingo Weinhold
6e06922908 Replace semaphores/benaphores in the env, fork, and user/group code by lazy
mutexes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 10:47:01 +00:00
Ingo Weinhold
937b23cb21 Added locking primitive lazy_mutex, which has essentially the same behaviour
as a mutex, but allocates its semaphore lazily. This comes at the cost of an
additional atomic_add() when the semaphore has actually to be acquired, but
saves the semaphore creation completely in single-threaded programs and in
any program when there's no lock contention.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 10:44:07 +00:00
Ingo Weinhold
f2bb2575e6 Use the shared recursive lock implementation instead of the home-grown stuff.
The shared implementation is benaphore style, saving unnecessary syscalls.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 09:57:26 +00:00
Ingo Weinhold
93b9f21335 Added recursive lock implementation (an adapted kernel version).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 09:54:58 +00:00
Ingo Weinhold
d78ffde5d1 * Some minor cleanup and improved comments.
* Fixed check in hoardSbrk(): resize_area() was invoked, even if the area was
  already large enough.
* Increased the initial heap size to 64 pages. Apparently the hoard
  implementation is rather generous and the first malloc() (caused by
  __init_heap()) already required enlarging the area.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 09:20:58 +00:00
Philippe Saint-Pierre
2c9bea98b9 Make BWindow honor the B_NOT_MINIMIZABLE flag. Fixes ticket #4337.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-29 02:15:54 +00:00
François Revol
bea66afaeb The vmware vga implementation doesn't work with Haiku yet anyway (different bpp than the driver wants). The std one doesn't work anymore due to a regression... just remove the option and leave it fallback to cirrus for now, works but ends up in 16bpp by default.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-28 21:44:29 +00:00
Oliver Ruiz Dorantes
31f8763031 - Proper implementation of accept/bind l2cap socket interface
- Add more debug info for the KDL debug command
- Request channel pointer also for non l2cap signal frames
- Add locks for packet queues



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-28 20:03:15 +00:00
Oliver Ruiz Dorantes
cf3d8a746f - Remove keeping list of connections per device
- Start to move some common code from the driver layer (not yet used)
- Style



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-28 19:50:09 +00:00
Oliver Ruiz Dorantes
b973d02fde Add Pair button to show the pincode screen(class testing purposes)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-28 19:31:56 +00:00
Oliver Ruiz Dorantes
e97e2846af Add code for simulating a SDP server present in the host
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-28 19:26:00 +00:00
Stefano Ceccherini
af10de93a4 Changed a comment
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-28 16:35:30 +00:00
Jérôme Duval
251d6fa726 added missing source for multibyte handling
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-28 14:05:16 +00:00
Scott McCreary
c6406d4645 Updated autoconf to 2.65.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-28 12:57:44 +00:00
Clemens Zeidler
f4992c3025 - The right and bottom touchpad size was a bit to small, at least on my maschine (fix bug #5043).
- Don't allow scrolling when a pad button is pressed because we are likely in a drag action.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-28 12:41:10 +00:00
Ingo Weinhold
1f3f5ca265 Fixed header guard.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 21:10:08 +00:00
Ingo Weinhold
7f2d527a02 64 bit fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 21:09:21 +00:00
Ingo Weinhold
59d6284b7b Changed the way the syscall infos are generated. We no longer include the
preprocessed <syscalls.h> header in sources compiled for the build platform.
Instead we're generating macros for the return type and parameter type sizes
via the CreateAsmStructOffsetsHeader rule (no template magic anymore) and
thus get a clear separation of host and target code, resulting in better
portability (although surprisingly enough the build already worked on 64 bit
hosts).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 21:00:37 +00:00
Axel Dörfler
aeb728e132 * Removed useless legacy header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 18:31:35 +00:00
Axel Dörfler
dec91a9754 * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 18:10:03 +00:00
Ingo Weinhold
3be9edf8da Since we had completely identical arch_gensyscalls.h files for all
architectures, there's now a arch/generic/generic_gensyscalls.h which is
included by the otherwise empty arch_gensyscalls.h files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 17:13:30 +00:00
Ingo Weinhold
0dfceb2b8a Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 16:55:10 +00:00
Stefano Ceccherini
b79c499571 Reverted the preference saving part of r34165 (at least for now).
Moved the AboutRequested code to a static TermView method, called from
everywhere (now TermApp knows about TermView, but no one is perfect).
Reordered and removed includes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 16:49:47 +00:00
Axel Dörfler
4ea6fb8bd4 * Changed the query code again to send B_ENTRY_REMOVED/B_ENTRY_CREATED
notifications if an inode in a query result was moved/renamed - this time all
  the information is correct, though.
* While I did not introduce B_ENTRY_MOVED for queries yet, this should make
  adding it very simple (left as an excercise for the reader ;-))


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 16:36:52 +00:00