Commit Graph

23233 Commits

Author SHA1 Message Date
Stephan Aßmus
4d1dd3bcfe Use the AutoFloatingOverlaysHider in the remaining cases where overlays were
hidden regardless of the affected area.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-24 16:08:57 +00:00
Stefano Ceccherini
ca6fdaaab1 and there, the usual forgotten debug stuff...\n
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-24 16:00:43 +00:00
Stefano Ceccherini
3429c09099 Turns out #1804 was fixed, but I broke it again with a "cleanup" commit. Fixed for real.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-24 15:51:39 +00:00
Stephan Aßmus
b1ab9b5f07 * ReadBitmap() could mess up the software cursor locking, since it
used the BRect version of HideSoftwareCursor() but then called
  ShowSoftwareCursor() unconditionally.
* Renamed Hide/ShowSoftwareCursor() to Hide/ShowFloatingOverlays().
* Removed no longer needed FontLocker.
* Implemented AutoFloatingOverlaysHider and got rid of a lot of
  code duplication this way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-24 15:31:12 +00:00
Stefano Ceccherini
60e1cfbfbb don't freak out if BMenuWindow::AttachScrollers() is called more than once (happens when a menu window has scrollers already, and we call BMenu::AddItem().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-24 15:29:10 +00:00
Stephan Aßmus
a6ca2bfcec Export ktrace_printf for the test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-24 15:03:15 +00:00
Stephan Aßmus
fef3930499 patch by Rene Gollent:
* BListItems now store the top offset of the frame within the parent BListView.
* This allows binary searching the clicked item.
* ItemFrame() is now a cheap call.
* Fixed several bugs in the sorting code of BOutlineListView which lead to
  crashes of client applications.
* Implemented previously unimplemented functions in BOutlineListView.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-24 14:15:28 +00:00
Jérôme Duval
6213408838 added search.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-24 13:41:01 +00:00
Axel Dörfler
f9bbab8848 * First steps towards a more flexible workspaces view handling: the
workspaces view can now be any view in the hierarchy.
* Added private view flag kWorkspacesViewFlag that identifies such a
  view - note though, that you must not remove a view before closing or
  hiding its window for now (and that you still need to set the 
  kWorkspacesWindowFlag, too).
* Fixed Workspaces check for valid screen coordinates; after a crash, it
  managed to open its window offscreen for me.
* Added a ViewLayer method FindView() that finds a view with the 
  specified flags set.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-24 11:18:52 +00:00
Stephan Aßmus
c067ed4ea4 applied patch by Maurice Kalinowski:
* Add check whether directory to store settings exists. If not, create it.
* Use global constant (like in DefaultManager.cpp) for path/file names.
* Cleaned up a little bit and made debug output only appear in case 
  debugging is turned on (meaning printf->TRACE).
