summary refs log tree commit diff stats
Commit message (Expand)AuthorAgeFilesLines
* ospaths can always be imported; fixes #4249Andreas Rumpf2016-07-061-1/+1
* Merge pull request #4458 from cheatfate/fixtest1Andreas Rumpf2016-07-061-0/+1
|\
| * Resolve problems with test on macosx.cheatfate2016-07-061-0/+1
|/
* added test case for #537Andreas Rumpf2016-07-061-0/+42
* Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2016-07-0625-1574/+3914
|\
| * Merge pull request #4456 from yglukhov/vm-ct-argsAndreas Rumpf2016-07-062-1/+10
| |\
| | * Fixed vm codegen for a call with compile-time args. Fixes #4412.Yuriy Glukhov2016-07-062-1/+10
| * | Merge pull request #4455 from mbaulch/fix_excl_examplesAndreas Rumpf2016-07-061-3/+3
| |\ \ | | |/ | |/|
| | * Update sets examples so they work again.Matthew Baulch2016-07-061-3/+3
| * | Merge pull request #4449 from mbaulch/fix4003Andreas Rumpf2016-07-061-0/+1
| |\ \
| | * | Regard nil nodes as having equal type constraints.Matthew Baulch2016-07-051-0/+1
| | |/
| * | Merge pull request #4452 from yglukhov/js-enum-repr-offsetAndreas Rumpf2016-07-061-1/+9
| |\ \
| | * | Repr now works in js for enums starting with non-zero.Yuriy Glukhov2016-07-051-1/+9
| * | | Merge pull request #4447 from cheatfate/async2Andreas Rumpf2016-07-057-1547/+3803
| |\ \ \ | | |/ / | |/| |
| | * | Lower numbers for unchecked arraycheatfate2016-07-051-1/+1
| | * | Misplaced &cheatfate2016-07-051-1/+1
| | * | Simplify SharedArray.cheatfate2016-07-052-8/+2
| | * | Patch one more path problemcheatfate2016-07-055-5/+5
| | * | Resolved path problemscheatfate2016-07-051-5/+5
| | * | ioselectors separated and refactored version.cheatfate2016-07-058-1768/+4030
| | |/
| * | Merge pull request #4450 from SSPkrolik/reprEnum-fixAndreas Rumpf2016-07-051-12/+9
| |\ \
| | * | Fixed reprEnum function on 32-bit systemsRostyslav Dzinko2016-07-051-12/+9
| |/ /
| * | Merge pull request #4444 from mbaulch/develAndreas Rumpf2016-07-051-1/+5
| |\ \
| | * | Return nil from genOtherArg after error.Matthew Baulch2016-07-051-1/+3
| | * | Report wrong arg count when too many params and no varargs.Matthew Baulch2016-07-051-0/+2
| | |/
| * | Merge pull request #4445 from Jeff-Ciesielski/jeffc/define_assignmentsAndreas Rumpf2016-07-0511-9/+74
| |\ \ | | |/ | |/|
| | * Update documentation and newsJeff Ciesielski2016-07-054-2/+44
| | * Fix typo. Remove unnecessary procJeff Ciesielski2016-07-052-9/+2
| | * Plumb {.intdefine.} and {.strdefine.} pragmas.Jeff Ciesielski2016-07-042-2/+7
| | * Add the ability to pass a value with the -d flagJeff Ciesielski2016-07-047-7/+32
* | | fixes #537Andreas Rumpf2016-07-063-10/+28
* | | added strutils.splitWhitespaceAndreas Rumpf2016-07-061-15/+23
|/ /
* | Merge pull request #4420 from yglukhov/closure-scopeAndreas Rumpf2016-07-044-3/+44
|\ \
| * | Fixed broken test. Added closureScope test.Yuriy Glukhov2016-06-282-2/+16
| * | Added a note on closureScope. Added Kyiv :)Yuriy Glukhov2016-06-281-1/+7
| * | Added closureScope templateYuriy Glukhov2016-06-271-0/+21
| |/
* | Merge pull request #4438 from chrisheller/parsexml-doc-updateAndreas Rumpf2016-07-041-0/+21
|\ \
| * | Add doc to parsexml.nim for template assertionsChris Heller2016-07-021-0/+21
* | | Merge pull request #4410 from DenisKolodin/relinstallAndreas Rumpf2016-07-041-1/+29
|\ \ \ | |/ / |/| |
| * | Use relative paths in install script templateDenis Kolodin2016-07-031-1/+29
* | | Merge pull request #4361 from jyapayne/fix_splitAndreas Rumpf2016-07-023-71/+95
|\ \ \
| * | | Add transition define for old split behaviorJoey Payne2016-07-011-1/+26
| * | | Fix split stdlib testJoey Payne2016-07-011-1/+1
| * | | Add new split to breaking changes docJoey Payne2016-07-011-0/+6
| * | | Fix #4305: Make split proc for set[char] consistentJoey Payne2016-07-011-70/+63
* | | | Merge pull request #4389 from jyapayne/add_unicode_procsAndreas Rumpf2016-07-025-69/+336
|\ \ \ \
| * | | | Add new unicode procs to the newsJoey Payne2016-07-011-2/+4
| * | | | Fix modules that import both strutils and unicodeJoey Payne2016-07-012-5/+5
| * | | | Add useful unicode procs for string manipulationJoey Payne2016-07-012-62/+327
| |/ / /
* | | | Merge pull request #4436 from miere43/patch-2Andreas Rumpf2016-07-021-2/+2
|\ \ \ \ | |/ / / |/| | |
class="w"> status; _title_bar_draw_status(); } void title_bar_set_recipient(char *from) { if (typing_elapsed != NULL) { g_timer_destroy(typing_elapsed); typing_elapsed = NULL; } recipient = from; if (current_title != NULL) { free(current_title); } current_title = (char *) malloc((strlen(from) + 1) * sizeof(char)); strcpy(current_title, from); dirty = TRUE; } void title_bar_set_typing(gboolean is_typing) { if (is_typing) { if (typing_elapsed != NULL) { g_timer_start(typing_elapsed); } else { typing_elapsed = g_timer_new(); } } if (current_title != NULL) { free(current_title); } if (is_typing) { current_title = (char *) malloc((strlen(recipient) + 13) * sizeof(char)); sprintf(current_title, "%s (typing...)", recipient); } else { current_title = (char *) malloc((strlen(recipient) + 1) * sizeof(char)); strcpy(current_title, recipient); } dirty = TRUE; } void title_bar_draw(void) { wclear(title_bar); _title_bar_draw_status(); _title_bar_draw_title(); } static void _title_bar_draw_status(void) { int cols = getmaxx(stdscr); wattron(title_bar, COLOUR_TITLE_BRACKET); mvwaddch(title_bar, 0, cols - 14, '['); wattroff(title_bar, COLOUR_TITLE_BRACKET); switch (current_status) { case CONTACT_ONLINE: mvwprintw(title_bar, 0, cols - 13, " ...online "); break; case CONTACT_AWAY: mvwprintw(title_bar, 0, cols - 13, " .....away "); break; case CONTACT_DND: mvwprintw(title_bar, 0, cols - 13, " ......dnd "); break; case CONTACT_CHAT: mvwprintw(title_bar, 0, cols - 13, " .....chat "); break; case CONTACT_XA: mvwprintw(title_bar, 0, cols - 13, " .......xa "); break; case CONTACT_OFFLINE: mvwprintw(title_bar, 0, cols - 13, " ..offline "); break; } wattron(title_bar, COLOUR_TITLE_BRACKET); mvwaddch(title_bar, 0, cols - 2, ']'); wattroff(title_bar, COLOUR_TITLE_BRACKET); dirty = TRUE; } static void _title_bar_draw_title(void) { wmove(title_bar, 0, 0); int i; for (i = 0; i < 45; i++) waddch(title_bar, ' '); mvwprintw(title_bar, 0, 0, " %s", current_title); dirty = TRUE; }