Commit Graph

5416 Commits

Author SHA1 Message Date
Axel Dörfler
21f3abb2b4 Added a test for the syslog functionality.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:37:46 +00:00
Axel Dörfler
0edba5de96 Added priority field to syslog_message.
Added macros to get the priority/facility.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:35:19 +00:00
Axel Dörfler
87a98412a1 Now correctly differentiates between options and priority/facilities.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:34:12 +00:00
Axel Dörfler
fa2f787a47 Added some comments and fixed LOG_AUTHPRIV.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:33:11 +00:00
Axel Dörfler
fb4dcd08dc Now checks in the argument's options as well for LOG_CONS.
The LOG_MASK() macro is now used correctly.
The non-standard LOG_PERROR is always visible in stderr as well (in BeOS,
so we copied it). Added a newline for stderr output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:11:50 +00:00
Axel Dörfler
f2eb00db1e Fixed and simplified the user_*() team syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 15:37:44 +00:00
Axel Dörfler
9ff210a134 Use the SYSLOG_PORT_NAME constant instead of the name directly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 15:14:48 +00:00
Axel Dörfler
41c6e8cc55 Fixed the setlogmask*() functions; the priority mask is only set if the
parameter is not 0, and it returns the old mask as well.
Also fixed the initial log mask for the team context; it's now set to -1
(enable all priorities) by default.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 14:44:31 +00:00
Axel Dörfler
8c894b6039 No longer needed, the new syslog.h is now correctly placed in the posix/
directory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 14:41:30 +00:00
Axel Dörfler
94849cc617 Our new syslog.h. Note, this one might break source compatibility, as I
don't define some (unneeded) macros, and LOG_TMID & LOG_THID are gone
(they were specified to be the same as LOG_PID).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 14:40:45 +00:00
Axel Dörfler
3b737adbda Implemented the POSIX syslog API including the BeOS extensions. In BeOS,
this API is found in libbe.so, in OpenBeOS, it's directly in libroot.so.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 14:35:22 +00:00
Axel Dörfler
7aaeb3f35a First round of the syslog_daemon implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 14:31:34 +00:00
Jérôme Duval
4691dc7ff8 MediaFiles support added
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 10:24:42 +00:00
Jérôme Duval
adcc5beaca Struct and codes for MediaFiles
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 09:36:48 +00:00
Michael Pfeiffer
da87390fc5 - Scrolling with mouse wheel
- Moving image with third mouse button pressed
- Added pop up menu with contents of View menu of menu bar
- Center image in full screen mode
- Added Select None menu item
- To avoid flickering, disabled caption during moving image with mouse- Added key bindings:
  - Cursor keys: moves image
  - Enter or space bar: next file
  - Backspace: previous file
  - Escape: Stops slide show
  - SHIFT + first mouse button: simulate third mouse button
  - CONTROL + first mouse button: simulates second mouse button


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 08:49:30 +00:00
DarkWyrm
a2c4bea185 almost forgot this file for funzip building
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 22:16:38 +00:00
DarkWyrm
1ed56ea3b2 funzip finally builds, courtesy of the work of Michael Lotz
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 22:16:04 +00:00
Tyler Dauwalder
43c2ddb481 Upgraded my vocabulary.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 19:11:25 +00:00
Tyler Dauwalder
c6c7acd44e Removed PartitionMap.cpp from the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 09:17:06 +00:00
Tyler Dauwalder
b65e0cf963 Adjusted Udf::Volume::Mount() parameter order according to new Mount() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 09:12:28 +00:00
Tyler Dauwalder
d4e8b936cc Enormous cleanup.
- Finished migration of current capabilities (i.e. vanilla physical partition
  support) to new partition mapping system.
- Eliminated a lot of unnecesary cruft.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 09:11:43 +00:00
Tyler Dauwalder
3d8229dc67 - Got rid of some warnings
- Changed a variable name to eliminate shadowing.
- Fixed (I think) N and N-256 avdp locations.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 09:08:40 +00:00
Tyler Dauwalder
a1b5a724ed Physical blocks are off_t's, not uint32's.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 09:06:53 +00:00
Tyler Dauwalder
78b6ddea31 - Added partition type id udf_entity_id constants
- Added udf_entity_id::{udf_entity_id(),matches()}
- Added partial udf_metadata_partition_map
- Added actual space for partition maps to udf_logical_descriptor,
  since I now allocate said descriptors on the stack sometimes,
  instead of just casting a pre-allocated chunk of memory to said
  descriptor type.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 09:04:23 +00:00
Tyler Dauwalder
6d5694a8ea Added C-String constructor and SetTo().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 09:00:51 +00:00
Tyler Dauwalder
f5317138d6 Removed. No longer needed with new partition system.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 08:59:50 +00:00
Axel Dörfler
e81f0e1f79 Added "where" as alias of "sc" as in BeOS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 04:49:15 +00:00
Axel Dörfler
1e065e6132 dbg_register_file[][] now reserves space for SMP_MAX_CPUS CPUs, not only 2.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-11 04:02:54 +00:00
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