Commit Graph

28177 Commits

Author SHA1 Message Date
Ryan Leavengood
04caac4ad1 Renamed the new "_fake" mouse moved boolean to "be:transit_only", as suggested
by Axel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 15:32:52 +00:00
Michael Lotz
3e37362327 At least if we hit the boot volume override the hardcoded check for BFS. This
makes the Desktop work when booted from an iso only CD, but I agree with the
TODO to move those into the filesystem API.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 15:29:49 +00:00
Oliver Ruiz Dorantes
0db890095c - Prevent crashing when there is no localDevice picked(raynald lesieur)
- SetTarget for localDevices not found during startup of the app



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 14:51:41 +00:00
Michael Lotz
492e224b8e * Update the signature of _kern_load_image(). It has been changed and therefore
the calls to it always failed.
* Check what error is returned and read the approprite details out of the
  message.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 14:16:17 +00:00
Michael Lotz
e94d1badf5 Add the name of the missing symbol to the error message that is sent via port.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 14:14:21 +00:00
Axel Dörfler
dd169d9e23 * Reworked the code that ignores a little jitter in mouse movements when
trying to switch the workspace. Not sure why it didn't behave previously,
  but it seems to work fine now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 13:55:14 +00:00
Axel Dörfler
7aed1511f6 * The window size is no longer directly saved when you change it in the menu.
* "Save as Default" now also saves the current Terminal size.
* Exchanged the strange default Termina sizes with some others, added a
  separator between the full screen setting.
* Removed the "Term" prefix from TermView::fTerm{Columns|Rows}.
* Whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 13:50:08 +00:00
Axel Dörfler
4dabc2e663 * Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 13:47:36 +00:00
Axel Dörfler
21faca8429 * Of course I messed it up; now ext2 doesn't crash anymore when I mount
something it does support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 12:53:30 +00:00
Axel Dörfler
431a51cc91 * Added the new incompatible features of ext4.
* Now correctly only check for the incompatible features we do understand,
  not for the ones we don't. Ie. we won't mount ext4 partitions anymore that
  are using extents.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 11:04:12 +00:00
Stephan Aßmus
2ade87ffe7 Temporary fix for the ugly drag bitmaps when dragging icons from the Desktop.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 09:25:13 +00:00
Axel Dörfler
152a0ade57 * Changed the default settings to close after being done with expanding.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 08:50:08 +00:00
François Revol
2c4e929f54 - force 320x240 for now
- fixed uninitialized fields in CamDeframer, it works also in Haiku now :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 03:51:39 +00:00
Ingo Weinhold
d6c6d091ef Forgot to add.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 02:32:59 +00:00
Ingo Weinhold
7c1ffcb9ec * The nature of asynchronous I/O is to be asynchronous. So we can't store
an on-stack structure for the request in a hash table when forwarding the
  io() hook. Create a new object (HaikuKernelIORequest) instead and store it
  in a hash table in HaikuKernelFileSystem.
* Some work on the userland side of do_iterative_fd_io().
* Added some missing requests in UserlandFSUtil::is_{kernel,userland}_request().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 02:32:25 +00:00
Rene Gollent
289b6c8d56 Remove invalid TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 00:18:23 +00:00
Axel Dörfler
24ace12957 * Worked over the "area" KDL command to make it more useful, and easier to use.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 21:48:03 +00:00
Stephan Aßmus
b5db6bb7ea zuMi has sent me the icon weeks (months?) ago! Really sorry to apply it so
late, since it's great! I am not sure if he meant it for the add-on server,
or as default media_addon icon. But I think it's great for the add-on server!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 21:39:12 +00:00
Michael Lotz
1320d25ea2 Update the GCC4 optional package incorporating various changes to the builtin
specs and providing a shared libstdc++.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 21:19:12 +00:00
Axel Dörfler
b38bec60dc * Fix for the previous fix; abs() is in stdlib.h, not math.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 21:17:38 +00:00
Stephan Aßmus
f7ab252f21 Out strerror_t returns int, not char. Fixes ticket #3553. Thanks, Adrian!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 21:16:08 +00:00
Axel Dörfler
4f7f915759 * GCC4 build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 21:11:54 +00:00
Axel Dörfler
1bb87bd0b1 * Added a settings window - right now, you can only change the time interval,
though.
* Shortened the time interval defaults to 250 ms; the drawing updates are made
  every 500 ms - this still seems to have only little influence on CPU load over
  here (YMMV).
* The resolution/scale change is now applied to all views, not just the current.
* Changed the pen size of the chart to 1.5.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 20:19:10 +00:00
Stephan Aßmus
51ff40fed0 When adding/removing the second tab, check if the window is near the bottom of
the screen, and then move/resize the window upward, so that it's bottom doesn't
go beyond the screen border.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 20:18:01 +00:00
Stephan Aßmus
5ea31e66f7 Cleaned up the dirty region handling in Window::CopyContents()
(the backend of scrolling and BView::CopyBits()). Seems to fix
the dirty entries when opening Tracker windows, and another
problem I've seen when scrolling too fast in Beam.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 20:09:31 +00:00
Axel Dörfler
a41b1bcb3a * The shortcuts of the encodings shadowed other shortcuts, like Command-G to
switch Terminals. I've not only removed that shortcut, though, I disabled
  all encoding shortcuts, as I frankly don't see any use for them beyond
  confusing users (by accidently hitting one of the 134 shortcuts).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 20:00:01 +00:00
