Commit Graph

24791 Commits

Author SHA1 Message Date
Michael Pfeiffer
4420c1ceff PPD parser and configuration UI prototype from 2004. Maybe it can be of some use for the CUPS port HCD 2008 project.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-18 18:24:54 +00:00
Ingo Weinhold
ff0df461c4 If it contains symlinks, resolve the image path. This avoids problems
with certain Linux setups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-18 13:02:41 +00:00
Ingo Weinhold
13315c5755 * The old screen buffer wasn't freed in _ResizeSimple().
* Updated some debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-18 04:14:06 +00:00
Ingo Weinhold
7f6f9ddb94 * Forgot to clear the lines of the alternate screen buffer on
initialization. This would lead to crashes when resizing.
* Shuffled code in ResizeTo() a bit to make it more robust in case of
  error (out of memory).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-18 04:12:46 +00:00
Ingo Weinhold
d04aae8b80 * Some preparations for DEC private mode settings support.
* Implemented alternate screen buffer support. Not used by any program
  yet, since we still use the beterm termcap entry.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 22:49:06 +00:00
Karsten Heimrich
9c95cbf21f * update the chart as the first one was not entirely right
Thanks Michael for pointing this out :)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 20:00:51 +00:00
François Revol
764de92f59 Fix boggus ifdef. Thanks Vasilis. Parens shouldn't be needed though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 19:38:57 +00:00
Rudolf Cornelissen
6ffc2359d4 removed last G8x defines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 19:27:38 +00:00
Rudolf Cornelissen
f433117839 removed all pre-NV40refs, removed all overlay code (no info on the current engine known). Driver cleanup mostly done now I hope.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 19:16:40 +00:00
François Revol
0895a4060f - Add jamfile,
- fix warning.
Note T9 could still be of use on the desktop, for ex by disabled people with enough mobility to access a numeric keypad...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 16:45:20 +00:00
François Revol
a94e61350c The code for an handwriting input method front-end, currently doesn't do much more than draw the strokes over the screen. The idea is to have a base backend class that will be used to call several backends like Lipi Toolkit or others. WIP.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 16:36:54 +00:00
François Revol
087bd9e838 The code for a T9 input method, quite empty yet. WIP.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 16:32:42 +00:00
Axel Dörfler
4122d6c0c0 * Applied patch by Jan Klötzke that prevents the ICMP module to answer broadcast
ping requests, and those before an interface is configured.
* Added comment that explains the consequences.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 16:04:24 +00:00
Axel Dörfler
64ee822252 * Simplified compiler text - it will now only be shown in case it's not 2.95.3,
and it does fit in the line.
* Removed extraneous whitespace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 14:25:46 +00:00
Ingo Weinhold
3764a6db47 For some reasons the scroll bar started overlapping with the resize
knob, or actually for some reasons it didn't for me after r25969.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 13:46:17 +00:00
Ingo Weinhold
2f9135e39a Fixed \ESCM (reverse index). It shall only scroll when the cursor is in
the first line.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 13:28:24 +00:00
Ingo Weinhold
3912340dee Entering/leaving insert mode should only happen with parameter 4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 13:19:25 +00:00
Axel Dörfler
14a3b510e8 Fixed network boot.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 09:28:00 +00:00
Stephan Aßmus
872781f355 Fixed a few warnings and uninitialized variables that could actually lead
to bugs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 08:27:12 +00:00
Ingo Weinhold
a177ec8cf6 Added support for \ESC[%dX (erase characters).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 03:06:25 +00:00
Ingo Weinhold
6df054ee2f Reenabled setting the window title. Changed things a bit, though: Each
session (tab) has it's own window title. Switching between them changes
the window title, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 02:23:28 +00:00
Ingo Weinhold
5d2d3a845c * Fixed \ESC[0J (erase screen below). It shall not erase any character
on the line before the cursor.
* Implemented \ESC[1J (erase screen above.
* Fixed \ESC[2J (erase all). It shall not move the cursor.
* When scrolling only the top part of the screen, we do now also
  invalidate the line below the scroll region. Otherwise the view
  wouldn't know that they have not been scrolled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 01:44:10 +00:00
Ingo Weinhold
dfa76786b3 Fixed incorrect access of new lines in AddEmptyLines(). The wrong
lines would be initialized while the right ones might have remained
uninitialized. Could happen only in case that more lines were
scrolled out of the screen than there were in the scroll region.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-17 01:37:05 +00:00
Ingo Weinhold
9035d0e247 Added support for \ESC[%dT (scroll screen down).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 23:27:07 +00:00
Ingo Weinhold
1dd3570350 Fixed \ESC[%d;%dr (set scroll region) for omitted second parameter.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 23:22:39 +00:00
Ingo Weinhold
3f6008436d Support for \ESC[%dS (scroll screen up).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 23:15:26 +00:00
Ingo Weinhold
0dd40534eb Also invalidate the cursor position when it remains the same, but the
screen was scrolled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 23:13:58 +00:00
Ingo Weinhold
00b997a8f8 Missing invalidation when inserting space.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 22:38:38 +00:00
Ingo Weinhold
079eccf655 Removed data/etc/termcap. We use termcap.src from src/libs/termcap/
instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 22:18:39 +00:00
Jérôme Duval
6ae6d56c27 added debug output for accessed codec registers in case of timeout
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 22:05:53 +00:00
Jérôme Duval
49a0ff0c19 updated freetype to 2.3.6
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 20:51:14 +00:00
Jérôme Duval
4498384dd3 added support for dumping B_RGB15 and B_CMAP8 colorspaces
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 18:41:31 +00:00
Axel Dörfler
2d5f339dec Patch by Christopher Plymire, style-reworked by myself:
* first steps of supporting LVDS panels.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 18:01:34 +00:00
Jérôme Duval
8604e5edd7 fix some warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 16:36:38 +00:00
Ingo Weinhold
c85eff1991 Incorrect array index calculation in case of scrolling only part of the
screen (as vim does for instance). Should fix #2382 and #2386.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 16:24:37 +00:00
David McPaul
44820a5d88 Correct error message and minor layout changes to InfoWin
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 13:22:50 +00:00
David McPaul
f54f956131 Update matroska to latest support library versions (libmatroskaparser 1.31)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 13:18:51 +00:00
Alexandre Deckner
157cd8913e - Calculating the space left for deskbar replicants was broken. The TimeView could overlap on the left. This fixes #1408
- Placement of the time text was broken. With big fonts, the text was way too low. Using text bounding box now, it looks pretty and robust too.
- Fixed the height of the time view to the replicant height. The view has a fixed height now and can never overlap deskbar at the bottom (horizontal deskbar mode) or other replicant 
below.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 13:14:46 +00:00
Ingo Weinhold
272f87d67b Fixed various layout/size related issues (mostly off-by-one bugs). The
terminal opens with the correct size, now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 01:30:10 +00:00
Ingo Weinhold
535841fcb5 If it extended to the end of the line the length of the last attributes
run of a history line would not be initialized correctly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-15 21:52:51 +00:00
Maurice Kalinowski
53779f07a4 fix gcc4 warning about wrong argument type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-15 19:21:00 +00:00
Karsten Heimrich
6af681d7e6 * update year in copyright
* added a bit more (visual)  information about the spool file format
* rename Configuration to PrintServerMessenger (still not the best name)
* remove ConfigPage{Job}Thread as both share the same code and make it privte in PrintServerMessenger



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-15 17:37:07 +00:00
Ingo Weinhold
5fcf3f86e8 Unset the text buffer listener when being detached from the window, and
synchronize with the text buffer when being re-attached. Fixes the
problem that after switching to another tab and back ongoing output
wouldn't show anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-15 16:17:32 +00:00
Ingo Weinhold
ecd79a2cc1 Allow unsetting the listener. With multiple tabs there's only one
terminal view that is attached to the window and can receive messages at
all.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-15 16:13:33 +00:00
Oliver Ruiz Dorantes
91f7786bc3 test
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-15 14:40:03 +00:00
Rudolf Cornelissen
fab07df0fb test commit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-15 12:39:39 +00:00
Stephan Aßmus
9977d172f0 Keep the last changes more in the style of the rest of the file. (Nice
catch, btw, Michael!)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-15 10:41:54 +00:00
Ingo Weinhold
799a9a3449 * TermWindow does maintain a separate Session list instead of doing
nasty things with the tab view.
* The tabs are named "Shell <number>" now, which is somewhat more
  useful than all being named "Terminal". This is similar to Konsole and
  we should probably also support setting the tab name by the user.
  Until Haiku supports persistent sessions, that is not really useful,
  though.
* Shift-Left/Right iterates through the tabs, now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-15 02:18:31 +00:00
Ingo Weinhold
4ce4bc3096 Made RemoveAndDeleteTab() virtual, so it can be overridden. Deleting the
view without notifying anyone isn't always desirable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-15 02:13:09 +00:00
Ingo Weinhold
17b889de67 * Changed TerminalLine::length from int16 to uint16.
* BasicTerminalBuffer::Init() no longer uses _ClearLines() to clear
  the screen lines, since that expects the lines to be somewhat valid
  at least and also needlessly updates the dirty region.
* _ClearLines() always clears lines, even if they were empty. This way
  the "softBreak" flag is cleared too.
* Be a bit more careful when multiplying a potentially negative signed
  number by an unsigned one. Shouldn't have caused a problem in this
  case, though.

Either of the first three items should fix #2379.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-15 01:02:55 +00:00