Michael Pfeiffer
313fe24d7c
Various stuff. Some classes should go elsewhere...
...
PictureIterator comes from PDF Writer.
PicturePrinter uses PictureIterator to print the contents of a BPicture in human readable form to stdout.
PrintJobReader class for decoding a print job file.
DumpPrintJob to print the contents of a print job to stdout.
Preview to display the contents of a print job in a window (like Preview printer add-on).
Template class that extends PictureItartor.
PictureTest... ugly classes for testing BPicture...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 18:22:45 +00:00
Axel Dörfler
820dca1912
Rearranged some code in the BlockAllocator; AllocationGroup now has Allocate()
...
and Free() methods which operate on the AllocationBlocks.
BlockAllocator::AllocateBlocks() couldn't correctly reserve space for allocation
groups with more than 2 blocks - AllocationGroup::Allocate() now can, which
is now used by AllocateBlocks() (but it's slightly less fast).
Began implementing functionality for a chkbfs-like command.
Some style changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 17:54:38 +00:00
Axel Dörfler
c35898079f
Updated tasks to do.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 17:49:24 +00:00
Axel Dörfler
e891a05e6e
Add a new DEBUGGER() macro (doesn't do anything for the release build).
...
Some style changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 17:48:29 +00:00
Axel Dörfler
05f02d9b9a
Volume::Ummount() now use the NO_WRITES mode for remove_cached_device_blocks()
...
if the volume is read-only.
Some style changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 17:46:12 +00:00
beveloper
4c7e1fff2f
Should help with compiling network related apps.
...
I'm not sure if we really need this socket.h and netdb.h wrappers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 16:29:21 +00:00
Michael Pfeiffer
7977efcf98
Added ability to select printer inside of application.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 16:03:31 +00:00
Michael Pfeiffer
5108df6e12
Added scripting support to enable/disable configuration window.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:59:19 +00:00
Michael Pfeiffer
aba0d179c7
Handle moving of job file correctly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:57:55 +00:00
Michael Pfeiffer
4e776836cd
Added new source files.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:57:12 +00:00
Michael Pfeiffer
dda672d898
Added class AutoReply.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 15:56:40 +00:00
Daniel Reinhold
87790d71e6
fixed a minor error and some typos
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 11:36:29 +00:00
Daniel Reinhold
4fea1c8ff7
added TLB/Cache information
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 10:56:17 +00:00
Axel Dörfler
7ab95d9da9
Made it easier to switch from R5 compilation to the test "obfs" compilation.
...
$ COMPILE_FOR_R5=1 jam
will compile the "bfs" version, otherwise the "obfs" version is created.
Note: the final executable will always be called obfs (for now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 02:23:24 +00:00
DarkWyrm
b010ca6720
Checkin for Gabe Yoder
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 00:08:45 +00:00
DarkWyrm
809cd10db5
Removed \r characters
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 00:06:13 +00:00
shatty
1bb3424fce
changed beep to use stdlib instead of c++ lib
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-21 21:53:52 +00:00
shatty
dea47e9bad
beep uses C++ io, moved to section including stdc++.r4
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-21 21:41:33 +00:00
beveloper
b518f06251
BSimpleGameSound test application
...
contributed by Christopher ML Zumwalt May
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-21 16:56:53 +00:00
beveloper
6eaf18596d
updated by Christopher ML Zumwalt May
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-21 16:53:45 +00:00
Stefano Ceccherini
eae06be465
Er... it seems I found some time to work on this :)))
...
Added the last two missing FindLast() functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-21 14:29:15 +00:00
Daniel Reinhold
98e3e1ff5d
implemented the get_cpuid() function in libroot and added a new kernel app 'cpuinfo'
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-20 05:28:35 +00:00
Daniel Reinhold
b52ed331f1
implemented the get_cpuid() function in libroot and added a new kernel app 'cpuinfo'
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-20 04:04:03 +00:00
Tyler Dauwalder
06d7ca7b6c
*Finally* finished BRoster::GetRecent*() tests:
...
- Added setUp() and tearDown() implementations that create and
remove necessary test files respectively.
- Finished up GetRecentDocuments() tests
- Added GetRecentFolders() tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-19 19:08:56 +00:00
Tyler Dauwalder
9cab0e3b5d
Added GetRecent{Applications,Documents,Folders}() cases
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-19 19:06:38 +00:00
Ingo Weinhold
5993f44c27
Roster watching tests added.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:09:01 +00:00
Ingo Weinhold
7a0335c8a3
Added support for roster watching.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:05:25 +00:00
Ingo Weinhold
edb7407e80
Implemented {Start,Stop}Watching().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:04:40 +00:00
Ingo Weinhold
97b8908160
Added message constants for roster watching.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:03:54 +00:00
Ingo Weinhold
2d08f6879a
Remove _{Start,Stop}Watching() and some friends.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:03:29 +00:00
Ingo Weinhold
f4e4e1c602
BRoster watching tests added.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:02:04 +00:00
Ingo Weinhold
6d8943122a
Generic watching support classes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:01:09 +00:00
Matthew Wilber
f4eaaa86d5
fixed spelling issue and changed casting from C-style to new C++ style
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 03:27:43 +00:00
Matthew Wilber
2d17c340c7
fixed spelling issue
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 03:27:10 +00:00
Matthew Wilber
c48048d386
fixed spelling and changed casting from C-style to new C++ style
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 03:26:49 +00:00
Matthew Wilber
e9651c05a1
fixed spelling and changed casting from C-Style to new C++ style
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 03:26:18 +00:00
Matthew Wilber
8da2aed831
fixed a spelling issue
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 03:25:28 +00:00
Bruno G. Albuquerque
3afbe60d92
Fix a bug reported by BeFree. It looks the PCi stiff works now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 23:11:00 +00:00
Axel Dörfler
28c9a687e6
Added forgotten os/time.o, stdio/fseek.o, and stdio/rewind.o to the build.
...
Implemented index syscall functions in VFS.
Added fs_index.c to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 19:34:09 +00:00
Axel Dörfler
64b00573d2
Added implementation of the functions in fs_index.h.
...
Commented system_time() in time.c - it's already implemented in atomic.S (not
that it would belong there).
Fixed linking of rewind.c
Added syscalls for the index functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 19:30:59 +00:00
Axel Dörfler
b7c42fadf7
Fixed fd lead in opendir() and set errno correctly if memory is out.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 19:27:03 +00:00
Axel Dörfler
69b81fcc90
Fixes the not POSIX style return codes - fs_*() functions return -1 and set
...
errno if an error occurs; they don't return the error status directly.
Also fixed a fd leak in fs_open_attr_dir().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 19:22:04 +00:00
Axel Dörfler
146a3000ee
Added syscalls for the index functions.
...
Corrected the prototype for fs_rewind_index_dir() (don't copy and paste...)
Also checked in the syscall definitions for the signal stuff to save Angelo
some work.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 18:52:04 +00:00
Axel Dörfler
1f87d2b261
Changed parameter type in create_index().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 16:45:40 +00:00
Marc Flerackers
1d266aed5b
HashMark support for horizontal sliders + other fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 13:43:38 +00:00
Marc Flerackers
a577a699da
Fixed a bug in SetValue()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 13:42:38 +00:00
Marc Flerackers
0dc199a5c3
Label and text support, minor drawing changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 07:22:41 +00:00
Stefano Ceccherini
c4d97e021e
More tests for BString
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 05:22:53 +00:00
Stefano Ceccherini
ce06a3c712
Again, more tests for BString
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 05:22:26 +00:00
Axel Dörfler
f4e51a2dfb
Added a new write_stat() call to the file descriptor operations (plus syscall).
...
Renamed sys_read_stat() to sys_read_path_stat() - sys_read_stat() is now
the fd operation (same for the corresponding write call).
Removed the sys_write_attr_stat() call because it is no longer needed.
Added stat(), fstat(), and other POSIX calls to the kernel - many are still
missing (mainly from stdio).
Added symbols (but no implementation) for unistd.h's process id functions.
Adapted libroot calls that used sys_read_stat() before to the new architecture.
module.c and bus_man.c now use stat() directly instead of the sys_read_path_stat()
call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 03:09:25 +00:00