Commit Graph

37892 Commits

Author SHA1 Message Date
Axel Dörfler
af0745618f * Now uses the new network API instead of directly using socket ioctls.
This makes the code much cleaner and simpler.
* Completely untested, though (will do that next).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 21:11:04 +00:00
Axel Dörfler
01308f219b * Simplified get_address_family() function.
* Use new BNetworkInterface::AutoConfigure() method.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 21:05:32 +00:00
Axel Dörfler
2bd61a6f33 * Added Index() method, was not even declared yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 21:04:19 +00:00
Axel Dörfler
2087545cc0 * Added methods to manipulate routes.
* Added AutoConfigure() method.
* Implemented missing Index() method.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 21:03:11 +00:00
Axel Dörfler
2977e7888f * Added alternatives to AddInterface()/RemoveInterface() that take the name
of the interface instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 21:01:19 +00:00
Axel Dörfler
6a75869303 * Added SetAddress() methods for IPv4, and IPv6 addresses.
* Improved API.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 21:00:05 +00:00
Ingo Weinhold
c059c8c5d0 MessageReceived(): Override B_MOUSE_WHEEL_CHANGED when in alternative screen
mode and send the key/page up/down escape sequences instead of trying to
scroll. Makes mouse wheel scrolling in less, nano,... working. Closes #6460.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 17:49:40 +00:00
Ingo Weinhold
fa8c3f1065 Added IsAlternateScreenActive().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 17:45:55 +00:00
Philippe Houdoin
5655de51dd Initial send_data() support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 17:30:50 +00:00
Axel Dörfler
297a8ac7d2 * bonefish is getting sloppy: applied r39584 to console.cpp as well :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 17:15:25 +00:00
Ingo Weinhold
e9e3be37f9 Coding style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 17:06:57 +00:00
Ingo Weinhold
38eb09a376 Fixed regression introduced by r38409: For a parameterless escape sequence
process_vt100_command() would be invoked with argument count 1 (instead of 0).
This broke e.g. the "dis" command and the command history navigation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 16:43:28 +00:00
Axel Dörfler
20631cef4c * Applied patch by negusnyul that adds a few more keyboard shortcuts as part
of ticket #4689.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 16:41:16 +00:00
Philippe Houdoin
0103776770 Add initial up & down support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 13:51:30 +00:00
Philippe Houdoin
172971a18f Switch link speed unit to bit/s to support low bitrate speed too
(hello slow dialup line...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 13:35:30 +00:00
Philippe Houdoin
d945edf9c7 Store AT* strings and termios config directly within dialup_device struct.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-23 11:23:34 +00:00
Axel Dörfler
ffd05c4362 * Set an explicit min size for the text controls. This fixes bug #6863.
Note, the BTextControl doesn't work correctly with its layout items, if
  present. I'll open a bug report for that.
* Disallow spaces as well for the internal type name.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-22 22:34:19 +00:00
Adrien Destugues
a753859956 * Insert an extra space when doing a CR. This ensures the latest attribute setup gets inserted somehow in the line before we go elsewhere.
This gets 256colors.pl to give the right output, as well as useable vim in TERM=xterm-color mode (as far as I can tell).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-22 20:12:16 +00:00
Joachim Seemer
1adf49423b Updated user guide pages.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-22 19:42:54 +00:00
Philippe Houdoin
87ada8acb1 Add skeleton/WIP dialup network device...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-22 19:27:17 +00:00
Philippe Houdoin
37426cbf26 Remove /dev/net/stack entry skip, as we don't have such entry anymore
since long ago already.
Keep the userland_server one, because, maybe, one day...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-22 19:22:26 +00:00
Adrien Destugues
384fe02234 * Use the attributes from the parser instead of trying to guess blindly when inserting a tab. This avoids strange things hapenning when a tab is inserted at the start of a line.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-22 19:21:56 +00:00
Ingo Weinhold
ca598670fb * Removed the shell process ID from ActiveProcessInfo and moved it to new class
ShellInfo, which also contains a flag whether the shell is the default shell.
* If the Terminal has been started with a custom shell, also replace "%p" in
  the title by its name, when active.
* Also show the on-close alert for the custom shell.

Fixes #6844.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-22 15:30:26 +00:00
Ingo Weinhold
65b57677b5 TermWindow::TermWindow(): Update the TerminalRoster's window info.
Fixes #6880.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-22 13:29:21 +00:00
Ingo Weinhold
25dc253d6a * Merged weak-symbols branch.
* Fixed trivial merge conflict in src/system/libroot/posix/locale/nl_langinfo.cpp
* Fixed gcc 2 compilation of src/system/glue/init_term_dyn.c.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-22 13:06:36 +00:00
Ingo Weinhold
921e955104 Adjusted SubDir invocation according to r39568.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-22 12:56:23 +00:00
Philippe Houdoin
dc90a8c5f9 Rename folder after the actual name of that preferences app, aka "Printers".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-22 12:11:31 +00:00
Ingo Weinhold
36cdd7a292 Corrected the alert text for the case that multiple processes are still active.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-22 11:17:35 +00:00
François Revol
2757dc8c3a Fix build with VFS_PAGES_IO_TRACING.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-21 22:28:49 +00:00
Fredrik Holmqvist
12474ac0a5 Updated ACPICA to 20101013 from 20100428. See http://www.acpica.org/download/changes.txt for changes.
Embedded Controller still needs some looking into, and I had to remove the WIP code for dumping MADT.
Both are on my TODO.

Also removed a lot of unneeded parts of ACPICA from trunk and did some cleanup in Jamfile.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-21 21:58:06 +00:00
Ingo Weinhold
53c32667f7 TermWindow::_CanClose(): Collect the names of the running processes and display
them in the alert. Fixes #6862.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-21 21:00:10 +00:00
Ingo Weinhold
dd2cdb3a75 Set B_ESCAPE as shortcut for all BAlerts. Fixes #6850 and #6858.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-21 19:52:16 +00:00
Ingo Weinhold
105093fddb * Added new class TerminalRoster, which maintains a list of all running
terminals, including their window minimized status and workspaces. These
  information are shared via our special-purpose clipboard. TerminalRoster
  mainly acts as a cache.
* Removed the terminal ID management from TermApp. Most is now done by
  TerminalRoster, the rest has been moved to TermWindow.
* Moved the terminal position file reading/writing from TermApp to TermWindow.
* Moved the remaining terminal window title handling from TermApp to TermWindow.
* Replaced the solution for #6613 implemented in r39530 (enabling/disabling the
  "Switch Terminals" menu item depending on whether there are other Terminals).
  The new solution is more correct, since it does enable the menu item, if and
  only if switching to another Terminal will happen when triggering it. I.e.
  minimized Terminals and ones on other workspaces are ignored.

