Commit Graph

41021 Commits

Author SHA1 Message Date
Phil Greenway
dc6d65badb Originally missed out of Initial Checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 22:17:47 +00:00
Tyler Dauwalder
47daa6c0a7 Ooops...doesn't compile with R5 tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:58:59 +00:00
Tyler Dauwalder
21791a4472 Added my favoritest error code ever to DecodeResult()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:06:38 +00:00
Tyler Dauwalder
395d31a081 Started on parser tests, which so far are shaping up
to be very similar to the BMimeType::Sniffer tests... :-)
These tests have the added bonus of not need full
BMimeType/Registrar functionality, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:05:49 +00:00
Tyler Dauwalder
0d2978ea27 Added Range.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:03:44 +00:00
Tyler Dauwalder
68faee1082 + Switched to std::vector in favor of BList
+ Added a few minor tweaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:03:23 +00:00
Tyler Dauwalder
4574a75fc5 + Got rid of global TokenStream object
+ Started on Parser class
+ Moved parsing functions into Parser class
+ Added Pos() member to Err class to allow for
snazzy BMimeType::CheckSnifferRule() error strings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:01:56 +00:00
Tyler Dauwalder
51156f1f46 Way too many builds later, I finally realized I put these #includes in the wrong place.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 06:58:52 +00:00
Tyler Dauwalder
0be1fe8a1f New MIME Sniffer files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 06:57:11 +00:00
ejakowatz
0b55d6648f More tests, more fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 04:09:50 +00:00
ejakowatz
7bf6c06936 More tests with fixes to BLooper so it will pass those tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 03:08:43 +00:00
Matthew Wilber
5c4b18219f Initial program check in, doesn't quite work yet
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 01:30:54 +00:00
beveloper
08d3f7d47c Add user friendly debugging, and enable an external amplifier.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 22:16:23 +00:00
ejakowatz
b1698c8e74 Mostly fixes for silly compile error, plus an additional test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 21:49:42 +00:00
Ingo Weinhold
7e24e06e2c Fixed synchronous SendMessage() versions. They need to add be_app_messenger as reply target, if the supplied reply target is invalid.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 21:23:52 +00:00
Ingo Weinhold
822cdddb68 Fixed bug in AddHandler(): SetNextHandler() must not be invoked on the looper itself.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 21:22:23 +00:00
Matthew Wilber
72cb92ebd0 added some comments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 20:44:31 +00:00
Matthew Wilber
349850dcd1 added some comments and improved loading performance for uncompressed BMPs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 20:42:17 +00:00
ejakowatz
2284462ccf Scripting-related changes. Also indulged in some unwarrented formatting
anality. =P


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 20:28:00 +00:00
Axel Dörfler
847248db20 path_to_vnode() should now be able to resolve symbolic links (not tested
yet) - up to 16 symlinks are allowed in one path (following BeOS' restriction).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:39:49 +00:00
Ingo Weinhold
5e949b7dfc Added method Init(), which adds the registrar to the roster.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:37:24 +00:00
Axel Dörfler
b98a89a763 Forgot to set the stream type for the root directory...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:36:43 +00:00
Ingo Weinhold
60aa4feab5 * Lock() the looper in application destructor. Otherwise RemoveHandler()
complains.
* Call the TRoster::Init() to add the registrar itself to the roster.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:36:05 +00:00
Ingo Weinhold
1e298dbb58 Added AppMisc.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:33:26 +00:00
Ingo Weinhold
8a526591a0 * Moved some reusable code into AppMisc.cpp/h.
* Init be_app in InitData().
* Uninit be_app and be_app_messenger in BApplication destructor.^


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:33:00 +00:00
Ingo Weinhold
8cd292013b Added _send_to_roster_() and _is_valid_roster_mess_().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:30:27 +00:00
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