Commit Graph

14500 Commits

Author SHA1 Message Date
Axel Dörfler
4d18991268 Added a image_debug_lookup_user_symbol_address() that one day may find symbol names
in user images - right now, it only finds the image name and base address.
Fixed "images" debugger command - it actually acquired a mutex to dump the images...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 17:25:58 +00:00
Marcus Overhagen
378e08b775 improved debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 17:10:50 +00:00
Marcus Overhagen
f38c001e56 Assigned names to "some BLocker"s to aid debugging.
Small cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 16:56:15 +00:00
Marcus Overhagen
89bdf57382 assigned names to "some BLocker"s to aid debugging
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 16:54:21 +00:00
Jérôme Duval
d05775b3bd added seteuid and setegid
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 16:38:40 +00:00
Marcus Overhagen
7590edd29b fixed the build (was broken in r14695)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 16:38:08 +00:00
Jérôme Duval
0680eec72c added two missing functions : seekdir and telldir
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 16:13:13 +00:00
Marcus Overhagen
36a7c30e63 Assigned a name to the LooperList BLocker.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 16:02:22 +00:00
Axel Dörfler
7b7c38a2a7 The "where" or "sc" command now switches the page directory to the specified thread
to be able to follow the stack trace into userland.
No symbols there, yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 15:58:04 +00:00
Stephan Aßmus
fcd75d6357 renamed DisplayDriverPainter.* to DrawingEngine.*
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 15:55:53 +00:00
Stephan Aßmus
6ed894182f renamed DisplayDriverPainter.* to DrawingEngine.*
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 15:54:16 +00:00
Stephan Aßmus
58468dfed0 first step of geting rid of abstract DisplayDriver base class for less development overhead, DisplayDriverPainter is renamed to DrawingEngine
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 15:23:54 +00:00
Axel Dörfler
ec12c6fe6f Don't let ifdef's confuse the editor's function lookup.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 15:07:31 +00:00
Ingo Weinhold
15694b3032 Will take over the functionality of HaikuBuildCompatiblity.h, while that one
will make a BeOS platform more Haiku compatible.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 14:48:35 +00:00
Stephan Aßmus
13cff625f0 cleanup and removable of large portions of code duplication, fCurrentLayer and fCurrentLayer->CurrentState() are checked in _DispatchMessage already, so _DispatchGraphicsMessage() assumes they are valid
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 13:45:16 +00:00
Stephan Aßmus
55e764c7f6 update license
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 13:41:44 +00:00
Ingo Weinhold
54bb4f57cf Fixed build for target R5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 13:41:12 +00:00
Stephan Aßmus
e422da6973 fix build for old clipping
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 13:39:12 +00:00
Axel Dörfler
962b688433 Forgot to update Layer::Scale(), too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 13:27:41 +00:00
Stephan Aßmus
0f6436373e removed bogus install-libs script, updated NOTES and Playground run script to use the pseudo target install-test-apps
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 12:44:23 +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
Axel Dörfler
cb24f13bb0 The current graphics state of a Layer can now be retrieved by the new CurrentState() method.
ServerWindow is now using that method instead of directly accessing a Layer member.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 12:15:36 +00:00
Axel Dörfler
0595331e28 Fixed build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 12:11:31 +00:00
Axel Dörfler
2c2fd7b237 Fixed scale calculation. The scaling is still ignored for the drawing coordinations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 12:01:44 +00:00
Axel Dörfler
1be1c7ccdf Fixed (again) the crash that happened when you quit the app_server in the test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 11:57:43 +00:00
Ingo Weinhold
66d1795a86 Explicitly load symbols from libraries after loading a program. gdb
doesn't work quite well when symbols are not loaded -- e.g. stack crawls
are usually broken. Also stack crawls ending in a syscall work. gdb can
deal well enough with frameless function, which I realized, of course,
only after writing code for explicitly supporting syscall functions.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 11:48:26 +00:00
Axel Dörfler
aca4f50d1e Merged DrawData and LayerData to one class DrawState.
Removed that ambiguous second copy constructor and moved push state functionality
into a separate PushState() method. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 11:37:28 +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
Jérôme Duval
fa1103410f fixes the problem with VU meters (which we don't use atm)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 10:28:34 +00:00
Axel Dörfler
5112e701f3 This should fix an annoying warning that newer GCCs seem to like.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 09:56:36 +00:00
Axel Dörfler
5abd5613d6 LayerData::prevState is now called fPreviousState and is now private. Added new method
PopState() to make this possible.
When a new layer is created, the font state of the desktop will now be set: this fixes
a bug I introduced when separating the font manager's default font and the desktop's
default font.
The scaling stuff looks pretty broken to me.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 09:52:56 +00:00
Axel Dörfler
7490bd32f1 Now also uses the fallback family when the usual default font couldn't be found.
This hides a problem with the view states that the next commit will fix :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 09:49:25 +00:00
Axel Dörfler
e0d7d87fc4 Removed "dano" as compatible platform - the app_server test environment test run there.
Added a small test application for view states. Right now, it only tests scaling - which
doesn't seem to work yet at all.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 09:46:44 +00:00
Axel Dörfler
57a9b06645 Removed CDPlayer from the build until it has settled down a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-04 09:44:02 +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
Marcus Overhagen
164426a506 added a unreal kernel debugger command
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 21:03:51 +00:00
Marcus Overhagen
93d0c77a96 added debugging code, can be disabled, currently enabled
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 21:03:06 +00:00
Rudolf Cornelissen
2a192f1266 bumped version to 0.61. note btw that nv11 seems to need extra crtc fifo watermark setup for secondary head: tvout still distorts in some modes (vertical distortion stripes).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 18:27:00 +00:00
Rudolf Cornelissen
3c71b494d6 completed TVout support concerning dualhead (clone) modes and custom modeflag for selecting TVout head on a per mode basis. NV11 is now fully functional (with supported encoders that is).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 18:25:16 +00:00
Axel Dörfler
05bd1efe5b * the FontManager is now a looper (but doesn't do anything useful yet).
* moved the system default font functionality into the DesktopSettings class.
* ServerFont::SetStyle() is now a public method.
* Improved font fallback routines: they will never end up without a font if
  there is at least one font installed.
* fixed some minor bugs in the DecorManager.
* Decorator now get a DesktopSettings object passed - dunno if that's a good
  idea (since we'll have to open the DesktopSettings header), but it works
  for now (and something like this is probably needed anyway).
* a clean ServerFont is now set to the system default font - and not to the
  (user chosen) desktop default font anymore (since the font manager doesn't
  know about that one).
* Improved font directory scanning in the font manager a bit, it's now using
  find_directory() instead of hard-coded paths.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 17:03:36 +00:00
Rudolf Cornelissen
c0ebc619bf modified Setmode for TVout. Dualhead switch mode now at least displays something on TV for NV11, just the wrong head. (in progress).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 16:11:12 +00:00
Ingo Weinhold
f187f73e14 Added (currently still empty) dir headers/legacy for legacy headers and rules
UseLegacyHeaders and UseLegacyObjectHeaders to use them. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 15:14:06 +00:00
Ingo Weinhold
e2bc2d6a67 * We do now filter the debug nub thread out of the list of threads.
* When being asked for a thread's CPU state, we stop the thread now. Not
  sure, if that is as it is supposed to work, but I don't see any other
  way. A side effect is that "info threads" will stop all threads.
  Another side effect is, that switching between threads should now work
  properly. Unless there is another problem, I'm not aware of, that is.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 14:46:31 +00:00
Rudolf Cornelissen
a658603ae8 updated DPMS programming to be compatible with secondary TVout modes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 14:43:30 +00:00
Ingo Weinhold
571bb2b2a6 Simplified the x86 syscall interface a bit. We no longer pass a pointer
to the parameters nor the number of parameters; the kernel is able to
get both without problems.

The syscall functions in libroot (_kern_*()) are now self-contained
(they don't "jmp" to separate code anymore), which at least
theoretically allows gdb to print a stack trace with the syscall
function on the top when a thread is currently performing a syscall.
Practically it doesn't work yet, though, since those functions are
frameless (i.e. create no stack frame) which needs special support
I haven't implemented yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 14:36:46 +00:00
Rudolf Cornelissen
d7dfe68dc7 modified custom flags behaviour, mostly TV_PRIMARY flag stuff: more in proposemode, less in other places. For singlehead TV modes on dualhead cards TVout chip is always assigned to the primary head now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 14:11:47 +00:00
Axel Dörfler
74ca3b24c2 Removed unneeded libroot.so shared objects; everything is linked against libroot.so by default, anyway.
Allowed to build the apps under BeOS (where libroot.so could not be found, btw).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 13:46:19 +00:00
Axel Dörfler
cb4b485de1 The shared source files are now only built once.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 13:18:02 +00:00
Axel Dörfler
8365d9ecd2 * A ServerFont is now always valid, bye-bye ServerFont::InitCheck().
* The FontFamily is no longer reference counting itself.
* SharedObject is now more useful and destructs itself when unused.
* Fixed FontStyle::GetHeight()/ServerFont::GetHeight() semantics.
* Simplified ServerFont constructors.
* Removed wrong function descriptions.
* FontStyleHeight is no longer used: the FontStyle is calculating the
  base font height on construction - this reduces the resolution a bit,
  but it's hopefully not causing any troubles (doesn't look like it,
  at least).
* A FontStyle now removes itself from its family on destruction.
* More cleanup, removed unused stuff like FontStyleHeight.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 13:10:28 +00:00
Jérôme Duval
8000593677 we don't have sysmacros.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 13:07:38 +00:00