Commit Graph

5238 Commits

Author SHA1 Message Date
Axel Dörfler
3d78db8f17 Removed B_KDEBUG_* definitions; they are already part of KernelExport.h.
dbg_register_file[][] reserves now space for SMP_MAX_CPUS CPUs.
Removed old dbg_{set|get}_serial_debug() functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 04:01:31 +00:00
Axel Dörfler
b196064201 dbg_init() no longer sets sCommands to NULL - variables in the BSS are
always zeroed anyway.
cmd_help() is now able to print out help about the specified command
only - it will also print out all aliases of that command. Reduced
the distance between the command name and its description; NULL
descriptions are now also allowed.
There is now a find_command() function that's used throughout the
module. Like in the Be debugger, it will now also accept partial
matches, i.e. "co" will most probably match "continue" (as long as
there is no new "co*" command added by another component). It will
first try to find an exact match, and only if that failed it will
search for a partial match.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 03:47:14 +00:00
Axel Dörfler
545d6e9c8d Disabled all calls to dbg_get_serial_output() (it's no longer available
in the kernel).
Also disabled all calls to dbg_set_serial_output() - it has been removed
as well (there is now only set_dprintf_enabled()), and it wasn't needed
at all anyway.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 03:09:31 +00:00
Axel Dörfler
91d35b5f62 Removed dbg_set_serial_debug() - there is now only set_dprintf_enabled().
Disabled dbg_get_serial_debug(); it's only used temporarily in the keyboard
device (and I removed its usage there, too).
Added "continue", "exit", and "es" commands as in the Be kernel debugger
(they will all exit the debugger and try to continue normal kernel execution).
Reordered the sources so that public kernel API is together.
Added a _user_debug_output() syscall (not yet activated) which dumps to the
kernel's serial output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 03:07:53 +00:00
Axel Dörfler
e596c46e49 The Jamfile was out of date - why is there a makefile *and* a BeIDE project
anyway?


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 00:52:01 +00:00
beveloper
59664e0a60 avoid reading some common file formats that might contain a mp3 stream
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 22:59:33 +00:00
haydentech
2ef7083364 Janitorial work
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 19:50:27 +00:00
haydentech
84e57fc918 Fix line array bugs, missing breaks, gcc3 incompatibilities, and a few typos
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 19:47:16 +00:00
haydentech
64b98d2378 gcc3 namespace fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 19:45:55 +00:00
Michael Pfeiffer
780d8a62d7 - added printing support
- added zoom in and out
- next/previous file sorts directory entries by itself; does not rely on file system
- added shortcuts to the first 10 menu items of Go To sub menu


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 17:38:35 +00:00
Ingo Weinhold
257e63ba7f Added support for asserting debugger() calls. The macro CPPUNIT_ASSERT_DEBUGGER shall be used in that case.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 00:45:18 +00:00
Ingo Weinhold
d55fa82ca2 Added elfsymbolpatcher.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 00:39:15 +00:00
Ingo Weinhold
e79e4e7c9e A little library for patching symbols at runtime.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 00:38:35 +00:00
beveloper
51fde20c1e added info header parsing (to be able to skip it), fixed lyrics header parsing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-09 22:13:50 +00:00
beveloper
6f6f67dc90 Xing VBR headers are always crc free, but might have the crc bit set. we don't care about this :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-09 22:01:27 +00:00
beveloper
a1862e53c5 added more mp3 file parsing, VBR headers are now found, audio data position and size is determined
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-09 21:50:50 +00:00
Matthew Wilber
ee727d5674 Added a setting which allows the user to ignore alpha data from TGA files. This is necessary when TGAs are created from certain programs that lie, saying they have an alpha channel, when they actually don't. Also, fixed usage of alpha data from color mapped TGA images. Some images were misread as having an alpha channel when they didn't, and some images were misread as not having an alpha channel, when they did.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-09 21:09:34 +00:00
Matthew Wilber
f1d75a87bd Added -pixels option to dump pixel info to stdout and changed to accept multple input files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-09 18:41:37 +00:00
Matthew Wilber
6c3054116e Added Go To Page submenu so the user can directly go to the page that they want. Also fixed a typo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-09 14:10:26 +00:00
Michael Pfeiffer
e6a50d9c7b - renamed and restructured menu bar
- show dialog box when image can not be opened
- added optional caption in full screen mode
- moved/removed code from ShowImageApp to ShowImageView


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-09 09:54:46 +00:00
Michael Pfeiffer
d10d59475c - added recent documents sub menu
- added resize window to image size when file is opened
- added drag and drop selection
- added copy selection to clipboard


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-09 07:57:55 +00:00
François Revol
ccd79dfdce fixed mp3 identification, skip ID3s
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 20:26:29 +00:00
Nathan Whitehorn
f929e15217 Eliminated the huge bugs caused by replacing thingy[0] with thingy[1]. Replaced small_data_start with an inline function SmallDataStart() that knows how to pacify mwcc. Should have negligible to no impact on x86 performance.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 20:16:28 +00:00
Axel Dörfler
55e3d98707 Fixes Nathan's changes at least for gcc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 18:27:36 +00:00
Matthew Wilber
1cb6ca0473 Fixed issue that caused some 32-bit TGA files to be converted to B_RGB32 (no alpha) instead of B_RGBA32 (alpha)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 17:03:06 +00:00
Matthew Wilber
735e7442a8 Changed to accept multiple command line parameters, added reading of extension info
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 15:30:57 +00:00
beveloper
b0648a6542 updated to use argv[1]
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 13:41:15 +00:00
beveloper
2e814a410e added mp3 file detection, doesn't work with all files yet
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 13:36:45 +00:00
Nathan Whitehorn
1a49a0986b Bunches of changes to make mwcc like the code. I also coded an _atomic_set() and _atomic_test_and_set() for PowerPC. Of course, there's already one in the kernel tree, but mine's better. :P Now builds (and works, after a fashion) on R5 PowerPC.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 04:39:58 +00:00
Axel Dörfler
36c3931c38 Added quick implementation of real_time_clock() and real_time_clock_usecs() -
it might even be correct, but we also might want to have this stuff somewhere
else (libroot).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 02:13:19 +00:00
Axel Dörfler
eb04c7678e Added and implemented gettimeofday() using real_time_clock_usecs().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 01:17:26 +00:00
Axel Dörfler
28d179274c Implemented time() - it still doesn't work, though, as real_time_clock()
is not yet implemented.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-08 01:16:35 +00:00
Waldemar Kornewald
4e0ad75221 Fixed many bugs and added debug output.
You can now successfully (dis-)connect to(/from) a PPP server using the PPPoE device module.
To be useful we need the PAP and IPCP modules (in the works).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-07 15:47:45 +00:00
Waldemar Kornewald
7072f4d0dc Fixed debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-07 15:43:30 +00:00
Waldemar Kornewald
e8e6c3e8ad Changed Jamfiles to use new <> (namespace or how was it called?) feature, so libuserlandppp.a is not added to distro/xxx/develop.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-07 15:41:53 +00:00
Matthew Wilber
d61900aaa1 Initial check in for tgainfo, a command line program for displaying information about TGA image files. Useful for debugging the TGATranslator.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-07 04:39:21 +00:00
Matthew Wilber
f05b9fa836 added tgainfo command line tool
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-07 04:37:33 +00:00
Philippe Houdoin
1420d9f762 Switch to human readable/editable resource file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 21:48:08 +00:00
Michael Pfeiffer
ad13f387f9 - added full screen mode
- added dia show
- added rotate image clockwise, anti-clockwise, mirror image vertical or -horiztonal and invert image
- added myself to about dialog and copyright holders


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 20:57:04 +00:00
Philippe Houdoin
0e10a7f803 Fix sis900 and rtl8139 binaries final placement and installation rules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 20:06:59 +00:00
Philippe Houdoin
72a63c23a2 Should help a little to interrupt command completion reply wait...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 20:05:43 +00:00
Axel Dörfler
6046623a99 Fixed broken Jamrule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 01:39:33 +00:00
Axel Dörfler
8a09700174 Accidently killed the kernel build (again...).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 01:37:44 +00:00
Axel Dörfler
40df5bb2e8 flock() is neither POSIX, nor available in BeOS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 00:15:54 +00:00
Axel Dörfler
48a7b199b7 Added fcntl() empty stub implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 00:10:57 +00:00
Axel Dörfler
ea2aba5dc9 Fixed compilation with local changes (to be commited later).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 00:10:03 +00:00
Axel Dörfler
b86315d90a Removed NewOS error descriptions.
Replaced some descriptions with more appropriate ones.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-05 23:58:31 +00:00
Axel Dörfler
8529e01d1f Implemented strerror_r() - the actual error description is now returned
by a static function and used by both, strerror() and strerror_r().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-05 23:53:29 +00:00
Axel Dörfler
f175a63eaa Added prototype for strerror_r().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-05 23:52:25 +00:00
Jérôme Duval
9f14e64533 Fix for the option e
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-05 14:17:32 +00:00