Tyler Dauwalder
cea5557794
Updated to match new entry_ref_is_root_dir() calling convention.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:24:38 +00:00
Tyler Dauwalder
28f43bbd48
+ Updated entry_ref_is_root_dir() to Be style calling conventions
...
+ Added device_is_root_device() call
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:23:59 +00:00
Tyler Dauwalder
9f6eedfaf3
+ Renamed and moved from src/servers/registrar/ThreadManager.{h,cpp}
...
+ Fixed iteration bugs
+ Added more complete debugging output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:22:11 +00:00
DarkWyrm
8d22950d01
API and stability improvements
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 22:34:20 +00:00
Stefano Ceccherini
53fd1e70a4
More BString functions. Constructors, CountChars() and operators "=" and "+=" are tested with cppunit and work fine.
...
Added string_helper.cpp and .h to compile String.cpp correctly. Those will be removed as soon as we have our working libc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 06:59:26 +00:00
beveloper
378dd356b5
reverted to 1.1 version.
...
unfortunately, I thought I had tested 1.2 when I got it about 3 weeks ago,
and included it today without further testing. But it turned out that it
doesn't even compile and needs to be redone.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 21:59:46 +00:00
beveloper
c333623829
initial work done by John Hedditch
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 20:12:56 +00:00
Tyler Dauwalder
0a87d01ca0
Fixed a couple of warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:15:31 +00:00
Tyler Dauwalder
16be2fb82f
Added CreateAppMetaMime, MimeUpdateThread, and
...
UpdateMimeInfoThread to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:15:10 +00:00
Tyler Dauwalder
06d82133c7
Updated and unified update_mime_info() and create_app_meta_mime()
...
implementations to work with new, wholly-registrar-based mime update
system.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:14:35 +00:00
Tyler Dauwalder
05b9dff7c4
Added RegistrarThread to the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:13:11 +00:00
Tyler Dauwalder
b690150ecf
Removed mime update code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:12:42 +00:00
Tyler Dauwalder
162f340b21
UpdateMimeInfoThread class, which is a subclass of MimeUpdateThread
...
that implements updating specific to update_mime_info().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:09:50 +00:00
Tyler Dauwalder
56a452bb2c
CreateAppMetaMimeThread class, which is a subclass of MimeUpdateThread
...
that implements updating specific to create_app_meta_mime().
Note that the implementation is not 100% correct yet, and the
OBOS::BMimeType::create_app_meta_mime() tests still fail.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:08:21 +00:00
Tyler Dauwalder
4707046cec
MimeUpdateThread class, which is a RegistrarThread subclass that
...
implements the functionality common to both mime update calls
(update_mime_info() and create_app_meta_mime()), namely walking
through the filesystem and performing updates.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:05:39 +00:00
Tyler Dauwalder
cd7adc0b06
RegistrarThread class, which is the base class for threads
...
spawned in the registrar.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:01:43 +00:00
shatty
9b232192b4
fixed newline at end of file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 22:00:14 +00:00
shatty
0fb7a1079b
fixed newline at end of file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 09:51:57 +00:00
shatty
ce832bb128
fixed newline at end of file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 08:50:32 +00:00
shatty
111ba71e7c
fixed numerous casting errors
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 05:21:50 +00:00
Stefano Ceccherini
3e8f4f3d29
More bugs fixed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-27 16:28:11 +00:00
Marc Flerackers
4eb5e0d516
Initial Checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 14:53:19 +00:00
Stefano Ceccherini
39be953e7a
Fixed a stupid typing bug, implemented a pair of other functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 14:46:27 +00:00
Stefano Ceccherini
7c64b6d7d5
Implemented format-appending operators, more optimizations and bugfixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 06:53:49 +00:00
jrand
63c051f283
Adding implementation and tests for global function get_deskbar_frame().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 03:27:26 +00:00
jrand
b5b2bdae33
Finishing BDeskbar implementation and fixing minor test issue.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 03:24:17 +00:00
Stefano Ceccherini
c9ea158353
Write() Returns B_NO_MEMORY if it cant allocate memory
...
iVS: ----------------------------------------------------------------------
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 19:04:22 +00:00
Stefano Ceccherini
0c444b4265
Changed the way WriteAt() works, and fixed a small bug in SetSize()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 15:48:09 +00:00
jrand
74ec84df17
Adding first attempt at source code for BDeskbar.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:45:52 +00:00
Tyler Dauwalder
4bd7d39cde
Added AssociateTypes.cpp and SnifferRules.cpp to the mix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:36:41 +00:00
Tyler Dauwalder
1bd963b6c2
+ Added file-extension based mime type guessing
...
+ Added sniffer rule based mime type guessing
+ Added get_device_icon()
+ Added complete (synchronous, asynchronous; recursive,
non-recursive; forcing, non-forcing; you name it we got it :-)
update_mime_info() implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:36:03 +00:00
Tyler Dauwalder
743e936ee7
Augmented a comment to include a note on string length requirements.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:30:20 +00:00
Tyler Dauwalder
4e722de38f
Tidied up a couple of minor oversights.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:29:32 +00:00
Tyler Dauwalder
2150894b73
Added BytesNeeded() functions to all the sniffer classes to allow
...
a pre-read data stream to be sniffed instead of actual files on disk.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:27:46 +00:00
Tyler Dauwalder
4494844f12
Initial checkin. BPrivate::Storage::Mime::SnifferRules class, which is
...
responsible for managing sniffer rules and sniffing files and data
streams.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:22:40 +00:00
Tyler Dauwalder
09b4d458da
Initial checkin. BPrivate::Storage::Mime::AssociatedTypes class, which
...
is responsible for managing associations between mime types and
file extensions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:20:30 +00:00
Ingo Weinhold
9a17c3cfac
Dealt with the *_LENGTH+1 issue: Removed all "+1"s in buffer allocations and adjusted checks etc.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 21:06:09 +00:00
Stefano Ceccherini
893d12fc2c
Lots of bug fixes and code semplification
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 21:02:00 +00:00
Stefano Ceccherini
bbe7fb5430
Removed a parenthesis which had jumped in involuntarily
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 12:02:28 +00:00
Stefano Ceccherini
c505627f53
Switch to c++ type casts, some cleanups.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 11:59:30 +00:00
Stefano Ceccherini
0155e3bd85
Some small optimizations
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 10:32:08 +00:00
Ingo Weinhold
92a1f24167
Implemented BRoster::FindApp() and a bunch of helper functions needed for it. Tweaked some of the helpers signatures.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-22 00:12:56 +00:00
Stefano Ceccherini
15685713d1
Commit per Jeremy Rand, fixes build on Dano compiler
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-20 11:06:06 +00:00
Stefano Ceccherini
b5e2aa3555
Revert to the correct support.src
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-18 13:02:22 +00:00
Stefano Ceccherini
2ffca36a92
Fixed a nasty bug in Append functions. A quick test with BeMamER shows that my BString implementation begin to work :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-18 12:58:31 +00:00
Marc Flerackers
d90c2c74a1
Fixed some bugs, added vertical support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-17 10:12:44 +00:00
Ingo Weinhold
142126d657
Commented out BString, for it is buggy.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-15 21:00:04 +00:00
Marc Flerackers
6f3c97ca49
Initial Checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-13 12:51:10 +00:00
Stefano Ceccherini
070e067332
Some new methods (Removing), some bug fixes, some optimisations.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 12:27:22 +00:00
Matthew Wilber
76bfea45a3
Fixed bug that caused programs to crash when the default BTranslatorRoster is deleted, then the default BTranslatorRoster is used again
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 00:10:23 +00:00