Jérôme Duval
d70f24a679
fix the build ...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 19:08:49 +00:00
Jérôme Duval
c2c408999a
clean up
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 17:57:20 +00:00
Adi Oanca
7faaf6ba8b
fixed the viewColor bug
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 15:37:43 +00:00
Jérôme Duval
1cc148a946
added opengl to SetupInclude
...
StaticLibrary now accepts static libraries to include (note that jam should be rebuilt)
LibraryFromObjects doesn't FGristFiles now, but Library does
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 15:22:55 +00:00
Jérôme Duval
a1a86b0306
added error information
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 14:21:36 +00:00
Jérôme Duval
88e96a1483
Patch from [Beta], thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 14:06:10 +00:00
Jérôme Duval
aa486def43
patch from [Beta]
...
additionally: corner debug output removed unless DEBUG is defined
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 13:47:14 +00:00
Axel Dörfler
494301a5aa
Minor cleanup, fixed warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 13:27:26 +00:00
Axel Dörfler
43ed6aa0db
The "shebang" handler is supposed to parse arguments, too - we now do that.
...
Also, when the line is too long, E2BIG is returned.
Thanks to Korli who pointed me to this: http://homepages.cwi.nl/~aeb/std/shebang/
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 12:39:06 +00:00
Axel Dörfler
be22452f3b
Apparently, both load_image() and exec*() support running scripts. We do that
...
now as well.
Also, both functions will now test if the executable exists and is valid; that
way, load_image()/exec*() can catch many errors without having to create a new
team (or erase the current one - an exec*("my invalid app") might now return
with an error).
The runtime linker now exports a function to test executables that is aware
of the search paths, and will also check user permissions upfront.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 11:23:29 +00:00
Axel Dörfler
229b2db028
cache_node_launched() is now called later, so that the environment will
...
be the same for both ways (via load_image() and exec*()).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 11:15:05 +00:00
Stefano Ceccherini
6deb7c6749
Documented the public methods, changed the file description
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 07:29:16 +00:00
Stephan Aßmus
75d26e104a
fInitialized is also set in the copy constructor. BTW, the Haiku Logo is displayed now (forgot to commit this earlier). Thanks to Axel for finding out about this.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 00:38:21 +00:00
Axel Dörfler
6262418e6a
fInitialized was never set to "true", so InitCheck() could never succeed.
...
Also fixed _AllocateBuffer() to handle out of memory situations gracefully.
It should probably also have upper limits with regard to the bitmap size.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 00:12:45 +00:00
Jérôme Duval
adf47eb76d
we mimic R5 : getgroups return 0
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 00:08:21 +00:00
Jérôme Duval
c931a5f892
added man docs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 23:44:27 +00:00
Jérôme Duval
31ed13fa72
added few bin tools
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 23:35:28 +00:00
Jérôme Duval
e283d78ca9
added groups
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 23:33:44 +00:00
Jérôme Duval
431b9b0e18
Depends => LocalDepends : avoids dependency on files
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 23:00:48 +00:00
Stefano Ceccherini
3a27ae791e
Added server support for activate_workspace(). Looks like it's not doing anything, though SetActiveWorkspace() returns true....
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 22:11:29 +00:00
Stefano Ceccherini
eef16dda7d
implemented server support for current_workspace(), just because I had enough of the 'blablah got unknown reply' message
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 21:54:11 +00:00
Stephan Aßmus
fc5ca95d01
fixed alignment and image layout, esc exits fullscreen mode, black background for fullscreen, zooming window toggles fullscreen, can still browse even if current image has been deleted, space toggles slideshow, swapped next/previous menu items (more logical)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 20:09:46 +00:00
Axel Dörfler
fc95358474
Optimized writing by enlarging the file before the single entries are written
...
(that saves the file system from starting a new transaction, which is currently
expensive).
Changed output a bit: the launch line now also contains the parent team ID,
file paths are truncated from applications.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 18:44:22 +00:00
Axel Dörfler
aadb0f6bb8
The acceleration hooks are now set after a SetMode(), and get a display_mode as parameter
...
as required by the interface.
Unfortunately, this doesn't help the slow window moving with Rudolf's drivers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 17:42:52 +00:00
Axel Dörfler
02cc496038
Build fix, improved debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 16:04:45 +00:00
Stefano Ceccherini
d039af7469
Reverted to the previous algorithm, which is just another version of the same one: they produce slightly different results, but this one should be faster as it doesn't use divisions.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 15:29:08 +00:00
Stefano Ceccherini
44bb301774
Improved some more.
...
Why were the components or'ed with 5 ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 14:42:06 +00:00
Jérôme Duval
4dfe5b819b
now quits gracefully when no media roster is available
...
cosmetic changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:53:38 +00:00
Jérôme Duval
5fa7753230
signature fix
...
now quits gracefully when no media roster is available
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:51:53 +00:00
Rudolf Cornelissen
98f5c76b8f
updated documentation once more.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:46:00 +00:00
Rudolf Cornelissen
3d83865e2b
added a concurrent overlay/3D workaround making that combination work reliably now. No more engine crashes should occur. Bumped version to 0.51.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:43:34 +00:00
Stefano Ceccherini
6ec6f3f831
Better color distance-measuring algorithm, taken from here:
...
http://www.stud.uni-hannover.de/~michaelt/juggle/Algorithms.pdf .
Still not 100% identical to be's one, but much closer.
Small cleanups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:22:50 +00:00
Axel Dörfler
b84688be5f
Added a basic low memory handler service.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:03:54 +00:00
Axel Dörfler
b1a248305b
Minor cleanup, changed return type of page count functions (from addr_t to size_t,
...
as that's more correct).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:02:24 +00:00
Axel Dörfler
a69e0ac327
The boot item list was not initialized; this was no problem, though, as
...
no items can be removed from that list - nevertheless, it's wrong.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:01:13 +00:00
Axel Dörfler
ff9fb62471
Some cleanup (made static variables static).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 12:59:11 +00:00
Stefano Ceccherini
1f1ed1c62c
Generate the inversion map.
...
Note that the inversion_map and the index_map aren't the same as in Beos, due to bugs (or different behaviour) in color_distance.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 10:28:51 +00:00
Jérôme Duval
2117393a53
commented out non provided tools (could change in the future though)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 09:37:49 +00:00
Rudolf Cornelissen
c5571dad35
minor doc update.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 09:28:25 +00:00
Jérôme Duval
0fe2ac31dc
rdef cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 09:28:21 +00:00
Rudolf Cornelissen
081f461390
corrected all dummyreads to use volatile pointers. Thanks Marcus Overhagen for reading along.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 09:23:26 +00:00
Jérôme Duval
3b10d8ead3
rdef clean up
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 09:18:59 +00:00
David McPaul
011badde6b
Improvements to mov_reader still alpha
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 07:09:45 +00:00
Stefano Ceccherini
509db2a318
Generate the index map using some code stolen from BBitmap. The Mandelbrot sample app starts looking good. Only the inversion map is missing now
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 05:03:42 +00:00
Stefano Ceccherini
8f9d0f685d
Removed unused stuff
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 14:48:49 +00:00
Stefano Ceccherini
941cf68a79
this looks like the right time to remove this...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 14:47:26 +00:00
Stefano Ceccherini
aa6f42c954
DispatchMessage() is called with the looper already locked, so we call fLink->Flush() directly, which does not lock it again. Changed some TODO to be more informative, removed one.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 14:46:22 +00:00
Axel Dörfler
183dee22cb
Unlike R5, receive_data() could return an error code under Haiku - this
...
can now only happen if the thread is killed.
_user_receive_data() will now longer pass B_CAN_INTERRUPT to receive_data(),
but B_KILL_CAN_INTERRUPT - this should fix the problem Stefano experienced
with this function, even if I couldn't reproduce it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 11:14:37 +00:00
Stefano Ceccherini
96b5c85819
Implemented get_pixel_size_for(). I tested it a bit and it seems correct. I'd be glad if someone reviewed it, though.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 07:14:42 +00:00
Stefano Ceccherini
2c458b6dbf
Now inits fInitialWorkspace correctly, calling current_workspace()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 06:26:03 +00:00