Commit Graph

19068 Commits

Author SHA1 Message Date
Ingo Weinhold
38979f27b0 * All "GUI servers" (app server, input server, and registrar) will now be
debugged automatically in a consoled session, when they crash. Note,
  that after a recoverable error (like a debugger() call) one can
  "detach" the debugged team in gdb, "quit", and continue as if
  nothing happened. 8-O
* The input server will no longer be killed when starting the debugger
  in a consoled session. Not sure why it was done; it simply works as it
  is now.
* Replaced all printf()s and fprintf()s by debug_printf() or TRACE(()).
  The debug server prints little enough anyway. In fact only when something
  crashes or an unexpected error occurs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 17:03:34 +00:00
Ingo Weinhold
7b95cc638b The BRoster initialization (contacting the registrar) can now time out
(generous 1s for delivery and for reply). This allows for the registrar
main thread to be debugged. Before the libbe initialization in gdb would
block, since it constructed the global be_roster which waited forever for
a reply from the registrar.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 16:53:45 +00:00
Ingo Weinhold
5b111b26a3 Don't link against libbe.so anymore. This is only necessary for the version
using the input server.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 16:45:33 +00:00
Philippe Houdoin
a9291c1969 Append Troeglazov "3dEyes**" Gerasim to contributors list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 11:47:40 +00:00
Philippe Houdoin
abbdc51e90 Applied Troeglazov "3dEyes**" Gerasim's patches: adds keys up and mouse wheel events support.
Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 11:37:36 +00:00
Axel Dörfler
5fbb5241c7 Fixed endless loop in the legacy keyboard driver (currently only used by consoled).
This actually fixes bug #1024.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 06:30:36 +00:00
Jérôme Duval
0b3fab2364 build fix for gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 00:36:40 +00:00
Jérôme Duval
6281bfb914 fix the build on non english locale systems (to have svn info output Revision instead of Révision)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-16 00:01:31 +00:00
Jérôme Duval
c34e204a4e updated mesa to 6.5.2
updated the mesa software addon to work again (maybe would need more work)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-15 23:40:43 +00:00
Ingo Weinhold
f20962103f We catch exceptions in Registrar::MessageReceived() and main() and
invoke the debugger. At the moment the ultimate effect is the same as
before (the registrar terminates), but it does at least cause some
output in the serial debug output. And as soon as the scheduler and
keyboard stuff is fixed, I can commit my debug server changes and the
registrar should become debuggable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-15 23:10:33 +00:00
Ingo Weinhold
a6392d3c05 Got rid of wait_sem in the console structure. It was pretty useless.
Added stop_console(), a shutdown procedure for consoled (for cases
when it executes a single command only, like the debugger).

Unfortunately the system kind of freezes when the keyboard is attempted
to be closed. Entering KDL still works. It always shows consoled's
keyboard reader thread running somewhere in the endless loop in
keyboard_read() in the keyboard driver. The main thread is ready in
delete_sem() invoked by keyboard_close(), not advancing any further when
continuing the system. Apparently the scheduler needs a good spanking.
:-P

Generally it also doesn't help that the keyboard driver code is
completely cookie ignorant.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-15 22:59:38 +00:00
Ingo Weinhold
8d96648eab Fixed build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-15 18:59:45 +00:00
François Revol
158a9c384b Much simpler and safer ttyname() using B_GET_PATH_FOR_DEVICE. Also added ttyname_r for which we had a proto in the headers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-15 14:01:40 +00:00
François Revol
5a34a44314 Remove dupped word.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-15 09:10:31 +00:00
Travis Geiselbrecht
dfb5375d18 clean up TSS initialization.
Now two complete tss structures exist within the per-cpu structure. Instead
of having to create a seperate area per each one, initialize them in place.
Also, the old mechanism to getting all of the cpus to get initialized was 
subtly broken, but still managed to work. Now, just force all the cpus to
initialize at boot, which makes the actual swapping of esp0 somewhat simpler.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-14 06:24:59 +00:00
Axel Dörfler
ae473111b0 * Removed spacing before the links - it looked really weird, especially with other fonts;
I hope mmu_man won't mind.
* Cleaned up our team leads: moved Michael Wilber and Kurtis Kopf to the list of contributors,
  added Waldemar (website), and Jorge (marcom), replaced DarkWyrm with his alter ego Jon.