Ryan Leavengood
d39c5354b8 - Use PostMessage instead of a BMessenger to send a message to the window from
the app.

- Use the new "_fake" parameter to detect the initial mouse moved sent by
	app_server instead of a BMessageRunner and delay.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 17:22:54 +00:00
Ryan Leavengood
1674584bb9 Add a boolean "_fake" parameter to fake mouse moves in case views care that the
app_server generated it.

For now used by screen_blanker, in my next commit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 17:18:49 +00:00
François Revol
acef747411 Comment out debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 16:50:47 +00:00
Ryan Leavengood
cb6a084f20 Fixed a bug in the screen saver code that could cause someone to get locked out
of their machine: if the password check is turned on, and the password window
is shown but times out (when the screen saver starts again after the standard
delay), the input filter never knew about this and would never try to end the
screen saver again.

The solution is to take the logic for turning off the screen saver out of the
input filter and put it in the screen blanker itself.

Also while working in the input filter I removed some debugging and a TODO that
I think cannot be fixed.

In the screen_blanker the exit after loading the settings file was removed
since the default settings now work for the screen_blanker.

Plus obviously code was added to handle exit upon user input as well as the
timing out of the password window.

If anyone has a better solution for the 250ms timeout to ignore initial mouse
moves, let me know.

Also I think the new calls should be nothrow, but I am not sure what the rule
is for that.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 04:51:52 +00:00
Ingo Weinhold
f451e14bc2 Added InitCheck() method.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 02:05:10 +00:00
Axel Dörfler
b32211a457 * r28871 turned around the sort logic for undefined attributes.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-12 23:01:45 +00:00
Axel Dörfler
2c5ecffabf * Fixed and optimized the directory filter: since it already gets the stat
data, calling BNode::IsDirectory() is more expensive. Also, it did not
  traverse symlinks, and thus left them out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-12 22:37:17 +00:00
Rene Gollent
3f71e54926 If a CPU is disabled, continue serving any threads still pinned. Otherwise disabling a CPU in ProcessController at an inopportune time will result in a total system deadlock. Might explain part of the problem in ticket #3535.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-12 22:11:17 +00:00
Ryan Leavengood
7a9cfbf50c Oops, the workspace flag is another parameter, not part of the window flags.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-12 19:27:17 +00:00
Ryan Leavengood
41ac8755ce The screen saver window was not shown on all workspaces, which means one could
essentially defeat the password window by just changing workspaces.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-12 19:11:52 +00:00
Axel Dörfler
41a6cf82b3 * The InodeAllocator must remove the inode from the transaction before deleting
it, otherwise the transaction would access already freed memory when trying
  to release its write lock of the inode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-12 14:24:36 +00:00
Axel Dörfler
c9bc3be3d9 * Minor cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-12 14:22:05 +00:00
Axel Dörfler
31cb93ad43 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-12 13:55:23 +00:00
Axel Dörfler
e0b0a173b6 * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-12 12:18:25 +00:00
Axel Dörfler
5654f62097 Almost didn't notice this patch from Christian Packmann:
* changed function names iterate() and iterate1() to more descriptive 
  iterate_float() and iterate_double()
* set better starting position for Mandelbrot set
* add higher values to "Iterations" menu: 2048, 4096, 8192


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-12 11:27:22 +00:00
Ryan Leavengood
b7c9f42b94 Fix the bug on the mailing list where TextView does not go to the beginning of
the buffer when Ctrl-Home is pressed and to the end when Ctrl-End is pressed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-12 02:37:18 +00:00
Oliver Ruiz Dorantes
b44ee58331 Add creation of local version infomation command
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-11 21:43:01 +00:00
Oliver Ruiz Dorantes
d834120754 Show BluetoothAdress in correct order
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-11 21:26:21 +00:00
Oliver Ruiz Dorantes
011db60a81 Add option to refresh the list of localdevices
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-11 19:36:57 +00:00
Michael Lotz
5b9d5a2ec9 * Add has_debugger_command() so whether or not a debugger command is available
can be checked.
* Make the usb_keyboard module check the presence of the needed debugger
  commands to avoid the error messages in case of them being unavailable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-11 12:17:23 +00:00
Stephan Aßmus
105c63e8cd To avoid problems of reversed meaning of "extern inline" in
GCC 4.3 and above (conforming to the standard when compiled with -std=c99
or -std=gnu99), define the inline functions as "static inline". I've had
another patch that maintains the previous behavior, but as titer pointed
out, we have no code in our repo that overrides the inlined functions
with their own version, and doing so for any other code would be
problematic, since for example Linux libio.h #defines these as macros.
In any case, I don't really know what I am doing, so please correct me
if I did something stupid! :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-11 11:21:52 +00:00
Ingo Weinhold
b302c77c1b Missed that part. The request definitions for the io() and cancel_io() hooks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-11 02:08:03 +00:00
Ingo Weinhold
f1c6ce08f2 * Implemented the userland side for propagating the io() and cancel_io() hooks.
* Implemented io_request_is_write().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-11 02:00:23 +00:00
Ingo Weinhold
b538ceb816 Added dup_foreign_fd() to duplicate a FD from another team.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-11 00:57:17 +00:00