Jiří Techet 0acb273c55 Rewrite tab switching queue
There was one more bug related to the tab switching. When we switch
so many times that we return back to the original document (so we
actually don't switch at all) then the following switch attempt
doesn't switch immediately to the next document.

After spending two hours thinking what is wrong, I gave up and rewrote
the whole thing in a different way. The problem with the previous
implementation was that before you couldn't just look what's in the queue
"now" - you had to imagine what will be inserted there in the next step
because the switch_in_progress variable was set after the first switch
(this is also why I put the long comment why mru_pos = 2 - that is not
clear at all when you first look at it). Also there were some not very
nice "workarounds" like the idle function that was executed after the
switch and removed the double entry on top of the queue.

So with the new implementation things are much simpler IMO. The queue
starts with the current document and the previously opened documments
follow. It's *always* like that, no exceptions. The idle function
is gone and cb_func_switch_tablastused() is simplified too. The rest of
the functionality should be clear from the code.

Signed-off-by: Jiří Techet <techet@gmail.com>
2011-12-24 12:29:51 +01:00
2011-12-18 18:47:56 -08:00
2011-12-24 12:29:51 +01:00
2011-11-11 16:41:52 +01:00
2011-10-07 16:47:31 +00:00
2009-02-15 14:06:12 +00:00
2011-03-02 22:58:02 +00:00
2011-10-28 10:25:58 -07:00
2011-10-03 14:39:01 +00:00
2011-10-09 22:57:35 +02:00
2011-10-28 10:25:58 -07:00
2011-12-10 16:34:40 -08:00
2005-11-22 11:51:30 +00:00
2011-10-22 02:01:04 +02:00
2011-11-11 16:41:52 +01:00
2011-11-06 12:36:38 +01:00
2011-10-03 14:39:01 +00:00
waf
2010-11-14 20:44:00 +00:00
2011-10-03 14:39:01 +00:00
2011-12-11 15:07:56 +01:00

Geany - A fast and lightweight IDE
----------------------------------


About
-----
Geany is a small and lightweight integrated development environment.
It was developed to provide a small and fast IDE, which has only a
few dependencies from other packages. Another goal was to be as independent
as possible from a special Desktop Environment like KDE or GNOME. So it
is using only the GTK2 toolkit and therefore you need only the
GTK2 runtime libraries to run Geany.


Features
--------
The basic features of Geany are:
- syntax highlighting
- code completion
- auto completion of often used constructs like if, for and while
- auto completion of XML and HTML tags
- call tips
- folding
- many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal
- symbol lists
- embedded terminal emulation


Requirements
------------
For compiling Geany yourself, you will need the GTK (>= 2.16.0)
libraries and header files. You will also need its dependency libraries
and header files, such as Pango, Glib and ATK. All these files are
available at http://www.gtk.org.

Furthermore you need, of course, a C compiler and the Make tool; a C++
compiler is also needed for the required Scintilla library included. The
GNU versions of these tools are recommended.


Installation
------------
Installing Geany is done by the following three commands:
$ ./configure
$ make
(as root)
% make install

For more configuration details run
$ ./configure --help

If there are any errors during compilation, check your build environment
and try to find the error, otherwise contact the mailing list or one of
the authors.

See the manual for details (geany.txt/geany.html).


Usage
-----
To run Geany just type
$ geany
on a console or use the applications menu from your desktop environment.
There a few command line options. See the manual page of Geany or run
$ geany --help
for details. Or look into the documention in the doc/ directory.
The most important option probably is -c or --config, where you can
specify an alternate configuration directory.


Windows
-------
Geany runs also under Windows. To download the binary with all necessary
files, visit Geany's homepage. But you should know, that the Windows
version is not yet well tested and there are some features missing:
- build support (implemented but might be still buggy)
- embedded terminal emulation (VTE)
- Windows 9x users: in order to run Geany on Windows 95, 98 or ME you
  need to install the file SHFolder.dll either in the Geany installation
  directory or in your Windows directory. For more information please
  visit http://support.microsoft.com/kb/241733.


License
-------
Geany is distributed under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.  A copy of this license
can be found in the file COPYING included with the source code of this
program.
The included Scintilla library (found in the subdirectory scintilla/)
has its own license, which can be found in the file scintilla/License.txt
included with the source code of this program.


Ideas, questions, patches and bug reports
-----------------------------------------
See http://www.geany.org/
If you add something, or fix a bug, please send a patch (in 'diff -u'
format) to the mailing list or one of the authors. Also see the HACKING
file.


--
2005-2011 by Enrico Tröger, Nick Treleaven, Colomban Wendling, Matthew Brush and Frank Lanitz
enrico(dot)troeger(at)uvena(dot)de
nick(dot)treleaven(at)btinternet(dot)com
lists(dot)ban(at)herbesfolles(dot)org
mbrush(at)codebrainz(dot)ca
frank(at)frank(dot)uvena(dot)de
Description
No description provided
Readme 60 MiB
Languages
C 55.7%
C++ 32.9%
VHDL 3%
TeX 2.2%
Fortran 0.7%
Other 4.4%