summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Ira W. Snyder [Fri, 18 Jan 2008 06:26:16 +0000 (22:26 -0800)]
Add debugging macros + use them
This adds three debugging macros (debug_enter(), debug_assert() and
debug_printf() for use printing debugging information. They are #define'd
in the same style as those in the Linux Kernel.
If DEBUG is defined, they do something useful, otherwise, they are compiled
away to nothing.
Ira W. Snyder [Fri, 18 Jan 2008 04:11:44 +0000 (20:11 -0800)]
[Window] Add centering capability
Add the missing implementations of the "centered-horizontally" and
"centered-vertically" properties. They now work as expected.
Ira W. Snyder [Fri, 18 Jan 2008 02:02:48 +0000 (18:02 -0800)]
[Window] Add more hardcoded settings for testing
Add some more settings which are just hardcoded in the source for the sake
of testing until the configuration system is integrated.
Ira W. Snyder [Fri, 18 Jan 2008 02:01:37 +0000 (18:01 -0800)]
Add ability to build in "see what symbols aren't used" mode
This is a very performance-degrading option, if turned on. Luckily, it's
only at build time. Since this project isn't autoconfed yet, we'll just
uncomment the proper options by hand.
Ira W. Snyder [Fri, 18 Jan 2008 01:11:06 +0000 (17:11 -0800)]
[Window] Add "hidden-at-start" support
Adding this feature required some fixes in TildaTerminal. Some widgets
weren't being shown at the right time. This was masked by the
gtk_widget_show_all() in the TildaWindow start-up code.
Ira W. Snyder [Fri, 18 Jan 2008 00:55:32 +0000 (16:55 -0800)]
[Window] Bugfixes in pull() code
This fixes numerous bugs in the pull() code. Some window properties were
being reset by Metacity when the window was hidden, so we must re-set them
every single time the window is re-shown. Lame.
Also, Metacity iconified (minimized) the window if it was pulled down on
one workspace, pulled up while on another workspace, then pulled down on
the current workspace. We'll have to work around that (stupid) behavior
too. Doubly lame.
Ira W. Snyder [Fri, 18 Jan 2008 00:42:50 +0000 (16:42 -0800)]
[Window] Add more property implementations
Gives most of the remaining directly-settable NOOP properties the correct
implementation.
Ira W. Snyder [Fri, 18 Jan 2008 00:27:01 +0000 (16:27 -0800)]
[Window] Rename property "pinned" to "stick"
This change continues the trend of keeping our properties the same as those
which we are exporting from GtkWindow.
Ira W. Snyder [Fri, 18 Jan 2008 00:21:28 +0000 (16:21 -0800)]
[Window] Rename property "show-in-taskbar" to "skip-taskbar-hint"
This change continues the trend of keeping our properties the same as those
which we are exporting from GtkWindow.
Ira W. Snyder [Thu, 17 Jan 2008 05:57:49 +0000 (21:57 -0800)]
[Window] Make TildaWindow respect size changes
This makes TildaWindow respect changes in its size via the "height" and
"width" properties. Previously, these were NOOPs.
Ira W. Snyder [Thu, 17 Jan 2008 05:52:47 +0000 (21:52 -0800)]
[Window] Rename max-height and max-width properties
Rename the max-height and max-width properties to height and width,
respectively. Now that min-height and min-width are gone, there is no need
for the "max" prefix.
Ira W. Snyder [Thu, 17 Jan 2008 05:11:58 +0000 (21:11 -0800)]
[Window] Remove min-height and min-width properties
The min-height and min-width properties are unused in the 0.9.6pre version
of Tilda, so remove them from this version. I haven't heard anyone asking
for us to keep Tilda "partially-open" when pulled up, so for now, this
feature can disappear.
Ira W. Snyder [Wed, 16 Jan 2008 21:07:43 +0000 (13:07 -0800)]
[Window] Focus the VteTerminal when pulled down
This has the PULL_DOWN code automatically focus the VteTerminal
so that the user can begin typing. This was originally handled by
a callback, but this seems not to be necessary. It seems easier to
handle it in the PULL_DOWN code.
Ira W. Snyder [Wed, 16 Jan 2008 20:19:44 +0000 (12:19 -0800)]
[Window] Hide window decorations
The window decorations should not be shown, ever.
Ira W. Snyder [Wed, 16 Jan 2008 20:16:42 +0000 (12:16 -0800)]
[Window] Add positioning capability
The TildaWindow class had the capability to set the x-position and
y-position properties, but they had no effect. This adds the appropriate
gtk_window_move() calls so the position is set up correctly.
Ira W. Snyder [Wed, 16 Jan 2008 07:05:45 +0000 (23:05 -0800)]
Add a basic pull() workalike
This really needs to be expanded into the full pull() that the
old Tilda has, but this is great for testing.
Ira W. Snyder [Wed, 16 Jan 2008 01:33:13 +0000 (17:33 -0800)]
Import utilities from Tomboy
This imports the global keybinder, along with its dependencies, as well
as the improved presentation functions (to deal properly with focus-stealing)
from Tomboy (http://www.gnome.org/projects/tomboy/). Thanks GPL!
The keybinder is minimally modified from the tomboy version. Instead of
returning void, it returns a gboolean indicating whether or not the
key-grab was successful.
The utilities package has only the #include "config.h" removed.
Ira W. Snyder [Tue, 15 Jan 2008 23:17:42 +0000 (15:17 -0800)]
[Window] Add all properties
This adds all of the properties that were present in the old Tilda. Note
that currently, none of them have implementations, so nothing more than
getting / setting works.
Ira W. Snyder [Tue, 15 Jan 2008 21:59:37 +0000 (13:59 -0800)]
[Terminal] Add scrollbar-position property
This was originally going to go in the TildaWindow class, but it really
is nice to have the scrollbar position customizable on a per-terminal
basis.
Ira W. Snyder [Tue, 15 Jan 2008 03:53:40 +0000 (19:53 -0800)]
[Terminal] Add URL matching support
This adds the excellent URL matching support, mostly copied from the old
tilda_terminal.c.
Ira W. Snyder [Tue, 15 Jan 2008 03:52:20 +0000 (19:52 -0800)]
Build with DEBUG defined
This will make sure that all extra debugging information is turned on, which
is especially important during this phase.
Ira W. Snyder [Mon, 14 Jan 2008 21:08:18 +0000 (13:08 -0800)]
[Terminal] Add web browser property
This adds the web-browser property to TildaTerminal. It will be used to
set the user's desired web browser for use when right clicking on WWW
hyperlinks.
Ira W. Snyder [Mon, 14 Jan 2008 08:24:43 +0000 (00:24 -0800)]
[Terminal] Add transparency support
This adds the ability to specify transparency. With the earlier TildaWindow
changes, this should give true transparency in a composited environment,
but falls back to fake transparency if true transparency is not available.
Ira W. Snyder [Mon, 14 Jan 2008 08:21:28 +0000 (00:21 -0800)]
[Window] Set up real transparency if possible
This adds the RGBA colormap code so that it is possible to have true
transparency if you have a compositor enabled.
Ira W. Snyder [Mon, 14 Jan 2008 07:47:10 +0000 (23:47 -0800)]
[Terminal] Make dynamic titles work properly
Dynamic title generation was not working at all before, now it is
handled by tilda_terminal_window_title_changed_cb().
Ira W. Snyder [Mon, 14 Jan 2008 07:32:02 +0000 (23:32 -0800)]
Make tilda generate only one TildaWindow at launch
The code for automatically figuring out TildaWindow numbers has been
sufficiently tested. The generation of 4 TildaWindows at launch is
no longer needed. One is sufficient for testing from here on out.
Ira W. Snyder [Mon, 14 Jan 2008 06:56:38 +0000 (22:56 -0800)]
[Terminal] Add proper handling of exit_action
This makes TildaTerminal do the proper thing when the child exits, according
to the exit_action member.
Ira W. Snyder [Mon, 14 Jan 2008 06:55:05 +0000 (22:55 -0800)]
[Window] Add tilda_window_remove_term() implementation
Before this, the tilda_window_remove_term() function was just a stub. This
fills it out to a real implementation, which will be used later to close
running terminals.
Ira W. Snyder [Mon, 14 Jan 2008 06:50:34 +0000 (22:50 -0800)]
[Terminal] Add mouse autohide property
This adds the capability to set the mouse to automatically hide itself when
typing into the terminal.
Ira W. Snyder [Mon, 14 Jan 2008 04:53:57 +0000 (20:53 -0800)]
[Terminal] Add tilda_terminal_start_shell()
This adds real capability of starting shells properly to TildaTerminal.
It will now start the proper shell on startup, as well as launching whatever
the user requested by setting the shell member.
Ira W. Snyder [Sat, 12 Jan 2008 21:20:00 +0000 (13:20 -0800)]
[Terminal] Add all properties
Add all of the definitions for all of the properties. Only some of
them are currently fully functional, however.
Ira W. Snyder [Sat, 12 Jan 2008 05:42:04 +0000 (21:42 -0800)]
Make TildaWindow properly generate terminal numbers
This removes the ugly hack of using a static variable to give
unique terminal numbers, and instead determines the correct
terminal number at runtime.
Ira W. Snyder [Sat, 12 Jan 2008 05:34:09 +0000 (21:34 -0800)]
Make TildaWindow determine number correctly
Rather than just using a static, monotonically increasing number
for the TildaWindow numbers, actually have tilda figure out the
correct number.
Ira W. Snyder [Fri, 11 Jan 2008 05:49:49 +0000 (21:49 -0800)]
Hook into DBus
This hooks both TildaWindow and TildaTerminal into DBus so that
methods can be called remotely. This makes all of the requested
scripting possible, which will be great.
This is mainly good for testing. The only functions that are exposed
are the Get and Set properties of the GObjects. I wired in the font-size
change in the terminal, so it is possible to see it in action.
Ira W. Snyder [Fri, 11 Jan 2008 04:45:23 +0000 (20:45 -0800)]
Move main() into its own file
This moves main() into its own file, which paves the way for a little
more realism in the design, and gets us set up for trying out DBus.
Ira W. Snyder [Fri, 11 Jan 2008 03:32:30 +0000 (19:32 -0800)]
Hook TildaTerminal and TildaWindow together
This is the most basic of connections, but it's a good point to start
testing with. We can add tabs to a TildaWindow, and all appears to work
as expected, so far.
Ira W. Snyder [Thu, 10 Jan 2008 01:20:17 +0000 (17:20 -0800)]
[Window] Get set up for integration with TildaTerminal
Ira W. Snyder [Thu, 10 Jan 2008 01:13:43 +0000 (17:13 -0800)]
[Terminal] Get ready for integration with TildaWindow
Ira W. Snyder [Wed, 9 Jan 2008 07:33:55 +0000 (23:33 -0800)]
[Terminal] Add enum types
This should probably be changed to use actual, GType-derived
enum types, instead of faking it with ints.
Ira W. Snyder [Wed, 9 Jan 2008 07:04:31 +0000 (23:04 -0800)]
[Terminal] Add Integer properties
Add the normal integer properties.
Ira W. Snyder [Wed, 9 Jan 2008 05:32:30 +0000 (21:32 -0800)]
[Terminal] Add string properties
This adds the first basic implementation of getting / setting all
of the string properties that will be used in TildaTerminal.
Ira W. Snyder [Tue, 8 Jan 2008 21:24:27 +0000 (13:24 -0800)]
Initial Commit