Commit Graph

1510 Commits

Author SHA1 Message Date
Axel Dörfler
efa8b4f392 Fixed various issues:
* ArgvReceived() did not work with relative paths.
* Simplified quitting (no more CanQuit() and overriding BWindow::Quit()).
* Updated signature.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 19:54:01 +00:00
Axel Dörfler
fa3685cf13 * Now prints "Revision X" instead of "rX"
* I think we may have 2006 already
* Now makes sure the revision resource is null terminated (at least it returned an
  unterminated string under BeOS, it worked already fine under Haiku).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 14:47:06 +00:00
Ingo Weinhold
129cc3cbe1 Don't display the revision, if it is "unknown".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 22:57:23 +00:00
Ingo Weinhold
b95ed5682c Fixed problems with generating the new revision resource. Now we
create a file that only contains the revision number and use the
AddFileDataResource rule for adding it as a resource. We also
handle the case that "svn info" fails (e.g. for source trees not
containing svn information anymore), setting the resource to
"unknown".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 22:53:09 +00:00
Axel Dörfler
45de8176a5 * Added the Subversion revision at build time to AboutHaiku - the revision is
automatically updated everytime AboutHaiku is built (ie. also if nothing
  changed).
* Added Oliver Tappe as contributor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 18:48:26 +00:00
Jérôme Duval
375cec2c5e added error checks around, hope it can help
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 15:22:06 +00:00
Jérôme Duval
8b357f8a21 if a already selected item is selected, don't do anything
Installer isn't beos compatible is this directory, will add a test directory for it
fixed link libs and debug message


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 10:40:05 +00:00
Jérôme Duval
a5fa64b505 some changes : alert if free space isn't enough, set status when mouse is over packages (doesn't work for some reason ...)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 17:45:20 +00:00
Jérôme Duval
d6b6f8bfe1 made codycam beos compatible
fixed net libs link


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 17:42:31 +00:00
Jérôme Duval
b2dde401e5 made Magnify beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:22:00 +00:00
Jérôme Duval
a5050b61fd made SoundRecorder beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:19:35 +00:00
Jérôme Duval
1013215e2d made GLTeapot beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:14:47 +00:00
Jérôme Duval
26a6b3bedc made Clock beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:09:16 +00:00
Jérôme Duval
0f11a95a97 fixed build on R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:06:36 +00:00
Axel Dörfler
4ccfb08661 * Fixed memory leak in CPUButton: the message runner was only deleted in the
destructor, but created everytime AttachedToWindow() was called.
* Minor cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 15:57:45 +00:00
Jérôme Duval
5376b695a4 made r5 compatible
added virtual on destructors


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 15:47:46 +00:00
Ingo Weinhold
00113ff97b Couldn't resist using one of the nice new BResources::SetToImage()
methods. Currently guarded by an "#ifdef __HAIKU__", as long as we
want to be able to build a BeOS compatible Clock.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 00:17:47 +00:00
Ingo Weinhold
1a3348d9c2 Replaced TODO by explanatory comment, why the resources are retrieved this
way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 12:41:58 +00:00
Ingo Weinhold
a324efcfdc Added TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 01:46:43 +00:00
Jérôme Duval
7f40667cbc Installer scripts are not executable, we launch them with sh
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 14:05:40 +00:00
Jérôme Duval
e26778ae3d useless Invalidate()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 16:45:51 +00:00
Jérôme Duval
bc1301d336 * added checks for installing on source volume, or boot volume
* added alert for file error: lots of errors happening when updating a volume:
* it seems BEntry::IsDirectory() returns false whereas it should return true for some directories
this is to be checked with a test app
* boot volume is now marked automatically as the source volume (a rule is yet to be found for the target volume)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 16:16:26 +00:00
Stefano Ceccherini
19de443e9a removed useless stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 15:31:52 +00:00
Jérôme Duval
dcea76f0ab also checks for media read only as it seems CD-ROM are reported read only this way
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 10:54:25 +00:00
Jérôme Duval
cbdfe27947 reworked a bit to install packages
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 17:36:24 +00:00
Jérôme Duval
0bd6170f79 CopyEngine is a BLooper: let it delete itself ...
copy everything in source directory instead of just 'beos'


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-22 23:32:55 +00:00
Jérôme Duval
b5a5837bb9 updates status with current copied item
tested ok with a beos folder, 36Mo


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 17:48:12 +00:00
Jérôme Duval
4606537811 actually uses the copyengine looper to handle the copy process
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-20 13:33:42 +00:00
Axel Dörfler
915af8b17a Imported ExpandoMenuBar 1.16 and TeamMenu.cpp 1.5 from the OpenTracker repository:
* fixes for the Deskbar running without any other apps.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-20 11:55:24 +00:00
Jérôme Duval
5226491c72 basic copy
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-19 18:15:01 +00:00
Axel Dörfler
465b54cd65 Fixed crashing bug in the test environment on quit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 16:14:13 +00:00
Stephan Aßmus
93d1b9f406 * quick fix for when fBitmap has been recomposed
partly, fDisplayBitmap is not correctly re-established...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-09 11:24:08 +00:00
Stephan Aßmus
37a3ed9263 * quick hack to hide the cursor in fullscreen
(TODO: do this after a time out)
* quick hack to display bitmaps containing an
  alpha channel with a checker background
  (TODO: rework filters to be alpha channel
  aware and compose the checker background
  independently of the filter)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-09 11:18:01 +00:00
Stephan Aßmus
c9a5153a00 fix building for BeOS
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-09 11:14:37 +00:00
Jérôme Duval
5543f13539 our elf resolver has a problem with previous way of linking with FSUtils
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-08 16:25:28 +00:00
Jérôme Duval
06ac7d759d added FSUtils.cpp from libtracker, fitted for our use
fixed some visual glitches (and gone around a bug in our menu implementation)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-08 16:02:44 +00:00
Jérôme Duval
ebc8a403e5 Installer makes use of FSCopyFolder in libtracker.so
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-04 07:57:21 +00:00
Axel Dörfler
3a6add495c Enabled Deskbar add-ons. They don't work that good, but they don't crash
the Deskbar anymore. It's still disabled for the libbe_test build, though
(as it will find incompatible add-ons via queries there).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-04 00:28:11 +00:00
Axel Dörfler
0d5dea62de * Setting the window title via "-t" now works.
* Improved error message in case the initial shell couldn't be executed.
* Disabled setting the colors via arguments, mostly because it just did quit
  the app in case there were any arguments and no /etc/rgb.txt file. This
  allows Terminal to be used by the debug_server instead of MiniTerminal.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-03 14:24:43 +00:00
Axel Dörfler
f4a73641e0 Imported current OpenTracker Deskbar: it can now start apps (and show the
"About Haiku" window) without having Tracker running.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-03 08:38:28 +00:00
Alexander G.M. Smith
8e34360a9c Fixed it up so it now compiles for R5 and Haiku. Don't know about
BONE or DANO, and I'm pretty sure it won't work in Zeta!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-02 04:37:47 +00:00
Alexander G.M. Smith
deb238df7d Tried to get MDR to compile under Zeta RC3 but to no avail, with lots of
brick wall collisions.  Along the way I found a few defines that no longer
exist in Haiku - changed B_BEOS_VERSION_DANO to use Haiku versions (anyone
rebuilding under Dano might want to undo it).  By the way, the BeOS version
number define system might be worth using, since it's a numerical compare
rather than #if defined(V1) || defined (V2) || defined (V3) and so on.

