Skip to content

Commit

Permalink
New import
Browse files Browse the repository at this point in the history
git-svn-id: http://tint2.googlecode.com/svn/trunk@13 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
  • Loading branch information
[email protected] committed Oct 2, 2008
1 parent a5f3607 commit 420dd5d
Show file tree
Hide file tree
Showing 46 changed files with 5,231 additions and 0 deletions.
9 changes: 9 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Developed by:
Thierry Lorthiois <[email protected]>, project maintainer
Pål Staurland <[email protected]>, tint2 is based on ttm originally written by Pål Staurland


Contributors:
Daniel Moerner <[email protected]>, man page


340 changes: 340 additions & 0 deletions COPYING

Large diffs are not rendered by default.

252 changes: 252 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,252 @@


2008-09-30
- change tintrc format
background and border can use linear gradiant
- update documentation

2008-09-24
- change tintrc format
user can define a list of background and border at the beginning of tintrc
and each object (panel, taskbar, task, clock, systray) get a background number.
the background number 0 is reserved by tint2 for full transparency.
user's background start with number 1, 2, ...

2008-09-22
- better control on icon opacity
icon opacity use the same value as text opacity

2008-09-21
- new parameter task_text = 0 or 1
so you can show task's icon without text
- remove task_icon_size parameter because icon_size is calculate with task->padding_y

2008-09-19
- improve clock drawing on 2 lines
- new design : object oriented
clock inherit Area (with draw_background)
- rename parameter 'panel_mode' in 'taskbar_mode'

2008-09-17
- change name from tint to tint2 because debian has already a package named tint
- new design : object oriented
tasks inherit Area
taskbars inherit Area

2008-09-16
- new design : object oriented
remove task_margin parameter, replaced by taskbar_padding
fixed segfault with new layout

2008-09-04
- new design : object oriented
all objects inherit from Area : panel, taskbar, task, clock

2008-09-02 licence changed to GPL V2
> Hi Pål,
> Since latest release (tint-0.6), I try to merge a systray in tint.
> The code I would like to merge is under GPL V2 licence.
> So are you agree to change the licence of tint to GPL V2 ?
Pål Staurland answer :
Yeah no problem::)

2008-08-17 patch from [email protected]
- fixed bug : "Task button titles do not update"

2008-08-12
- code cleanup : Taskbar use GSLIST from glib

2008-08-07
- add 1 space between task title and icon

2008-07-25
- fixed bug when (task_rounded > panel_height/2)


----------------------------------------------------------------
2008-07-20 thil7 <[email protected]>
released tint-0.6

2008-07-19
- backward compatibility : save new config file

2008-07-18
- bug fixed with multi-monitor : memory leak, move task on the same monitor

2008-07-12
- multi_monitor : added window_get_monitor(win)

2008-07-05
- multi_monitor : changed taskbar allocation when add/remove a monitor
- update documentation

2008-07-04
- changed in config file, panel_show_all_desktop
replaced by panel_mode = single_desktop / multi_desktop / multi_monitor
- with panel_mode = multi_monitor, tint show one taskbar by monitor

2008-07-02
- add xinerama dependency
- read monitors configuration
- tint will run in 'sleep_mode'
if you specify 'panel_monitor' on an unplug monitor
- tint 'wake up' when the monitor is detected or resolution changed

2008-06-30 patch from [email protected]
- tint wait for window manager on startup

2008-06-29
- specify monitor with parameter 'panel_monitor'
- panel_position is relative to your monitor
panel_monitor = 1
panel_position = bottom center

2008-06-24
- fixed bug : show tint on all desktop with fluxbox

2008-06-23
- task_width = 0 to get full taskbar width
- added documentation in /doc

2008-06-16
- renamed parameter panel_margin to panel_padding
- added parameter panel_margin = vertical_margin horizontal_margin

2008-06-15
- fixed bug : icon position changed when clock adjust width
- removed boolean parameter panel_background and task_background
replaced with opacity (alpha) = 0
- removed task_active_border_width parameter
identical to task_border_width
- fixed bug : draw task below panel border

2008-06-11
- removed the need of desktop margin.
tint specify margin to window magager (_NET_WM_STRUT)

2008-06-10
- fixed bug : time/date vertical and horizontal center

2008-06-10 patch from benjaminfranzke
- fixed bug : draw icon on 64bit system.

2008-06-08
- fixed bug : in draw border and fill background

2008-06-04
- allow config file on the command line : tint -c ./tintrc2
- allow 2 value in config file : key = value1 value2
- panel_margin can get 2 values : vertical_margin horizontal_margin
panel_margin = 8 4

2008-05-30
- put panel below other window
- set locale LANG

2008-05-28
- clock_width adjust automatically
- configure : time2_format see 'man strftime'

2008-05-27
- configure : time1_format see 'man strftime'
- cleanup code : refresh_pos()

2008-05-26
- catch time event in main loop
- draw clock fixed format %H:%M

2008-05-24
- removed boolean parameter task_icon
task_icon_size = 0 replace task_icon = 0
- all colors parameters can get 2 values : color and opacity (alpha)
font_color = #ffffff 70

2008-05-23
- cpu optimisation : limit call to visual_refresh()

2008-05-22
- configure clock : clock_font, clock_font_color


----------------------------------------------------------------
2008-05-20 thil7 <[email protected]>
released tint-0.5

