Commit Graph

6595 Commits

Author SHA1 Message Date
Ingo Weinhold
4455f219ee Added a "shell" for the roster. It can list, activate and quit application.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:28:09 +00:00
Ingo Weinhold
4d7538b180 Moved some reusable code from BApplication to this shiny new place.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:26:21 +00:00
Axel Dörfler
7be577a363 Beginnings of symbolic link support.
Cleanup of the code in many places.
Fixed bad bugs in dir_vnode_to_path(), and entry_ref_to_vnode().
Fixed some other bugs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 18:41:07 +00:00
Michael Pfeiffer
951cb228e1 Info about Spool File Format.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 18:40:55 +00:00
Axel Dörfler
3aaee8e5b0 Beginnings of the symbolic link support, though it's not yet working.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 18:36:23 +00:00
Michael Pfeiffer
839e5ecb24 Updated window title and application signature.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 18:02:38 +00:00
Michael Pfeiffer
e6b7649c0f Renamed View.* to BBView.* and Application.* to BBApp.*.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:58:30 +00:00
Michael Pfeiffer
8002202d9d Renamed View.* to PathView.* and Application.* to LPBApp.*.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:53:03 +00:00
ejakowatz
80a604c999 All things BMessage; initial check in.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:45:25 +00:00
Michael Pfeiffer
91673bab4a Set printer driver name to "PDF Writer".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:29:29 +00:00
Michael Pfeiffer
7669b41566 Renamed pattern to pattern0 because of name clash.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:24:18 +00:00
Michael Pfeiffer
cdc8e14b40 Add resources to driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:21:52 +00:00
Michael Pfeiffer
2c0d45d7c1 Async. start Page/Printer Config Dialog.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:05:03 +00:00
Michael Pfeiffer
247c4fa55f Started implementation of Add Printer Dialog.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:01:50 +00:00
Ingo Weinhold
d744dd13ab * Changed the return value in HandleCompleteRegistration() in case of
not found or already completely registered applications from
  B_REG_APP_NOT_REGISTERED to B_REG_APP_NOT_PRE_REGISTERED.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:42:03 +00:00
Ingo Weinhold
2ad75c74f9 Added doxygen comments and moved the initialization of child objects from
the constructor into ReadyToRun().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:39:26 +00:00
Ingo Weinhold
c09fb4b971 Added doxygen comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:37:26 +00:00
Ingo Weinhold
e56ea20210 * Added doxygen comments.
* Moved the index returning/expecting methods into a private section and
  implemented a Iterator class.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:36:28 +00:00