-> Fixes #1531.
(I added a few more error checks to the code, maybe there should be even 
more...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-24 09:55:44 +00:00
François Revol
c789abb0e8 This has to fix the bug triggering the ASSERT in BMediaRoster::RegisterNode...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-24 09:44:10 +00:00
Stephan Aßmus
18c361960a applied patch by Maurice Kalinowski:
Do not attempt to install optional 3rd party packages when building
a GCC4 version of Haiku. I think there has been some discussion on this
topic before, with a more advanced solution, but for the time being, this
should be ok.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-24 09:43:10 +00:00
Jérôme Duval
24c53891f1 updated tar to 1.19 - was harder than expected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 22:37:49 +00:00
Jérôme Duval
b3918e2f66 added SIZE_MAX to stdint.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 22:31:19 +00:00
Stephan Aßmus
f8cb1f478c * Always use the double buffered implementation if running in VESA mode. It
was not used in case of 32 bit VESA modes. Gives a huge performance boost
  for 32 bit VESA mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 19:39:42 +00:00
Ingo Weinhold
20e4f92cf5 switch_sem_etc() doesn't check the return value of add_timer(), hence we
need to make sure that we never get that far with a negative timeout or
we'll wait forever.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 16:01:59 +00:00
Ingo Weinhold
098adfe889 common_select/poll(): Consider all negative timeout values as infinite
timeout, not just -1. Paranoia only, since that should happen anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 15:59:30 +00:00
Stefano Ceccherini
35671cdcc5 avoid double function call.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 15:57:35 +00:00
Ingo Weinhold
7dc065bdb0 * syscall_restart_handle_timeout_pre(uint32&, bigtime_t&): A huge
negative relative timeout would be converted to B_INFINITE_TIMEOUT.
  For some reason the ScreenSaver preflet is snooze()ing with such
  a value.
* Some more comments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 15:56:56 +00:00
Stefano Ceccherini
7d62a1da89 In the last commit I introduced a bug: charCount wasn't incremented
correctly in some cases inside HashEscapements(). Also, when looking for 
a value in the hash, we checked the same position twice in some 
cases (did not cause any problem, was just a bit slower).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 15:41:22 +00:00
Jérôme Duval
ac43767349 HPGSTranslator now uses the class StreamBuffer
adjusted StreamBuffer::Seek() to match BPositionIO API


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 15:05:45 +00:00
Alexandre Deckner
e6190664a1 - style cleanup
- use "new style" casts
- got rid of a goto 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 13:41:57 +00:00
Stephan Aßmus
9553296aee * Removed #ifdefs around cursor code (ie activate it).
* Replaced non-stylish/conform looking cursor shapes with cool looking
  cursor shapes. (I am always delighted by WonderBrush's cursor code output...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 11:54:34 +00:00
Stephan Aßmus
ab7c45e727 * Prevent cross from being too close to the surroundings.
* No need for B_OP_OVER anymore since ages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 11:52:53 +00:00
Stephan Aßmus
9640a42e77 * Got rid of the casting in Read, motivated by a patch sent by Fredrik Ekdahl,
should also fix GCC4 build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 11:03:37 +00:00
Stephan Aßmus
50baebaf5f * Fixed warnings.
* Truncated lines to 80 char width.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 10:00:52 +00:00
Stefano Ceccherini
10d36f0e44 removed debug leftover
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 00:49:17 +00:00
Stefano Ceccherini
95c02f082c such a long debugging session for such a silly error: the new hashed_escapements struct was never put into the width table when we grew the hash. The BWidthBufferTest now works. Simplified a bit the code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-23 00:46:50 +00:00
Stefano Ceccherini
8dd5c3f974 Refactored BWidthBuffer test into something more useful.
Looks like the class has some problems (hangs while calculating width of 
lines inside termcap, cf bug #1690


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 22:30:34 +00:00
Jérôme Duval
45ff9decad EXRTranslator now uses the StreamBuffer class
added StreamBuffer::Position()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 22:00:41 +00:00
Jérôme Duval
e26a124818 PCXTranslator now uses the StreamBuffer class
fixed StreamBuffer::Read() to handle bigger reads
added a write mode
revised code style and license header


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 21:21:39 +00:00
Jérôme Duval
a9c0a648b1 added libtranslatorsutils.a and used it in every translator instead of reusing sources
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 18:39:39 +00:00
Axel Dörfler
a409d733e9 * Now plays a recognizable tone instead (sinus) - took me a while to figure
out that buffer exchange would return more often than it actually exchanged
  a buffer in hmulti_audio.
* Implemented setters for commands "format", and "channel".
* "play" now accepts a play mask to mute certain channels.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 18:30:25 +00:00
Ingo Weinhold
5b702e5934 "thread" also prints the signal block mask, now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 14:55:10 +00:00
Ingo Weinhold
bc2001bb39 We have to update the pending signals thread flag when restoring the
signal block mask when returning from a signal handler.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 14:54:03 +00:00
Ingo Weinhold
23b95b112d We have to remove the thread's condition variable entries when
interrupted early, i.e. when signals were already pending when we
started waiting. Fixes #1832.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 14:51:11 +00:00
Axel Dörfler
949649daff * Added another device ID to the driver (0x8168).
* A bit of refactoring to let the driver more easily accept more devices.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 14:18:56 +00:00
Alexandre Deckner
c226b06127 - rewrote/enhanced mouse tracking
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 13:36:50 +00:00
François Revol
1abe02f02e fInternalIDCounter wasn't initialized; add debug info... it is triggering an ASSERT in media_addon_server though, about the flavor_id.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 12:05:03 +00:00
Axel Dörfler
ea9d4cd0f7 Slightly increased the default key repeat rate to make it at least
bearable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 10:53:27 +00:00
Axel Dörfler
631145a976 * Added new rule AddHeaderDirectoryToHaikuImage that copies header
directories. Note that you need an updated "sed" (from the Haiku
  repository) if you want to use that rule.
* The "Development" optional package now installs the Haiku headers
  needed to build stuff (ie. "os", "gnu", and "posix"). It also makes
  a symlink "be" so that we can still use the BeOS compiler with its
  builtin header paths.
* Fixed AddVariableToScript for older shells that do not support '+='.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 10:33:43 +00:00
Axel Dörfler
6181b4f204 Allow to build "sed" for BeOS; it's needed to make the
AddSourceDirectoryToHaikuImage work there (it currently only works on Linux).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 10:10:41 +00:00
François Revol
df2b006ef3 * bochs module shouldn't load by default
* made laplinkll module buildable, untested. Still requires a driver on the other box I need to port from zeta.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-22 00:09:05 +00:00
François Revol
ed6250c957 * Bochs debug output
* laplink low level debug output I wrote for zeta, needs some work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-21 23:36:59 +00:00
François Revol
ff7eefe8e3 Call debugger_puts hooks on modules when serial debug output is enabled (modules themselves must reject loading if they don't find mymodule_debug_output in kernel settings).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-21 23:35:44 +00:00
Jérôme Duval
2731158cde tentative at fixing bug #1776
lchown replacement was using rpl_chown too (could not understand how this works)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-21 22:51:19 +00:00
François Revol
7f3937521f Add debugger module hooks to implement alternative io (I need laplink debugging...)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-21 22:41:49 +00:00
Oliver Ruiz Dorantes
7b855018c9 Small tool to check all the installed Bluetooth Local devices, will be usefull until we have a decent preference or a blue icon in the deskbar for testing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-21 22:29:40 +00:00
Oliver Ruiz Dorantes
df05c82d14 Add using namespace pragmas
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-21 22:17:54 +00:00
Stephan Aßmus
3c3f84d112 Applied patch by Maurice Kalinowski with additional changes by myself:
* Fixed ResEdit build.
* Small cleanups and simplifications.
* Removed reference to CapitalB resource in ReadyToRun().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-21 20:10:41 +00:00