Should also fix #6612, since there's no synchronous communication between
different terminal apps anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-21 19:31:19 +00:00
Ingo Weinhold
441d3509c9 Removed debug leftover.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-21 18:35:32 +00:00
Jérôme Duval
3ae6771c5f merged ffmpeg 0.6.1 into trunk
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-21 17:51:21 +00:00
François Revol
3bb30583a3 Fix the licence, we use MIT now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-21 17:03:03 +00:00
Philippe Houdoin
f52f6f2e4d Add space to disallowed chars for MIME type or subtype.
Fix #6853.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-21 14:02:53 +00:00
Philippe Houdoin
95d32039c6 Fix locale variables names violating style policy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-21 13:26:55 +00:00
Matt Madia
7e4d0ca539 Updated baseSourceURL (and copied the necessary files on haiku-files.org).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-21 06:28:57 +00:00
Rene Gollent
0741a7c295 Automatic whitespace cleanup.
When in single window mode, also add opt+cmd+down as a shortcut to navigate to the selected folder in a new window. Fixes ticket #3548.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-21 02:29:38 +00:00
Axel Dörfler
f088cd3e6e * Fixed incorrect indentation (spaces vs. tabs), thanks korli!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-20 21:54:08 +00:00
Axel Dörfler
5188c282ad * Renamed private methhods to have an underscore prefix.
* Ordered methods as they are declared in the header.
* Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-20 21:03:50 +00:00
François Revol
34dc99625d Update copyrights.
Btw Axel, keyboard.cpp (forked from the bios_ia32 one) is still under "OpenBeOS licence" with 2 other copies, I suppose you are ok to change to MIT ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-20 18:41:52 +00:00
François Revol
180ffdeaa4 Cleanup. Try to exit ARAnyM from platform_exit().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-20 18:25:51 +00:00
Axel Dörfler
15d26d2cef * Applied patch by Tamás Krutki that adds some statistic info to StyledEdit.
Thanks for the patch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-20 18:17:03 +00:00
Jérôme Duval
cae9b9d83a correctly initialize fStreamInfo[i].hasCookie
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-20 18:04:35 +00:00
François Revol
866bb10f42 Add some more Falcon video modes. Use VsetRGB() to set 8bit palette, though it's not really useful yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-20 17:33:44 +00:00
François Revol
20d6d508c1 Add the VsetRGB() XBIOS call.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-20 17:29:39 +00:00
François Revol
7a2ec456cf For now only output debug text on screen if framebuffer is not enabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-20 17:24:18 +00:00
Jérôme Duval
b1ed9a63d7 * some style and whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-20 17:03:02 +00:00