2008-05-19
- improve usability in mode 'show_all_desktop'
-> don't switch desktop when close a task of another desktop
-> allow to drag and drop task between desktop
- change panel_position : you can now specify top or bottom.
values : bottom left, bottom right, bottom center, top left, top right, top center
keep compatibility with old tintrc files
- change Makefile :
add $PREFIX and $DESTDIR
install default config file in /etc/xdg/tint/tintrc
- on startup, tint copy $XDG_CONFIG_DIR/tint/tintrc in ~/.config/tint/tintrc
so each user can customize tintrc
- fixed : name of task in fluxbox
- improve focus detection (TransientForHint)
- cleanup code : send_event


----------------------------------------------------------------
2008-05-14 thil7 <[email protected]>
released tint-0.4

2008-05-12
- boolean option 'show_all_desktop'
0 : tint panel show one taskbar (from current desktop)
1 : tint panel show all taskbars (from all desktops)
- clic on a task switch to the desktop
- clic on a taskbar (if empty) switch to the desktop
- add layout for taskbar : panel -> taskbar -> task
- cleanup code : state 'active' in Task replaced by task_active in Panel
- hide some window : _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_STATE_MODAL
- change project to 'MIT licence'
because Pål Staurland put 'MIT licence' in all file source


----------------------------------------------------------------
2008-05-10 thil7 <[email protected]>
released tint-0.3

2008-05-10
- manage events : 'send to desktop' and 'send to all desktop'
- bug solved : 'close' action now send _NET_CLOSE_WINDOW
so openoffice ask 'save document...' if needed
- cpu optimisation :
-> don't redraw panel background on all events. just when desktop change.
-> don't remove/add all tasks when switch between desktop. remove 'task_new_desktop()'.
- small bug on _NET_WM_STATE_SKIP_TASKBAR corrected
- memory leak on g_build_filename


----------------------------------------------------------------
2008-05-09 thil7 <[email protected]>
released tint-0.2

2008-05-08
- panel : add rounded and border (color and alpha)
- remove option 'panel_tasks_centered'
- user can configure mouse event on task
(none, toggle, iconify, shade, close, toggle_iconify)

2008-05-07
- cpu optimisation : resize_tasks only when add/remove task,
compute pos_y at startup

2008-05-04
- task width adjust when too many task

2008-05-01
- task : add rounded and border (color and alpha)
- panel position (left, right, center) thank to ak47izatool
- cleanup code : vertical position (icon and text),
better refresh after delete task, memory leak *font
- panel : changed panel_margin and task_margin

2008-04-22
- fork ttm projet from p://code.google.com/p/ttm/ (by Pål Staurland [email protected])
while the projet is no longer in developpement, have not changed the name of 'tint'.


18 changes: 18 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
DEPENDENCIES:
cairo, pango, glib, imlib2

---------------------------------------------------------
INSTALL:

cd to "src" and type "make"
as root type "make install"

execute "tint2"
or "tint2 -c path_to_config_file"

documentation is in /doc

check http://code.google.com/p/tint2/
for latest release, documentation and sample config file.


50 changes: 50 additions & 0 deletions doc/man/tint2.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH TINT 1 "2008-09-05"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
tint \- lightweight taskbar
.SH SYNOPSIS
.B tint
.br
.B tint
.RI -c
.IR /path/to/config/file
.SH DESCRIPTION
This manual page documents briefly the
.B tint
command.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBtint\fP is a simple panel/taskbar intentionally made for openbox3, but
should also work with other window managers. It's based on ttm code. The goal is to keep a clean and unintrusive look with code lightweight and
compliance with freedesktop specifications.
.PP
On the first startup tint creates a config file in $HOME/.config/tint/tintrc.
See the /usr/share/tint2/doc directory for more information.
.SH OPTIONS
.TP
.B \-c config-file
Specify which configuration file to use instead of the default.
.SH AUTHOR
tint was written by Thierry Lorthiois <[email protected]>. It is based on
ttm, originally written by Pål Staurland <[email protected]>
.PP
This manual page was written by Daniel Moerner <[email protected]>,
for the Debian project (but may be used by others). It was adopted from the
tint docs.
Binary file added doc/tint2-0.7.odt
Binary file not shown.
Binary file added doc/tint2-0.7.pdf
Binary file not shown.
36 changes: 36 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#CFLAGS="-O2"
FLAGS=-Wall -g `pkg-config --cflags --libs cairo pangocairo x11 xinerama imlib2 glib-2.0`
PROGNAME=tint2
FILES=tint.c server.c panel.c config.c taskbar/task.c taskbar/taskbar.c clock/clock.c systray/docker.c systray/icons.c systray/kde.c systray/net.c systray/xproperty.c util/window.c util/area.c

ifndef DESTDIR
ifndef PREFIX
BINDIR=/usr/bin
XDG_CONFIG_DIR=/etc/xdg
else
BINDIR=$(PREFIX)/bin
XDG_CONFIG_DIR=/etc/xdg
endif
else
BINDIR=$(DESTDIR)/usr/bin
XDG_CONFIG_DIR=$(DESTDIR)/etc/xdg
endif


$(PROGNAME): $(FILES) $(SYSTRAYOBJ)
$(CC) $(CFLAGS) $(FLAGS) -I. -Iutil -Iclock -Itaskbar -Isystray -o $(PROGNAME) $(FILES)
strip $(PROGNAME)

install:
mkdir -p $(BINDIR)
mkdir -p $(XDG_CONFIG_DIR)/tint2
install $(PROGNAME) $(BINDIR)
cp -f ../tintrc06 $(XDG_CONFIG_DIR)/tint2/tint2rc
cp -f ../doc/man/tint2.1 /usr/man/man1

uninstall:
rm -f $(BINDIR)/$(PROGNAME)

clean:
rm -f $(PROGNAME)

Loading

0 comments on commit 420dd5d

Please sign in to comment.