Commit Graph

867 Commits

Author SHA1 Message Date
ejakowatz
3e5d9213bd Tweaks to the tests which illustrate an important point: do *not* call
Quit() on BLoopers on the stack. =P


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-26 16:38:10 +00:00
beveloper
fd93cc35b3 reverted the latest change
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-26 14:49:16 +00:00
beveloper
32ffa52615 This solve some problems where the driver seemed to work, but you couldn't
hear any sound. Looks like certain chipsets use the optional aux output,
instead of line out


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-26 14:48:24 +00:00
Michael Phipps
df6ee31838 Added reference counting to pages. Cleaned up some bugs.
More testing continues...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-26 03:12:35 +00:00
Ingo Weinhold
d1bafb18f2 Added BNodeInfo and BAppFileInfo tests to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:54:21 +00:00
Ingo Weinhold
1e715a58c4 Added tests for supported types methods and fixed some other tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:52:57 +00:00
Ingo Weinhold
cf07767393 Added B_REG_MIME_UNSUPPORT_TYPES case in MessageReceived(). No implementation for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:51:50 +00:00
Ingo Weinhold
657fea1c08 Fixed missing return value in SetType().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:50:55 +00:00
Ingo Weinhold
49aeab331d Added BNodeInfo and BAppFileInfo to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:50:11 +00:00
Ingo Weinhold
98da112cca Complete implementation. The 'supporting types' methods are untested as they need BMimeType/registar support. SetSupportedTypes() may need some adjustions when that is available.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:49:22 +00:00
Ingo Weinhold
821e6e16f2 Added B_REG_MIME_UNSUPPORT_TYPES message code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:48:41 +00:00
Ingo Weinhold
3d4a601414 BMimeType's got a new friend: BAppFileInfo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:48:10 +00:00
Ingo Weinhold
dee7770e50 Documented BAppFileInfo oddities.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:43:17 +00:00
Ingo Weinhold
a17e6b6813 Added entry for B_REG_MIME_UNSUPPORT_TYPES.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:40:20 +00:00
DarkWyrm
321a1ba7c1 Fully updated sources and jamfile. Added icon to app
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 16:45:40 +00:00
ejakowatz
77a6586a2e Another test with minor tweaks to BLooper.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 15:44:28 +00:00
gendusoa
7724701025 Added display of "NO PREVIEW" for modules not supporting such.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 00:31:17 +00:00
Ingo Weinhold
e7a0c94298 Added tests for {Get,Set}{Type,Signature,AppFlags,Icon,VersionInfo,IconForType}() and fixed some details of the info location tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 23:26:18 +00:00
DarkWyrm
c4139be9fd Added support for decorator builds
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 21:28:38 +00:00
DarkWyrm
30e06bbf03 Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 21:27:50 +00:00
ejakowatz
cb5b0f6d58 Fixed SetCommonFilterList() so that the same list can't be added to more
than one looper.
Implemented UnlockFully(), and changed destructor and Quit() to use it.
Reordered the destructor slightly so as to delete fLockSem *after* the call
to UnlockFully().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 20:38:15 +00:00
ejakowatz
89c12458ee Finished up tests, accounting for fix in BLooper::AddCommonFilterList() to
prevent adding the same list to two loopers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 20:36:11 +00:00
ejakowatz
858b08a4fb Finished up comments for tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 20:33:34 +00:00
DarkWyrm
edd1ec4517 'Defaults' and 'Revert' notify DecView + new RGBColor methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 17:56:48 +00:00
beveloper
9f44244a66 updated to support watching of individual nodes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 13:47:36 +00:00
Tyler Dauwalder
bb24170e40 Added initial timing support. Individual test cases now display run time
information for verbosity >= v2. I'll probably add a command-line
toggle specifically for timing info someday. I also hope to add per-test
and per-suite run time info eventually as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 05:16:26 +00:00
Tyler Dauwalder
537842b6ee Split into storage/mime/* files, and thus removed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 05:05:01 +00:00
Tyler Dauwalder
e20a514ae9 After implementing the BMimeType::GetInstalled[Super]Types()
functionality, it became apparent that some restructuring was
needed if I wanted to keep things clean and managble.
storage/MimeDatabase.{h,cpp} have been broken into:

storage/mime/database_support.{h,cpp}
+ MIME database constants
+ high-level database access functions like open_type(),
  read_mime_attr(), etc.

storage/mime/database_access.{h,cpp}
+ atomic read functions
+ is_installed()
+ get_icon_data()

storage/mime/Database.{h,cpp}
+ Mime::Database class, which is responsible for all write,
  non-atomic read, and mime monitor functionality.

storage/mime/InstalledTypes.{h,cpp}
+ Helper class for Mime::Database::GetInstalled[Super]Types()

storage/mime/Supertype.{h,cpp}
+ Helper class for Mime::InstalledTypes

I haven't merged my intial, somewhat cludgy GetInstalled[Super]Types
implementation into the new setup yet. That comes next, and it ought
to be a more graceful implementation now.

I also implemented BMimeType::Get/SetSupportingTypes(), though
they haven't been tested yet (sorry).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 05:04:02 +00:00
Tyler Dauwalder
1c4b41005c Added to_lower() functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 04:54:52 +00:00
Tyler Dauwalder
ea1a165a95 Added B_REG_MIME_GET_INSTALLED[SUPER]_TYPES
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 04:54:01 +00:00
Tyler Dauwalder
fde08bf3f4 + Updated InstalledTypesTest() to recheck GetInstalledTypes()
and friends after installing and deleting from the database.
+ Updated database dir constant per the recent mime migration


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 04:52:56 +00:00
Tyler Dauwalder
03f8be561d Added initial timing support. Individual test cases now display run time
information for verbosity >= v2. I'll probably add a command-line
toggle specifically for timing info someday. I also hope to add per-test
and per-suite run time info eventually as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 04:50:56 +00:00
Tyler Dauwalder
541ae3c35c Update B_REG_MIME_SUPPORTED_TYPES
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 04:47:51 +00:00
ejakowatz
d008c62d53 Fixed a narsty little bug that suddenly started rearing its ugly head in
IsMessageWaiting() test #3.  fLastMessage wasn't getting initialized to
NULL on construction, and the random value was finally biting me.  All
better now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 03:08:44 +00:00
beveloper
144039e6c6 adding a test that displays media kit notifications
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-23 13:34:46 +00:00
beveloper
eae26d3da1 Start adding notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-22 23:34:33 +00:00
beveloper
d0aedf22d8 This update adds a BeOS R5 compatible B_TIMECODE_DEFAULT.
Submitted by David McPaul.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-22 23:16:18 +00:00
ejakowatz
ff1ade6b3d More tests and fixes for bugs exposed by them. Also removed spurious
instantiation of BRoster from BArchivable, line 323, as per Tyler's
mention. =)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-22 03:43:06 +00:00
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