Ingo Weinhold
d958d04793 Added doxygen comments for the implemented methods and fixed some smaller issues.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:34:44 +00:00
Ingo Weinhold
3057c103f5 Init be_app_messenger in InitData().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:32:52 +00:00
Ingo Weinhold
75524bbf28 Changed the return value for CompleteRegistration() from B_REG_APP_NOT_REGISTERED to B_REG_APP_NOT_PRE_REGISTERED, when the application is nor registered at all or already fully registered.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:31:54 +00:00
Tyler Dauwalder
224e92720e Added "position in original character stream" marker to Token class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 04:13:30 +00:00
Tyler Dauwalder
dc685e9ad8 Finished scanner:
+ Octals are now handled properly in both quoted and
unquoted strings
+ Added support for \xXX style hex escapes in both
quoted and unquoted strings
+ Finished up the tests, so I think pretty much everything
should be working
NOTE: signed floating point numbers are no longer supported,
as they have no usefulness to sniffer rules
NOTE: extended format floating point numbers (i.e. 2.4e23) are
no longer supported, as they have no usefulness to sniffer rules.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 03:21:21 +00:00
Matthew Wilber
88c56012c8 attempted to improve the performance of opening 24-bit BMPs and prevent locking up the system when opening 100 MB BMP files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 02:22:37 +00:00
Ingo Weinhold
65b9bf3dda Registrar communication protocols added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:37:39 +00:00
Ingo Weinhold
a12aef2bee * Added handling of running app querying requests.
* Added methods Add/Remove/ActivateApp().
* Added hook methods _AppAdded/Removed/Activated/Deactivated().
* Turned fActivateApp into a RosterAppInfo* which is more useful.
* Added doxygen comments for the class and all methods.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:33:36 +00:00
Ingo Weinhold
bf41b2a2ef Replace APP_STATE_INVALID by APP_STATE_UNREGISTERED which makes more sense.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:28:14 +00:00
Ingo Weinhold
2e042baa93 Added dispatching of the running app querying requests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:26:39 +00:00
Ingo Weinhold
ab2e0d7d3f Removed the optional index parameter from AddInfo(). It wasn't used and would avoid to replace the list implementation by one that e.g. maintains a sorted list or a hash table or whatever. Think about changing the other methods operating on indices to use iterators.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:25:33 +00:00
Ingo Weinhold
92cf4c7532 Implemented IsRunning(), TeamFor(), GetAppList(),
Get{Running,Active,}AppInfo() and ActivateApp().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:20:37 +00:00
Ingo Weinhold
47924e2bed A comment to remind me to call create_app_meta_mime() in InitData() once it is available.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:18:29 +00:00
Ingo Weinhold
f010066db3 More sugar: Added message constants for running app querying and activation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:17:08 +00:00
beveloper
3fe5330ccb While Intel documentation lists PCI capability as 32 bit entities,
the PCI specifications lists it as two 8 bit entities, followed by
a unknown number of vendor specific data. It should be better to do
two 8 bit reads, instead of one 16 or 32 bit access.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 20:24:45 +00:00
Tyler Dauwalder
ef831f3638 Updated to include MIME Sniffer Parser tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 19:24:31 +00:00
Tyler Dauwalder
5da549240a + Moved internally used classes into header to allow for testing.
+ Added EmptyToken, Integer, and FloatingPoint TokenTypes.
+ Added IntToken and IntegerToken classes.
+ Updated scanner, which now handles numbers as well. I believe
it's nearly complete, although I'm almost positive it doesn't
handle octals correctly yet...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 19:24:05 +00:00
Tyler Dauwalder
6c6ea7dac5 Tests for the MIME sniffer parser.
Added a few scanner tests. More to come...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 19:20:59 +00:00
Matthew Wilber
0e69d33592 removed unused functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 01:49:54 +00:00
Matthew Wilber
09225bd67e changed text message
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 01:49:19 +00:00
Matthew Wilber
19b1280331 removed unused structs, added MakeConfigurationView, added some headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 01:48:40 +00:00
Matthew Wilber
e842e0f369 added support for OS/2 BMPs, changed 8-bit Be Bitmap files to be converted to 8-bit BMPs instead of 24-bit BMPs, added MakeConfigurationView, cleaned up some code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 01:47:54 +00:00
Matthew Wilber
5cd9d8ef83 change the size of the view
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 01:45:57 +00:00
beveloper
a4c97c95ce Fix the problem that resulted in a invisible shell on my system.
We were disabling the PCI to PCI bridge which is the connection
to the AGP port on my system, and made an error when trying to
enable it again. Fixed now!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 00:38:12 +00:00
Matthew Wilber
ee10eff360 initial check in
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 00:15:04 +00:00
beveloper
b055a362cb PCI configuration space read/write of 32bit never worked. Fixed.
PCI configuration space read/write of 16bit at offset 1 never worked. Fixed.
Added warnings for unsupported PCI configuration space read/write offsets.
Fixed numerous bugs in PCI Capabilites detection code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 23:27:40 +00:00
Ingo Weinhold
448187a8c3 Added some now working hooks and some more output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:06:21 +00:00
Ingo Weinhold
48f01b6d20 We need to link against libbe now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:05:25 +00:00
Ingo Weinhold
1d32138d6f Implemented processing of the app registration requests and Get{Running,Active}AppInfo().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:04:52 +00:00
Ingo Weinhold
3a5e755532 Added token and registration_time fields and Init() method.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:03:14 +00:00
Ingo Weinhold
c39e453222 Added dispatching of some now implemented roster requests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:02:10 +00:00
Ingo Weinhold
71ba5e917b We use STL now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:01:21 +00:00