Commit Graph

9625 Commits

Author SHA1 Message Date
DarkWyrm 2418b1a07b Added a method to get the cursor position
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 19:44:49 +00:00
Jérôme Duval d104cdcbae Moved sBootTime to an area, so that userland can clone it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 17:37:00 +00:00
Jérôme Duval dc80059933 first real_time_clock impl
todo : setup_rtc_area should be called on startup


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 17:34:39 +00:00
DarkWyrm 929bab19c4 Fixed a long-standing bug with displaying focus and some tweaks to Desktop focus code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 16:54:05 +00:00
Axel Dörfler 1d3a392013 Cleaned Jamfile and moved all build rules to where they belong.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 15:26:40 +00:00
Axel Dörfler 3cb6980c61 Fixed strange build: the random driver had its build rules in src/add-ons/Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 15:25:43 +00:00
Axel Dörfler cb0e767932 Fixed strange build of null/zero drivers; their build rules were previously
placed in src/add-ons/Jamfile.
Removed sample-code driver digit; it's of no use here.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 15:23:48 +00:00
Jérôme Duval 57b05275c4 collides with the bin tty
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 14:04:06 +00:00
Axel Dörfler d2170152b1 _user_set_real_time_clock() can now return an error. It currently even
will do this if this function is called by anyone other than the root
user.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-05 16:08:00 +00:00
Axel Dörfler 4ce0cb439a The set_read_time_clock() syscall now returns a status_t to be able to
indicate failure.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-05 16:06:28 +00:00
Jérôme Duval c345d00db1 added a check of permission
now set errno and return -1 for errors


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-05 13:25:13 +00:00
Jérôme Duval 4fe4cbd39c added implementation of stime
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 23:02:54 +00:00
Axel Dörfler 8665123697 Added empty arch_fork_arg structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 16:46:02 +00:00
Axel Dörfler fe5b39146f Neither unregister_wait_for_any() nor register_wait_for_any() returned
status.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 16:42:16 +00:00
Axel Dörfler bd00cbc6a9 Updated the PPC stuff to recent changes in other parts.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 16:41:32 +00:00
Rudolf Cornelissen 848b55ddd3 partial cleanup, starting to disable engine programming..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 16:35:44 +00:00
Rudolf Cornelissen bf1feef864 removed more nvidia refs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 16:15:08 +00:00
Axel Dörfler 024b8e7bd1 Relied on ktypes.h, but didn't include it (because on x86, some arch header
did that already).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 15:54:47 +00:00
Axel Dörfler b38248e108 Fixed a warning in GCC 3.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 15:51:27 +00:00
Rudolf Cornelissen bdc26929fd removed a lot of refs to nVidia
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 15:30:29 +00:00
Rudolf Cornelissen 2301c0f45a doc update, removed refs to nVidia
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 15:29:28 +00:00
Rudolf Cornelissen 9d063f00a5 removed a lot of references to nVidia
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 15:28:24 +00:00
Rudolf Cornelissen 54d9348483 skeleton driver compiles
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 14:43:06 +00:00
Rudolf Cornelissen bf03723a5a added skeleton accelerant so it compiles
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 14:42:09 +00:00
Rudolf Cornelissen 105756c9d0 added skeleton driver so it compiles
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 14:41:05 +00:00
Rudolf Cornelissen 5b0fe2fd40 driver compiles
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 14:40:12 +00:00
Rudolf Cornelissen 886dbf812e driver now at least compiles
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 14:39:05 +00:00
Rudolf Cornelissen 7b078b3e1c initial import of skeleton graphicsdriver shared files (not yet working/stripped)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 12:40:37 +00:00
Rudolf Cornelissen 08a017dc15 initial import of skeleton graphics kerneldriver (not yet working/stripped)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 12:37:27 +00:00
Rudolf Cornelissen 6835336864 initial import of skeleton graphics accelerant (not yet working/stripped)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 12:30:26 +00:00
Stefano Ceccherini a2fab5626d Added a debugger call in case the reallocation fails.
We can't handle an allocation failure there (at least for now). Took the chance to stylize the code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 08:53:46 +00:00
shatty 93ba4c1a53 do not use void * delete
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 08:21:48 +00:00
Stefano Ceccherini 2d60bd8b95 - Avoid setting the input method active if it is already
- Now we use the textview coordinate system correctly in OffsetAt()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-04 07:36:23 +00:00
Axel Dörfler f4b08feaac This fixes the build of the R5 version.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 17:46:22 +00:00
Ingo Weinhold 90072e721d Always define the symbols needed for basic C++ features. If we link against libgcc.a the symbols from there are simply overridden.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 17:33:17 +00:00
Axel Dörfler ba44a1e8e1 Changed the way the stores commit their memory: there is no special handling
for temporary memory anymore, it's the store's responsibility to do that
correctly now, and that functionality is reached via the vm_cache using
vm_cache_set_minimal_commitment().
Therefore, the vm_store commit() function now returns a status instead of
the size that could be commited.
Replaced the max_commit mechanism with one that cares about the available
memory, stores can reserve and unreserve such memory. The anonymous_commit()
will now fail in case it could not reserve the needed amount of memory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 17:24:41 +00:00
Axel Dörfler 1583190bd8 Added initial version of some scripts for the boot process.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 16:36:40 +00:00
Axel Dörfler d0f68c485f Added uio functions to the kernel (readv/writev[_pos]()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 16:23:45 +00:00
Jérôme Duval 8cacc42683 Added -fno-rtti flag as it's not used
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 15:50:03 +00:00
Jérôme Duval 18b99070b6 added -fno-rtti flag as we don't use it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 15:48:52 +00:00
Axel Dörfler 8c3e1399ec Thanks to Johannes Fortmann, I learned that the blinking mode can be turned
off to enable bright background colors. It's now always done which enabled
me to improve the slider colors a bit.
Therefore, console_set_color() no longer clears bit 8 from the background color.

Now no longer tries to change the palette in non-8-bit modes; that fixes
the strange colors I got in high and true color modes (VESA palette changing
would fail and the fallback VGA palette changing was responsible for the effect).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 15:43:27 +00:00
Axel Dörfler 2786541fbe Fixed a crashing bug in fill_sem_info() - if it was called for a semaphore
with an empty queue, it crashed. sem_info::latest_holder is obviously not
set correctly, and should be fixed.
Some cosmetics.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 15:33:01 +00:00
Axel Dörfler c89cbee2cf Added missing times() function (almost empty stub implementation).
Implemented uio.h functions: readv/writev[_pos]().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 15:05:35 +00:00
Axel Dörfler f0dd6fc2c8 Since the status field is still not set correctly (lazy me), reset it to zero at least.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 15:03:51 +00:00
Axel Dörfler 8c390406d7 Added missing putenv() implementation. Chosed to limit env names to an arbitrary length of 64 bytes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 15:00:08 +00:00
Axel Dörfler c1a8ebfa2d Added missing legacy bcmp() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 14:57:15 +00:00
Axel Dörfler 424f90aff9 Added prototypes for readv/writev() syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 14:55:44 +00:00
Axel Dörfler 9d171dd8f9 Implemented _{user|kern}_{read|write}v() functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 14:54:10 +00:00
Axel Dörfler 283c934877 Cleaned up the header a bit, added macro for bcmp().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 14:45:47 +00:00
Axel Dörfler c426897f56 Changed to make use of environment variables if present. I think we'll
later should cut down on the defaults.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 14:24:10 +00:00