* Fixed a warning - even though I'm not sure we really need this percentage stuff at all.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-13 08:31:21 +00:00
Axel Dörfler
17ef5dab76 * Added "Close and > Move to Trash" back in, as it's actually different from just moving
the mail to trash (and move on to the next mail) - and very handy, too.
* Removed "Close and > Set to Read" as it's not really necessary at all (and since quitting
  BeMail and just closing the window will do the same thing, it's also rather confusing
  than helpful).
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-13 08:21:27 +00:00
Axel Dörfler
2aba25f273 Fixed a bug that I eventually introduced that prevented Icon-O-Matic from being
started from FileTypes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-13 07:22:06 +00:00
Axel Dörfler
4d634ea794 Prevented the somewhat broken env copying code from clobbering memory it shouldn't really touch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-13 06:42:58 +00:00
Michael Pfeiffer
a004ea09b0 Bug fixes. Forgot to call method in MessageRecieved(). Align buttons correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-12 20:33:39 +00:00
Michael Pfeiffer
e72d32c89b * The printer driver API does not provide a way to inline printer or transport add-on specific settings in the dialog. Therefore removed detail sections. Closes ticket #1013.
* Made window resizable.
* Code style changes.
* Moved code inside MessageReceived into several methods.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-12 20:08:17 +00:00
Michael Pfeiffer
d2e9104b66 "Add..." -> "Add " B_UTF8_ELLIPSIS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-12 20:04:05 +00:00
François Revol
b3a8097d09 usb_dev_info needs USBKit header and lib...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-10 19:51:41 +00:00
Waldemar Kornewald
4008594db3 Fixed bug #1016 ('Apply' button overlaying Video Format Popup menu).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-10 12:41:29 +00:00
François Revol
68e6a23ca2 Nicer error list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-09 14:14:29 +00:00
Stefano Ceccherini
66ab330ddd Added Andrea Anzani to the list of contributors
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-09 12:24:56 +00:00
Stefano Ceccherini
69d0d14914 Patch by Andrea Anzani which fixes font sensitiveness issues with
Expander preferences window (thus fixing bug #162). Some cleanups by me


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-09 12:19:43 +00:00
Stefano Ceccherini
e32034330f Added FontDemo (not really working well) and moved Clock to Demos
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-09 11:44:53 +00:00
Stefano Ceccherini
d619599aa3 some more forgotten style changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-09 10:29:13 +00:00
François Revol
d70beedc0a Now also accepts symbolic names for errors; handy sometimes to get the value or message of a cryptic EFOO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-09 10:16:38 +00:00
DarkWyrm
22c6ae6951 Forgot to add new files to the last checkin
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 22:16:45 +00:00
DarkWyrm
e61a091fd0 Still a work-in-progress, but now basic editing can be done.
Added an ImageEditor object, but edits aren't saved... yet


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 22:15:21 +00:00
DarkWyrm
a68270fe2c Retooled the GUI for the app - much easier on the eyes, fits in better with MediaPlayer (and looks better ;-) and flicker is no longer a problem.
Header has been added to files
Style updates to source files, also. I may have missed a bit, but it sure is much closer than before


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 17:18:55 +00:00
Axel Dörfler
4ecd017140 * Fixed a bug that would not remove an existing attribute from the small data section
when the new attribute data was too large to fit into the small data section at all.
  This fixes the Trash icon update with a block size of 1024 bytes.
* This also fixes a bug where AddSmallData() required you to write back the inode even
  if it failed with B_DEVICE_FULL, but no one did it.
* _RemoveSmallData() no longer requires you to write the inode back on success.
* Made most small data methods private.
* WriteAttribute() now tries to put the data into the small data section even if it
  existed as a separate file before (the file is then removed).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 16:46:42 +00:00
Waldemar Kornewald
9c3e767c44 Changed from ~0 to kCurrentWorkspaceIndex which is actually readable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 14:42:33 +00:00
Waldemar Kornewald
10e9b12fe0 Renamed SET_INITIAL_MODE_MSG to BUTTON_UNDO_MSG.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 14:39:08 +00:00
Axel Dörfler
bbf8311d15 * Fixed a race condition between deletion of the endpoint and canceling its timers;
the timer functions could access invalid memory.
* The endpoint manager now panics if a bound endpoint is not in the hash.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 14:13:37 +00:00
Axel Dörfler
aa547f5fbb * mutex_lock() and recursive_lock_lock() now return a status_t and report failure.
* recursive_lock_unlock() now returns a void to mirror it's counterpart better;
  use recursive_lock_get_recursion() if you're interested in the lock depth.
* switch_sem(), and release_sem() now don't do anything anymore in kernel startup
  mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 14:07:31 +00:00
Axel Dörfler
d5d570384c The mutex was created too early, before semaphores could be used.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 13:50:50 +00:00
Axel Dörfler
b200275472 Flushing the translation map is done automatically on unlock.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 13:49:50 +00:00
Waldemar Kornewald
abc649b868 Made the Screen preflet's behavior consistent with the other preflets.
* Moved Apply button into controls box (resolution, etc.), so its meaning is more obvious.
* Revert now resets the whole screen settings for all workspaces to the configuration at the start of the preflet.
* In confirmation window, renamed Revert to Undo because that's what it actually does (it has nothing to do with the Revert in the main dialog).
* Disabled Defaults button (for now) since it doesn't use the screen's preferred settings and added a few TODOs.
* This should fix bug #321.
Note: Unfortunately, it won't work correctly on R5 because BScreen can only access the active workspace, it seems (locally, I used activate_workspace() for testing the preflet). Also, Haiku doesn't yet support setting screen preferences for each workspace individually, so I couldn't test it.
I hope my code isn't too terrible. :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 13:48:59 +00:00
Waldemar Kornewald
ce9e75125e Changed from B_ALL_WORKSPACES to ~0 because that's more readable. :)
Can't we have something like B_CURRENT_WORKSPACE_INDEX?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 13:32:29 +00:00
Axel Dörfler
4668ce8544 Disabled the VMware graphics driver again, until it's remaining issues
are solved (see bug #994).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 13:27:37 +00:00
Ingo Weinhold
2cddddacba Made _gHaikuRevision static and renamed it to sHaikuRevision.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 13:01:28 +00:00
Axel Dörfler
f83348ef31 Fixed some warnings when build with GCC 4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 08:00:01 +00:00
François Revol
f5ae62186e Add info about used RAM. Use sizeof(string) everywhere.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-07 00:10:39 +00:00
François Revol
ee5c86dfd6 I should go to bed... I meant B_UTF8_COPYRIGHT of course!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-06 22:26:25 +00:00
François Revol
2b38f46d73 Not really a bug, but make sure the credits view doesn't overlap the other one by 1 pix on the left side.
Make sure string views don't overlap the border (suppresses the flickering on uptime update, though it's mostly due to app_server being slow in qemu).
Add urls (in blue, but TextView isn't clickable yet...) for several projects.
Use B_UTF8_COPYRIGHT instead of "(c)".
Add obvious copyright text for several stuff (GNU libc, tools, bash, zip, bzip2, some libs... vim).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-06 22:22:07 +00:00
Waldemar Kornewald
e89c235337 "Show Folder Location in Title Bar" is now disabled, by default.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-06 21:41:40 +00:00
Michael Pfeiffer
91b6c45560 Added argument --pictures to print contents of unflattened pictures in
spool file.
Clean up.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-06 20:52:48 +00:00