717 Commits

Author SHA1 Message Date
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
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
Ingo Weinhold
01db1fe902 * Removed GNU M4 sources from the tree.
* Added GNU M4 1.4.12 package to the Development optional package.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-03 23:33:15 +00:00
Ingo Weinhold
2600324b57 The beginnings of an ltrace command. Currently merely a proof of concept
for the runtime loader add-on interface. There's a small library
(libltrace_stub.so) that when preloaded reroutes all library calls
through a stub that prints the function name and some of its arguments
to the debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-03 13:36:57 +00:00
Ingo Weinhold
cd65e69b00 Callgrind output: Encode the thread name and the total time the thread
used into the file name. This makes it easier to find the thread(s) one
is looking for.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-01 21:06:44 +00:00
Ingo Weinhold
e5c6366896 AbstractThreadProfileResult::SynchronizeImages(): New images were only
added, if their creation event was now or in the future. Obviously we're
only interested in images that do already exist, though. Also get rid of
"new" images that already have been deleted in the meantime.
Fixes problem that for some threads (almost) no images were added and
thus no functions could be resolved.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-01 20:21:47 +00:00
Axel Dörfler
a8e8efef96 * Made repairing partitions work theoretically.
* Implemented a small app "checkfs" to check partitions and put it on the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-01 17:28:10 +00:00
Ingo Weinhold
210553573f Patch by Artur Wyszynski: Added support for partitions in Darwin.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-31 15:56:33 +00:00
Ingo Weinhold
bc3955fea5 Preparations for removing __BEOS__ from the compiler defines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-23 21:46:26 +00:00
Axel Dörfler
89b1afd16c * Added a new window feel kPasswordWindowFeel that is above all other feels.
* Changed the password window to use this feel.
* Later, the screen saver itself should use this feel whenever the password
  mode is enabled. The password window should then use a modal-app feel, but
  this doesn't work yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-22 11:51:23 +00:00
Axel Dörfler
310a9c9e21 * Setting to the saver full screen and back is no longer needed when the
password window shows up (this avoids getting the Deskbar to front when
  the password window shows up).
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-19 13:15:58 +00:00
Stefano Ceccherini
6bda235a59 some gcc4 warning fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-17 08:08:20 +00:00
François Revol
baa1c04611 Add support for non-standard port on ssh and sftp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-16 15:51:16 +00:00
Axel Dörfler
670622943f * Added mounting of file devices by path (they are tried as a fallback when
mounting by name failed).
* Also left some TODO comments in the code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-13 23:50:51 +00:00
Axel Dörfler
c7cf16883e * makebootable now checks if the partition/image/device is mounted via the
disk device API, and if that is the case, it will use the private
  BFS_IOCTL_UPDATE_BOOT_BLOCK ioctl to update the boot code.
* Fixed inconsistent naming of "Bootcode" vs. "BootCode".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-13 22:08:26 +00:00
Karsten Heimrich
c7cb73f5aa * use snprintf
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 19:39:51 +00:00
Ingo Weinhold
ee0d2e6445 Right check, wrong place. The "-C" option (don't profile child teams)
was broken.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 14:07:21 +00:00
Axel Dörfler
4a1b989745 * Made the screen saver window as well as the password window kWindowScreenFeel.
* This makes them highest in the window order, so that floating all windows
  like the Deskbar cannot compromise the password protection anymore.
  This fixes #2808.
* Note, the password window should also block uses of Alt-Tab, even though this
  is usually harmless (as only other windows with kWindowScreenFeel can be
  promoted to the front).
* Also note, the password window should actually be an app modal window that
  appears in front of the screen saver window. However, the app_server currently
  doesn't allow anything but menus on top of a kWindowScreenFeel window.
* Removed changing full screen setting of the ScreenSaver window, as this
  shouldn't matter.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 07:58:41 +00:00
Karsten Heimrich
d6d494e7b6 * The size of the array passed should was not enough to hold the entire formatted string.
This fixes ticket #2802. (Not sure why it only happend on gcc4)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 21:47:46 +00:00
Karsten Heimrich
feb171f79e * whitespace cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-07 21:40:39 +00:00
Stephan Aßmus
fb2f3ef96c As pointed out by Ingo, Mime.h is also a Haiku header and includes MimeType.h
for convenience.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 16:27:15 +00:00
Stephan Aßmus
657cd741d1 Added zuMi's vector icon to fortune command. Not like you would see it easily,
but since he made it, fortune will be happier this way and tell more pleasing
fortunes. I hope.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:03:26 +00:00
Stephan Aßmus
78068f1f76 * MimeType.h is not a BeOS header.
* Honor 80 char/line limit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:00:07 +00:00
Ingo Weinhold
6486b756d0 Callgrind output: Added the missing time costs in the "summary" line.
Also added the missing "totals" line.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 11:57:42 +00:00
Ingo Weinhold
9aabd0ab3a Added option "-v <directory>". The tool will generate output files in
valgrind's callgrind format in the given directory. Those can be
analyzed with graphical tools like KCachegrind.
Recursive functions are probably not handled correctly yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 22:17:22 +00:00
Ingo Weinhold
39be9709cf * Moved counting/getting the hit images into separate utility method
GetHitImages() of base class AbstractThreadProfileResult.
* gcc 4 build fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 20:01:19 +00:00
Ingo Weinhold
051fad0f92 More refactoring:
* Moved the BasicThreadProfileResult class, its subclasses and related
  code into separate files.
* Made ThreadImage an abstract base class. Pulled the meaty part into
  new subclass BasicThreadImage.
* Templatized AbstractThreadProfileResult over the ThreadImage type.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-29 23:49:29 +00:00
Ingo Weinhold
394def6bf6 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-29 23:45:45 +00:00
Karsten Heimrich
8e28c17f2f * gcc4/ build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-29 18:03:30 +00:00
Ingo Weinhold
72e19fd426 Pulled subclass BasicThreadProfileResult out of
AbstractThreadProfileResult. The latter only manages the images, now.
Moved the AddSamples() code into BasicThreadProfileResult subclasses that
handle it depending on whether the function hits are counted inclusively
or exclusively ("-f" option).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-29 15:36:39 +00:00
Ingo Weinhold
ed2fc87300 Some refactoring: Separated the profile result collection from the
thread management. There's now a ThreadProfileResult (abstract base
class) object associated with a Thread object. Currently there's only
one (currently misnamed) derived class AbstractThreadProfileResult, but
some more refactoring will make the purpose clearer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-29 15:14:31 +00:00