Commit Graph

813 Commits

Author SHA1 Message Date
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
jrand
448dcd4157 Complete the list of usecases for BPropertyInfo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 04:10:29 +00:00
jrand
10f4de1259 Moving these tests into three different files for construction tests, flattening tests and findmatch tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 03:47:09 +00:00
jrand
25a9178631 Adding BPropertyInfo tests to CVS
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 03:45:43 +00:00
jrand
d081dee68d Adding BPropertyInfo tests to CVS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 03:44:21 +00:00
Ingo Weinhold
216921555f First BAppFileInfo tests. Complete constructor tests and the beginning of SetInfoLocation()/IsUsing{Attributes,Resources}() tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 00:01:26 +00:00
Ingo Weinhold
d6b205f306 Added BAppFileInfo header, empty implementation with doxygen comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-17 23:59:41 +00:00
Ingo Weinhold
f8b7638264 Fixed some comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-17 23:58:22 +00:00
Ingo Weinhold
9ee7705b24 Added items about BNodeInfo oddities.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-17 23:57:55 +00:00
beveloper
33d6854bee changed codec detection and special ICH4 handling
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-17 19:59:33 +00:00
jrand
1ddfa2f84e Added tests for the FindMatch() member function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-17 05:55:18 +00:00
Tyler Dauwalder
75120765af Modified MimeTypeTestSuite slightly so as to not remove the copied
mime database directory if it already existed in the first place.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 23:21:48 +00:00
Tyler Dauwalder
dda17c0010 Updated OBOS tests to use look in the same directory as the MimeDatabase
class does for the mime database. Also, if said directory is different than the
system directory, a copy is first made when necessary, and then removed
when the tests are done.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:10:38 +00:00
Tyler Dauwalder
f978bce0b0 + Added fMimeDatabase member
+ Updated MessageReceived to handle:
  - B_REG_MIME_SET_PARAM.B_REG_MIME_DESCRIPTION
  - B_REG_MIME_{START,STOP}_WATCHING
  - B_REG_MIME_{INSTALL,DELETE}


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:08:49 +00:00
Tyler Dauwalder
f231d0901c + Added fMimeDatabase member
Implemented:
+ {Get,Set}{Long,Short}Description()
+ {Start,Stop}Watching()
+ Install(), Delete(), IsInstalled()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:06:51 +00:00
Tyler Dauwalder
fc7d3358e6 + Added MimeDatabase
+ OBOS app kit headers are now used


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:03:26 +00:00
Tyler Dauwalder
533a64a210 Registrar now links to libstorage for MimeDatabase class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:02:55 +00:00