What sort of errors?  Besides needing libzeta.so for some things, the
networking compatibility compile doesn't work (libbind and all that).
Some examples among many:

In file included from /boot/home/Haiku/src/kits/mail/numailkit.cpp:14:
/boot/develop/headers/be/support/Autolock.h:3: using directive `BAutolock' introduced ambiguous type `BAutolock'

In file included from /boot/home/Haiku/src/kits/network/compat/libnet/netdebug.c:6:
/boot/home/Haiku/headers/private/net/netdebug.h:32: syntax error before `void'


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-01 23:59:24 +00:00
Axel Dörfler
7da062312a Imported Deskbar from OpenTracker-current.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-01 23:40:49 +00:00
Axel Dörfler
7d61d305c6 Some minor fixes and cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-31 13:15:15 +00:00
Stephan Aßmus
268893283f drawing arrow heads looks good on Haiku using B_OP_OVER... Stefano, I made this local change before your earlier commit, I hope I don't step on your toes, it's just a tiny change anyways...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-22 22:15:06 +00:00
Stefano Ceccherini
57de0ba79d Now clock doesn't quit in case it can't find its resource (due to a bug in BRoster::FindApp(), probably). It looks like crap but it's not important right now. Also restyled a bit the cl_view.h/cpp files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-22 21:19:23 +00:00
Jérôme Duval
bd8c5981aa fixed midiplayer build for non haiku platforms
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-18 22:54:47 +00:00
Axel Dörfler
348c7214f5 Improved processor identification for some VIA C3 models.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-16 11:55:01 +00:00
Axel Dörfler
da4580a278 Fixed a crashing bug that occured when both, "sort running applications", and
"tracker always first" was selected, and the first app that was launched was not
Tracker.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-12 00:24:52 +00:00
Ingo Weinhold
711f8274f3 BlankLogo is also needed on PPC.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-11 13:50:20 +00:00
Axel Dörfler
7d93e66823 Added the Deskbar to the libbe_test environment - I thought I had committed this already...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-06 19:28:12 +00:00
Ingo Weinhold
9a8ef58959 Build fixes for gcc 4 by Ilzu Siiteri. Small changes by myself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-30 23:41:40 +00:00
Axel Dörfler
8eb8269db6 * Fixed broken CodeConv semantics (missing length parameter).
* No longer writes to the message data from clipboard.
* some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-25 17:57:52 +00:00
Axel Dörfler
498cd44c3a Quick fix to prevent the terminal from crashing in case it got a message
with mouse coordinates outside the window (yeah, it has been written
that bad).
Need to rewrite the whole mouse handling, though...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-25 16:20:32 +00:00
Axel Dörfler
60bddfface Removed background color from images - BeMail will now look much better if you have
a different panel background color.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-15 03:13:19 +00:00
Axel Dörfler
4a71b881a9 Final GCC 4 fixes by Ingo Weinhold (were not visible before, due to a missing -no-undefined).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-14 16:08:59 +00:00
Ingo Weinhold
31c5d829c9 Don't mark inline what is defined in the source file, but used from
other compilation units too. gcc 4 is quite consequent and doesn't
generate non-inlined code for such a function.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-14 13:39:02 +00:00
Axel Dörfler
6d01b66d30 GCC 4 fixes by Ingo Weinhold.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-13 13:43:11 +00:00
Ingo Weinhold
758b1d0e05 Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
  declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
  explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
  something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
  'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
  is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
  Otherwise the an inner class with that name is considered as friend.
  gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-12 23:27:14 +00:00
DarkWyrm
bcf95670a2 Fixed a bug in the Latin-1 handling code in ReadLine
Replaced exception code with better error-handling code
If a lookup fails, we now fill CD info with basic (and barely useful) data :D


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-12 23:20:15 +00:00
Axel Dörfler
4d19e671ba Tracker is now built for the libbe_test target as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-12 20:32:30 +00:00
Axel Dörfler
723de034c6 * Removed "full font" vs. "half font" setting (in the GUI only for now) - this
should better be handled by the app_server (ie. via font overlays).
* Fixed compilation under Dano.
* Fixed some broken headers.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-12 12:02:48 +00:00
Axel Dörfler
cbf91a3008 Terminal now also builds on R5/Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-11 15:49:09 +00:00
Axel Dörfler
ba98d1b0cd * Terminal is now also built for the libbe_test platform; removed explicit linking
against libroot.so.
* libtracker.so is now also built for that one, and also removed libroot.so linking.
* MiniTerminal is no longer build for the libbe_test platform.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-11 13:50:26 +00:00
Axel Dörfler
71922d1950 Removed SetWindowTitle().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-11 13:19:34 +00:00
Alexander G.M. Smith
1663fe079b Updated a few old BONE references to use the new build system defines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-07 12:57:55 +00:00
Alexander G.M. Smith
84063c1f44 Added MIME type application/x-vnd.Be.URL.mailto to BeMail's supported types.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-06 20:39:13 +00:00
Alexander G.M. Smith
9c91a5f9d6 Now compiles for both Haiku and R5 targets. Also bumped the version
number to 3.0.3, just in case we want to do a new release soon with
this slightly better working version.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-05 22:51:31 +00:00
Jérôme Duval
b2cacfd22a added cdplayer as a beos compatible app
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 12:37:44 +00:00
DarkWyrm
eb5b2ccda8 Stupidly forgot these two files in r14671. Should fix build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 11:20:18 +00:00
DarkWyrm
8ff15f1d7e Integrating fixes from current dev. build of SimplyVorbis which includes:
Refactored CDDB lookups with Latin-1 support and buggy UTF-8 lookup code
Ability to modify and save lookup data to disk
Genre is stored as an attribute so as to be compatible with R5


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 02:02:34 +00:00
Axel Dörfler
11516cee1e The stored (and default) font settings are now tested against the fonts installed
in the system; if a font chosen could not be found, a fallback font (be_fixed_font)
is used.
Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-31 23:24:17 +00:00
Ingo Weinhold
0755123f83 Fixed most of the problems when building the MDR package for target R5.
Some add-ons don't build, since they include non-R5 networking headers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-31 14:51:46 +00:00
Ingo Weinhold
338b8dc301 Merged changes from branch build_system_redesign at revision 14573.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 16:27:43 +00:00
Jérôme Duval
baf595a037 we now use off_t for the sizes (sorry Ingo for bugging :) )
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-27 13:22:54 +00:00
Jérôme Duval
1eedf23081 now populates menus
improved size to string formating for GB and TB


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-26 19:45:38 +00:00
Jérôme Duval
6a4b16f094 now uses real partitions for menus
annoyingly app_server crashes now at every launch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-26 15:42:22 +00:00
Axel Dörfler
bf0f315cc3 Added Waldemar to the developer list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 15:30:48 +00:00
Axel Dörfler
75fc86b667 Added Jonas to the list of contributors - sorry that we missed you earlier!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 10:21:24 +00:00
Jérôme Duval
1a8f53bbf7 added a SourceVisitor and a TargetVisitor to go through BDiskDevice and BPartition objects
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-19 13:11:11 +00:00
Jérôme Duval
b461fb1d4b added a haiku logo from stippi, thanks!
enlarged the window
improves widget placement


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-18 23:10:27 +00:00
Jérôme Duval
87fd7c1b16 fix link
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-01 16:14:11 +00:00
Jérôme Duval
a7c2985541 takes string width into account
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-30 22:32:45 +00:00
Jérôme Duval
633dee064e fix packages view, added a copy engine class
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-30 14:58:05 +00:00
Jérôme Duval
b5feb1f13f total size is now working
copied BPrivate::CopyLoopControl impl from libtracker.so because R5 loader doesn't seem able to find these symbols correctly in libtracker.so


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-28 22:50:52 +00:00
Jérôme Duval
61b3e949b4 more copy loop control methods
added a size view


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-28 16:15:02 +00:00
DarkWyrm
286a97ac61 Fix for skipping over tracks when playing through a disc in sequential mode
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 00:52:17 +00:00
Jérôme Duval
18c5b74250 added package icon
added a InstallerCopyLoopControl class


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-26 15:04:52 +00:00
DarkWyrm
3df611d78d Removed earlier bug with data tracks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-25 00:51:04 +00:00
DarkWyrm
9b56c14770 Massive retooling of drive-watching code to reduce complexity and thus, (hopefully) bugs.
Squished the CD-exchanging bug which I thought I got last checkin.
Added a minor bug which will get fixed later -- clicking on a data track will cause the track menu and the track name to disappear


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-24 21:13:21 +00:00
DarkWyrm
53960be31f Fixed a couple of bugs related to changing CDs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-24 17:08:12 +00:00
Jérôme Duval
f66f06160a added sizes for packages
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-24 16:58:17 +00:00
Jérôme Duval
8d71ca3e25 displays package list
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-24 15:58:04 +00:00
Jérôme Duval
5b9ea6c314 added some views for packages
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-23 16:01:21 +00:00
Jérôme Duval
35d3acb250 added an EULA, etc ...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-21 15:55:29 +00:00
Jérôme Duval
d98ceebb35 fix my name encoding
added a few comonents


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-21 10:13:46 +00:00
Jérôme Duval
8b7c3f785c fixed screen positioning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 18:37:19 +00:00
Jérôme Duval
6ffb6a6e04 added a skeleton for Installer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 15:44:08 +00:00
Alexander G.M. Smith
c5233d297e Record draft menu functionality decision (via mailing list discussion)
for future implementation, when someone has time.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-18 18:27:02 +00:00
Alexander G.M. Smith
23c29a9f30 Fix up font restoration from preferences so it actually sets the font.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-11 19:28:18 +00:00
Alexander G.M. Smith
7235a5a7dd Turn off the drafts live-query menu update when viewing existing e-mail
messages.  It limits the number of open windows to an annoyingly small
quantity and makes opening mail files slow.  That's because EACH window
starts up a bunch of queries to find drafts, one for each disk volume.
Comments about design alternatives to this kludge welcome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-11 17:50:53 +00:00
Axel Dörfler
3c40c4cead Separated loading and saving prefs again - even if it let you forget to balance loading/saving
of the values more easily (but you should think about changes to persistent file formats anyway),
it's far more readable.
Also made saving the settings a bit safer: the settings are now written to a temp file, and
only replace the original if that succeeded (before, there was the slight chance that you'd
end up without any settings if the system crashed at the wrong time).
Also extracted the old style settings loading mechanism to a separate method.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-31 01:25:18 +00:00
Axel Dörfler
8745360987 BeMail now correctly switches the button bar labels on and off as requested: short story: never use a bool when you need 3 different values.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-31 00:18:43 +00:00
Axel Dörfler
69d3d82625 No longer cuts the "Signature" label in certain situations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-31 00:15:28 +00:00
Axel Dörfler
ec130eefb6 TBarMenuTitle::DrawContents() now checks if there is a logo before trying to
draw it.
This fixes the crashing bug when being compiled from Zeta (because of the
different message storage format) - debugged under Haiku thanks to Ingo's
great work :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-18 00:05:37 +00:00
Alexander G.M. Smith
5c81a5b9a8 And one more redundant printf.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-15 02:08:58 +00:00
Alexander G.M. Smith
c55a1c5efa Get that revision number showing in the about box, and remove a
debugging printf.  At least I assume it's for debugging...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-14 21:21:31 +00:00
DarkWyrm
69554e1221 fixed launching of new terminal windows
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-14 00:42:26 +00:00
Alexander G.M. Smith
d9f9a4ac41 Added the resources and file type associations, changed the application
signature and otherwise made the spam detection system work properly again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-13 19:31:42 +00:00
DarkWyrm
8002431bb4 Style fixes to TermWindow.cpp
Removed trailing spaces after text generated by file drops
Added a few TODOs


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-12 18:59:17 +00:00
DarkWyrm
401fdf8278 Style and header updates
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-12 18:00:37 +00:00
DarkWyrm
2cd1ecf22d Added some handler code for when no CD drive can be found
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-11 20:24:55 +00:00
DarkWyrm
6d41bc18b1 Added handling code for when CDDB lookup fails
Changed the way logging is set in CDDBQuery
Fixed a bug which caused some funky behavior in Shuffle mode
Missed adjusting Loop and Shuffle buttons when AdjustButtonState was introduced. Fixed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-09 16:12:06 +00:00
DarkWyrm
c0b8b2943e Clicking on a track in the track menu now just selects the track
Fixed times in CDDB files


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-01 22:31:41 +00:00
DarkWyrm
8fe6296f19 Fixed lookups when CDs are changed
Artist is again displayed alongside the CD title
Fixed button state updates when CDs are changed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-01 16:29:30 +00:00
Axel Dörfler
02cf6d0008 Since we now only have a single file to save, we no longer create a sub-directory
"HaikuTerminal" in the user settings directory, but just a file called either
"Terminal" (for the Haiku build) or "HaikuTerminal" (for the R5 build).
Last commit also made sure the settings target path existed - this is now no
longer necessary, and thus, disabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 13:17:40 +00:00
Axel Dörfler
662f52848a Removed all global preferences path constants.
PrefHandler now exports a static method GetDefaultPath() which gets the
path to the default settings file (using find_directory(), of course).
Disabled locale support; should be easy to reenable when needed again, though.
Made all the PrefHandler getters a lot more robust (could easily crash when asking
for an unknown item).
Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 13:12:48 +00:00
Axel Dörfler
b11eac8c18 Our Terminal is already a bit older than 2005...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 13:08:22 +00:00
Stephan Aßmus
217a8117cd fixed typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-28 23:35:19 +00:00
Philippe Houdoin
0e1237631f Cleanup: removing explicit strlcpy.c build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-28 22:45:02 +00:00
Jérôme Duval
e5bc59e8f2 forgot the SEARCH for haikulogo.png
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-26 20:40:20 +00:00
Jérôme Duval
9393273de2 added a dependency haikulogo.png to AboutHaiku.rdef
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-26 20:29:47 +00:00
Jérôme Duval
a4db241ab1 applied mahlzeit's tip from http://www.haiku-os.org/bugzilla/show_bug.cgi?id=40
haikulogo is now a png file


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-26 20:25:22 +00:00
Axel Dörfler
5fcc5dfec9 Never used strlcpy() when compiled for R5, dunno why Jerome added this.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-22 16:01:52 +00:00
Nathan Whitehorn
9d41fc2bec Right click drags of people files into BeMail lets you choose which of multiple e-mail addess attributes you want to use, and the people query for the "To:" menu now looks on non-boot volumes as well. Patch c/o slaad.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-22 13:25:37 +00:00
Axel Dörfler
1270e8a017 Updated version info in the resource file as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-22 07:51:28 +00:00
Axel Dörfler
08f833c027 Fixed two bugs:
- when undoing the first change, any later change would make that first change reappear
- in hex mode editing, changes were not merged because they changed the same byte
Updated version info.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-22 07:50:29 +00:00
Stephan Aßmus
e4b3b04f99 Appearantly, there is a race condition when setting preferences, this fixes (one of) the crash(es?), but we should really fix the race condition, but I have no energy to get to know the code more. I'm thinking the PrefHandler class needs locking, since it is used everywhere, it is probably best to put the locking directly into the PrefHandler methods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 12:59:23 +00:00
Stephan Aßmus
6acca385f0 source is a BControl pointer, so we need to dynamic_cast, no?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-21 12:56:24 +00:00
DarkWyrm
d1ebd75641 Refactored CDDB lookup code
CDDB data is written in R5 format with the exception of CD:key (still figuring out what to do about that)
Fixed some update notification problems with changing CDs


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-20 01:04:55 +00:00
DarkWyrm
1bbb0771e4 Better conformity to style guidelines
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 15:14:14 +00:00
DarkWyrm
fcccc8d147 Shouldn't be any more crashes when CDDB lookup fails
Lookup now handles inexact matches
CDAudioDevice now detects all available CD drives
Fixed a minor bug in updating the track list when changing CDs
CDDB content files are now stored in R5's location - /boot/home/cd


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 13:29:54 +00:00
Philippe Houdoin
d8faa07a05 Added source code Matrix compliance: everybody will (have to) read raw hex bitmaps one day ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 08:49:39 +00:00
Philippe Houdoin
9ea7d6aea4 Dunno where these duplicated lines cames from. Fixed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 08:16:30 +00:00
Philippe Houdoin
b56e312187 Added an AMD CPU logo to please screenshots lurkers.
Should be better moved into resources next time. Will see...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 00:42:26 +00:00
Philippe Houdoin
781edd8d55 Minor space adjustment between CPU type and speed line.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 21:45:12 +00:00
Axel Dörfler
e98e8fe256 Forgot to commit Jamfile before: removed AboutWindow.cpp.
Cleaned up ShellPrefView a little.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 08:11:43 +00:00
Axel Dörfler
716af53244 Removed MENU_SHOW_ABOUT constant - it's no longer used.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:55:51 +00:00
Axel Dörfler
76649c0319 Removed the ugly about window, and replaced it with a common BAlert.
Moved the alert to TermApp, too - TermWindow now only forwards the B_ABOUT_REQUESTED message.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:54:48 +00:00
Axel Dörfler
42a1650087 Accidently disabled set_mouse_position() with my last commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:38:23 +00:00
Axel Dörfler
ce37cb1bf8 Deleted the now obsolete MYOB folder.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:36:51 +00:00
Axel Dörfler
d3dc729f9f Moved the files out of the MYOB folder into the main folder.
There are some double entries (like TermApp.cpp and TerminalApp.cpp, so
it still needs a further cleanup).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:35:17 +00:00
Axel Dörfler
477bd4f0e0 Removed paragraph about muterm-2.3.zip - it's still in the history, if
anyone wants to have another look at it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:28:17 +00:00
Axel Dörfler
e2ee42c5bd Moved Andrew's Terminal files into a subfolder - maybe this should be moved
to his developer branch. Maybe he wants to integrate the changes, too, whatever
he has done.
Removed unused files (muterm-2.3.zip, Jamfile - both still in history).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 07:27:01 +00:00
Axel Dörfler
a22dce79df Fixed warning (wrong format).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-18 06:53:36 +00:00
Axel Dörfler
0332bd6f41 Removed bsd_mem.h and the functions it used from there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 20:58:44 +00:00
Ingo Weinhold
2fd4a0411b Added a boolean "synchronous" parameter to BRoster::Shutdown(). Used in the
Deskbar to initiate the shutdown process asynchronously. Couldn't test it,
because opening the Be menu doesn't work:
***PANIC: BW: Can't find view with ID: 19 !***



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 16:37:11 +00:00
Stephan Aßmus
5fb214d470 The Deskbar can now shutdown or reboot Haiku, but we should have a way to shutdown asynchronously, see TODO
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 11:07:55 +00:00
DarkWyrm
bc5804fdb6 Implemented Fast Forward and Rewind
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 19:47:21 +00:00
DarkWyrm
b8673e4300 Added menu selector like in R5's player.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 18:51:30 +00:00
DarkWyrm
c552d63dc5 Removed some commented-out test code from CDButton
Time display is updated when player is stopped
Turning off shuffle really takes it out of shuffle mode
Can change tracks while the CD player is not playing
Improved responsiveness of screen updates when changing tracks
Total disc time calculation is fixed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 15:23:30 +00:00
Jérôme Duval
c458888ae0 added Konatu font copyright
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-12 09:17:44 +00:00
DarkWyrm
6105ba9382 Fixes to monitoring of the CD drive's state
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 20:05:50 +00:00
DarkWyrm
0ca3e71c1e Total track and disc times are displayed in the appropriate boxes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 18:06:02 +00:00
Axel Dörfler
a98b74b72e Discarded unused variable "at" in get_rounded_cpu_speed().
Forgot to adapt the limit to switch to "GHz" in AboutHaiku.
Both bugs were reported by Herve W a.k.a. "V" - whatever
that means :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-10 16:24:52 +00:00
Axel Dörfler
26ca407bfc Moved the CPU speed "clearing" function from Pulse to cpu_type.h header.
It's now also used by AboutHaiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-09 21:01:23 +00:00
Axel Dörfler
38d8620261 Now has real app version information.
"labelHeight" was not the actual label height, just the font height; as a
result, it could overwrite the label (and did so with "Time Running:").
Now uses find_directory() to locate the system lib directory.
Does not use version_info::short_info if it's empty.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-09 20:50:44 +00:00
Philippe Houdoin
95818cf43e Quick fix. Maybe we should #define some OS_NAME string somewhere, because "BeOS" still appears in many places in litterals.
Not that I didn't like these 4 letters combined, but, well, let's move on...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 07:42:41 +00:00
DarkWyrm
66c912db47 CDPlayer doesn't crash anymore when the CDDB lookup fails
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 01:37:37 +00:00
Axel Dörfler
79482d6383 Now listens to team messages under Haiku - apparently, the BeOS registrar detects
the Deskbar, and sends messages to it automatically.
For Haiku, though, we don't want this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 01:05:26 +00:00
Michael Lotz
df95d6c124 Removed second variation of StyledEdit as it's, according to Stefano, not needed anymore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 13:38:48 +00:00
Michael Lotz
8c123e6dad Fixed build of StyledEdit for target r5. What's the matter with the second StyledEdit in there? Also added BString back to libhaiku.a.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 13:26:11 +00:00
Philippe Houdoin
3306648a89 Improve GHz speed accuracy, thanks to Axel for suggesting this.
(And, yes, that's stupid little commits, but I'm so bored at office *and* without any BeOS system to test...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 13:19:33 +00:00
Jérôme Duval
6ca31b270b moved Deskbar and Tracker to their usual place
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 12:54:37 +00:00
Philippe Houdoin
f14ac66c8e That's Hz, not hz when prefixed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 10:39:18 +00:00
Philippe Houdoin
67522bbd91 Added user friendly Ghz awareness :-).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 10:26:13 +00:00
Stephan Aßmus
2d5d475ef5 another logo variation, of course open for discussion, is available in different color-schemes on request, or I could also commit the other versions too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-06 22:50:53 +00:00
Stephan Aßmus
9c910f9e80 first draft of a Haiku logo for the Deskbar, link against Haiku libs when building for Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-06 20:14:16 +00:00
DarkWyrm
ec87043e1a Style cleanups
Usability fixes for preferences window


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-06 19:31:17 +00:00
Michael Lotz
dd80de6b0d Made the icon background transparent. Even if it's probably not the final icon it looked strange to me with the white bg.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-06 18:47:50 +00:00
DarkWyrm
94935cfc3c Style fixes in a couple functions -- need to fix the entire app, but not right now
Dropping multiple files in the terminal now prints all files' paths instead of just one


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-06 17:59:53 +00:00
Jérôme Duval
ddc2cfeff0 links with our libs on haiku
avoids warnings


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-06 12:26:35 +00:00
Jérôme Duval
8c2e0879c3 fixes build for haiku
updated signature


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-06 09:40:28 +00:00
Axel Dörfler
f87938dc2e It's now using setenv() under Haiku instead of its own stuff - and that will
now mimic setenv() instead of some strangely different thing :)
Rearranged and corrected the code that opens the PTY, and TTY.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-06 03:30:19 +00:00
Jérôme Duval
948356def1 added a loop button
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 22:55:35 +00:00
Jérôme Duval
2a0bfa016d TrackSlider doesn't need pointer history
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 20:29:59 +00:00
Jérôme Duval
7942339dee now count frames only once
release files and tracks


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 19:04:59 +00:00
Stefano Ceccherini
f8b80b4ac7 Temporarily disabled auto scrolling as SetEventMask() doesn't work in haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-03 05:11:35 +00:00
Jérôme Duval
7289c3d491 patch from Stefano Ceccherini
added scrolling after 10 seconds of inactivity.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-01 13:35:38 +00:00
Axel Dörfler
0a7d4d9991 Moved the move-window-on-screen code into PulseWindow::MoveOnScreen().
When you change the appearance during runtime, the screen location is
now checked again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-01 11:03:43 +00:00
DarkWyrm
8cc39dac67 I guess I forgot to add these to the repository last time. Oops. :D
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-01 00:58:57 +00:00
Axel Dörfler
8bc4973900 Some cleanup and bug fixes: the length of the bits in BBitmap::SetBits()
was way too much, new[] was used, but not delete[].
The font size is now adapted to the processor/vendor strings, looking
much better now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-30 23:05:55 +00:00
Philippe Houdoin
9672813d0d Fixed a bug that always report one processor even on SMP machine.
Colorized with Haiku theme the credits text, tell me what you think...
Enhanced the uptime text construction.
Added some resizable support, but I failed to see why the textview don't adjust, so it's still disable.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-29 22:11:48 +00:00
DarkWyrm
4f39b358ee Major internal code refactoring -- separated the actual SCSI-call interface with the CD drive from the rest of the app
CDEngine now uses the PlayList class to track which track to play - Shuffle and Loop now work properly
Track name is a little darker when the player is no longer active


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-29 18:42:22 +00:00
Axel Dörfler
900a549127 Only overrides BSlider::DrawBar() if compiled for BeOS (would look okay under R5, too, though).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-28 23:29:04 +00:00
Jérôme Duval
deeb4c6cd9 now rounds the total memory size
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-28 21:52:27 +00:00
Axel Dörfler
a79f112e9b Sorry for the broken last commit.
We can always link against libroot.so, there is no need for this special case.
Also fixed line breaks: please try not to commit DOS line breaks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-28 20:13:24 +00:00
Jérôme Duval
645aa1c8cb fixed haiku build (again)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-28 19:57:26 +00:00
Axel Dörfler
3c336bbe89 The old Jamfile was fine and is certainly able to build AboutHaiku under R5;
reverted last change.
Please, if you intend to build an application for R5, make sure that the build
target platform ($TARGET_PLATFORM) is set correctly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-28 19:12:15 +00:00
DarkWyrm
f479b4974a Added a 2-state BBitmap button for later usage in Shuffle and Loop buttons
Added a playlist class which will be later used for handling tracks
CD music will stop on quit to avoid confusing users
Added pause up/down images to resource file
Style tweaks to some files


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-28 18:56:16 +00:00
Stefano Ceccherini
df6d71c9fe More forgotten people (I guess we should hire someone just to maintain the about box)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-28 16:02:43 +00:00
Stefano Ceccherini
914c1a4528 You can't return a pointer to an array allocated on the stack. This fixes the uptime not being showed correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-28 15:30:44 +00:00
Stefano Ceccherini
62d011e8ef Fixed build on r5 & haiku (patch provided by Philipp Schmid)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-28 14:48:09 +00:00
Axel Dörfler
0ed7eba713 Reverted last change, as BFont::IsFixed() does now work properly, thanks to Stefano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-27 19:57:16 +00:00
DarkWyrm
175c92ffb3 Updated the resource signature to match the app's signature
Utilize CDDB lookups
Use display controls look similar to LED panels on CD players
Window is resizable and controls respond appropriately
Added support to display elapsed time, both for the CD and the current track
Numerous little bugfixes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-27 18:44:34 +00:00
Axel Dörfler
0d58f3c284 BFont::IsFixed() doesn't seem to work correctly under the app_server yet
(though the implementation *looks* correct), so I've disabled this check
for now.
This let it draw the data correctly, although the line selection has
artifacts that are not present under R5.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-27 02:01:32 +00:00
Philippe Houdoin
75480b6bf8 Add Mesa & SGI's GLU copyrights.
Still need to investigate about precise GLUT copyright(s) situation.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-26 22:07:18 +00:00
Philippe Houdoin
9b531940b9 Link against native libGL.so. Native OpenGL headers too.
Changed the app signature to match resource one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-26 15:53:49 +00:00
DarkWyrm
238e9fd71b I didn't feel like working on the app_server today. 'Hope Sikosis doesn't mind. :D
Definitely a work in progress, but it'll play CDs at the moment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-24 21:29:28 +00:00
Stefano Ceccherini
400a469bd9 Added Marcin Konicki aka Ahw... Shard to the contributors's list
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-24 17:16:01 +00:00
Axel Dörfler
0faef3aff9 Just to prove my point :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-24 02:00:26 +00:00
Axel Dörfler
8ba7bedb43 Minor cleanup.
Since we will (almost) definitely forget some names, shouldn't we say sorry to be on the safe side? :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-24 01:56:38 +00:00
Axel Dörfler
d830c752cc Added missing team lead Michael Pfeiffer!
Added Michael Phipps to the list of contributors - at least he did
some coding some time ago ;-)) Anyone still not listed?
Applied the missing bits of our style guide (at least he tried :-)).
Removed the CPU detection code, as we have one at a central place
(headers/private/shared/cpu_type.h).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-24 01:48:44 +00:00
DarkWyrm
d7a24c8147 Added icons for the app
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-23 20:06:20 +00:00
DarkWyrm
2146e4d643 Removed Terminal from build and made Terminal2 the real app
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-23 19:12:23 +00:00
DarkWyrm
3019790e7e Fixed logo-loading issue
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-23 19:07:13 +00:00
DarkWyrm
70bb3d4318 Undid an accidental change -- gotta remember svn revert after I twiddle with things. :P
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-23 19:06:38 +00:00
DarkWyrm
a8aa633498 Added the app to display the AboutBox.
Not added as inline code in run_be_about to libbe code because of loading Haiku logo as a resource
There is a build issue with it not loading the Haiku logo when using jam


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-23 18:53:20 +00:00
Axel Dörfler
e8fbd2527f Now checks if the window is out of the screen frame and move the window
back into it, if necessary.
Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 05:15:26 +00:00
Axel Dörfler
da7bead8c6 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 04:11:14 +00:00
Axel Dörfler
32d0dbbbf8 Made command line evaluation more robust, it now also accepts a "=" as separator between attribute name and value.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 03:44:18 +00:00
Axel Dörfler
ffa1bb09e9 Now creates the People indices on all mounted volumes on startup (like R5's People).
Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 03:40:21 +00:00
Axel Dörfler
33c16998cd Removed unused constants.
People is now almost font-sensitive (only the width is fixed).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 03:29:10 +00:00
Axel Dörfler
779f323d92 Big cleanup.
Now searches all volumes for people groups.
The only thing left is to make "URL:" and "E-mail:" clickable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 03:18:00 +00:00
Axel Dörfler
48d350d76e Accidently replaced lib.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 19:50:01 +00:00
Axel Dörfler
80f47570a5 Some cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 19:49:18 +00:00
Stephan Aßmus
fc5ca95d01 fixed alignment and image layout, esc exits fullscreen mode, black background for fullscreen, zooming window toggles fullscreen, can still browse even if current image has been deleted, space toggles slideshow, swapped next/previous menu items (more logical)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 20:09:46 +00:00
Jérôme Duval
5fa7753230 signature fix
now quits gracefully when no media roster is available


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:51:53 +00:00
Jérôme Duval
0fe2ac31dc rdef cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 09:28:21 +00:00
Jérôme Duval
3b10d8ead3 rdef clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 09:18:59 +00:00
Axel Dörfler
e53168541f Instead of letting the window reroute the messages, I just learned the
target can also simply be set to the preferred handler by using the
BInvoker::SetTarget(NULL, Looper()) form.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 17:57:03 +00:00
Axel Dörfler
b4ca6a8fc1 Cut/Copy/Paste messages and B_SELECT_ALL are now sent to the window, which then
passes them to the focus view. Before, only the data view got those messages
(because they are accessible over the menu, and had the data view as target).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 17:50:51 +00:00
Jérôme Duval
b00025db9c moved teapot.data to its usual place
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 09:15:25 +00:00
Jérôme Duval
c8c44fa029 added GLTeapot sample app
we still need opengl headers and libGL.so


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 09:07:17 +00:00
Jérôme Duval
57e2f323c7 Added SoundRecorder (inspired by SoundCapture from beos samples)
Alpha state


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-09 20:28:21 +00:00
Jérôme Duval
87763db72b links against our libs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 14:34:47 +00:00
Jérôme Duval
1992ebb39f links against our libs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 14:31:09 +00:00
Jérôme Duval
21984f2a72 links against our libs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 14:25:13 +00:00
Jérôme Duval
88c0001344 clean up (now uses our libs, haiku name)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 14:11:42 +00:00
Jérôme Duval
3c109b50be links against our libs
added strlcpy.c for r5 build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:39:13 +00:00
Jérôme Duval
e068395097 links against our libs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:13:18 +00:00
Jérôme Duval
f13db7ba25 links against our libs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 13:10:15 +00:00
Jérôme Duval
bdf74dd16f Expander now links against libbe.so and libtracker.so
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-07 11:33:14 +00:00
Axel Dörfler
fdac6150d2 Replaced binary resource files with resource definitions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-23 03:40:25 +00:00
Axel Dörfler
44b9b9c847 Replaced binary resource files with resource definitions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-23 03:39:10 +00:00
Axel Dörfler
41281cf362 Added Tracker and Deskbar from OpenTracker-current to the repository.
They both build fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-23 01:06:29 +00:00
DarkWyrm
2763f978ce Small tweak to make window IDs good when running as an R5 Terminal replacement
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-18 08:22:39 +00:00
Stephan Aßmus
1f112d2ae0 removed forgotten printf
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 12:11:27 +00:00
Stephan Aßmus
65d5fe56f6 found some obsolete stuff when looking through code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-10 11:28:21 +00:00
DarkWyrm
0001f0bda6 Re-enabled printing
Added numbers to terminal windows
Some usability tweaks to the preferences window
Removed the do-nothing Find menu items
Other minor UI tweaks


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-07 16:20:06 +00:00
Axel Dörfler
99cd375fb3 Another round of build fixes, courtesy of Philipp Schmid.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-13 17:38:05 +00:00
Michael Lotz
02ea2a0f7c Replacing even more broken binary resources with rdefs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 23:08:09 +00:00
Michael Lotz
3650623d6f Replacing broken binary resources with rdefs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-11 22:54:16 +00:00
Axel Dörfler
98cf460090 Moved bin/ out of apps/, make it build again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 00:39:42 +00:00
Axel Dörfler
17049c451a Moved bin/ directory out of apps/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 00:09:19 +00:00
Axel Dörfler
a7779c5ae0 The color quotes mechanism now also accepts the unusual '|' as quote symbol,
so that mails I get from Mr. Wilber are shown correctly, too :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 18:19:45 +00:00
Jérôme Duval
62526cc715 Moved keymaps to the common place for data files like timezones
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 17:05:46 +00:00
Jérôme Duval
1929784f0c Removed unused files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 10:43:58 +00:00
Ingo Weinhold
f9ac365bc0 Removed version number from directory names.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:51:51 +00:00
Ingo Weinhold
f422d333a9 Removed version number from directory name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:21:52 +00:00
Ingo Weinhold
0603429c37 Removed version number from directory name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:21:38 +00:00
Ingo Weinhold
b438e86d9d Removed version number from directory name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:21:21 +00:00
Ingo Weinhold
c6733267a8 Removed version number from directory name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:20:55 +00:00
Ingo Weinhold
6029f1e42b Removed version number from directory name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:20:38 +00:00
Axel Dörfler
2a74bc0fcb --save now has -o and -s as short forms.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-15 00:02:21 +00:00
Jérôme Duval
5c21d9ac3a removed useless dump
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 23:54:58 +00:00
François Revol
92e13ebb34 these headers needed to compile in R5.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 23:06:42 +00:00
Ingo Weinhold
0f6fa84153 The beginnings of the mountvolume command, using the DiskDevice API. Interrupted work. Probably doesn't even compile yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 22:10:26 +00:00
Ingo Weinhold
edc47dd584 The debugger interface has changed a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-13 23:59:20 +00:00
Ingo Weinhold
ebac278f8f Some simplifications. Also tried to get rid of the ostensible error
condition when the traced team exits, but this seems to be a inherent
problem. The thread that calls _kern_exit_team() apparently still manages
to send the post-syscall message, but when the debugger tries to continue
it, it is already gone. Not really harmful. We'll probably find a remedy
later.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 21:55:03 +00:00
Ingo Weinhold
4ef509f03b New switch '-l' which allows to debug the loading of the traced application.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 15:24:00 +00:00
Axel Dörfler
42164a871c Replaced the old clipboard command by a new one originally written by
Jonas Sundstrom. I've worked over it so that it complies to our style
guide, and also has a better error handling/reporting (ie. errors are
now always printed and redirected to stderr).
Also changed command options - it's now using getopt_long(), and not
that weak mechanism it used before.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 18:21:12 +00:00
Axel Dörfler
a49279b1e0 Made the roster command a bit more useful: since the main thread and the
team IDs are now equivalent in Haiku, we don't need to print both.
Also, team paths are now truncated to fit into the list to give a better
visual appearance.
Added two options to turn off truncating and to show the team name
(instead of full path) only.
Applied our style guide, replaced C++ streams with nicer stdio stuff
(formatted output is not that nice in C++).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 16:10:44 +00:00
Ingo Weinhold
cb01a20237 The debugger API changed slightly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-08 23:11:21 +00:00
Axel Dörfler
7873a9806c Explicetly added top header directory to the search path to make it build again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-05 13:52:05 +00:00
Axel Dörfler
61621fc546 Explicetly added top header directory to the search path in order to let
it compile (some recent change in the Jumrules must have revealed these
build errors).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-05 13:46:33 +00:00
Jérôme Duval
e6d5cc8d84 added binary keymap loading. Now you can type 'keymap -b /etc/Keymap/French'
it also checks for binary version number in case you try to load anything else (who knows ...)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-01 14:30:29 +00:00
Jérôme Duval
c7cbf33821 added small error checking on keymap source loading
checks only the version number (should be 3 at the moment)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-01 01:07:48 +00:00
Ingo Weinhold
37f7862ffb Missing \n at the end of the usage message.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 22:35:54 +00:00
Ingo Weinhold
71a0e3788d Compile the template madness with -O0. This significantly (by an order of
magnitude) reduces the compile time. It's almost acceptable now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 22:35:13 +00:00
Ingo Weinhold
11fcd6e40a The size of the strace executable was ridiculous (1.8 MB). This attempt
to trim the templatized interface improves the situation, but we're still
quite heavy (400 KB).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-25 22:33:21 +00:00
Ingo Weinhold
448e975c5b Some simplifications and cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 18:50:24 +00:00
Ingo Weinhold
b9f16dcd93 Update due to debugger interface changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-24 16:32:15 +00:00
Ingo Weinhold
592cc30168 * Implemented colorized output.
* Implemented finding programs in the PATH.
* Added human readable error codes for status_t and ssize_t return values.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 12:37:24 +00:00
Ingo Weinhold
c9b3d41977 The Type class now knows the name of the type.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 12:34:38 +00:00
Jérôme Duval
af095d7ba1 style fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-21 09:19:32 +00:00
Jérôme Duval
cb9c0a693e added a default constructor to init attributes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 13:43:19 +00:00
François Revol
c8cfedef94 undo showing major/minor (hmm that's a very bad idea...)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 13:37:37 +00:00
François Revol
1c5ea92404 don't mangle UTF-8 chars for __BEOS__, from the GG patch
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 10:39:40 +00:00
François Revol
5bea2b386b we don't use major/minor, but that's not a reason to change the display. device sizes as reported by stat() are always 0 anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 10:15:46 +00:00
Axel Dörfler
a7c89acd59 Some style cleanup. The usage text now looks more like those from other shell commands.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 20:58:42 +00:00
Axel Dörfler
b7624725ef Added --copy-from option to take over the indexes of another volume.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 19:34:57 +00:00
Axel Dörfler
a5b1bafc0b New "error" command; unlike the previous, this should work :)
Added it to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 04:15:14 +00:00
Jérôme Duval
1c2b377163 adding a keymap_files target
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-14 16:38:34 +00:00
Matthew Wilber
3a85b92372 Fixed page changing, simplified entry_ref usage in SetImage()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 17:57:38 +00:00
Ingo Weinhold
39c9d198ea * Moved strace source into separate subdirectory.
* Now syscall names and parameters are printed. const char* parameters
  and return values are retrieved from the client and printed as string.
* Missing are still color output (does consoled support that?) and
  searching for given commands in the PATH. Nothing besides the standard
  mode has been tested yet, so it's probably not working.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 05:09:36 +00:00
Ingo Weinhold
20be402385 Moved strace sources into subdirectory.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 05:02:22 +00:00
Axel Dörfler
febccfbfc6 If update_mime_info() could not determine the MIME type, it now just set
the information it has from the translator itself. Maybe this functionality
should be done in the Translation Kit as well if the output stream is a file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:37:01 +00:00
Jérôme Duval
4265bb4b19 we now check for error from get_input_devices
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 23:26:05 +00:00
Ingo Weinhold
bd432c793a Added strace to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:08:01 +00:00
Ingo Weinhold
33e89d7cf8 The beginnings of strace. At the moment prints only syscall number and
return value.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:07:33 +00:00
Axel Dörfler
a5042101ea Now uses the new translation kit version macro.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 21:12:22 +00:00
Axel Dörfler
9324698b19 Almost complete rewrite of the translate command. Fixed broken argument
parsing and type code conversion.
Some additions/changes to the original:
- now prints the version information in the new versioning scheme (base 16)
- added optional --verbose parameter that gives information about the
  translations needed to get the output format.
- "--list" can be constraint with a type - only translators that support
  this type are listed then.
- also accepts type codes like "RTF" and automatically adds spaces in
  this case to create the 'RTF ' type.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 04:04:52 +00:00
Jérôme Duval
fa12e0eeff Updated to tzcode2005c.tar.gz
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 22:25:37 +00:00
Jérôme Duval
bf8c5a0440 Using only mime types now work (bug from Fredrik Ekdahl, thanks!)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 22:24:28 +00:00
Jérôme Duval
5797cdc36f We update to the contents for new files (bug from Fredrik Ekdahl)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 22:08:59 +00:00
Nathan Whitehorn
82f183b2de Bumped MDR version number to 3.0.2.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 05:43:05 +00:00
Jérôme Duval
7f2a419829 Removed -v flag for tar expanding as noticed by Fredrik Ekdahl
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 12:36:20 +00:00
Axel Dörfler
3682eb4fcb Changed the default for tab completion of symlinks to directories; as of
bash 2.05 you would have to press the tab key twice to get the "/" appended
at the end - not anymore :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 14:10:18 +00:00
Axel Dörfler
c586de1d62 Removed warnings, minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 18:53:34 +00:00
Jérôme Duval
e01fcf6917 moved to rdef format
added strlcpy.c for r5 builds


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 14:41:30 +00:00
François Revol
382acc8035 add --restore option (acts as untrash)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 23:00:57 +00:00
François Revol
45410cd710 trash *g* unused var (fd)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 22:49:48 +00:00
François Revol
9ea9670834 handle pseudo-team 1 in listimage as well; (pets Axel) addr_t is nice but that ain't compile in R5; added search by team name in listarea as well
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 22:38:37 +00:00
Stephan Aßmus
655b08cd2d should now handle out of memory situations...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:01:56 +00:00
Axel Dörfler
a225b6b9b6 Now always ignores B_ALREADY_RUNNING error codes.
Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 00:10:48 +00:00
Stephan Aßmus
49f3d52204 forgot to remove code I used for testing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 22:52:12 +00:00
Stephan Aßmus
c49a6908b6 fixed error reporting in --raw mode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 22:37:07 +00:00
Stephan Aßmus
e83e0fa7e8 fixed raw streaming option to read and write larger chunks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 18:21:09 +00:00
Stephan Aßmus
7696124772 allocating buffers of size known at runtime is a GCC feature, now allocates on the heap, but it should be rewritten to write smaller chunks of the attribute at a time to support potentially huge ammounts of attribute data, but not tonight
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 03:29:13 +00:00
Stephan Aßmus
d4578d0fe1 now supports the --raw or -r option to stream the original raw attribute data
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 03:15:42 +00:00
Axel Dörfler
c98d79095b Fixed compilation, applied our style guide, simplified the sources, removed
some cruft and too extensive help text.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 00:13:58 +00:00
Ingo Weinhold
8359274f30 Added mkindex to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 23:34:23 +00:00
Jérôme Duval
d66aed044c change to B_MULTIPLE_LAUNCH
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 10:39:19 +00:00
Nathan Whitehorn
d864e822ca Bumped MDR version number to 3.0.2
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 23:09:44 +00:00
Waldemar Kornewald
75d0f2ba9b Finished the UI stuff. Not tested, though. If everything works as expected (I doubt it ;) you should see a little window prompting your login before connecting. It also allows canceling a connection attempt. After you establish a connection you should see an ugly Deskbar replicant. Click on it to see connection statistics and to disconnect.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 09:50:50 +00:00
Michael Pfeiffer
5eb50e4689 Fixed printing related bug. Image was offset by the left, top corner of the printable rectangle.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 17:02:23 +00:00
Axel Dörfler
73bcca6b32 Added a small command to set the volume of the master gain in the audio mixer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 15:32:59 +00:00
Waldemar Kornewald
1d34350c71 Renamed "Dial" to "Connect".
ppp_up now checks for "AskBeforeConnecting" flag


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-20 10:41:35 +00:00
François Revol
7508daf790 Added trash --list and untrash --all
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-19 01:09:21 +00:00
François Revol
03136b8b3c Use BPath to normalise paths so [un]trash foo/ actually works
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-19 00:35:16 +00:00
François Revol
8c0d307dcb don't use system("hey") but the Clean Way(tm).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-19 00:25:04 +00:00
François Revol
b03a7f8292 [un]trash command, to trash (eh) files, and get them back. Could be useful with alias rm=trash :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-19 00:17:36 +00:00
Axel Dörfler
cfa4cb788c Now uses DataEditor::AttributeRef() where appropriate.
The definition of BEOS_R5_COMPATIBLE is no longer necessary, due to improvements
to our build system.
For root directories, the attributes are now taken from that directory; previously,
only the device was tested for attributes (which doesn't have any in BeOS).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-17 08:41:01 +00:00
Axel Dörfler
86daa6f28c Now also shows the volume name instead of the entry_ref name for root directories.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-17 08:37:50 +00:00
Axel Dörfler
9e98ea36fd The DataEditor now has a separate entry_ref for attributes - that's used
to have access to the attributes of a root directory. Internally, only
this ref is used when accessing attribute data.
Also fixed an initialization bug in case the stream couldn't be properly
opened; some values were just set too late (could lead to strange things
as well as a crash).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-17 08:34:34 +00:00
Axel Dörfler
87f158f3f5 Now only replaces the directory's name with the volume name for root directories for the window title.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-16 02:45:44 +00:00
Axel Dörfler
d8e0549fd4 ArgvReceived() no longer calls Probe() directly, but builds a BMessage
for RefsReceived().
Probe() now accepts a BEntry instead of an entry_ref, and all entries, too;
unacceptable nodes should be sorted out before.
RefsReceived() now sorts out BDirectories and will open one alert for
all directories, no longer one for each.
Added temporary hidden feature: pressing shift when opening a file will
make it possible to open symlinks and directories (to be able to access
their attributes).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-16 02:38:51 +00:00
Axel Dörfler
61784ba644 The DataEditor class now only redirects root directories to volumes; it
can now also open directories and symlinks, in which case nothing can be
done (but theoretically, the attributes could be changed).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-16 02:32:56 +00:00
Axel Dörfler
56904be516 The DataView can now also accept drop messages from others and itself; the
mouse is tracked when you're dragging over the view, and the affected area
is selected.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-16 01:14:42 +00:00
Axel Dörfler
8e9afca70f Started implementing drag&drop - for now, you can drag contents out of the
DiskProbe window only. Only ASCII clippings will contain "text/plain" data,
so don't be surprised if Tracker sometimes doesn't create a clipping file
(if you drop on Tracker).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-15 14:46:39 +00:00
Axel Dörfler
fc1658382d Fixed a bug that I introduced with revision 1.9 when fixing the selection
deletion: you just couldn't delete over a ' ' with backspace...
Merged B_BACKSPACE and B_DELETE handling again.
Applied suggestions made by Stefano, like using ByteAt(x) over Text()[x].


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-15 14:03:56 +00:00
François Revol
d24299a52d update doc url since bedriven is no more
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 23:37:38 +00:00
François Revol
bcc306b637 10000l do return somethng from main (how the hell did I forgot that ? I always do it usually) :)
Also dump some usage for --help


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 23:36:03 +00:00
Jérôme Duval
2830eed70b Added dstcheck.
It is run once at system startup after app_server and co are running.
Its job is to make sure the system clock took daily saving time into account.
To do this, it compares DST from a config file with DST from current RTC info.
If they differ, a time-updated alert is showed to let the user choose what to do.
A system call was used on R5 to get the current RTC info.
Unless someone comes with a good reason to still use a syscall, it should stay as is.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 16:28:23 +00:00
Axel Dörfler
c838911b01 Improved error handling, error messages now go to stderr, the (real) program
name is now always prepended.
Now prepends a "name=" infront of the query predicate in case BQuery::Fetch()
returned B_BAD_VALUE, so we accept things like "query foo" just like Be's
version.
Also improved the usage text information.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 23:19:48 +00:00
Axel Dörfler
247c75991c The block selection is now drawn incrementally if possible which removes flicker.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-09 02:34:35 +00:00
Nathan Whitehorn
def182781d Fixed spam server launch problem
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 23:34:51 +00:00
Axel Dörfler
1bcd71834b I can even mess up command line parsing :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 03:51:25 +00:00
Axel Dörfler
19ab5531d8 messages.h no longer exists.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 03:46:26 +00:00
Axel Dörfler
2ae45f0c5f Brought "addattr" command into shape, and got rid off a lot of
weird stuff - and libbe.so; it now uses the attribute functions
as exported by libroot.so :)
Improved handling of boolean values, improved error messages a lot.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 03:44:30 +00:00
Axel Dörfler
a3d814e271 "catattr" no longer needs additional libraries.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 01:34:45 +00:00
Axel Dörfler
983e69d5dd Improved error messages (and how they are done).
No longer locks the file during attribute retrieval.
No longer needs libbe.so.
Added support for some additional types.
Will no longer try to read in a 4GB attribute - at max, it will read
64 kB from an attribute. Also changed output style of the raw data
type - please contact me if you desperately think we should revert
that back (ie. in case the old output was actually of use for something).
As the original author suggested, we're now using isgraph() to improve
the character preview of the raw data.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 01:34:09 +00:00
Axel Dörfler
b075015208 Removed unneeded include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 01:28:35 +00:00
Axel Dörfler
4e0e3bf35d Some cosmetics. The string for unknown types no longer tries to print
unprintable characters, but replaces them with '.'; when there is more
than one unprintable character in the type code, it will show the hexcode
instead.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 16:10:03 +00:00
Axel Dörfler
8a9c92207f Minor fix: the return value of BNode::GetAttrInfo() was not checked.
Now understands a lot more types than before.
Accepts "--help" and "-h" on the command line to print out usage info.
Prints out how many bytes the attributes add up to.
Instead of printing out the hex value, the attribute type is now
printed as %c%c%c%c 4-character tupel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 02:31:03 +00:00
Nathan Whitehorn
69d6550b12 Fixed the spam filter so it works correctly now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 01:14:05 +00:00
Axel Dörfler
7c012c2316 Accidently used level 2 cache format to print out level 1 instruction cache
on AMD and other CPUs - thanks to BiPolar for reporting this!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-03 08:25:34 +00:00
Jérôme Duval
7335fda5b4 Everyone should have read chgrp instead of chgroup :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 17:37:05 +00:00
Jérôme Duval
08f17bb51b Everyone should have read chown instead of chmod :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 17:31:06 +00:00