summaryrefslogtreecommitdiff
path: root/src/fe-common/core/window-commands.c
AgeCommit message (Collapse)Author
2016-01-08reorder history add and fixesailin-nemui
2016-01-08option to clear the historyailin-nemui
2015-04-07Change all strcmp() to g_strcmp0() to handle nulls gracefullydequis
Just a string replacement (but i did check every one of them) sed -i 's/strcmp(/g_strcmp0(/g' **/*.c
2014-09-11source cleanup: remove trailing whitespacesMichael Vetter
2010-03-25Minor documentation tweak. Thanks to suom1 and mofo.Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5130 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-09-02Add active_window_ignore_refnum optionJilles Tjoelker
With active_window_ignore_refnum = ON, the current behavior for the active_window key (meta-a by default) is preserved: windows are cycled in the order of most recent activity, highest activity first. With active_window_ignore_refnum = OFF, the old behavior is used: windows are cycled in the order of most recent activity, where ties of equally high activity are broken by refnums. Windows with lower refnums and equal activity will be chosen first. Submitted by Matt Sparks Bug #667 git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5096 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-05Restore the behaviour of active_window to go to the window with most recent ↵Emanuele Giaquinta
activity between the ones with highest data level, and make actlist_sort = level match this ordering. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4798 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09Use g_ascii_str{,n}casecmp for case insensitive comparison withEmanuele Giaquinta
ascii only strings. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-04Fix /window goto to reach all the items with the same name when thereEmanuele Giaquinta
are more than two. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4595 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-10Make /window goto start searching at the window after the active one and stopEmanuele Giaquinta
at the one before, bug #332. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-04Change active_window to select, when there is more than one windowEmanuele Giaquinta
with the highest data level, the window with the lowest refnum. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4538 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Oops. Update address correctly now.Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Update FSF addressWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-11-22Fix typo in help for window closeWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3683 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-18Make cmd_window_item_goto use cmd_get_params, so "/WINDOW ITEM GOTO ↵Wouter Coekaerts
item<space>" (for example) works git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3323 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-15/WINDOW NAME x, /WINDOW NAME X shouldn't complain about existing windowTimo Sirainen
having same name. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3001 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14/UNQUERY and /WINDOW GOTO now ignores trailing whitespaceTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2942 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14added /WINDOW MOVE FIRST and /WINDOW MOVE LAST.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2923 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14window->active_server used to hold non-connected servers, but that wasTimo Sirainen
removed before because it created several problems, especially with scripts. however that change made /server and /disconnect annoying to use with non-connected servers. so, now we have window->connect_server as well. either active_server or connect_server is set, but never both. commands that can deal properly with non-connected servers can now use the connect_server, while everyone else happily thinks that no server is active. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2921 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-29/FOREACH WINDOW /WINDOW CLOSE could crash irssi.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2907 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-16Better !channel support - window items now have "visual_name" and channelsTimo Sirainen
and queries also have "name". Normally they're identical but with !channels the visible_name contains the short !channel name, while name contains full !ABCDEchannel name. The visible_name should be used whenever displaying the channel name, or as printtext()'s target. So, this breaks a few scripts in !channels, they need to be modified to use $channel->{visible_name} instead. Also /LAYOUT SAVE should finally work properly with !channels. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-17/WINDOW ITEM GOTO now accepts a number too, to jump to nth window item.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2693 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-14/WINDOW NAME now ignores if you're setting same name to it withoutTimo Sirainen
complaining. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2679 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-11"/WINDOW IMMORTAL" shows the mortal-state. Error messages are printed inTimo Sirainen
active window. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2428 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10Support for "immortal" windows, that can't be closed until explicitly set toTimo Sirainen
mortal with /WINDOW IMMORTAL OFF. Status and msgs windows are immortal by default. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2422 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20Added command history groups, set them with /WINDOW HISTORY. Patch by ↵Timo Sirainen
peder@ifi.uio.no git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25/WINDOW NAME now complains if you try to change the window's name toTimo Sirainen
something that's already in use. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2140 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29/WINDOW SERVER -unsticky crashed irssi if it was used when you weren't ↵Timo Sirainen
connected to server. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1939 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-08/WINDOW ITEM MOVE didn't work properly if there was space after parameterTimo Sirainen
(..which tab-completion added..) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1779 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12/WINDOW CLOSE <first> didn't work if <last> too wasn't specified..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1737 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07Restoring layout for split windows works betters now. Some sticky windowTimo Sirainen
changes/fixes. Renamed /WINDOW MOVE LEFT|RIGHT -> PREV|NEXT, added commands /WINDOW MOVE UP|DOWN|LEFT|RIGHT. The new LEFT|RIGHT now moves the window only inside split windows. mainwindows-save.c -> mainwindows-layout.c git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03Added sticky window information to /WINDOW.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1701 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03Minor cleanup.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1700 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03/WINDOW command now prints all information related to window.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15Previous foreach fixes to /FOREACH WINDOW too.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27Added -delete option to /WINDOW THEME. /WINDOW THEME without parametersTimo Sirainen
prints the active theme. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11/WINDOW SERVER -sticky / -unsticky crashed if the tag wasn't given andTimo Sirainen
there was no active server in window git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1553 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15/WINDOW CLOSE [<first> [<last>] - you can close multiple windows once now.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1396 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-27/WINDOW PREV -> /WINDOW PREVIOUSTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1301 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21/SAVEWINDOWS -> /LAYOUT SAVE. Added /LAYOUT RESET. Initialize GLib logTimo Sirainen
-> Irssi windows _after_ windows are created.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1278 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21/FOREACH server|channel|query|window <command>Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20Reload theme after /SET theme if it was modified.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1265 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10/WINDOW SERVER: added -sticky and -unsticky options. If window serverTimo Sirainen
is sticky, it will never be automatically changed, and it cannot be changed to anything else without -unsticky option. Should be useful for people who want status or msgs windows for each server. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1196 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28Added TXT_WINDOW_LEVEL, changed most of the /WINDOW commands to printTimo Sirainen
output to active window, not status window. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1152 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09Highlighting cleanups. Added /HILIGHT -priority option.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1098 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07In core/module-formats.h: IRCTXT_ -> TXT_Timo Sirainen
Added "message irc ctcp" signal to print CTCPs git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1094 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04/WINDOW NUMBER: fixed small memory leakTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01/WINDOW NUMBER: -sticky option added. Closing windows before a stickyTimo Sirainen
window won't change refnum of the sticky window and windows after it git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1046 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01window_item_create(): when there's multiple choices where the windowTimo Sirainen
item could be placed, the first window is now selected instead of the last accessed one of them (which most people think of as a random window). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1040 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02window_[add|remove]_item -> window_item_[add|remove]Timo Sirainen
added window_item_destroy(), window_item_remove() doesn't destroy the item anymore window_find_item()'s first parameter changed from WINDOW_REC to SERVER_REC git-svn-id: http://svn.irssi.org/repos/irssi/trunk@922 dbcabf3a-b0e7-0310-adc4-f8d773084564