847 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
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
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
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
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
Jérôme Duval
1a4140c195 * Patch from PulkoMandy: Add resolution listing to "screenmode"
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-08 20:29:07 +00:00
Jérôme Duval
6b14439ceb * Apply patch from monni for bug #3453: add https support to wget
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-08 13:42:03 +00:00
Jérôme Duval
ca5c5de225 * Apply patch provided by Monni for bug #3514
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-04 21:00:39 +00:00
François Revol
3b40448410 added cache/TLB descriptors from Intel Application Note 485. Patch by Christian Packmann.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-27 16:50:25 +00:00
Oliver Ruiz Dorantes
84a2dcb0eb Discoverability can be set through preferences now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-26 20:52:14 +00:00
Ingo Weinhold
1e525344d6 * Automatic white-space cleanup.
* Handle the new B_DEBUGGER_MESSAGE_HANDED_OVER and pick the "causing thread"
  as our first victim. Fixes #2956.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-23 23:02:28 +00:00
Jérôme Duval
e2c33fb995 * fix gcc4 build
* some style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-22 18:26:19 +00:00
Jérôme Duval
b824d54c1a fix linking with stdc++
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-22 15:26:17 +00:00
Bruno G. Albuquerque
ae2bf46029 The Spam DBM may not have the best interface in the world but it is one of the best anti-spam tool I saw so I am adding it to the image (in fact the interface with changes by darkwyrm looks worse than the original one, IMHO).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-22 13:45:40 +00:00
François Revol
c586ab3746 Fix columns. Fix style.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-21 18:16:36 +00:00
François Revol
69fc3a4e4d Update TODO
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-20 23:48:20 +00:00
François Revol
bc86dd34b8 Patch by Bjoern Herzig, adds -a option, some cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-20 23:37:43 +00:00
Axel Dörfler
e333f75144 * Removed left-over debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-15 17:28:49 +00:00
Michael Lotz
576cd2495d * Compacted some of the code and inlined the DumpRoster implementation into the
class as it's so little code.
* No need to allocate the roster on the heap.
* Add /dev/bus/usb to the device location to make it more clear.
* Add the device location to the non-verbose output as well.
* Put the manufacturer and product strings into quotes to make it clearer that
  those are just strings. Avoids just blank output when a device doesn't provide
  those strings.
* Remove trailing whitespace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-12 23:05:57 +00:00
Rene Gollent
1e5a02e76f Renamed usb_dev_info to listusb and made it more useful:
By default it now presents a relatively concise list of USB
devices found on the bus, with an optional -v flag to dump
exhaustive detail. It still also takes an optional device 
parameter in case you only want information for a particular 
device.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-12 00:41:05 +00:00
Rene Gollent
e7a0fd93e2 Fix uninitialized string that was causing the deskbar volume control replicant to crash randomly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 16:17:38 +00:00
François Revol
ae05e8e720 Return native error codes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-04 12:59:41 +00:00
Michael Lotz
d0eaec3086 Fix more operator precedence errors. These do not do what you'd expect at first
sight. The comparison operator takes precedence over the binary ones.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 23:24:55 +00:00
Michael Lotz
c33667d400 Fixing warnings under GCC4 in preparation to enable -Werror there as well:
* Replaced the use of offsetof() for structs that aren't PODs. Add a
  offset_of_member() macro to util/khash.h because that's what it's used for
  in our cases.
* Change the signature of add_debugger_command()/remove_debugger_command() on
  GCC > 2 to avoid the depricated conversion from string constants to char *.
* Adding some "suggested" parenthesis. I know that not everyone likes that, but
  it pointed out at least one bug that is fixed here as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 20:48:02 +00:00
Michael Lotz
3509dd95c0 Workaround that should not break on bison 2.3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-29 02:26:22 +00:00
Michael Lotz
28ff07ab3c Revert the ftpd compile workaround as it apparently breaks on bison 2.3. Wonder why I got a report that it worked...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-28 22:57:02 +00:00
Michael Lotz
3fcc6b3abe Temporary fix for compilation issue on bison 2.4. See ticket #3137.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 21:15:28 +00:00
Michael Lotz
bfa2519c44 Explicit linking against libsupc++ doesn't seem to be necessary here (works with
GCC2) and produces multiple definitions with GCC4. Please yell if this breaks
cross-compiling.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-24 11:25:43 +00:00
Michael Lotz
fb3e35fcec Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2
build. I sure hope that this doesn't break the build for anyone else.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 03:05:15 +00:00
Michael Lotz
0644703068 Having the first argument to main() non-int is an error in GCC 4.3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 02:07:37 +00:00
Michael Lotz
aacebf533d Having the first argument to main() non-int is an error in GCC 4.3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 01:55:40 +00:00
Michael Lotz
f89856e548 Having the first argument to main() non-int is an error in GCC 4.3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 01:49:32 +00:00
Rene Gollent
bd98bd9555 Slightly tweak the volume slider's tracking logic to keep attention on the mouse even if it exits the view. This allows click dragging without having to be quite as precise. Fixes ticket #3317.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-20 01:07:42 +00:00
Axel Dörfler
0d585fc128 * Build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-14 13:55:14 +00:00
François Revol
0420c39114 typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-10 01:03:06 +00:00
François Revol
ce7a391ee0 Remove unused variable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-10 00:40:37 +00:00
Salvatore Benedetto
4a39c23620 * Reworked ps command a bit as its previous output was just messy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-31 16:47:45 +00:00
Axel Dörfler
fd95a7e124 * The net_server now accepts messages from the outside that want to configure
an interface (I don't remember why I didn't want this earlier, but well).
* ifconfig now has an auto-config option that will trigger DHCP.
* Also, it will now remove the IFF_AUTO_CONFIGURED and IFF_CONFIGURING flags
  if an address is specified (any on-going auto-configuration should check for
  these and abort if they aren't there anymore).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-28 22:18:21 +00:00
François Revol
e64095e728 Handle passing start and end block
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-21 23:41:20 +00:00
Oliver Ruiz Dorantes
c1990799c0 - Show the class of device(for local and discovered ones).
- Listeners do not need to inform about the LocalDevice handling to the Discovery Agent anymore.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-13 23:47:10 +00:00
François Revol
1872ef33ab Add to build, wow it even builds without a single warning :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 02:46:39 +00:00
François Revol
01f3ea96af YetAnotherUselessDebugToolIWrote
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 02:38:26 +00:00
Ithamar R. Adema
672ed10926 Update iasl bin tool to acpica-20080701
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-02 23:42:13 +00:00
Jérôme Duval
f4b68d125d updatedb build changed a bit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-29 21:22:46 +00:00
Jérôme Duval
0f4ef4c46e updated findutils to 4.2.33 (sorry, not latest).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-29 20:41:23 +00:00
François Revol
72511e46a9 Add options to specify block size and number of blocks to try at once, as with the linux version.
Read 64 blocks of 1024 bytes by default.
Use getopt().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-24 21:55:14 +00:00
François Revol
5b07eaa9b5 An old tool to detect bad blocks on disk. Will need that RSN :^)
Needs some spicing up.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-23 01:00:26 +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
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