Commit Graph

879 Commits

Author SHA1 Message Date
jrand
310f8ec314 Add tests for unflattening data in big endian format.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-22 03:15:35 +00:00
Tyler Dauwalder
810bdfb6a4 Details, details, details... ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 22:20:53 +00:00
Axel Dörfler
2d38e3f603 The beginning of letting a stream grow into the double indirect range.
Not yet finished, nor tested, but almost complete :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 15:52:21 +00:00
Axel Dörfler
bc62229fce Volume::Free(), and BlockAllocator::Free() now pass the block_run by value
rather than by reference.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 15:51:03 +00:00
Tyler Dauwalder
3155eae222 + Added code/updated tests for
- AttrInfo
  - FileExtensions
+ Updated Delete() code to send monitor updates
+ Tenatively added "be:action" field to monitor messages
+ Added data type constants


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 10:55:20 +00:00
Tyler Dauwalder
7385178729 Updated REG_MIME_FILE_EXTENSIONS
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 10:52:47 +00:00
jerl1
2dd2f85ae2 Apply modification stay in old repository.
By laplace and me.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 07:55:35 +00:00
jrand
e39c71fce8 Remove R3 compatibility details from BPropertyInfo, fix memory leak and implement endian-ness
aware flatten and unflatten code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 06:44:27 +00:00
DarkWyrm
c42d33e7ca Added desktop color updates on workspace switches
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 14:27:07 +00:00
DarkWyrm
e08206376a Added some real GUI color changes for R5
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 14:13:13 +00:00
DarkWyrm
07c6c57ca0 Delete Color Set now works
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 13:26:20 +00:00
Axel Dörfler
eb11b67370 Added a preliminary sys/types.h that just includes ktypes.h for now.
Changed other headers to include sys/types.h rather than ktypes.h.
Added a license reference at the beginning of those files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 11:10:51 +00:00
Axel Dörfler
12696848a1 Now includes StorageDefs.h to get B_FILE_NAME_LENGTH, and defines MAX_SYM_LINKS
as SYMLINKS_MAX (limits.h).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 11:00:54 +00:00
Axel Dörfler
cedc441e4a Added the realpath() prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 10:42:16 +00:00
Axel Dörfler
544cb7d33a Added realpath.c to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 10:41:26 +00:00
Axel Dörfler
83a74a6b48 Added param.h to the repository.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 10:35:02 +00:00
Tyler Dauwalder
dd0ba994cc Updated the following tests to account for new behaviour
of BMimeType::Set*(NULL) calls as well as test new
BMimeType::Delete*() calls:
+ PreferredApp
+ AppHint
+ LongDescription
+ ShortDescription
+ Icon
+ IconForType


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 09:38:54 +00:00
Tyler Dauwalder
1ed04c7ce3 Added code for:
+ {Get,Set}IconForType()
+ Delete*() functions


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 09:37:04 +00:00
Tyler Dauwalder
19ac754088 Added B_REG_MIME_DELETE_PARAM
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 09:35:05 +00:00
Tyler Dauwalder
58c767c5f1 + Updated B_REG_MIME_SET_PARAM
+ Added B_REG_MIME_DELETE_PARAM


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 09:34:01 +00:00
Axel Dörfler
c071c40a72 Added the new files in libc/sys/ to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 02:41:43 +00:00
DarkWyrm
3b4c5d90b5 Initial checkin of ColorWell control
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 00:16:10 +00:00
DarkWyrm
6012f6c679 Bugfixes galore - mostly for save/load settings and color drop support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 00:14:42 +00:00
Phil Greenway
020fbae790 Loads and Saves Window Position using Flatten BMessages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 22:02:05 +00:00
Ingo Weinhold
41b5558a3c Added explanative comment to get_app_path() and fixed the error return value of main_thread_for().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 20:21:10 +00:00
Axel Dörfler
ba04be1db0 Fixed the dirent.d_reclen calculation - define KEEP_WRONG_DIRENT_RECLEN to
enable the old and compatible behaviour (on BeOS R5, all available file
systems seem to do that wrong).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 13:31:04 +00:00
Andrew McCall
599a8de01a Added pwd to the Jamfiles, changed the returns to use B error codes rather
than exit()'s. Andrew McCall


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 13:13:25 +00:00
Andrew McCall
468048ccc3 A quick port of pwd, it compiles OK, but I haven't had chance to test it as
I am at work!

