Commit Graph

9980 Commits

Author SHA1 Message Date
shatty
31c2fdcb8c use libbe functions/initialization unless we are targeting haiku
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 11:20:58 +00:00
shatty
dd8a21cd31 use libbe initialization unless we are targeting haiku
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 11:15:00 +00:00
shatty
fdaa370452 use BONE_COMPATIBLE instead of TARGET_PLATFORM
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 11:07:25 +00:00
shatty
4bb1944270 remove global activation of COMPILE_FOR_R5 based on TARGET_PLATFORM ; require TARGET_PLATFORM to be set
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 10:52:14 +00:00
shatty
f57ef32cc0 add BTextView to libhaiku.a
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 10:26:27 +00:00
shatty
3df3da2ccc use BONE_COMPATIBLE variable instead of TARGET_PLATFORM to control linking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 10:13:34 +00:00
shatty
d601f6e882 rename RecalLineBreaks to RecalculateLineBreaks ; use ceil() when computing the origins for lines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 10:07:40 +00:00
shatty
83bf0add93 use textencodings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 08:47:02 +00:00
shatty
ec5b4cac39 use const char for parameters, uint to avoid warnings, and strcasecmp for name comparisons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 07:35:47 +00:00
shatty
e25788aa41 add mail kit aliases: shift_jisx0213, euc-jisx0213
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 07:34:18 +00:00
shatty
e254dca796 add libtextencoding.so to haiku-maildaemon-cvs package
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 05:17:19 +00:00
Matthew Wilber
d8757cb585 Removed unused member variable, fixed drawing of highlight box, made style changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 23:46:55 +00:00
Oliver Tappe
f2ced752a0 - added implementation of stdc++ for haiku
- this differs slightly from the one that lives in buildtools/gcc as it
  has been "ported" to the newer libio that haiku uses as part of its own
  libroot


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 20:33:33 +00:00
Oliver Tappe
ce78b28632 - removed ctermid() and cuserid(), which live in stdio.h
- removed system(), which lives in stdlib.h


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 20:26:19 +00:00
Oliver Tappe
2f50925911 - the standard says that cuserid() should be declared instead of unistd.h,
and libstdc++-build agrees (fails otherwise).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 20:25:12 +00:00
Oliver Tappe
23db182d85 - deactivate vtable-thunks, as BeOS never used them and we need to be
compatible; change vtable-label-prefix accordingly.
- removed inclusion of wchar.h, as this breaks the libstdc++-build (hopefully
  this doesn't break anything ?!?)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 19:43:14 +00:00
Oliver Tappe
208f00ecf7 - added missing defines to compile libio with _STDIO_USES_IOSTREAM not being
set (although we do set it now).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 19:39:13 +00:00
Oliver Tappe
2468e805d8 - added comment about why stdin/stdout/stderr and cin/cout/cerr synchronization
never worked in BeOS (and why it works now).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 19:36:30 +00:00
Oliver Tappe
9777605673 - added a (commented out) specification of how to build a standalone libio
which can be used to test haiku's own libstdc++ under R5.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 19:27:32 +00:00
Oliver Tappe
f32abcdce8 - added haiku-specific implementation of bits/errno.h, as required by
the stdlib-part of glibc.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 19:25:29 +00:00
Stefano Ceccherini
bdd5913945 Small cleanup, added a comment to some obscure code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 12:43:06 +00:00
Stefano Ceccherini
9bcc882ae1 changed stricmp to strcasecmp to fix the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 12:21:13 +00:00
Jérôme Duval
0cdef817cf Added non working functions estimate_max_scheduling_latency and suggest_thread_priority
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 09:19:36 +00:00
Axel Dörfler
85b750f216 Implemented first test implementation of the new block cache and transaction API.
Moved from mutexes to benaphores.
Removed partial write support of the old API.
remove_cached_device_blocks() will now actually free all remaining blocks.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 02:03:39 +00:00
Axel Dörfler
a7e6b6f35b Added prototype for new hash_remove_first() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 01:59:09 +00:00
Axel Dörfler
060b02824b First draft of the new block cache API with transaction support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 01:57:38 +00:00
Axel Dörfler
4f727c8fb6 New function hash_remove_first() makes emptying a hash table much simpler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 01:56:22 +00:00
Matthew Wilber
347759a7e7 Continued refactoring. Made style changes, renamed variables to improve consistency and clarity.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 01:12:46 +00:00
Matthew Wilber
ac7ba0d23c Added code to correct the saved window position if it causes part of the window to be off-screen.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-10 00:05:12 +00:00
Jérôme Duval
6eb4c8d477 added gnu regex
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 22:49:35 +00:00
Jérôme Duval
5ebc38dcf6 added regex in our libroot.so, it is the one from our Gnu grep 2.5
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 22:48:36 +00:00
Jérôme Duval
ca72d05ae0 we can't read this data from userland yet, help!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 22:45:48 +00:00
Axel Dörfler
43576fd35b Removed some debugging output that shouldn't have made it into the repository.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 13:57:03 +00:00
Axel Dörfler
3407cab7da Temporarily added initialization of the system time conversion factor (x86)
to the arch independent section (pure laziness + I am not yet sure how this
will look like on other platforms).
Fixed the clone_area() command: B_CLONE_ADDRESS must not be used in the
same address space, because the area creation then can only fail.
Added an explanation on why the area is cloned at all.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 13:50:52 +00:00
Jérôme Duval
06dae80951 clean up of region=>area, addr_type=>addressSpec, fixed compile errors when trace is active
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 13:42:12 +00:00
Axel Dörfler
d4f36305b0 Added a comment about the architecture dependency.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 13:34:09 +00:00
Jérôme Duval
78bda9a24d typo
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 12:53:12 +00:00
Jérôme Duval
2e080fb4d6 switch to struct real_time_data, renamed function and variables
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 12:51:59 +00:00
Jérôme Duval
b138834ceb added a read only cloned area for real time data. untested yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 12:44:53 +00:00
shatty
9761ae2759 use COMPILE_FOR_R5 if target is not DANO_COMPATIBLE
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 03:55:52 +00:00
shatty
d026a4b550 search all standard names before looking at aliases
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 03:49:40 +00:00
shatty
f3479d994e add mail kit aliases
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 03:48:51 +00:00
Matthew Wilber
76efe265de Continued refactoring. Made style changes, fixed memory leak, added more error checking, moved view changing co
de out of GetTranInfo function. Still need to resolve color issue.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-09 00:08:02 +00:00
Axel Dörfler
cb0e529459 A terminated buffer just feels better.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 23:23:17 +00:00
Rudolf Cornelissen
4fb9f10a13 added a new part of the possible steps involved in writing a graphicsdriver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 21:28:02 +00:00
Jérôme Duval
e617ef9b0a line must be computed, fix the bottom of the screen "diff fortunes profile" bug.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 19:42:42 +00:00
Axel Dörfler
3f345c7e95 Implemented clone_area() and _user_clone_area(). Not tested, but should work.
Added some missing consts.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 19:26:43 +00:00
Axel Dörfler
921c7286c3 Added some missing consts.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 19:23:29 +00:00
Axel Dörfler
5b532f8614 Added fs_volume.h header, "resolved" one of the last old ERR_* error codes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 18:35:47 +00:00
Axel Dörfler
1fd17e4f24 We don't support the BeOS mount API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-08 18:34:43 +00:00