Debian Codegraph @

ChangeLog.pre-git

raw
1 2006-11-15 Jordi Mallach <[email protected]>
2
3 * NEWS: Update for 0.7.11.
4 * configure.in: Release gtetrinet 0.7.11.
5
6 2006-11-03 Jordi Mallach <[email protected]>
7
8 * src/partyline.c: Remove two unused variables.
9 * src/client.c (client_readmsg): Change a gint to gsize to avoid
10 a crash when connecting on NetBSD/Sparc64. Thanks khorben for the
11 info. Fixes: #338712.
12
13 2006-11-03 Jordi Mallach <[email protected]>
14
15 * configure.in, src/Makefile.am: Patch from Ricardo Setti: Add
16 $(ESOUND_LIBS) to LDADD if esound is detected. Fixes: #312995.
17
18 2006-11-03 Jordi Mallach <[email protected]>
19
20 * src/config.c, src/dialogs.c, gtetrinet.schemas.in: Patch from
21 Lucas Nussbaum <[email protected]> to save the last
22 game mode used in GConf (Debian #344522).
23
24 2006-11-03 Loïc Minier <[email protected]>
25
26 * src/config.c: Fix a double free() which causes a crash on
27 first start, when theme_dir isn't set. Fixes #114425.
28
29 2006-09-02 Jordi Mallach <[email protected]>
30
31 * configure.in: Release gtetrinet 0.7.10.
32
33 2006-09-02 Jordi Mallach <[email protected]>
34
35 * src/tetrinet.c: Check that pnum < 0, not <= for IN_LVL,
36 probably an oversight in the security patch.
37
38 * doc/gtetrinet.6: Patch from Nelson A. de Oliveira to correct
39 some minor bugs in the manpage (Debian Bug#325662).
40
41 * NEWS: Updated for 0.7.10.
42
43 2006-08-17 Jordi Mallach <[email protected]>
44
45 * src/tetrinet.c: [CVE-2006-3125] Add index underflow protections
46 where needed. Patch from Martin Schulze from the Debian Security
47 Team. Thanks to Michael Gehring for analysis and proof of concept
48 code.
49
50 2006-05-25 Jordi Mallach <[email protected]>
51
52 * configure.in: Switch to IT_PROG_INTLTOOL([0.35.0) and move
53 ALL_LINGUAS to po/LINGUAS.
54 * po/LINGUAS: Added.
55
56 2006-04-18 Kjartan Maraas <[email protected]>
57
58 * configure.in: Remove obsolete entry for no_NO
59 * po/no.po: And the translation.
60
61 2005-08-18 Ilkka Tuohela <[email protected]>
62
63 * configure.in: Added fi to ALL_LINGUAS
64
65 2005-07-23 Pawan Chitrakar <[email protected]>
66
67 * configure.in: Added ne in ALL_LINGUAS
68
69 2005-05-16 Jordi Mallach <[email protected]>
70
71 * configure.in: Require gtk+-2.0 >= 2.6.0.
72 * src/commands.c (about_command): Rename "translator_credits" to
73 "translator-credits".
74
75 2005-04-29 Jordi Mallach <[email protected]>
76
77 * configure.in: Release gtetrinet 0.7.9.
78
79 2005-04-29 Jordi Mallach <[email protected]>
80
81 * src/client.c: Patch from Julien Plissonneau Duquène to
82 fix network latency.
83
84 * NEWS: Update for 0.7.9.
85
86 2005-04-15 Dani Carbonell <[email protected]>
87
88 * src/partyline.c: Applied patch from Julien Plissonneau Duquène which
89 fixes a segfault in the channel list.
90
91 * NEWS: Update for 0.7.9.
92
93 2005-04-12 Jordi Mallach <[email protected]>
94
95 * NEWS: Update for 0.7.9.
96
97 2005-04-01 Steve Murphy <[email protected]>
98
99 * configure.in: Added "rw" to ALL_LINGUAS.
100
101 2005-03-26 Pedro Villavicencio Garrido <[email protected]>
102
103 * src/commands.c (about_command): use GtkAboutDialog instead
104 of deprecated GnomeAbout.
105 (handle_links): added for handle the links in the about dialog.
106 * src/commands.h (handle_links): added to the function list.
107
108 2005-03-29 Alexander Shopov <[email protected]>
109
110 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
111
112 2005-03-18 Dani Carbonell <[email protected]>
113
114 * src/client.c
115 * src/dialogs.c
116 * src/fields.c
117 * src/misc.c
118 * src/misc.h
119 * src/partyline.c
120 * src/tetrinet.c
121 * src/winlist.c: Applied patch from Vidar Holen, which implements
122 proper UTF-8 support. Just convert all incoming data to UTF-8, and
123 avoid any other conversion. Rocks!
124
125 2005-03-05 Abel Cheung <[email protected]>
126
127 * configure.in: Added "tr" "vi" to ALL_LINGUAS.
128
129 2004-12-26 Jordi Mallach <[email protected]>
130
131 * MAINTAINERS: Add.
132
133 * NEWS: Update for 0.7.8.
134 * configure.in: Release gtetrinet 0.7.8.
135
136 2004-12-25 Kjartan Maraas <[email protected]>
137
138 * configure.in: Add «nb» to ALL_LINGUAS.
139
140 2004-10-26 Jordi Mallach <[email protected]>
141
142 * NEWS: Update for new translations.
143
144 2004-10-21 Loren Abrams <[email protected]>
145
146 * NEWS: GTetrinet is now minimally compliant with tetrinet.org's new
147 scoring requirements.
148 * src/tetrinet.c (tetrinet_inmessage): Added support for btrixnewgame.
149 Added support for clientinfo identification. Both features of the
150 Blocktrix protocol.
151 (tetrinet_nextblock): Added support for a no block delay btrixnewgame.
152 * src/client.c: Added support for transfer of IN_BTRIXNEWGAME and
153 OUT_CLIENTINFO protocol messages.
154
155 2004-10-05 Amanpreet Singh Alam <[email protected]>
156
157 * configure.in (ALL_LINGUAS): Add "pa" Punjabi language.
158
159 2004-08-31 Jordi Mallach <[email protected]>
160
161 * configure.in (ALL_LINGUAS): Added "ko" (Korean).
162 * NEWS: Update.
163 * autogen.sh: Require automake 1.7 again, hoping that it's
164 not broken anymore.
165
166 2004-07-17 Alessio Frusciante <[email protected]>
167
168 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
169
170 2004-04-18 Jordi Mallach <[email protected]>
171
172 * autogen.sh: Back out automake-1.7 requirement.
173 * NEWS: Updated for 0.7.7.
174 * configure.in: Released gtetrinet 0.7.7.
175
176 2004-04-16 Dani Carbonell <[email protected]>
177
178 * configure.in: Released GTetrinet 0.7.6.
179
180 2004-04-16 Dani Carbonell <[email protected]>
181
182 * src/dialogs.c (prefdialog_new): fixed the gnome_url button, the
183 webpage name has changed.
184
185 2004-02-16 Jordi Mallach <[email protected]>
186
187 * NEWS: Updated for 0.7.6.
188
189 * autogen.sh: Require automake 1.7 or newer.
190
191 2004-02-12 Jordi Mallach <[email protected]>
192
193 * NEWS: Updated.
194
195 2004-04-12 Dani Carbonell <[email protected]>
196
197 * src/dialogs.c (prefdialog_new): Added a button to the
198 Preferences dialog, that opens a browser window with the GTetrinet
199 themes webpage.
200
201 * src/gtetrinet.c (keypress): Return only when Alt+1, +2 or +3 is
202 pressed. This fixes the bug reported by Christian Kröner :)
203
204 * src/fields.c (fields_page_contents): Changed the game's messages
205 widget to expand instead of shrink. Enlarged its height up to 70
206 pixels.
207
208 * src/gtetrinet.c (main): Made the GTetrinet main window
209 resizable. This doesn't mean that the fields will resize ;)
210
211 2004-03-30 Adam Weinberger <[email protected]>
212
213 * configure.in: Added en_CA to ALL_LINGUAS.
214
215 2004-03-25 Gareth Owen <[email protected]>
216
217 * configure.in: Added en_GB to ALL_LINGUAS
218
219 2004-03-08 Alastair McKinstry <[email protected]>
220
221 * configure.in: Added "ga" to ALL_LINGUAS.
222
223 2004-02-07 Kjartan Maraas <[email protected]>
224
225 * src/Makefile.am: Remove deprecated flags. Broke the build.
226
227 2004-02-07 Robert Sedak <[email protected]>
228
229 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
230
231 2003-10-05 Jordi Mallach <[email protected]>
232
233 * NEWS: Update for 0.7.5.
234 * configure.in: Released gtetrinet 0.7.5.
235
236 2003-09-01 Metin Amiroff <[email protected]>
237
238 * configure.in: Added "az" in ALL_LINGUAS.
239
240 2003-08-30 Jordi Mallach <[email protected]>
241
242 * src/dialogs.c (teamdialog_new): Activate the Cancel button when
243 Esc is pressed.
244 (connectdialog_button): Likewise.
245 (connectdialog_new): Likewise.
246 (prefdialog_new): Don't make the Close button the default action.
247 Patches from Dagfinn Ilmari Mannsåker. Thanks!
248
249 2003-08-29 Dani Carbonell <[email protected]>
250
251 * src/gtetrinet.c (keypress): fixing the key press signal handling
252 code yet again :D Now the french users should be able to use the
253 default number keys.
254
255 2003-08-29 Jordi Mallach <[email protected]>
256
257 * NEWS: Add 0.7.4 items.
258
259 * configure.in: Release gtetrinet 0.7.4.
260
261 2003-08-28 Dani Carbonell <[email protected]>
262
263 * gtetrinet.schemas.in: disabled the channel list by default
264
265 2003-08-28 Dafydd Harries <[email protected]>
266
267 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
268
269 2003-08-28 Jordi Mallach <[email protected]>
270
271 * src/gtetrinet.c (keypress): Ignore K_GAMEMSG presses if the game
272 hasn't started, fixes Debian Bug#205658. Patch from
273 Benjamin Drieu <[email protected]>, thanks!
274
275 2003-08-20 Dani Carbonell <[email protected]>
276
277 * src/fields.c (fields_page_new): Changed the cursor when the
278 mouse is above the fields to be GDK_X_CURSOR. This seems to behave
279 better with X 4.3.x
280
281 2003-08-16 Dani Carbonell <[email protected]>
282
283 * src/config.c: Addded missing default keys to the 'defaultkeys'
284 array, fixes Debian bug #205656.
285
286 * src/config.h (GTetrinetKeys): Changed this bunch of defines to be a
287 single enum.
288
289 2003-08-10 Hasbullah Bin Pit <[email protected]>
290
291 * configure.in: Added 'ms' (Malay) to AlL_LINGUAS.
292 * po/ms.po: Added Malay translation.
293
294 2003-08-07 Dani Carbonell <[email protected]>
295
296 * src/dialogs.c (teamdialog_new, connectdialog_new): applied patch
297 from Dagfinn Ilmari Mannsåker, closes bug #119356.
298
299 2003-07-25 Artur Flinta <[email protected]>
300
301 * configure.in: Added "pl" to ALL_LINGUAS.
302
303 2003-07-15 Jordi Mallach <[email protected]>
304
305 * src/command.c (about_command): Remove gettext calls from copyright
306 statement and replace (C) with the UTF-8 copyright symbol.
307
308 2003-07-06 Jordi Mallach <[email protected]>
309
310 * configure.in: For some reason, some people were getting
311 AM_GNU_GETTEXT calls due to our use of AM_GNU_GETTEXT_VERSION, which
312 broke as we have no intl/. Kick it.
313
314 2003-06-23 Jordi Mallach <[email protected]>
315
316 * NEWS: Update for 0.7.3.
317
318 * configure.in: release gtetrinet 0.7.3.
319
320 2003-06-23 Jordi Mallach <[email protected]>
321
322 * configure.in (ALL_LINGUAS): Add "mk" (Macedonian).
323
324 2003-06-14 Dani Carbonell <[email protected]>
325
326 * src/commands.c (show_connect_button, show_disconnect_button):
327 new functions, to show and hide the connect button in the toolbar.
328 (make_menus): hide the disconnect button at startup.
329
330 * src/commands.h (show_disconnect_button, show_disconnect_button):
331 new functions.
332
333 * src/tetrinet.c (tetrinet_inmessage): added logic to show and
334 hide the connect/disconnect buttons.
335
336 2003-06-13 Dani Carbonell <[email protected]>
337
338 * src/tetrinet.c (tetrinet_key): fixed this keypress signal
339 handling stage, it was returning FALSE when a key was processed,
340 instead of TRUE.
341
342 * src/gtetrinet.c (keypress): slightly changed the keypress signal
343 handling logic.
344
345 2003-06-08 Jordi Mallach <[email protected]>
346
347 * TODO: Updated.
348
349 2003-06-08 Jordi Mallach <[email protected]>
350
351 * src/Makefile.am (GTETPIXMAPSDIR): Define as
352 $(datadir)/pixmaps/gtetrinet.
353 (PIXMAPSDIR): Change to $(datadir)/pixmaps.
354 * src/winlist.c (winlist_page_new): Use GTETPIXMAPSDIR instead of
355 PIXMAPSDIR.
356
357 2003-06-07 Jordi Mallach <[email protected]>
358
359 * NEWS: Update for 0.7.2.
360
361 * configure.in: Release gtetrinet 0.7.2, "Tellement mieux".
362
363 2003-06-07 Dani Carbonell <[email protected]>
364
365 * src/commands.c (make_menus): added keyboard shortcuts to Start,
366 Pause, Stop, Connect, Disconnect and Change Team menu items.
367
368 * src/tetrinet.c (tetrinet_key): change the default return value
369 from FALSE to TRUE. This was preventing ctrl+q from working when
370 the user was in the fields tab.
371
372 2003-06-06 Jordi Mallach <[email protected]>
373
374 * src/config.c (config_loadconfig): load values for new keys.
375 Add notify functions for new gconf keys.
376 * src/config.h: Add new declarations and key defines.
377 * src/dialogs.c (prefdialog_drawkeys): Add new actions to treeview.
378 * src/gtetrinet (main): Notify gconf of changes to new keys.
379 * src/tetrinet.c (tetrinet_key): Handle new special keys. Closes
380 Bugzilla Bug#105117.
381
382 * gtetrinet.schemas.in: Add schemas for new configurable game keys.
383
384 2003-06-05 Jordi Mallach <[email protected]>
385
386 * NEWS: Update for 0.7.2.
387
388 2003-06-05 Dani Carbonell <[email protected]>
389
390 * src/partyline.c (textentry): Show the /msgs commands in the partyline.
391
392 2003-06-05 Abel Cheung <[email protected]>
393
394 * configure.in: Added "zh_TW" to ALL_LINGUAS.
395
396 2003-06-04 Dani Carbonell <[email protected]>
397
398 * src/partyline.c (is_nick): new function, it will compare the
399 actual string with a complete nickname. The completion will be
400 done with the first match.
401 (playerlist_complete_nick): new function, it'll launch the
402 iteration through the player list, calling is_nick for each nick.
403 (entrykey): launch the nick completion when the TAB key is hit.
404
405 * src/commands.h (show_stop_button, show_start_button): new functions.
406
407 * src/commands.c: changed the button order.
408 (make_menus): hide the stop button just after the toolbar has been created.
409 (show_stop_button): new function, it will hide the start button,
410 and show the stop one.
411 (show_start_button): new function, it will show the start button,
412 and hide the stop one.
413
414 * src/tetrinet.c (tetrinet_inmessage): show / hide the toolbar
415 buttons when required.
416
417 2003-06-03 Jordi Mallach <[email protected]>
418
419 * gtetrinet.desktop.in: change value of Terminal from 0 to false to
420 placate desktop-file-validate.
421
422 2003-06-02 Dani Carbonell <[email protected]>
423
424 * src/dialogs.c (prefdialog_new): changed the size of some widgets
425 in the Keyboard tab.
426
427 * src/winlist.c (winlist_page_new): added scrollbars to the
428 winlist, also made it bigger.
429
430 2003-06-02 Jordi Mallach <[email protected]>
431
432 * configure.in (ALL_LINGUAS): Added "eu" (Basque).
433
434 2003-06-02 Dani Carbonell <[email protected]>
435
436 * src/fields.c (fields_page_new): create here the cursors that
437 will be used later to hide/restore the main cursor.
438 (fields_expose_event, fields_nextpiece_expose)
439 (fields_specials_expose): hide the cursor if the user is in a
440 game, show it otherwise.
441
442 * src/dialogs.c (connectingdialog_new): set a parent for this
443 window, set it modal, and don't show it in the windows list.
444
445
446 2003-05-28 Danilo Å egan <[email protected]>
447
448 * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
449
450 2003-04-14 Dani Carbonell <[email protected]>
451
452 * icons/ added to CVS
453
454 * Makefile.am: added "icons" to SUBDIRS
455 * configure.in: added the "icons" directory
456
457 * src/Makefile.am: changed PIXMAPSDIR constant
458
459 * src/commands.c: changed the toolbar icons
460
461 * src/partyline.c (partyline_update_channel_list): update the channel
462 list only if we're connected.
463 (partyline_show_channel_list): update the list when it's enabled.
464
465 * src/winlist.c: use pretty icons instead of that ugly 'T'.
466
467 * src/images/Makefile.am: added new icons to EXTRA_DIST
468
469 2003-04-14 Jordi Mallach <[email protected]>
470
471 * src/dialogs.c (connectdialog_new):
472 (prefdialog_new): added mnemonics to the labels
473
474 2003-04-14 Jordi Mallach <[email protected]>
475
476 * NEWS: Updated.
477
478 * configure.in: released gtetrinet 0.7.1.
479
480 2003-04-10 Dani Carbonell <[email protected]>
481
482 * src/partyline.c (partyline_page_new): Removed a unused variable.
483 Fixed #110447.
484
485 2003-04-10 Jordi Mallach <[email protected]>
486
487 * configure.in: removed call to AM_GNU_GETTEXT.
488
489 2003-04-09 Dani Carbonell <[email protected]>
490
491 * gtetrinet.schemas.in: added a new schema for the Enable Channel List
492 option.
493
494 * src/client.c (client_readmsg): clarified the error message.
495
496 * src/config.c: added support for the new option.
497 (partyline_enable_channel_list_changed): handler for the gconf key.
498 (config_loadconfig): added code to get the configuration of the new
499 option.
500
501 * src/config.h: added the prototype for the new handler.
502
503 * src/dialogs.c: added the UI for the new option.
504 (prefdialog_channeltoggle): new handler.
505 (prefdialog_new): added code for the new option. Also, modified the
506 policy of the keys scrolled window, so you can now horizontally scroll
507 it.
508
509 * src/gtetrinet.c (main): added a GConf notification for the new option.
510
511 * src/partyline.c: Added a convenience function for the Enable Channel
512 List option changed handler. Also, added code to parse the channel list
513 of one more server.
514 (partyline_page_new): slightly modified so we can now easily hide the
515 channel list.
516 (partyline_add_channel): added code to support a new server.
517 (partyline_show_channel_list): new convenience function, it will show
518 or hide the channel list as requested by the user.
519
520 * src/partyline.h: two new declarations, the convenience function and
521 the variable that is used to cache the GConf setting.
522
523 * src/tetrinet.c (tetrinet_inmessage): added code to support one more
524 server.
525
526 2003-04-04 Jordi Mallach <[email protected]>
527
528 * Makefile.am: fix the install path for desktop files.
529
530 2003-03-25 Dani Carbonell <[email protected]>
531
532 * src/partyline.c (entrykey): fixed a bug when hitting the up or
533 down arrow key when writing in the partyline textentry, after inserting
534 a unicode control character.
535
536 2003-03-18 Jordi Mallach <[email protected]>
537
538 * configure.in (ALL_LINGUAS): Added "ja" (Japanese).
539
540 2003-03-17 Daniel Carbonell Fraj <[email protected]>
541
542 * src/partyline.c (partyline_add_channel): changed the parsing code, so
543 now it can parse the lines sent by the tetrinet java server.
544
545 * src/tetrinet.c (tetrinet_inmessage): added support for the
546 tetrinet java server.
547
548 2003-03-17 Jordi Mallach <[email protected]>
549
550 * TODO: Updated for 0.7.0.
551 * configure.in: released gtetrinet 0.7.0.
552
553 2003-03-17 Jordi Mallach <[email protected]>
554
555 * src/fields.c (gmsginput_activate): Patch from Robert Cheramy, to
556 workaround segfaults when trying to input characters not supported
557 by the current locale.
558 * src/partyline.c (textentry): Likewise.
559
560 * AUTHORS, TODO: Updated.
561 * README: Changed contact address.
562
563 2003-03-17 Jordi Mallach <[email protected]>
564
565 * configure.in (ALL_LINGUAS): Added "ru" (Russian).
566
567 2003-03-16 Christophe Merlet <[email protected]>
568
569 * configure.in: Added "fr" (French) to ALL_LINGUAS.
570
571 2003-03-14 Yuriy Syrota <rasta renome.rovno.ua>
572
573 * configure.in: Added "uk" (Ukrainian) to ALL_LINGUAS.
574
575 2003-03-08 Evandro Fernandes Giovanini <[email protected]>
576
577 * configure.in: Added "pt_BR" (Brazilian Portuguese) to ALL_LINGUAS.
578
579 2003-03-05 Duarte Loreto <[email protected]>
580
581 * configure.in: Added "pt" to ALL_LINGUAS.
582
583 2003-03-03 James Antill <[email protected]>
584
585 * src/tetrinet.c (tetrinet_sendfield): Put a warning in if blocks are
586 out of range.
587 (tetrinet_old_sendfield): Add checking code
588
589 2003-02-24 Dani Carbonell <[email protected]>
590
591 * src/partyline.c (stop_list): list_issued is a integer, changed
592 accordingly.
593 (partyline_update_channel_list): if there is another channel list
594 update in progress, do nothing. This will prevent us from being
595 kicked from the server because of flood.
596
597 * src/tetrinet.c (tetrinet_inmessage): fixed the stupid bug that
598 prevented the channel list from working in tetrinet.org.
599
600 2003-02-22 ChipX86 <[email protected]>
601
602 * gtetrinet.schemas.in: Add schema info. for timestamp pref.
603 * src/config.c: Add config for timestamping partyline text.
604 * src/config.h: Add config for timestamping partyline text.
605 * src/dialogs.c: Add config for timestamping partyline text.
606 * src/gtetrinet.c: Add config for timestamping partyline text.
607 * src/partyline.c: Add timestamps if config is set.
608 * src/partyline.h: Add config for timestamping partyline text.
609
610 2003-02-22 James Antill <[email protected]>
611
612 * src/config.c (config_loadtheme): If current theme has no name,
613 revert to default.
614
615 * src/fields.c (fields_init): If the current theme fails to load,
616 change the preference.
617
618 2003-02-20 Jordi Mallach <[email protected]>
619
620 * src/tetrinet.c (tetrinet_sendfield): Patch from Ian Zink with big
621 optimizations.
622
623 2003-02-19 James Antill <[email protected]>
624
625 * src/partyline.c (textentry): Add ESC for "/list" parser when user
626 types "/list".
627
628 * src/misc.c (textbox_addtext): Fix attributes (bold, italic etc.
629 were never being set).
630 (textbox_addtext): Don't insert using tags if nothing changed, this
631 seems to work around a bug when using LANG=en_US.UTF-8 gtetrinet. Don't
632 ask me why.
633
634 2003-02-18 Jordi Mallach <[email protected]>
635
636 * Makefile.am (INCLUDES): removed, not needed here.
637
638 2003-02-17 Dani Carbonell <[email protected]>
639
640 * src/partyline.c: slightly modified the partyline UI. Added the
641 ability to join channels by just double-clicking in the channel list.
642 (partyline_page_new): added two informative labels.
643 (channel_activated): new callback for the "row-activated" signal in
644 the channel list.
645 (partyline_joining_channel): new function to update the label that
646 shows your current channel.
647
648 * src/partyline.h: added the new function declaration.
649
650 * src/tetrinet.c (tetrinet_inmessage): update the new channel label.
651
652 2003-02-15 Dani Carbonell <[email protected]>
653
654 * TODO: updated.
655
656 2003-02-14 James Antill <[email protected]>
657
658 * src/client.c (client_disconnect): Fix crash on exit, when connected.
659
660 2003-02-14 Dani Carbonell <[email protected]>
661
662 * src/client.c: a few fixes in error handling.
663
664 * src/gtetrinet.h: fixed a couple of function declarations.
665
666 * src/partyline.c: added the channel_list widget.
667 (partyline_page_new): added the new widget.
668 (partyline_add_channel): new function that will add a channel to the
669 list of available channels.
670 (copy_item): function that will copy a item of the work_model to the
671 actual model of the tree_view.
672 (stop_list): new function that will be called then all the markers
673 are sended back to us.
674 (partyline_update_list): function to be called if you want to update
675 the channel list.
676 (partyline_more_channel_lines): new function that will be called if
677 there are more channels waiting to be listed.
678 (partyline_clear_list_channel): new function that will clear the
679 list channel.
680
681 * src/partyline.h: added the new function declarations.
682
683 * src/tetrinet.c: install the channel list refresh signal, and parse
684 the incoming messages when appropiate.
685 (tetrinet_inmessage): install the signal when connecting. Refresh
686 the channel list when the user completes the connection protocol.
687 Parse the system messages if appropiate.
688
689 * src/tetrinet.h: added new variable declaration.
690
691 2003-02-11 Dani Carbonell <[email protected]>
692
693 * src/gtetrinet.c (main): fixed a bug when quitting GTetrinet when
694 there were blocks drew.
695
696 * src/tetrinet.c (tetrinet_key): removed a lot of commented and
697 useless code.
698 (tetrinet_inmessage): marked a string for translating.
699
700 2003-02-10 Dani Carbonell <[email protected]>
701
702 * src/Makefile.am: added -DGDK_DISABLE_DEPRECATED to the compilation
703 parameters.
704
705 * src/client.c: fixed the connecting dialog behaviour, now GTetrinet
706 doesn't hang up while the hostname is resolved.
707 (client_process): this function now launches the thread that
708 resolvers the hostname, does gtk_iterations while the thread finishes,
709 and continues the normal connection protocol.
710 (client_connect): renamed to client_resolv_hostname, now it just
711 resolves the hostname, the rest of the functionality was moved to
712 client_process.
713
714 * src/fields.c: removed two GDK obsolete function calls.
715
716 * src/gtetrinet.c: start the GThread system, if it's not started
717 yet.
718
719 2003-02-09 Jordi Mallach <[email protected]>
720
721 * configure.in: add debug flags if compiling from CVS.
722 * src/Makefile.am: remove $(GTET_DEBUG).
723
724 2003-02-09 Dani Carbonell <[email protected]>
725
726 * client.c: added gnome.h so some strings can be localized. Removed
727 most of the cruft, now gtetrinet works with only one process.
728 (client_inputfunc): removed.
729 (client_cleanpipe): removed.
730 (client_mainloop): removed.
731 (client_initpipes): removed.
732 (client_destroypipes): removed.
733 (client_init): it's no longer needed to check for the child.
734 (client_connectcancel): removed.
735 (client_destroy): removed.
736 (client_outmessage): directly send it to the socket.
737 (client_inmessage): directly parse it in tetrinet.c.
738 (client_process): string marked for translating. Now, the client
739 process just sets up the connection and connects.
740 (client_connect): sets up the g_io_channel.
741 (client_disconnect): shutdowns the g_io_channel, closing the GSource
742 event and shutting down also the socket.
743 (io_channel_cb): callback to handle the event of new data coming
744 into the socket.
745 (client_sendmsg): sends the data using g_io_channel_write functions.
746 (client_readmsg): reads the data using g_io_channel_read functions.
747
748 * client.h: removed functions.
749
750 * commands.c (disconnect_command): call client_disconnect instead of
751 client_destroy.
752
753 * config.c (sound_enable_sound_changed): re-cache the sounds if the
754 sound option is enabled, fixes #105651.
755
756 * dialogs.c (connectingdialog_button): call client_disconnect
757 instead of client_connectcancel.
758
759 * fields.c (fields_page_contents): few improvements to the gui.
760
761 * gtetrinet.c (main): removed some useless assertions. Also, removed
762 some useless function calls.
763
764 2003-02-07 Jordi Mallach <[email protected]>
765
766 * NEWS, configure.in: release 0.6.2. It compiles, promise.
767
768 2003-02-07 Jordi Mallach <[email protected]>
769
770 * src/config.c (config_loadtheme): oops... add missing ";" to solve
771 a parse error... we really suck.
772
773 2003-02-07 Jordi Mallach <[email protected]>
774
775 * NEWS, configure.in: released gtetrinet 0.6.1.
776
777 2003-02-07 James Antill <[email protected]>
778
779 * src/config.c (config_loadtheme): If blocks config. entry doesn't
780 exist in theme error out, instead of crashing.
781 (config_getthemeinfo): Use empty values, if author and/or
782 description doesn't exist.
783 (config_loadconfig): Don't crash if current_theme or midicmd don't
784 exist.
785 (config_loadconfig): Change currenttheme to a GString to fix overflow
786 truncate problems.
787
788 2003-02-06 Jordi Mallach <[email protected]>
789
790 * src/config.c (config_loadconfig): remove unused variable.
791 (sound_midi_player_changed): remove unused parameter warnings.
792 (sound_enable_sound_changed): likewise.
793 (sound_enable_midi_changed): likewise.
794 (themes_theme_dir_changed): likewise.
795 (keys_down_changed): likewise.
796 (keys_left_changed): likewise.
797 (keys_right_changed): likewise.
798 (keys_drop_changed): likewise.
799 (keys_rotate_left_changed): likewise.
800 (keys_rotate_right_changed): likewise.
801 (keys_message_changed): likewise.
802 (keys_discard_changed): likewise.
803 * src/dialogs.c (teamdialog_new): remove unused variable.
804 (prefdialog_response): remove unused variable and parameter warnings.
805 * src/fields.c (gmsginput_activate): remove parameters.
806 (fields_eatkey): remove unused function.
807 * src/gtetrinet (switch_focus): remove unused parameter warning.
808 (main): add a cast to gcofn_client_notify_add.
809 (keypress): remove obsolete parameter to tetrinet_key().
810 (switch_focus): remove unused paramater warnings.
811 * src/tetrinet.c (tetrinet_key): remove unused parameter.
812
813 2003-02-04 Jordi Mallach <[email protected]>
814
815 * NEWS, configure.in: released gtetrinet 0.6.0.
816
817 2003-02-04 Jordi Mallach <[email protected]>
818
819 * NEWS: updated for 0.6.0.
820 * TODO: updated.
821
822 2003-02-04 Dani Carbonell <[email protected]
823
824 * src/config.c (config_loadtheme): ported to libgnomeui-2.
825
826 * src/dialogs.c: ported to libgnomeui-2.
827 (connectdialog_button): ported and a minor bugfix.
828 (teamdialog_button): bugfix, new team name was not being saved to
829 GConf.
830
831 * src/fields.c: ported to libgnomeui-2.
832 (fields_cleanup): ported to GDK 2.x
833 (fields_drawblock): likewise.
834
835 * src/gtetrinet.c: ported to libgnomeui-2.
836
837 * src/tetrinet.c: ported to libgnomeui-2.
838
839 2003-02-04 Jordi Mallach <[email protected]>
840
841 * gtetrinet.desktop.in: add Encoding and Categories fields.
842 * src/Makefile.am: compile with -DG_DISABLE_DEPRECATED,
843 -DGTK_DISABLE_DEPRECATED and GNOME_DISABLE_DEPRECATED. GDK still
844 broken.
845
846 2003-02-04 Dani Carbonell <[email protected]>
847
848 * dialogs.c: code cleanup, removed actionid array, no longer needed.
849 (prefdialog_drawkeys): code cleanup.
850 (prefdialog_clistupdate): nuked, no longer needed.
851 (prefdialog_restorekeys): code cleanup.
852 (prefdialog_changekey): code cleanup.
853 (prefdialog_midion): code cleanup.
854 (prefdialog_midichanged): code cleanup.
855
856 2003-02-03 Daniel Yacob <[email protected]>
857
858 * configure.ac: Added "am" (Amharic) to ALL_LINGUAS.
859
860 2003-02-02 Dani Carbonell <[email protected]>
861
862 * fields.c (fields_page_contents): fixed a small issue with the
863 specials thingy.
864
865 2003-02-02 Dani Carbonell <[email protected]>
866
867 * Makefile.am: added -DGTK_DISABLE_DEPRECATED to the compilation
868 options.
869
870 * TODO: updated (we shouldn't be using this)
871
872 * dialogs.c: removed obsolete functions, minor bugfixes.
873 (connectdialog_new): made unresizable.
874 (keydialog_new): fixed a bug when hitting the Cancel button.
875 (prefdialog_new): added scrollbars for the theme list and the keys
876 list.
877
878 * fields.c: removed obsolete functions, minor bugfixes.
879 (fields_page_contents): first approach to allow fields resizing.
880 Nothing yet. Cleaned up a bit.
881
882 * gtetrinet.c: removed obsolete functions, minor bugfixes.
883
884 * partyline.c: likewise.
885
886 * winlist.c: likewise.
887
888 * misc.c (pixmap_label): nuked, no longer needed.
889
890 2003-02-02 Jordi Mallach <[email protected]>
891
892 * src/winlist.c: add a requested translation tip.
893
894 2003-02-01 Jordi Mallach <[email protected]>
895
896 * configure.in: check for and export GCONFTOOL.
897 Require intltool 0.25.
898
899 2003-02-01 Dani Carbonell <[email protected]>
900
901 * gtetrinet.schemas.in: changed the type of the keys values to
902 String, they are now human readable.
903
904 * src/Makefile.am: keys.c, keys.h and keytable.h no longer needed,
905 nuked.
906
907 * src/config.c: updated so now it stores the keys in GConf as
908 strings.
909 (config_loadconfig): now it loads the keys as strings, instead of
910 integers.
911 (keys_down_changed): new function, it's a GConf notification handler
912 (keys_right_changed): likewise.
913 (keys_left_changed): likewise.
914 (keys_rotate_right_changed): likewise.
915 (keys_rotate_left_changed): likewise.
916 (keys_drop_changed): likewise.
917 (keys_message_changed): likewise.
918
919 * src/config.h: added new function prototypes.
920
921 * src/dialogs.c: fixed the gtk_progress_bar, changed it to read
922 strings instead of integers from GConf.
923 (connectingdialog_timeout): changed to work with gtk_progress_bar.
924 (connectdialog_new): changed parent, so the connecting window shows.
925 (prefdialog_drawkeys): changed to read strings instead of integers.
926 (prefdialog_clistupdate): likewise.
927 (prefdialog_new): changed parent, to be sure that the key_dialog
928 shows.
929
930 * src/gtetrinet.c (main): added new GConf notifications, also removed
931 the possibility of focusing the main notebook.
932
933 * src/gtetrinet.h: we need the main application widget outside of
934 this .c file.
935
936 * src/partyline.c (partyline_page_new): changed the focus chain so it
937 now focus the entrybox by default.
938
939 2003-02-01 Jordi Mallach <[email protected]>
940
941 * Makefile.am: add rules for schemas install.
942 * NEWS: updated for 0.6.0.
943
944 2003-02-01 Jordi Mallach <[email protected]>
945
946 * gtetrinet.schemas.in: reword a few schemas.
947
948 2003-02-01 Dani Carbonell <[email protected]>
949
950 * gtetrinet.schemas.in: first version of the .schemas file.
951 * config.h: a few prototype fixes, and add the handlers for the
952 GConf keys.
953 * config.c: ported to GConf, changed default keys to lowercase, and
954 a few function prototype fixes.
955 (config_loadtheme): prototype fix.
956 (config_loadconfig): ported to GConf.
957 (config_saveconfig): nuked, no longer needed.
958 (load_theme): new function, designed to load a theme "in the fly".
959 (sound_midi_player_changed): new function, it will handle the
960 changes made to the /apps/gtetrinet/sound/midi_player key.
961 (sound_enable_sound_changed): new function, it will handle the
962 changes made to the /apps/gtetrinet/sound/enable_sound key.
963 (sound_enable_midi_changed): new function, it will handle the
964 changes made to the /apps/gtetrinet/sound/enable_midi key.
965 (themes_theme_dir_changed): new function, it will handle the
966 changes made to the /apps/gtetrinet/themes/theme_dir key.
967 * dialogs.c: ported to GConf, and few UI improvements in the
968 dialogs.
969 (teamdialog_button): now it behaves as a gtk_dialog.
970 (teamdialog_new): changed to gtk_dialog.
971 (connectdialog_button): now it behaves as a gtk_dialog, it also
972 saves the server, nickname and team to GConf.
973 (connectdialog_new): changed to gtk_dialog.
974 (key_dialog): changed to gtk_dialog.
975 (key_dialog_callback): cleaned a bit.
976 (prefdialog_drawkeys): added a convenience array, it will make
977 easier the GConf operations later.
978 (prefdialog_clistupdate): now it saves the changes in GConf.
979 (prefdialog_restorekeys): it now operates directly into the main keys
980 array.
981 (prefdialog_changekeys): likewise.
982 (prefdialog_soundtoggle): now it instantly saves the change in
983 GConf.
984 (prefdialog_miditoggle): likewise.
985 (prefdialog_midichanged): likewise.
986 (prefdialog_restoremidi): likewise.
987 (prefdialog_themelistselect): likewise.
988 (prefdialog_themeselect): cleaned a bit.
989 (prefdialog_apply): nuked, no longer needed.
990 (prefdialog_ok): also nuked.
991 (prefdialog_response): new function, now prefdialog behave as a
992 gtk_dialog.
993 (prefdialog_new): changed to gtk_dialog, removed the OK and Apply
994 buttons, also nuked that ugly frame.
995 * gtetrinet.c: ported to GConf.
996 (main): initialize all the GConf stuff. Add notifications and so.
997 Also, it's no longer needed to save the configuration on quit.
998 * sound.c: now it works. Really. config.h was never included, so
999 HAVE_ESD was always undefined, so no sound. Cool.
1000 (sound_cache): ported to the new gnome_sound* functions.
1001 (sound_playsound): now it plays the sound from cache, a lot faster.
1002
1003 2003-01-29 Jordi Mallach <[email protected]>
1004
1005 * gtetrinet.desktop.in: add StartupNotify support.
1006
1007 2003-01-29 Jordi Mallach <[email protected]>
1008
1009 * src/client.c (client_connect): change deprecated g_string_sprintf
1010 and g_stringsprintfa to g_string_printf and g_string_append_printf.
1011 * src/gtetrinet.c: include <sys/poll.h>.
1012
1013 2003-01-28 James Antill <[email protected]>
1014
1015 * src/gtetrinet.c (gtetrinet_poll_func): Added fast poll() function.
1016
1017 2003-01-25 Jordi Mallach <[email protected]>
1018
1019 * src/gtetrinet.c: remove unneeded <locale.h> include.
1020
1021 2003-01-24 Kjartan Maraas <[email protected]>
1022
1023 * configure.in: Added "no" to ALL_LINGUAS.
1024
1025 2003-01-24 Jordi Mallach <[email protected]>
1026
1027 * gtetrinet.desktop.in: add bugzilla stuff.
1028
1029 2003-01-23 Jordi Mallach <[email protected]>
1030
1031 * configure.in: Added "nl" to ALL_LINGUAS.
1032
1033 2003-01-18 Christian Rose <[email protected]>
1034
1035 * configure.in: Added "es" to ALL_LINGUAS.
1036
1037 2003-01-18 Christian Rose <[email protected]>
1038
1039 * configure.in: Added "sv" to ALL_LINGUAS.
1040
1041 2003-01-17 Jordi Mallach <[email protected]>
1042
1043 * src/commands.c (about_command): remove gettext marks from author
1044 names, as there's no non-ASCII character to translate.
1045
1046 2003-01-11 Jordi Mallach <[email protected]>
1047
1048 * NEWS, configure.in: released gtetrinet 0.5.2.
1049
1050 2003-01-10 Jordi Mallach <[email protected]>
1051
1052 * NEWS: updated for 0.5.2.
1053 * TODO: added a few requested items.
1054
1055 2003-01-10 Jordi Mallach <[email protected]>
1056
1057 * src/config.c (config_loadconfig): use gdk_keyval_to_lower instead of
1058 gdk_keyval_to_upper, so gtetrinet 0.5.2 configurations are usable with
1059 older versions.
1060 * src/dialogs.c (key_dialog_callback): likewise.
1061 * src/gtetrinet.c (keypress): likewise.
1062 * src/tetrinet.c (tetrinet_key): likewise.
1063
1064 2003-01-10 Dani Carbonell <[email protected]>
1065
1066 * src/dialogs.c (connectdialog_connected): hide the window only if
1067 it really existed (fixes the -c bug).
1068
1069 * src/fields.c (fields_gmsginputadd): this function was useless,
1070 removed.
1071 (fields_gmsginputback): likewise
1072
1073 * src/fields.h: removed those two function's declarations.
1074
1075 * src/gtetrinet.c (switch_focus): new function, will handle the
1076 notebook's tab switching, sending focus where it should be.
1077 (gtetrinet_key): function cleaned.
1078
1079 * src/gtetrinet.h: added the function declaration.
1080
1081 * src/partyline.c (partyline_entryfocus): now it clears all the text
1082 in the partyline's gtk_entry.
1083
1084 * src/tetrinet.c (tetrinet_endgame): now it properly closes the field's
1085 gtk_entry, if it's open when the game ends.
1086 (tetrinet_inmessage): now it properly takes into account that a
1087 player has left the game, so no one can attack him after he's gone.
1088
1089 * src/winlist.c (winlist_focus): new function that will focus the
1090 winlist when the user switches to that tab.
1091
1092 * src/winlist.h: added the function declaration.
1093
1094 2003-01-08 Jordi Mallach <[email protected]>
1095
1096 * configure.in (AC_OUTPUT): sigh, I suck. Remove gtetrinet.desktop.
1097
1098 2003-01-08 Jordi Mallach <[email protected]>
1099
1100 * NEWS: updated.
1101 * src/dialogs.c (connectingdialog_timeout): apply patch from
1102 Ian Zink <[email protected]>, fixes a null pointer exception
1103 which caused a segfault on connect for many people. Thanks!
1104
1105 2003-01-08 Dani Carbonell <[email protected]>
1106
1107 * TODO: remove composed characters problem.
1108 * src/fields.c: rewrite fields messages entry box, so it works ok
1109 with composed characters.
1110 * src/gtetrinet.c: acomodate fields messages changes.
1111 * src/tetrinet.c: remove fields messages code, moved to fields.c.
1112
1113 2003-01-08 Jordi Mallach <[email protected]>
1114
1115 * src/misc.c (nocolor): fix previous change.
1116
1117 2003-01-07 Jordi Mallach <[email protected]>
1118
1119 * src/misc.c (nocolor): don't assume signedness of char.
1120
1121 2003-01-07 Jordi Mallach <[email protected]>
1122
1123 * NEWS: updated for 0.5.2.
1124 * TODO: updated.
1125
1126 * src/config.c (config_loadconfig): fix a gcc-3.2 warning.
1127
1128 2003-01-07 Jordi Mallach <[email protected]>
1129
1130 * src/client.c: supress compile warnings.
1131 * src/commands.c: likewise.
1132 * src/dialogs.c: likewise.
1133 * src/fields.c: likewise.
1134 * src/gtetrinet.c: likewise.
1135 * src/misc.c: likewise.
1136 * src/partyline.c: likewise.
1137 * src/sound.c: likewise.
1138 * src/tetrinet.c: likewise.
1139 * src/tetris.c: likewise.
1140
1141 * src/*.c: update dates in copyright notices.
1142
1143 2003-01-07 Dani Carbonell <[email protected]>
1144
1145 * dialogs.c (teamdialog_new): complete rewrite of this dialog, so it
1146 is now HIG compliant.
1147 (prefdialog_new): added spacing between buttons.
1148 (connectdialog_new): likewise.
1149 (connectdialog_button): check if user has specified a servername, a
1150 nickname and a spectator password before trying to connect.
1151 (key_dialog_callback): converted the key stroke to upper case.
1152
1153 * tetrinet.c (tetrinet_key): now it converts all keystrokes to upper
1154 case.
1155
1156 * config.c (config_loadconfig): likewise
1157
1158 2003-01-06 Jordi Mallach <[email protected]>
1159
1160 * configure.in (AC_OUTPUT): add gtetrient.desktop.
1161
1162 2003-01-06 Jordi Mallach <[email protected]>
1163
1164 * Makefile.am: add intltool support.
1165 * configure.in: likewise.
1166 * gtetrinet.desktop.in: new, generated from gtetrinet.desktop.
1167
1168 * ABOUT-NLS: upgraded to gettext 0.11.5.
1169 * config.rpath: likewise.
1170
1171 2003-01-06 Dani Carbonell <[email protected]>
1172
1173 * src/dialogs.c (prefdialog_ok): new function.
1174 (prefdialog_new): use prefdialog_ok() to fix behaviour of Ok button.
1175
1176 2003-01-06 Jordi Mallach <[email protected]>
1177
1178 * NEWS, configure.in: released gtetrinet 0.5.1.
1179
1180 2003-01-06 Jordi Mallach <[email protected]>
1181
1182 * TODO: updated.
1183 * NEWS: document the C locale crash, for now.
1184
1185 2003-01-06 Dani Carbonell <[email protected]>
1186
1187 * dialogs.c (prefdialog_themelist): don't select a theme if we can't
1188 find it in the current theme list.
1189
1190 2003-01-06 Jordi Mallach <[email protected]>
1191
1192 * NEWS: updated for 0.5.1.
1193 * README: update requirements.
1194 * TODO: updated.
1195
1196 * src/dialogs.c (teamdialog_new): patch from Dani which converts
1197 input to UTF-8,
1198
1199 2003-01-06 Dani Carbonell <[email protected]>
1200
1201 * src/dialogs.c (prefdialog_new): fixed the code that checks
1202 if the window is opened or not, now it should not crash, even if
1203 abused, also connected the "destroy" signal.
1204 (connectingdialog_new): likewise (this should stop the connecting
1205 crash).
1206 (connectdialog_new): likewise, and I changed the button order, so
1207 now it's HIG compliant (OK buttons in the lower right corner).
1208 (teamdialog_new): likewise, and connected the "destroy" signal.
1209
1210 2003-01-05 Jordi Mallach <[email protected]>
1211
1212 * NEWS, configure.in: released gtetrinet 0.5.0.
1213
1214 2003-01-05 Jordi Mallach <[email protected]>
1215
1216 * NEWS: updated for 0.5.0.
1217 * TODO: updated.
1218
1219 2003-01-05 Jordi Mallach <[email protected]>
1220
1221 * src/commands.c (toolbar): assign an icon to the detach button,
1222 and add useful tooltips to each button.
1223
1224 2003-01-05 Dani Carbonell <[email protected]>
1225
1226 * TODO: updated.
1227
1228 * src/dialogs.c (connectingdialog_new): fixed behaviour when opening
1229 more than one window, now it presents the existing one.
1230 (teamdialog_new):likewise.
1231 (prefdialog_new):likewise.
1232
1233 * src/tetrinet.c (tetrinet_key): we were giving focus to the gmsginput
1234 even if there was no such input visible, now we only give focus if
1235 gmsgstate == 1 (while writing message).
1236
1237 * src/gtetrinet.c (main): gtk_window_set_policy is deprecated,
1238 changed to gtk_window_set_resizable.
1239
1240 2003-01-05 Jordi Mallach <[email protected]>
1241
1242 * Adapt patch from Jan Bretschneider with some UI improvements that
1243 mimic windows tetrinet's behaviour.
1244 * src/gtetrinet.c (show_fields_page): new function, switches to fields
1245 notebook tab.
1246 (show_partyline_page): new funtion, switches to partyline notebook
1247 tab.
1248 * src/tetrinet.c (tetrinet_inmessage): switch to partyline on
1249 successful connect and on game end, and to fields on game start.
1250
1251 2003-01-05 Jordi Mallach <[email protected]>
1252
1253 * src/commands.c (about_command): fix segfault when calling two about
1254 dialogs. Patch from James Antill.
1255
1256 * src/gtetrinet.c (main): autofocus the text box when switching from
1257 some notetab to partyline. Patch from James Antill.
1258
1259 2003-01-05 Dani Carbonell <[email protected]>
1260
1261 * TODO: updated.
1262
1263 * src/tetrinet.c (tetrinet_inmessage): converted reason to disconnect
1264 to UTF-8 so it can be displayed properly.
1265
1266 * src/winlist.c (winlist_additem): fixed memory leak.
1267
1268 * src/misc.c (nocolor): it wasn't doing anything, reverted to its
1269 previous behaviour, but now it doesn't cut accented characters ( < 0 ).
1270
1271 * src/fields.c (fields_setlabel): now displays correctly all the UTF-8
1272 characters, applying the nocolor () function to the ASCII strings
1273 before recoding them to UTF-8.
1274
1275 * src/partyline.c (partyline_namelabel): likewise.
1276 (partyline_page_new): added a horizontal scrollbar to the playerlist.
1277
1278 * src/gtetrinet.c (keypress): string "Playing Fields" wasn't been
1279 translated, and gtk_object_get_data ported to g_object_get_data.
1280 (keyreleased): likewise.
1281
1282 2003-01-05 Jordi Mallach <[email protected]>
1283
1284 * TODO: updated.
1285
1286 * src/dialog.c: port gtk_signal_connect instances to g_signal_connect.
1287 * src/fields.c: likewise.
1288 * src/gtetrinet: likewise.
1289
1290 2003-01-05 Jordi Mallach <[email protected]>
1291
1292 * src/commands.c: update copyright notices... happy new year.
1293
1294 2003-01-05 Jordi Mallach <[email protected]>
1295
1296 * TODO: add missing item.
1297
1298 * New patch from Dani Carbonell:
1299
1300 * src/commands.c (about_command): only create dialog if it doesn't
1301 exist. If it does, raise it.
1302
1303 * src/dialogs.c (connectingdialog_destroy): remove timeouttag only if
1304 it isn't 0.
1305
1306 * src/misc.c (leftlabel_set): convert theme info to UTF-8 before
1307 displaying.
1308 * src/winlist.c (winlist_additem): convert winlist items to UTF-8.
1309
1310 * src/partyline.c (partyline_page_new): port gtk_signal_connect to
1311 g_signal_connect.
1312
1313 2003-01-05 Jordi Mallach <[email protected]>
1314
1315 * AUTHORS: add Dani Carbonell.
1316 * TODO: remove done items, add new issues.
1317 * NEWS: updated for 0.5.0.
1318
1319 * src/commands.c (about_command): update author list.
1320
1321 2003-01-04 Jordi Mallach <[email protected]>
1322
1323 * Big patch from Dani Carbonell, who saved our day and fixes most of
1324 the pending issues in 0.5.0.
1325
1326 * src/commands.c: add stock icons to the toolbar. Needs better
1327 icons, still.
1328
1329 * src/dialogs.c (teamdialog_button): convert the team name to iso
1330 text before sending to the server.
1331 (connectdialog_button): likewise, for team, nick and server names.
1332 (connectdialog_new): convert nick and team names to UTF-8 before
1333 displaying.
1334 * src/fields.c (fields_setlabel): likewise.
1335 (fields_gmsginputadd): convert field messages to UTF-8 before
1336 displaying.
1337 (fields_gmsginputback): get previous char in UTF-8.
1338 * src/misc.c (textbox_addtext): replace g_utf8_normalize with
1339 g_locale_to_utf8.
1340 (nocolor): remove stripping of high characters, as we're doing UTF-8.
1341 * src/partyline.c (partyline_namelabel): convert nick and team names
1342 to UTF-8.
1343 (partyline_playerlist): likewise.
1344 (textentry): convert input from UTF-8 to ISO-8859-1.
1345 (entrykey): likewise.
1346 * src/tetrinet.c (tetrinet_key): convert messages to iso text before
1347 sending them to the server.
1348
1349 * dialogs.c (prefdialog_drawkeys): port keys CList to GtkTreeView.
1350 (prefdialog_clistupdate): new function, replaces
1351 prefdialog_clistselect and prefdialog_clistunselect.
1352 (prefdialog_changekey): reworked for GtkTreeView changes.
1353 (prefdialog_themeselect): port themes GTK_CList to GtkTreeView.
1354 (prefdialog_themelist): port to GtkTreeView.
1355 (prefdialog_new): port to GtkTreeView.
1356 * src/partyline.c (partyline_page_new): port playerlist CList to
1357 GtkTreeView.
1358 Stop unsetting GTK_CAN_FOCUS flag for partyline's gtk_text_view, and
1359 disable set_editable and set_cursor_visible.
1360 (partyline_playerlist): port playerlist CList to GtkTreeViewa
1361 * src/winlist.c (winlist_clear): port winlist to GtkTreeView.
1362 (winlist_additem): likewise.
1363
1364 * src/gtetrinet.c (main): assign a window icon.
1365
1366 * src/misc.c (textbox_setup): don't set a background color. Doesn't
1367 appear to be useful at all, and makes text scrolling faster.
1368
1369 2003-01-04 Jordi Mallach <[email protected]>
1370
1371 * src/tetrinet.c: correct colours for several messages.
1372
1373 2002-12-18 Jordi Mallach <[email protected]>
1374
1375 * src/fields.[ch] (fields_attdeffmt): new function, based on
1376 partyline_fmt().
1377 * src/tetrinet.c (tetrinet_inmessage): replace fields_attdefmsg()
1378 uses that need i18n with fields_attdeffmt().
1379
1380 2002-12-16 Jordi Mallach <[email protected]>
1381
1382 * src/config.c: make the "discard special" key configurable.
1383 (config_loadconfig): add "Keys/Discard" to the key list.
1384 (config_saveconfig): save "Keys/Discard".
1385 * src/config.h: define K_DISCARD, bump K_NUM to 8.
1386 * src/dialogs.c (prefdialog_drawkeys): add "Discard Special" action.
1387
1388 * src/partyline.[ch] (partyline_fmt): new function, api to wrap around
1389 partyline_text() that is gettext friendly. Patch by James Antill.
1390 * src/tetrinet.c: gettextize missing partyline messages, using
1391 partyline_fmt() when needed.
1392 (partylineupdate_timeout): change logic for a message that assumed
1393 that "alone" is both singular and plural for all languages. Patch by
1394 James Antill.
1395
1396 2002-12-05 Jordi Mallach <[email protected]>
1397
1398 * src/dialogs.c (prefdialog_themelist): fix memleak, spotted by
1399 Wichert Akkerman. closedir() before jumping to "too_many_themes".
1400
1401 * TODO: add more porting problems.
1402
1403 2002-12-03 Jordi Mallach <[email protected]>
1404
1405 * src/tetrinet.c (tetrinet_inmessage): patch from Niko Böhm, fixes
1406 player count after several /move commands.
1407
1408 * AUTHORS: added Niko.
1409
1410 2002-12-02 James Antill <[email protected]>
1411
1412 * src/misc.c (adjust_bottom_text_view): Change function API to work on
1413 TextViews nativley ... use idle handler to stop syncronous updates.
1414 (nocolor): Change static buffer with no bounds checking to dynamicly
1415 sized buffer.
1416
1417 * src/gtetrinet.c (keypress): Search for notebook keys before game
1418 keys (as 1, 2 and 3 are attack commands).
1419
1420 2002-11-18 Jordi Mallach <[email protected]>
1421
1422 * AUTHORS: added Gerfried.
1423
1424 2002-11-18 Jordi Mallach <[email protected]>
1425
1426 * configure.in: AM_GNU_GETTEXT was needed after all (generates
1427 po/Makefile) (or I am missing something).
1428 (ALL_LINGUAS): added German (de).
1429
1430 2002-11-18 Jordi Mallach <[email protected]>
1431
1432 * src/commands.c, src/dialogs.c, src/gtetrinet.c: unify a few strings,
1433 to ease translator work (thanks, Gerfried Fuchs).
1434
1435 2002-11-08 Jordi Mallach <[email protected]>
1436
1437 * Makefile.am: remove ACLOCAL_AMFLAGS definition.
1438
1439 2002-11-08 Jordi Mallach <[email protected]>
1440
1441 * configure.in: er, AC_SUBST GETTEXT_PACKAGE too.
1442
1443 2002-11-08 Jordi Mallach <[email protected]>
1444
1445 * configure.in: define GETTEXT_PACKAGE.
1446
1447 2002-10-30 Jordi Mallach <[email protected]>
1448
1449 * TODO: added a list of issues to tackle.
1450
1451 2002-10-28 Bastien Nocera <[email protected]>
1452
1453 * Makefile.am: remove intl as a subdir
1454 * configure.in: remove the evil AM_GNU_GETTEXT call, no need for
1455 intl/
1456 * intl/*: removed
1457
1458 2002-10-28 Bastien Nocera <[email protected]>
1459
1460 * Makefile.am: removed m4/ added intl/
1461 * autogen.sh: use a gnome2 one
1462 * configure.in: updated to gnome2
1463
1464 2002-10-28 Jordi Mallach <[email protected]>
1465
1466 * AUTHORS: added a random list of people who should be creditted.
1467 Probably missing many.
1468 * NEWS: added 0.5.0 items.
1469
1470 2002-10-28 Jordi Mallach <[email protected]>
1471
1472 * src/commands.c (about_command): rename documentors to documenters.
1473 Add translator credits. Assign the gtetrinet icon to the about dialog.
1474 Add a hyperlink to GTetrinet's homepage.
1475 * src/gtetrinet.c (main): set bind_textdomain_codeset to "UTF-8".
1476 Remove useless setlocale call.
1477
1478 * configure.in: bump version to 0.5.0pre1.
1479
1480 2002-10-28 Jordi Mallach <[email protected]>
1481
1482 * Finally, GNOME2!
1483
1484 * configure.in: require GTK 2.0.0 and various GNOME2 libs.
1485 * src/Makefile.am: new GNOME2 includes.
1486 * src/client.c, src/client.h, src/commands.c, src/dialogs.c,
1487 src/fields.c, src/fields.h, src/gtetrinet.c, src/misc.c, src/misc.h,
1488 src/partyline.c, src/tetrinet.c, src/tetrinet.h: initial port to
1489 GNOME2 by James Antill.
1490
1491 2002-10-28 Jordi Mallach <[email protected]>
1492
1493 * src/config.c (config_loadconfig): patch from James Antill. Save
1494 and restore the server, as well as the server history.
1495
1496 2002-10-27 Jordi Mallach <[email protected]>
1497
1498 * NEWS, configure.in: released gtetrinet 0.4.4.
1499
1500 2002-10-22 James Antill <[email protected]>
1501
1502 * src/tetrinet.c (tetrinet_inmessage): Check all values from atoi()
1503 for out of bounds.
1504 (tetrinet_inmessage): Check all int values from sscanf() for out of
1505 bounds.
1506 (tetrinet_inmessage): Stop buffer overflows in sscanf() %s.
1507 (tetrinet_inmessage): Protect playercount from overflow.
1508 (speclist_add): Protect spectatorcount from overflow.
1509
1510 2002-10-21 James Antill <[email protected]>
1511
1512 * src/tetrinet.c: Convert hard coded color/attribute values into
1513 constants and %c formats, when used in g_snprintf(). Readability.
1514
1515 * src/*.c: Replace all uses of sprintf(), strcpy(), strcat(),
1516 strncpy() and strncat() with GTET_STRCPY() or GTET_STRCAT().
1517
1518 * src/config.c (config_getthemeinfo): Fixup buffer overflows on theme
1519 info load.
1520
1521 * src/misc.h (GTET_STRCPY): Added safe strcpy() function.
1522 (GTET_STRCAT): Added safe strcat() function.
1523 (GTET_O_STRCPY): Added safe strcpy() function, with auto size.
1524 (GTET_O_STRCAT): Added safe strcat() function, with auto size.
1525
1526 2002-10-21 Jordi Mallach <[email protected]>
1527
1528 * NEWS, configure.in: released gtetrinet 0.4.3.
1529
1530 2002-10-21 Jordi Mallach <[email protected]>
1531
1532 * src/client.c: add missing include "../config.h".
1533 * src/commands.c: ifdef around include "../config.h".
1534 * src/config.c: likewise.
1535 * src/dialogs.c: likewise.
1536 * src/fields.c: likewise.
1537 * src/gtetrinet.c: likewise.
1538 * src/partyline.c: likewise.
1539 * src/tetrinet.c: likewise.
1540 * src/winlist.c.: likewise.
1541
1542 2002-10-20 Jordi Mallach <[email protected]>
1543
1544 * NEWS: update for 0.4.3.
1545
1546 * doc/gtetrinet.6: document the keybind changes.
1547
1548 * src/Makefile.am: use AM_CPPFLAGS, not CPPFLAGS.
1549
1550 2002-10-20 Jordi Mallach <[email protected]>
1551
1552 * Patches from James Antill with the following fixes.
1553 * src/fields.c (fields_page_contents): change the attack/defense
1554 box's minimum size, to avoid message wraps as much as possible.
1555 * src/gtetrinet.c (keypress): check for modifier states.
1556 (gtetrinet_key): change the toggle page keybinds from F1, F2 and F3
1557 to Alt+1,2,3. The previous ones were normally captured by window
1558 managers.
1559 * src/misc.c (textbox_addtext): add continue in next:.
1560 * src/misc.h: define colours for attack/defense messages...
1561 * src/tetrinet.c (tetrinet_dospecial): ... and use them here,
1562 depending on to whom affects the special and its type.
1563 (tetrinet_addspecial): Fix the random order of added special blocks
1564 when the player just has one.
1565 Shorten attack/defense messages.
1566
1567 2002-10-19 Jordi Mallach <[email protected]>
1568
1569 * Patch from Cougar <[email protected]> which adds IPv6 support.
1570 * configure.in: add --enable-ipv6 option.
1571 * src/client.c: add support to ipv6 connections using getaddrinfo() &
1572 friends.
1573
1574 2002-10-18 Jordi Mallach <[email protected]>
1575
1576 * src/client.c: tidy spacing between copyright header and code.
1577 * src/keys.c: likewise.
1578 * src/misc.c: likewise.
1579 * src/sound.c: likewise.
1580 * src/tetris.c: likewise.
1581
1582 * src/commands.c: include "../config.h".
1583 * src/commands.h: remove include.
1584 * src/config.c: include "../config.h".
1585 * src/dialogs.c: include "../config.h". CList header i18n fixes.
1586 * src/fields.c: include "../config.h".
1587 * src/gtetrinet.c: likewise.
1588 * src/partyline.c: likewise.
1589 * src/tetrinet.c: likewise.
1590 * src/winlist.c: likewise.
1591
1592 2002-10-17 Jordi Mallach <[email protected]>
1593
1594 * NEWS, configure.in: released gtetrinet 0.4.2.
1595
1596 2002-10-17 Jordi Mallach <[email protected]>
1597
1598 * NEWS: update for 0.4.2.
1599
1600 2002-10-17 Jordi Mallach <[email protected]>
1601
1602 * po/Makevars (COPYRIGHT_HOLDER): set to Ka-shu Wong.
1603
1604 2002-10-17 Jordi Mallach <[email protected]>
1605
1606 * src/sound.c (sound_playsound): patch from Ryan Underwood which
1607 fixes sound support.
1608
1609 2002-10-14 Jordi Mallach <[email protected]>
1610
1611 * Makefile.am: add a "changelog" target, generates a CVS-based
1612 changelog. Requires cvs2cl.
1613
1614 2002-10-14 Jordi Mallach <[email protected]>
1615
1616 * NEWS: update for 0.4.2.
1617
1618 2002-10-14 Jordi Mallach <[email protected]>
1619
1620 * Upgrade to gettext 0.11.5.
1621 * configure.in: add AM_GNU_GETTEXT_VERSION, for autopoint.
1622
1623 * src/config.c: include ../config.h.
1624
1625 2002-10-14 Jordi Mallach <[email protected]>
1626
1627 * configure.in: require autoconf 2.52, add switch to enable page
1628 detaching.
1629
1630 * src/commands.c, src/commands.h: ifdef around detach UI options.
1631 * src/commands.h: include ../config.h.
1632
1633 2002-10-12 Jordi Mallach <[email protected]>
1634
1635 * doc/gtetrinet.6: replace notes about tetrinetx's licensing problems
1636 with the url of the SourceForge project.
1637
1638 2002-10-03 Jordi Mallach <[email protected]>
1639
1640 * src/tetrinet.c: patch from Niko Böhm which fixes a missbehaviour
1641 of blockbomb.
1642
1643 2002-07-06 Jordi Mallach <[email protected]>
1644
1645 * themes/default/Makefile.am (EXTRA_DIST): added $(defaulttheme_DATA).
1646 * themes/small/Makefile.am (EXTRA_DIST): added $(smalltheme_DATA).
1647
1648 2002-06-29 Jordi Mallach <[email protected]>
1649
1650 * NEWS: extracted GTetrinet's history from the ChangeLog.
1651 * README: fixed a few things.
1652
1653 * doc/gtetrinet.6: added the manpage which I've been distributing
1654 with the Debian package for over a year.
1655
1656 * src/Makefile.am: install gtetrinet in /usr/games by default.
1657
1658 2002-06-28 Bastien Nocera <[email protected]>
1659
1660 * src/partyline.c: (partyline_page_new):
1661 * src/winlist.c: (winlist_page_new):
1662 work-arounds to get the clist headers translated
1663
1664 2002-06-28 Jordi Mallach <[email protected]>
1665
1666 * src/gtetrinet.c, partyline.c, partyline.h, tetrinet.c:
1667 patch from Bastien Nocera which fixes focusing of the text entry
1668 when switching to the partyline page.
1669
1670 2002-06-28 Jordi Mallach <[email protected]>
1671
1672 * autogen.sh: added.
1673
1674 * gtetrinet.desktop: added Catalan translations.
1675
1676 * configure.in: added src/images/Makefile to AC_OUTPUT.
1677 * src/Makefile.am: added images to SUBDIRS.
1678 * src/images/Makefile.am: added, EXTRA_DIST the images.
1679
1680 2002-06-28 Jordi Mallach <[email protected]>
1681
1682 * Added internationalization support.
1683
1684 * Makefile,am: added missing stuff to EXTRA_DIST.
1685 Added po to SUBDIRS.
1686 * configure.in: call AM_GNU_GETTEXT, added ALL_LINGUAS.
1687
1688 * src/Makefile: define $localedir and add it to the compile
1689 includes.
1690 * src/gtetrinet.c: setup gettext init.
1691 * src/commands.c, src/gtetrinet.c, src/tetrinet.c, src/winlist.c,
1692 src/winlist.c: marked missing strings for translation.
1693
1694 * po/ca.po: new Catalan translation.
1695
1696 2002-06-28 gettextize <[email protected]>
1697
1698 * Makefile.am (SUBDIRS): Add m4.
1699 (ACLOCAL_AMFLAGS): New variable.
1700 (EXTRA_DIST): New variable.
1701 * configure.in (AC_OUTPUT): Add po/Makefile.in, m4/Makefile.
1702
1703 2002-01-14 Jordi Mallach <[email protected]>
1704 * Fixed cosmetic issue in about dialog.
1705 * Fixed major problem in ARM, PowerPC and S/390 architectures,
1706 char variables aren't signed by default in those systems.
1707
1708 2001-11-05
1709 * Cleaned up page detach patch.
1710 * Merged TetriFast support.
1711 (tested compatible with Pihvi's Java Tetrinet Server)
1712 * Added some fixes by Pihvi.
1713 * Miscellaneous bug fixes.
1714 * Game messages are no longer cleared when a game ends.
1715 * Player listing in the partyline is now numbered.
1716
1717 2001-01-13
1718 * Merged page detach patch from Neil Bird <[email protected]>.
1719 * Fixed stupid bug in tetrinet_specialkey().
1720
1721 2000-07-03 - version 0.4.1
1722
1723 2000-06-27
1724 * Pause/resume now causes a message to be displayed on fields page.
1725
1726 2000-06-26
1727 * GTetrinet no longer resends field upon player join.
1728 * Fixed spurious "The game has resumed" messages.
1729 * Merged partyline patch for high chars.
1730
1731 2000-06-08
1732 * Changed website addresses.
1733 * Made configure run properly under GNOME 1.2.
1734 * Changed icons to be friendlier to dark-coloured backgrounds.
1735
1736 2000-01-12
1737 * Merged patch for Solaris support from Lars Christensen.
1738 * Made some modifications to the README file.
1739
1740 1999-12-30
1741 * Added a couple of checks for null pointers.
1742
1743 1999-12-21 - version 0.4
1744
1745 1999-12-20
1746 * Fixed bug where the random filled field is not sent after player
1747 loses.
1748
1749 1999-12-13
1750 * Changed layout of connection dialog, added teamname entry.
1751
1752 1999-12-06
1753 * It is now possible to change teams while not connected.
1754 * Fixed a stupid spectator list bug.
1755
1756 1999-12-05
1757 * Fixed a nasty messed-up field bug. (Thanks drslum!)
1758
1759 1999-11-29
1760 * Added command line options support.
1761 * Miscellaneous bug fixes.
1762
1763 1999-11-28
1764 * Added tetrix server detection.
1765
1766 1999-11-27
1767 * Added history to the partyline input box.
1768
1769 1999-11-26
1770 * Fixed bugs with gamemsg input box.
1771
1772 1999-11-25
1773 * Fixed level displays when in spectator mode.
1774 * Fixed a case when a F line is sent as a spectator.
1775
1776 1999-11-17
1777 * Tweaked display of player join, leave, and team lessages.
1778 * Fixed bug where multiple error dialogs are displayed.
1779
1780 1999-11-16
1781 * Display of moderator change messages are now delayed, to prevent
1782 multiple messages being displayed on connection to server.
1783
1784 1999-11-14
1785 * kick and playerwon messages from the server are now handled.
1786 (appropriate messages are displayed in the partyline screen)
1787
1788 1999-11-09
1789 * Most of spectator support done.
1790
1791 1999-11-08
1792 * Miscellaneous bug fixes + stuff for spectator support.
1793
1794 1999-11-06
1795 * Reduced the number of field updates sent to server.
1796 * Miscellaneous bug fixes.
1797
1798 1999-08-21
1799 * Added checkboxes in preferences dialog to enable/disable sound.
1800
1801 1999-07-27
1802 * Added debian/ directory.
1803
1804 1999-07-14
1805 * Opponent's fields are now correctly displayed when connected while
1806 in game.
1807 * Added a couple of lines of code for debugging.
1808
1809 1999-07-13
1810 * Pressing F2 to switch to partyline page now also activates the
1811 entry box.
1812
1813 1999-07-10
1814 * GTetrinet no longer requires EsounD to compile.
1815 * Fixed bug where the MIDI is started when theme settings are changed
1816 but game is not in progress.
1817
1818 1999-07-07 - version 0.3
1819 * Added icon + GNOME desktop file.
1820
1821 1999-07-05
1822 * Player field is now properly cleared when player leaves.
1823 * Improved theme selection page.
1824 * Changed entries in connection and team dialogs to gnome_entrys.
1825
1826 1999-06-23
1827 * MIDI player no longer runs if there is no MIDI for the current theme.
1828
1829 1999-06-08
1830 * Changed theme file key "Theme/ThemeName" to "Theme/Name".
1831 * Added theme file keys "Theme/Author" and "Theme/Description".
1832
1833 1999-05-31
1834 * Found and removed an annoying printf() statement.
1835 * Added keys (F1, F2, F3) to switch between notebook pages.
1836 * Added MIDI support through an external player.
1837 * Changed e-mail addresses. (so many!)
1838
1839 1999-05-27
1840 * Updated sound support to use esd's sample caching for faster sound.
1841
1842 1999-05-16
1843 * Added sound support through gnome-sound.
1844 * There is now a longer delay between the block hitting something and
1845 the time it solidifies. (should now be the same as Windows Tetrinet)
1846 * Added full stops on every sentence in the ChangeLog.
1847
1848 1999-04-09
1849 * Players now immediately lose if there is no space for the next
1850 block.
1851
1852 1999-04-01 - version 0.2
1853 * Added preferences dialog.
1854 * Miscellaneous UI changes.
1855 * Updated URLs.
1856
1857 1999-03-28
1858 * Changed fields page player name & team display.
1859 * A short description is now displayed for the current special block.
1860 * Miscellaneous bug fixes. (Thanks to drslum for pointing them out)
1861
1862 1999-03-25
1863 * Fixed block bomb behaviour - blocks are not scattered to top 6 lines,
1864 and empty squares blown up by other blocks are scattered.
1865
1866 1999-03-24
1867 * Classic mode added lines and A-block added lines are now different,
1868 like in original Tetrinet. (Thanks to drslum for info)
1869 * Fixed switch field so that it removes lines at the bottom if there
1870 are < 6 free lines at the top, instead of simply clearing the top 6
1871 lines.
1872
1873 1999-03-22 - version 0.1
1874 * ChangeLog started.