Can someone point out what I should replace err() with from err.h when its
called please! - Andrew McCall


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 11:31:16 +00:00
lillo
ec603fd345 forgot this
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 09:10:09 +00:00
Tyler Dauwalder
9c561e6537 + Updated tests:
- PreferredApp
  - AppHint
  - Icon
+ Added reduce_color_depth() helper function

B_GRAY1 to B_CMAP8 color conversions still
need to be tested.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:43:47 +00:00
Tyler Dauwalder
7cf4e78a5d + Updated doxygen
+ Added code for:
  - B_REG_MIME_SET_PARAM::B_REG_MIME_PREFERRED_APP
  - B_REG_MIME_SET_PARAM::B_REG_MIME_APP_HINT
  - B_REG_MIME_SET_PARAM::B_REG_MIME_ICON


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:42:14 +00:00
Tyler Dauwalder
dff6cb3f88 + Added code for:
- {Get,Set}PreferredApp()
  - {Get,Set}AppHint()
  - {Get,Set}Icon()   (though it's a hacked up temporary version)
+ Replaced B_SIMPLE_DATA with B_REG_RESULT


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:40:24 +00:00
Tyler Dauwalder
e9e5603860 Forgot a #include, I guess...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:38:16 +00:00
Tyler Dauwalder
55f345fd20 + Added code for:
- {Get,Set}PreferredApp()
  - {Get,Set}AppHint()
  - {Get,Set}Icon()
+ Added any missing doxygen

SetIcon() is currently not implemented as I would like,
due to us needing an OBOS::BBitmap implementation.
Thus there are two versions and the GetIconData()
function until that day comes around.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:37:50 +00:00
Tyler Dauwalder
691354c6d0 Added B_REG_RESULT
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:34:45 +00:00
Tyler Dauwalder
8b5dd33e12 + Added "standard general result reply"
+ Brought MIME database protocols up to date
+ Reformatted the standard reply section very slightly
  to match the rest of the protocols.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:34:13 +00:00
lillo
615a79cc3c Implemented send_data/receive_data/has_data thread syscalls
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:28:39 +00:00
jrand
a215064d68 Updated the implementation section to describe what is now understood about the flattened
data format and to match the current OpenBeOS implementation.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 05:26:56 +00:00
jrand
3841621d26 Fixed Flatten() and FlattenedSize() implementation so the unit tests pass now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 04:13:06 +00:00
Phil Greenway
add155b5b7 Updated the Window calls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 22:14:31 +00:00
Ingo Weinhold
e11ff37981 Finished the BAppFileInfo::SetInfoLocation() tests. This was hell, but now it's fortunately over. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 21:19:52 +00:00
Ingo Weinhold
83a812a1bb Adjusted the SetSupportedTypes() doxygen comments to reflect knowledge gained from tests -- I hope, I understand the syncAll flag now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 21:18:43 +00:00
DarkWyrm
410e49b66f Serious improvements, esp. in the Colors tab.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 19:24:30 +00:00
beveloper
ea83877f0b David Shipman provides this update to the audio mixer add-on
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 12:43:06 +00:00
beveloper
0e421f46d0 David McPaul submitted this test fir the BTimeCode class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 12:30:07 +00:00
beveloper
6c062d1f93 David McPaul added support for drop frame formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 12:26:59 +00:00
jrand
52ec2aa88b Fixed Unflatten() and FindMatch() so the unit tests pass now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 06:52:03 +00:00
jrand
75d07a502f Add the BPropertyInfo implementation to the library.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 04:30:06 +00:00
jrand
765a2199e3 Add initial BPropertyInfo implementation, courtesy of Marc Flerackers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 04:29:14 +00:00
jrand
b05c5af69b Add some comments to these tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 04:14:22 +00:00