1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610
|
2009-03-24 Mathieu Blondel <mblondel@svn.gnome.org>
* release 1.0-beta7
2009-02-03 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/dictzip.rb: Added Dictzip#path.
* lib/fantasdic/sources/dictd_file.rb: Handles the case when a match is
found in the index but the definition can't be reached in the dictionary.
2009-01-18 Mathieu Blondel <mblondel@svn.gnome.org>
* test/test_utils.rb: More complete test for hiragana? and katakana?.
2009-01-08 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/result_text_view.rb: Support for image tags.
* lib/fantasdic/sources/epwing_dictionary.rb: Support for images and gaiji.
2009-01-07 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb:
* lib/fantasdic/ui/result_text_view.rb:
* data/fantasdic/ui/menus.xml: Added buttons to directly jump to a
definition or a database.
2009-01-07 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/epwing_dictionary.rb: Early support for EPWING
dictionaries. This is a very popular format in Japan. The source requires
rubyeb. The source will be visible to everyone but it will eventually
complain if someone tries to use it without having ruby installed.
EPWING uses EUC-JP encoding and relies on so-called "gaiji" (foreign
character) for characters not supported by EUC-JP. gaiji are displayed as
images so we need a way to allow a source to display images...
I guess Unicode didn't exist at that time...
To be implemented...
2009-01-07 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Fixed bug when source doesn't exist anymore.
2009-01-06 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/text/porter_stemming.rb: Support for stemming (e.g.
stemming => stem).
* lib/fantasdic/text/metaphone.rb: Algorithm to compare the
pronunciation of two strings.
* lib/fantasdic/text/double_metaphone.rb: Same.
* lib/fantasdic/text/soundex.rb: Same.
* lib/fantasdic/text/levenshtein.rb: Levenshtein distance.
All those files are imported from http://rubyforge.org/projects/text.
License is either public domain or Ruby license (GPL compatible)
* lib/fantasdic/sources/dictd_file.rb: Support for the above methods +
Regexp.
* lib/fantasdic/sources/stardict_file.rb: Same.
* lib/fantasdic/file_source.rb: Some factoring.
* lib/fantasdic.rb: Necessary "require"s.
2009-01-05 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Let the match side pane grab the focus when
it is displayed. This allows the user to use the arrow keys to browse the
matches.
2009-01-05 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/stardict_file.rb: Fixed check_validity.
2009-01-05 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/stardict_file.rb: Added xdxf markup support.
* lib/fantasdic/ui/utils.rb (TextBuffer#insert_pango_markup): Don't need
to set a Gtk::TextMark.
2009-01-04 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/dict_server.rb: Fixed bug when the server is
listening but doesn't talk the right protocol.
2009-01-04 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/utils.rb: Added Gtk::TextBuffer#insert_pango_markup.
This allows to insert text in pango markup (pseudo html). The markup
will be displayed like normal text in case of wrong syntax or unknown tag.
* lib/fantasdic/ui/result_text_view.rb: Use it. For now, it's always used
but it may be better to activate it only when the source requires it. For
example, Stardict dictionaries with "sametypesequence=g" use pango markup.
2009-01-04 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/stardict_file.rb: Stardict file source is now
usable.
2009-01-04 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/dictd_file.rb: Define and prefix search is now case
insensitive.
2009-01-04 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/dictd_file.rb: Now supports .dz files.
2009-01-04 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/dictzip.rb: Added class to read dictzip files.
Dictzip files are legal gzip files that contain additional information
in the header. This information can be used by the class to provide pseudo
random access to the uncompressed file (Dictzip#pos=).
Concretely, the extra information takes the form of a table of chunk sizes.
By using this information, it is possible to know which chunk is affected by
the area we want to read. If the area read is more than 64KB, it is
necessary to read more than one chunk.
Dictzip is also used by dictd and stardict.
* test/test_dictzip.rb: Unit test for the class.
* test/data/freedict-eng-fra.dict.dz: A larger dictionary was needed to test
that files with more than one chunk work correctly.
* test/data/freedict-eng-fra.dict: Uncompressed version of the file.
* lib/fantasdic.rb: Require lib/fantasdic/dictzip.rb.
2008-12-19 Mathieu Blondel <mblondel@svn.gnome.org>
* tools/dictd2stardict.rb: Added tool to convert a dictionary for the dictd
server to the stardict format. The tool takes an index as input and outputs
and index (.idx) and an information file (.ifo) as output.
2008-09-21 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb (load_window_preferences): Check that the
window coordinates are not negative.
2008-09-10 Mathieu Blondel <mblondel@svn.gnome.org>
* trunk/README: Updated project metadata.
* trunk/lib/fantasdic.rb: Ditto.
* trunk/fantasdic.sgml: Ditto and fixed man section.
2008-09-08 Mathieu Blondel <mblondel@svn.gnome.org>
* release 1.0-beta6
2008-09-01 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/virtual_dictionary.rb: Fixed typo.
2008-08-31 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/binary_search.rb: Renamed BinarySearch module to
FileBinarySearch. Renamed match_binary_search to binary_search_all.
Added an implementation of Array#binary_search and Array#binary_search_all.
In FileBinarySearch, handle the case when an index entry is hit exactly.
* test/test_binary_search.rb: Unit-test.
* lib/fantasdic/sources/dictd_file.rb: Follow the above.
* test/test_dictd_file.rb: More test-cases.
* lib/fantasdic/sources/stardict_file.rb: Beginning of a stardict file
source. Still todo:
- Due to the stardict file format, it is not possible to find
the boundaries of an index entry without parsing the whole index.
As a result, the whole index needs to be read in order to perform
binary_search on it... To speed up lookups, an offset cache should
be generated and saved to #{GLib.user_cache_dir}/fantasdic. This what
Stardict does!
- Add user interface.
- Write a DictzipReader class. This will be useful for the dictd source
file as well.
* test/test_stardict_file.rb: Unit test.
* test/data/dictd_www.freedict.de_eng-swa.ifo: Test data.
* test/data/dictd_www.freedict.de_eng-swa.dict.dz: Test data.
* test/data/dictd_www.freedict.de_eng-swa.dict: Test data.
* test/data/dictd_www.freedict.de_eng-swa.idx: Test data.
2008-08-31 Mathieu Blondel <mblondel@svn.gnome.org>
* test/test_utils.rb: Don't use global variables for filenames because it
can cause conflicts.
* test/test_preferences.rb: Ditto.
* test/test_dictd_file.rb: Ditto.
* test/test_edict_file.rb: Ditto.
* test/test_google_translate.rb: Ditto.
* test/test_dict_server.rb: Ditto.
* test/test_source_base.rb: Ditto.
* test/test_virtual_dictionary.rb: Ditto.
2008-08-30 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/dictd_file.rb: Make get_word_list return the
(word, offset, len) triplet rather than just the word.
* test/test_dictd_file.rb: Updated.
2008-08-30 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/dictd_file.rb: Added DictdFile#get_word_list.
* test/test_dictd_file.rb: Unit test.
2008-08-27 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb (load_last_searches): Fixed problem.
2008-08-27 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb (initialize): Define the mutex object before
a search can be triggered.
2008-08-27 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb (selected_dictionary): Fixed bug.
* lib/fantasdic/sources/virtual_dictionary.rb: Handles the case when a
virtual dictionary uses a dictionary that was deleted in the meantime.
2008-08-26 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/binary_search.rb: Fixed a bug.
* lib/fantasdic/utils.rb: Added Enumerable#sum.
* test/test_utils.rb: Added unit test for it.
* lib/fantasdic/sources/virtual_dictionary.rb: Added Virtual Dictionary
source. This is a source where databases are dictionaries defined in the
settings. This is a convient solution to to group dictionaries together.
* test/test_virtual_dictionary.rb: Added unit test for it.
2008-08-26 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/file_source.rb: Renamed @hash to @config.
* lib/fantasdic/sources/virtual_dictionary.rb: Likewise.
* lib/fantasdic/sources/dictd_file.rb: Likewise.
* lib/fantasdic/sources/edict_file.rb: Likewise.
* lib/fantasdic/sources/dict_server.rb: Likewise.
* lib/fantasdic/source_base.rb: Likewise.
* lib/fantasdic/ui/add_dictionary_dialog.rb: Likewise.
2008-08-26 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/preferences.rb: Include the name of the dictionary in the
configuration hash.
* test/test_preferences.rb: Updated accordingly.
2008-08-25 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: When right-clicking on a selected word,
in the menu, display the currently-selected dictionary first.
2008-08-24 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/about_dialog.rb: Gtk::AboutDialog#name= is deprecated in
favor of Gtk::AboutDialog#program_name= so try to use program_name= if
available or name= if not.
* lib/fantasdic/ui/add_dictionary_dialog.rb: Likewise.
2008-08-24 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/binary_search.rb: Reusable binary search implementation.
This implementation is aimed for files. It should be possible to use it for
stardict dictionary files as well.
* lib/fantasdic/file_source.rb: Code that is common to all file-based
dictionary sources.
* lib/fantasdic/sources/edict_file.rb: Use the above.
* lib/fantasdic.rb: "Require" the new files.
* lib/fantasdic/sources/dictd_file.rb: New dictionary source. This source
can read dictionary files aimed for the dictd server, usally a .index file
and a .dict file. Most of the time the .dict file will be compressed in
a custom gzip and will have extension .dict.dz. This format is not supported
yet. A class "DictzipReader" needs be written.
* test/test_dictd_file.rb:
* test/data/freedict-wel-eng.dict.dz:
* test/data/freedict-wel-eng.dict:
* test/data/freedict-wel-eng.index: Unit test + data.
2008-08-24 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/utils.rb: Fixed bug in Array#push_head!
2008-08-23 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Fixed crashers related to threads.
2008-08-23 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/command_line.rb: Added the -d option to enable debug mode.
2008-08-23 Mathieu Blondel <mblondel@svn.gnome.org>
* test/test_source_base.rb: Added unit test.
* lib/fantasdic/source_base.rb: Allow to define :max_cache as an option.
2008-08-23 Mathieu Blondel <mblondel@svn.gnome.org>
* test/test_dict_server.rb: Added unit test.
2008-08-23 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Fixed bug with plural form.
* lib/fantasdic/command_line.rb: Ditto.
2008-08-23 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/config/default.yaml: es.dict.org doesn't seem to exist
anymore. Removed it!
2008-08-23 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Grab focus on the result view.
2008-08-23 Mathieu Blondel <mblondel@svn.gnome.org>
* test/test_edict_file.rb:
* test/data/edict.eucjp.gz:
* test/data/edict.utf8.gz:
* test/data/edict.utf8:
* test/data/edict.eucjp: Unit test for EdictFile source + test data.
* lib/fantasdic/sources/edict_file.rb: Better way to choose between the two
available implementations. Fixed a bunch of bugs spotted by the unit test.
2008-08-23 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/source_base.rb: Renamed load_plugins to load_sources. Also
the sources used to be added automatically to the list of available sources.
This was detected when Source::Base was inherited. This behavior was
changed. Sources now need to be declared with register_source. This allows
to inherit from Source::Base without adding a source.
* lib/fantasdic.rb: Renamed load_plugins to load_sources.
* lib/fantasdic/sources/dict_server.rb: Call register_source.
* lib/fantasdic/sources/google_translate.rb: Ditto.
2008-08-22 Mathieu Blondel <mblondel@svn.gnome.org>
* test/test_preferences.rb: Added a test for the save! method.
2008-08-21 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/preferences.rb: Split Preferences into Preferences and
PreferencesBase; support edge cases in some functions.
* test/test_preferences.rb: Added unit test.
* test/data/config.yaml: Data used by the unit test.
2008-08-21 Mathieu Blondel <mblondel@svn.gnome.org>
* test/test_utils.rb: Unit test for the utils.
2008-08-21 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Update the search entry font when the
dictionary menu is changed rather than when the search entry is activated.
2008-08-20 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/print.rb: Slice the word in the header if it's too long.
This can happen when one enters a long sentence to translate with Google
Translate.
2008-08-20 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/google_translate.rb: Fixed bug which made the
source return no results. This was due to a change in the HTML structure of
the results in translate.google.com.
* test/test_google_translate.rb: Added a unit-test.
* README: Added a note on how to run tests.
2008-08-20 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/source_base.rb: Created Source::Base::load_plugins class
method.
* lib/fantasdic.rb: Use it!
2008-08-19 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/print.rb: Work around probable Ruby-GNOME2 bug causing
segmentation fault.
2008-08-19 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Use default stock "NEW" instead of "Look
up". The button simply empty the search entry so "Look up" was misleading.
2008-08-19 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Use font name in the search entry but don't
alter the size.
2008-08-19 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Use font defined for the selected
dictionary in the search entry as well. In the case of Japanese for example,
Pango may pick up a Chinese font by mistake and the text in the search entry
in turns looks ugly. Setting the font for the search entry fixes this
problem.
2008-01-06 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/add_dictionary_dialog.rb: Fixed various bugs occuring
when Gtk::Print is not available. Hopefully, those changes could be
backported for release 1.0-beta5.
2007-11-28 Mathieu Blondel <mblondel@svn.gnome.org>
* release 1.0-beta5
2007-11-28 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/edict_file.rb: Rescue the exception raised when the
gz file is not valid.
2007-11-28 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/source_base.rb: Include the Gettext module in class<<self
of Source::Base.
2007-11-28 Mathieu Blondel <mblondel@svn.gnome.org>
* win32/README: Updated instructions.
2007-11-27 Mathieu Blondel <mblondel@svn.gnome.org>
* data/omf/fantasdic/fantasdic-fr.omf: Removed release-specific information.
* data/omf/fantasdic/fantasdic-C.omf: Ditto.
* data/gnome/help/fantasdic/README: Updated instructions.
2007-11-27 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/glade/add_dictionary_dialog.glade: Typo (sources =>
source).
2007-11-27 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/add_dictionary_dialog.rb: When editing an existing
dictionary, the "all databases" button was not selected when needed.
2007-11-27 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/glade/preferences_dialog.glade: Clearly distinguish
"enable http proxy" and "enable socks 5 proxy".
2007-11-25 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic.rb: Defines Fantasdic::GPL constant.
* lib/fantasdic/sources/edict_file.rb: Use it.
* lib/fantasdic/sources/dict_server.rb: Likewise.
* lib/fantasdic/sources/google_translate.rb: Likewise.
* lib/fantasdic/ui/about_dialog.rb: Likewise.
2007-11-22 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/utils.rb (File.which): The load path separator is ";" on
WIN32, not ":".
2007-11-22 Mathieu Blondel <mblondel@svn.gnome.org>
* setup.rb: Switched to trunk version. Stable version had a bug with
add_bool_config.
* metaconfig: Adds a "without-scrollkeeper" option. Distributions should
build packages of Fantasdic with this option and run scrollkeeper when the
package is installed.
* data/omf/fantasdic/post-install.rb: Uses the above option.
2007-11-18 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/ipc.rb: Rewrote IPC for win32 using GLib::Timeout.
2007-11-18 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Rewrote scan_clipboard using GLib::Timeout.
2007-11-17 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic.rb: Display useful warnings when optional dependencies are
missing.
* lib/fantasdic/ui.rb: Ditto.
* lib/fantasdic/gettext.rb: Ditto.
* lib/fantasdic/ui/browser.rb: Ditto.
* lib/fantasdic/utils.rb: Added Symbol#to_proc.
2007-11-06 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb (on_print_setup): Was not passing the right
variable as parent window.
2007-11-04 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/google_translate.rb: Fixed bug with right-to-left
languages.
2007-11-03 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/result_text_view.rb: Improved the handling of links.
There's no longer the need for one tag per link.
* lib/fantasdic/ui/main_app.rb: The "link_clicked" signal doesn't provide a
database as parameter anymore.
2007-11-01 Mathieu Blondel <mblondel@svn.gnome.org>
* TODO: Updated. This is quite a large TODO list ;-).
2007-11-01 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/utils.rb: Added String#utf8_reverse.
* lib/fantasdic/ui/utils.rb: Added
Gtk::TextIter#backward_case_insensitive_search and
Gtk::TextIter#forward_case_insensitive_search.
* lib/fantasdic/ui/result_text_view.rb: Use the above two methods.
2007-11-01 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/google_translate.rb: Rescue URI::InvalidURIError.
2007-10-31 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Fixed two typos.
2007-10-31 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Keep above option in the "View menu".
Feature request by by Dmitry Rutsky (Debian bug #442340).
* data/fantasdic/ui/menus.xml: Ditto.
2007-10-28 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/edict_file.rb: Fixed bug with gzip-compressed files
that are encoded in EUC-JP.
2007-10-28 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/edict_file.rb: Fixed typo.
2007-10-27 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/utils.rb: Code to do GUI stuff inside Ruby threads
safely. Loosely based on booh, by Guillaume Cottenceau.
* lib/fantasdic/ui/main_app.rb: Uses the above.
* lib/fantasdic/ui/add_dictionary_dialog.rb: Uses the above.
2007-10-27 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/edict_file.rb: Tries to open the file to ensure it
exists (egrep implementation).
2007-10-27 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/edict_file.rb: Added a pure-ruby implementation. It
shares as much code as possible with the egrep implementation. FIXME: Find a
way to look up words in EUC-JP with reasonable performance in the pure
Ruby implementation... Search in EUC-JP-encoded files disabled for now in
this implementation.
2007-10-27 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/source_base.rb: Added convert_utf8_to(dest_enc, str) helper
method.
2007-10-27 Mathieu Blondel <mblondel@svn.gnome.org>
* README: Update projects metadata, since Fantasdic now supports multiple
dictionary sources.
* fantasdic.desktop: Ditto.
* lib/fantasdic.rb: Ditto.
2007-10-27 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic.rb: Don't rescue "require 'gettext'" here anymore.
* lib/fantasdic/gettext.rb: Rescue it here. And add ngettext method for the
replacement module.
2007-10-27 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/browser.rb: Invoke yelp directly if libgnome2-ruby is
not present but yelp is available.
2007-10-27 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Now saves the "scan clipboard" option in
the config file. Adds ctrl + shift + S as keyboard shortcut. Reported
by Dmitry Rutsky (Debian bug #442336).
2007-10-25 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/source_base.rb: Yet another problem with cache fixed.
2007-10-25 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/config/default.yaml: Change window's size in initial
config file. Add es.dict.org and nihongobenkyo.org to dictionaries.
2007-10-25 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/source_base.rb: Now uses mkdir_p to make
~/.fantasdic/sources/.
2007-10-25 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Add shortcuts for "Print" and "Print
Preview"...
2007-10-24 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/command_line.rb: Now uses gettext's function for plural
forms. Reported by Djihed Afifi (#489593).
* lib/fantasdic/ui/main_app.rb: Ditto.
2007-10-24 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/preferences_dialog.rb:
* lib/fantasdic/ui/main_app.rb:
* data/fantasdic/glade/preferences_dialog.glade: HTTP proxy preferences.
This is useful for plugins like "google translate".
2007-10-24 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/add_dictionary_dialog.rb: First click on "cancel" now
kills the "search available databases" thread if it's still running. In
that case, a second click is needed to close the window.
2007-10-22 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/edict_file.rb: Fixed typo.
2007-10-21 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/source_base.rb: Fixed cache support.
2007-10-21 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Don't update the search entry when a match
is clicked in the match sidepane.
2007-10-21 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/add_dictionary_dialog.rb: The source was not closed
after using it.
2007-10-21 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/edict_file.rb: Fixed crash when a word in kana is
entered.
2007-10-20 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/net/dict.rb: Don't use the dotted line as the end of
definition marker. This is more reliable.
2007-10-20 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/net/dict.rb: Handles the case when no strategies are
available.
2007-10-20 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/utils.rb: Fixed String#kana? so that a string containing
both hiragana and katakana returns true. Added String#japanese?.
* lib/fantasdic/sources/edict_file.rb: Added a new source to look up words
in an EDICT file. The implementation uses egrep for performance. A pure
Ruby implementation needs be added for cases when egrep isn't available.
See http://www.csse.monash.edu.au/~jwb/j_edict.html for more information
about EDICT.
* po/POTFILES.in: Added edict_file.rb.
2007-10-19 Mathieu Blondel <mblondel@svn.gnome.org>
* post-clean.rb: Added files that need to be cleaned.
2007-10-19 Mathieu Blondel <mblondel@svn.gnome.org>
* data/pre-setup.rb: Don't copy .svn dirs.
2007-10-18 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/dict_server.rb: Method "available_strategies"
should not depend on method "available_databases".
2007-10-18 Mathieu Blondel <mblondel@svn.gnome.org>
* po/POTFILES.in: Added lib/fantasdic/source_base.rb.
2007-10-14 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/utils.rb: Added String#latin?, String#kana?, String#kanji?
and File::which helpers.
* lib/fantasdic/sources/dict_server.rb: Removed useless attr_accessors and
moved vbox internal spacing...
* lib/fantasdic/source_base.rb:... here. Fixed a comment.
2007-10-13 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/glade/add_dictionary_dialog.glade: "gtk-help" must not be
translatable (bug of glade3, file edited manually).
* data/fantasdic/glade/preferences_dialog.glade: Ditto.
* po/POTFILES.in: Add lib/fantasdic/ui/browser.rb to the list of files.
2007-10-13 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/command_line.rb: Following the new API.
2007-10-13 Mathieu Blondel <mblondel@svn.gnome.org>
* tools/dict-proxy.rb:
* tools/edict2dictd.rb:
* tools/epwing2dictd.rb:
* tools/jmdict2dictd.rb:
* tools/tanakacorpus2dictd.rb:
* tools/dict-server.rb:
* tools/stardict2dictd.rb:
* tools/jmnedict2dictd.rb:
* tools/kanjidic22dictd.rb:
* tools/dictfmt.rb:
* win32/gen_po.rb:
* win32/fantasdic.c:
* lib/fantasdic/ui.rb:
* lib/fantasdic/utils.rb:
* lib/fantasdic/preferences.rb:
* lib/fantasdic/sources/dict_server.rb:
* lib/fantasdic/sources/google_translate.rb:
* lib/fantasdic/gettext.rb:
* lib/fantasdic/net/dict.rb:
* lib/fantasdic/command_line.rb:
* lib/fantasdic/source_base.rb:
* lib/fantasdic/ui/preferences_dialog.rb:
* lib/fantasdic/ui/utils.rb:
* lib/fantasdic/ui/browser.rb:
* lib/fantasdic/ui/main_app.rb:
* lib/fantasdic/ui/alert_dialog.rb:
* lib/fantasdic/ui/glade_base.rb:
* lib/fantasdic/ui/about_dialog.rb:
* lib/fantasdic/ui/combobox_entry.rb:
* lib/fantasdic/ui/matches_listview.rb:
* lib/fantasdic/ui/ipc.rb:
* lib/fantasdic/ui/add_dictionary_dialog.rb:
* lib/fantasdic/ui/result_text_view.rb:
* lib/fantasdic/ui/print.rb:
* lib/fantasdic.rb:
* bin/pre-setup.rb:
* COPYRIGHT:
* COPYING:
* data/fantasdic/ui/toolbar.xml:
* data/fantasdic/ui/popups.xml:
* data/fantasdic/ui/menus.xml: Fixes FSF's address in headers.
2007-10-13 Mathieu Blondel <mblondel@svn.gnome.org>
* po/POTFILES.in: Add lib/fantasdic/sources/dict_server.rb and
lib/fantasdic/sources/google_translate.rb to the list.
2007-10-13 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/source_base.rb: Added class method default_strategy. It
can be overridden by source plugin. Added convert_to_utf8 private method.
Added disable_search_all_databases and no_databases fields.
* lib/fantasdic/ui/main_app.rb: Don't add "define" but add default source
defined by source plugin instead.
* lib/fantasdic/sources/google_translate.rb: Translate using Google
Translate.
* lib/fantasdic/ui/combobox_entry.rb: Slice too long words in the history.
* lib/fantasdic/ui/add_dictionary_dialog.rb: Use default_strategy instead
of "define". Sensitize databases as needed.
* data/fantasdic/glade/add_dictionary_dialog.glade: Move horizontal
separators to sel_db_vbox.
2007-10-09 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/add_dictionary_dialog.rb: Don't crash if no plugin
found.
2007-10-07 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/add_dictionary_dialog.rb: Display more useful messages
than just "Fields missing" when fields are missing.
* lib/fantasdic/sources/dict_server.rb: Ditto.
2007-10-06 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/source_base.rb: Introducing open and close methods. They
will be useful for plugins that need to open and close streams. Introducing
connecting_to_source_str and transferring_data_str methods. This allows
source plugins to override the status bar messages.
* lib/fantasdic/sources/dict_server.rb: Following above changes
* lib/fantasdic/ui/main_app.rb: Ditto.
* lib/fantasdic/ui/add_dictionary_dialog.rb: Ditto.
2007-10-06 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Fixes bug when source plugin doesn't exist
anymore.
2007-10-06 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/dict_server.rb: "available_strategies" now returns a
hash. Follow this change.
* lib/fantasdic/ui/add_dictionary_dialog.rb: Ditto.
* lib/fantasdic/source_base.rb: Documents methods which should be overridden
by source classes.
2007-10-06 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/glade/add_dictionary_dialog.glade: Uses "about" icon
rather than "information" for the button next to the source combobox.
2007-10-06 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/add_dictionary_dialog.rb: When editing an existing
dictionary, "search selected databases" was selected although there weren't
selected databases.
2007-10-06 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/add_dictionary_dialog.rb: Remember config widget.
2007-10-06 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/glade/add_dictionary_dialog.glade: About source plugin
button. Hopefully this should encourage more developers to write source
plugins :).
* lib/fantasdic/ui/add_dictionary_dialog.rb: Code to show the about dialog.
* lib/fantasdic/sources/dict_server.rb: Updates plugin metadata.
* lib/fantasdic/source_base.rb: More possible metadata.
* lib/fantasdic/ui/preferences_dialog.rb: Makes dialog modal.
* lib/fantasdic/ui/about_dialog.rb: Removes unused variable, adds a useful
comment.
2007-10-04 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/dict_server.rb:
* lib/fantasdic/ui/add_dictionary_dialog.rb: Crashed when server was not
reachable (exception not properly caught).
2007-10-04 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/net/dict.rb: Cache methods moved to source_base.rb. This
way, any source plugin can benefit from the cache system.
* lib/fantasdic/sources/dict_server.rb:
* lib/fantasdic/source_base.rb: Better separation of UI and non UI.
Implements define and match methods.
* lib/fantasdic/ui/add_dictionary_dialog.rb: Follow above changes.
* lib/fantasdic/ui/main_app.rb: Multiple backends support. Overall it seems
to work fine but it needs further testing.
2007-10-03 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/dict_server.rb:
* lib/fantasdic/source_base.rb:
* lib/fantasdic/ui/add_dictionary_dialog.rb: Pass parent dialog and
on_databases_updated callback to config_widget instead of constructor.
2007-10-02 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/dict_server.rb: Ensures that database list has not
been updated already when focus-out-event is triggered. Generates the
config widget on config_widget, not on initialize.
2007-09-30 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/add_dictionary_dialog.rb: Fixed a bug which prevented
existing dictionaries from being updated.
2007-09-30 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/add_dictionary_dialog.rb: Fixed a bug which prevented
the databases list from being displayed in some cases.
2007-09-30 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/sources/dict_server.rb: Initialize data after initializing
signals.
2007-09-30 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/source_base.rb: Beginning of multiple source backends
support... This works like a plugin system. Source::Base is a base class for
dictionary sources. It also keeps a list of available sources. Sources can
be system-wide (e.g. /usr/lib/ruby/1.8/fantasdic/sources/) or user-wide
($HOME/.fantasdic/sources/). All sources should extend this class.
* lib/fantasdic/sources/dict_server.rb: DICT server source. All source code
which was specific to DICT was moved here.
* lib/fantasdic/ui/add_dictionary_dialog.rb: Multiple backend support.
main_app.rb still needs be modified!
* data/fantasdic/glade/add_dictionary_dialog.glade: Ditto.
* lib/fantasdic.rb: Include lib/fantasdic/source_base.rb.
* data/fantasdic/glade/server_infos_dialog.glade: Some minor tweaks.
2007-09-23 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/add_dictionary_dialog.rb:
* lib/fantasdic/ui/print.rb:
* data/fantasdic/glade/add_dictionary_dialog.glade: Restore default fonts
button.
2007-09-22 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/glade/preferences_dialog.glade: UI tweaks regarding the
proxy tab.
2007-09-21 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/glade/add_dictionary_dialog.glade: Some UI tweaks.
* lib/fantasdic/ui/add_dictionary_dialog.rb: Likewise.
2007-09-21 Mathieu Blondel <mblondel@svn.gnome.org>
* AUTHORS: Changed my email address.
* ChangeLog: Likewise.
* HACKING: Likewise.
* lib/fantasdic.rb: Likewise.
* data/omf/fantasdic/fantasdic-fr.omf: Likewise.
* data/omf/fantasdic/fantasdic-C.omf: Likewise.
* data/gnome/help/fantasdic/C/fantasdic.xml: Likewise.
* data/gnome/help/fantasdic/AUTHORS: Likewise.
* data/gnome/help/fantasdic/fr/fr.po: Likewise.
* data/gnome/help/fantasdic/ChangeLog: Likewise.
* MAINTAINERS: Likewise.
* po/fr.po: Likewise.
* po/AUTHORS: Likewise.
* po/ChangeLog: Likewise.
2007-09-21 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/preferences_dialog.rb:
* lib/fantasdic/ui/utils.rb:
* lib/fantasdic/ui/main_app.rb:
* lib/fantasdic/ui/add_dictionary_dialog.rb:
* lib/fantasdic/ui/result_text_view.rb:
* lib/fantasdic/ui/print.rb:
* data/fantasdic/glade/add_dictionary_dialog.glade:
* data/fantasdic/glade/preferences_dialog.glade:
Per dictionary font preferences.
2007-09-20 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/preferences_dialog.rb:
* lib/fantasdic/ui/add_dictionary_dialog.rb:
* data/fantasdic/glade/add_dictionary_dialog.glade:
* data/fantasdic/glade/preferences_dialog.glade:
Connects signals from the Ruby files instead of defining functions callbacks
in the Glade files.
2007-09-20 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui.rb: SUPPORTS_STATUS_ICON and SUPPORTS_PRINT renamed to
HAVE_STATUS_ICON and HAVE_PRINT.
* lib/fantasdic/ui/preferences_dialog.rb: Likewise.
* lib/fantasdic/ui/main_app.rb: Likewise.
2007-09-20 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui.rb: Makes Fantasdic a GNOME application if possible,
otherwise uses GTK.
* lib/fantasdic/ui/browser.rb: Added. Takes care of opening the browser
(if possible default browser) in a portable way. Takes care of opening
help. Uses GNOME's help system when possible, open HTML documentation in a
browser otherwise.
* lib/fantasdic/preferences.rb: Browser code removed and moved to above
file.
* data/fantasdic/glade/preferences_dialog.glade: Adds help button.
* data/fantasdic/glade/add_dictionary_dialog.glade: Likewise.
* lib/fantasdic/ui/preferences_dialog.rb: Opens help when help button
clicked.
* lib/fantasdic/ui/add_dictionary_dialog.rb: Likewise.
* data/fantasdic/ui/menus.xml: Adds a menu item to user manuel in help menu.
* lib/fantasdic/ui/main_app.rb: Opens help when above menu item is clicked.
* lib/fantasdic/pre-setup.rb: Generates documenters.rb out of
data/gnome/help/fantasdic/AUTHORS.
* lib/fantasdic.rb: Tries to load documenters.rb.
* lib/fantasdic/ui/about_dialog.rb: Displays documenters.
* data/omf/fantasdic/fantasdic-C.omf: OMF metadata for English doc.
* data/omf/fantasdic/fantasdic-fr.omf: Same for French.
* data/omf/fantasdic/post-install.rb: Run scrollkeeper-update. Caution, for
distributions using binary packages, this should be done at the package
level.
* data/omf/fantasdic/pre-setup.rb: Replacing path to OMF files.
* data/gnome/help/fantasdic/C/figures/fantasdic.png:
* data/gnome/help/fantasdic/C/figures/fantasdic-search.png:
* data/gnome/help/fantasdic/C/figures/fantasdic-find-text.png:
Figures in English.
* data/gnome/help/fantasdic/C/fantasdic.xml: Master user documentation.
This is for now largely inspired by gnome-dictionary's documentation. Some
areas are not complete yet because they're going to change soon.
* data/gnome/help/fantasdic/fr/fr.po: French translation.
* data/gnome/help/fantasdic/fr/figures/fantasdic.png:
* data/gnome/help/fantasdic/fr/figures/fantasdic-search.png:
* data/gnome/help/fantasdic/fr/figures/fantasdic-find-text.png:
Figures in French.
* data/gnome/help/fantasdic/ChangeLog: ChangeLog aimed to documenters.
* data/gnome/help/fantasdic/README: Useful commands for generating HTML,
merging .po files, etc.
* data/gnome/help/fantasdic/AUTHORS: Documenters.
* data/pre-setup.rb: Copies figures for HTML documentation too.
* make_release.sh: Merges documentation .po files back to XML files.
Generates HTML out of Docbook XML.
2007-09-16 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Disable save if no definition found.
2007-09-15 Mathieu Blondel <mblondel@svn.gnome.org>
* fantasdic.desktop: "Application" is not a valid category.
See http://standards.freedesktop.org/menu-spec/1.0/apa.html.
2007-09-14 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Disable printing if no definition found.
2007-09-10 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/preferences.rb (open_url): Doesn't take the command as
paramater anymore, call get_browser directly instead. Returns true if
succedded. Uses Windows OLE on Windows in order to open url in default
browser.
* lib/fantasdic/ui/main_app.rb: Show the url in error dialog when
cannot open browser.
* lib/fantasdic/ui/about_dialog.rb: Likewise.
2007-09-08 Mathieu Blondel <mblondel@svn.gnome.org>
* release 1.0-beta4
2007-09-08 Mathieu Blondel <mblondel@svn.gnome.org>
* README: Updated for upcoming release.
* NEWS: Likewise.
2007-09-08 Mathieu Blondel <mblondel@svn.gnome.org>
* win32/fantasdic.c: Move fantasdic/, GTK/, ruby/, ruby-gettext/,
ruby-gtk2/ and win32-pipe/ to a new dir lib/ in order to hide them from the
user.
* win32/README: Update instructions to follow this change.
2007-09-04 Mathieu Blondel <mblondel@svn.gnome.org>
* TODO: Updated with new ideas.
2007-09-02 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic.rb: intltool doesn't recognize _('...'). Use double quotes.
2007-09-02 Mathieu Blondel <mblondel@svn.gnome.org>
* fantasdic.desktop: Fantasdic should always be described as a "dictionary
application". "DICT client" doesn't make sense for most people...
* lib/fantasdic.rb: Likewise.
2007-09-01 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/preferences_dialog.rb: Use the hide method instead of
destroy. It seems to workaround some GC-related bug in RG2.
* lib/fantasdic/ui/add_dictionary_dialog.rb: Likewise.
2007-09-01 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/preferences.rb: Handles the case when the config file is
blank or malformed.
2007-08-31 Mathieu Blondel <mblondel@svn.gnome.org>
* THANKS: Added :).
2007-08-31 Mathieu Blondel <mblondel@svn.gnome.org>
* pre-setup.rb: Don't act differently on Windows.
* win32/: Added. This directory will be used for all the win32 stuff which
obviously can't go to lib/.
* win32/gen_po.rb: Added. This file generates the .mo files and must be run
from win32/.
* win32/fantasdic.c: Added. Run the ruby interpreter in a sub process and
hide the command pop-up window.
* win32/README: Instructions to help prepare an archive which contains all
the dependencies including Ruby and GTK. This is heavy but my experience
shows that you can't expect people to install Ruby and GTK separately...
* lib/fantasdic/pre-setup.rb: Don't fail if run outside setup.rb.
* bin/pre-setup.rb: Don't generate the .bat file anymore.
2007-08-31 Mathieu Blondel <mblondel@svn.gnome.org>
* MAINTAINERS: Added to follow GNOME's policy.
2007-08-31 Mathieu Blondel <mblondel@svn.gnome.org>
* make_release.sh: Delete .tmp files.
2007-08-31 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/icons/fantasdic.svg: New master icon, based on two icons
from the Tango project.
* data/fantasdic/icons/fantasdic_32x32.png: Added for convenience.
* data/fantasdic/icons/fantasdic_24x24.png: Likewise.
* data/fantasdic/icons/fantasdic_48x48.ico: Likewise.
* data/fantasdic/icons/fantasdic_16x16.png: Likewise.
* data/fantasdic/icons/fantasdic_22x22.ico: Likewise.
* data/fantasdic/icons/fantasdic_32x32.ico: Likewise.
* data/fantasdic/icons/fantasdic_small.png: Likewise.
* data/fantasdic/icons/fantasdic_24x24.ico: Likewise.
* data/fantasdic/icons/fantasdic_16x16.ico: Likewise.
* data/fantasdic/icons/fantasdic_22x22.png: Likewise.
* data/fantasdic/icons/fantasdic_48x48.png: Likewise.
* lib/fantasdic/ui/main_app.rb: Applied the necessary changes.
* lib/fantasdic/ui/preferences_dialog.rb: Likewise.
* lib/fantasdic/ui/about_dialog.rb: Added icon.
* data/fantasdic/icons/fantasdic_small.png: Deleted.
2007-08-22 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/ipc.rb: There are cases when Win32::Pipe doesn't seem to
like strings returned by Marshal.dump so let's use Base64.
2007-08-21 Mathieu Blondel <mblondel@svn.gnome.org>
* README: updated with newest features.
2007-08-21 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/net/dict.rb: Fixed bug when db provided to show_db doesn't
exist.
* lib/fantasdic/ui/add_dictionary_dialog.rb: Authenticate for show_server
and show_db if login and password provided.
2007-08-21 Mathieu Blondel <mblondel@svn.gnome.org>
* AUTHORS: Translators names moved...
* po/AUTHORS: ...here.
* po/README: Ask translators to add their name to po/AUTHORS.
* lib/fantasdic/pre-setup.rb: Generate lib/fantasdic/authors.rb and
lib/fantasdic/translators.rb from AUTHORS and po/AUTHORS. This way, authors
and translators names are centralized in one place.
* lib/fantasdic/ui/about_dialog.rb: Display translators for relevant locale
only.
* lib/fantasdic.rb: Try to load lib/fantasdic/authors.rb and
lib/fantasdic/translators.rb if present.
* data/fantasdic/glade/preferences_dialog.glade: Increase a little bit page
width.
2007-08-21 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Trim leading and ending spaces in the
searched word.
2007-08-21 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/utils.rb: Added Gtk::TreeModel#n_rows alias.
* lib/fantasdic/ui/main_app.rb: Display the number of matches in the
treeview instead of the total number of matches.
* data/fantasdic/glade/main_app.glade: Sets "Matches" as the default string
for the sidepane.
2007-08-21 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Make the ResultTextView grab the focus when
definitions are added.
2007-08-21 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Some code cleanup (kill_lookup_thread).
2007-08-19 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic.rb: Added a HAVE_CONSOLE constant. This constant must be
used to check that the console is available because rubyw can't use stdout,
stderr, stdin.
* bin/pre-setup.rb: Don't require gettext here but in lib/fantasdic.rb
instead.
2007-08-19 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/ipc.rb: Moved IPC::send and IPC::find to IPC::Instance
module. It makes more sense to use this namespace.
* lib/fantasdic/ui.rb: Applied the necessary modifications to follow above
change.
* lib/fantasdic/ui/main_app.rb: Likewise.
2007-08-18 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/ipc.rb: Added an IPC backend using win32 named pipes
thanks to win32/pipe from the win32-utils package. Three backends are
now available:
- Named pipes. This uses win32/pipe from the win32-utils package. This
approach is preferred on win32.
- DRb (Distributed Ruby). This approach is portable but its main
disadvantage is that it may be blocked by the local firewall.
- X11. This works by creating an invisible window, setting a uniquely named
atom on the root window which refers to the invisible window (so other
instances can find the window) and watching for property change events
on the invisible window. This approach is preferred on Unix.
2007-08-18 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui.rb: Renamed "win" variable to "instance". IPC now
supported by window.
* lib/fantasdic/ui/main_app.rb: IPC::Window renamed to IPC::Instance.
* lib/fantasdic/ui/ipc.rb: Simple IPC mechanism using DRb (Distributed
Ruby). This mechanism is used for Windows. IPC using X11 is kept for the
rest. This allows to make Fantasdic a single-instance program on Windows
too.
2007-08-18 Mathieu Blondel <mblondel@svn.gnome.org>
* pre-setup.rb: Don't fail if there's a problem with a .po file. Just
display a warning.
2007-08-18 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic.rb: New WIN32 constant.
* lib/fantasdic/ui.rb: Use this constant.
* lib/fantasdic/preferences.rb: Use this constant.
* bin/pre-setup.rb: Don't use uname -a on Win32, don't hardcode ruby path
for generating fantasdic.bat.
2007-08-18 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/about_dialog.rb: Forgot to include GetText.
2007-08-17 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: When a link is clicked, search all
databases selected instead of the database the link belong to. This makes
more sense since Fantasdic uses the concept of "virtual" dictionary.
2007-08-17 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/print.rb: Fixed a bug in the checking that last page is
not blank.
2007-08-16 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/dict.rb: Moved to lib/fantasdic/net/dict.rb.
* lib/fantasdic/net/sockssocket.rb: SOCKS 5 library by Ryota Tokiwa.
The library was imported to the source tree for convenience.
* lib/fantasdic/ui/preferences_dialog.rb: Proxy tab.
* lib/fantasdic/ui/main_app.rb: Load proxy. Don't crash if connection was
closed by server.
* lib/fantasdic.rb: includes.
* data/fantasdic/glade/preferences_dialog.glade: Proxy tab.
2007-08-16 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/preferences_dialog.rb:
* lib/fantasdic/ui/main_app.rb:
* data/fantasdic/config/default.yaml:
* data/fantasdic/glade/preferences_dialog.glade:
Added dont_show_at_startup option. This option is going to be useful for
users who want Fantasdic to be started when the computer boots.
2007-08-16 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Clear history menu item.
* data/fantasdic/ui/menus.xml: Likewise.
2007-08-16 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/dict.rb: A server is now identified uniquely with four
elements: host, port, login and password.
* lib/fantasdic/ui/main_app.rb: Support auth.
* lib/fantasdic/ui/add_dictionary_dialog.rb: Update database list if auth
provided: an authenticated user may get more databases.
* data/fantasdic/glade/add_dictionary_dialog.glade: Support auth.
2007-08-15 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/dict.rb: Added strategies description.
2007-08-15 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui.rb: Require new files lib/fantasdic/ui/combobox_entry.rb
and lib/fantasdic/ui/matches_listview.rb, remove
lib/fantasdic/ui/history_list_view.rb.
* lib/fantasdic/ui/history_list_view.rb: Deleted.
* lib/fantasdic/ui/combobox_entry.rb: Added. History moved here.
* lib/fantasdic/ui/matches_listview.rb: Added. Matches results moved here.
* lib/fantasdic/utils.rb: Utils to use Arrays as queues.
* lib/fantasdic/ui/preferences_dialog.rb: Adds a dictionary icon to the
"dictionaries" tab.
* lib/fantasdic/ui/main_app.rb: History now uses a ComboBoxEntry and
matches are listed in a TreeView. This seems to be much more convenient.
Yay!
* lib/fantasdic/ui/add_dictionary_dialog.rb: The combobox to select the
default strategy of a dictionary was removed. Instead, the last selected
strategy is saved for each dictionary before the application quits.
* lib/fantasdic/ui/result_text_view.rb: Fixes a problem when links are
wrapped.
* data/fantasdic/config/default.yaml: Set "define" as the default strategy.
* data/fantasdic/glade/main_app.glade: Updated to include the combobox and
the matches list.
* data/fantasdic/glade/add_dictionary_dialog.glade: Added fancy icons to
tabs.
* data/fantasdic/glade/preferences_dialog.glade: Likewise.
* data/fantasdic/ui/toolbar.xml: Added "print" and "save" to the toolbar.
* data/fantasdic/ui/popups.xml: Removed the clear history pop-up.
* data/fantasdic/ui/menus.xml: Replaced History by MatchesSidepane.
2007-08-11 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/preferences.rb: Some code to detect which browser to use.
* data/fantasdic/ui/menus.xml: Added a "submit bug report" menu item.
* lib/fantasdic/ui/main_app.rb: Ditto.
* lib/fantasdic/ui/about_dialog.rb: Make the URL clickable.
* lib/fantasdic.rb: Added BUGZILLA_REPORT_BUG constant.
2007-08-10 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Load/Save PageSetup and PrintSetting from/to
user preferences file.
2007-08-07 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/ui/menus.xml: Changed menu items order.
* lib/fantasdic/ui/main_app.rb:
* lib/fantasdic/ui/result_text_view.rb:
When one character is selected in the textview, it is now possible to
"zoom over it" when it is right-clicked. This is useful to see
more clearly characters that would be too small otherwise (e.g. Chinese
characters).
* lib/fantasdic/ui/main_app.rb:
* lib/fantasdic/ui/about_dialog.rb: The close button in the about dialog
didn't work for obscure reasons...
* lib/fantasdic/dict.rb:
* lib/fantasdic/ui/main_app.rb: Fixed a few problems when server is not
available.
2007-08-06 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb:
* lib/fantasdic/ui/result_text_view.rb:
Some code moved from main_app.rb to result_text_view.rb.
* lib/fantasdic/dict.rb: Fixed a bug when the lookup thread is killed.
* lib/fantasdic/ui/main_app.rb: Some UI tweaks.
* lib/fantasdic/ui/preferences_dialog.rb:
* data/fantasdic/glade/preferences_dialog.glade: Added "fonts" options.
* lib/fantasdic/ui/utils.rb: Moved Pango::Layout helpers there.
* lib/fantasdic/ui/main_app.rb:
* data/fantasdic/ui/menus.xml: Zoom+, Zoom- and Zoom normal buttons.
* lib/fantasdic/ui/result_text_view.rb: Uses font from options.
* lib/fantasdic/ui/print.rb: Uses font from options.
* data/fantasdic/glade/add_dictionary_dialog.glade: Fixed typo.
* po/POTFILES.in: Added print.rb.
2007-08-05 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/print.rb: Uses Pango::Layout::WRAP_WORD_CHAR instead of
Pango::Layout::WRAP_CHAR.
* lib/fantasdic/dict.rb:
* lib/fantasdic/ui/main_app.rb:
Move the code to hold connections from main_app.rb to dict.rb. This is to
clean up main_app.rb (more coming).
* lib/fantasdic/dict.rb:
* lib/fantasdic/ui/main_app.rb:
Move cache system from main_app.rb to dict.rb.
2007-08-02 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: Better spacing between definitions.
* lib/fantasdic/ui/print.rb: Checks that last page is not blank; if a new
page is started and previous page's last line was a title, move it to the
next page; fixes spacing between definitions.
2007-08-01 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui.rb: Requires print and some constants like SUPPORTS_IPC,
SUPPORT_STATUS_ICON and SUPPORTS_PRINT.
* lib/fantasdic/ui/print.rb: Added, pagination seems to work fine. It would
be great to save the PageSetup and the PrintSettings in the config file.
* lib/fantasdic/ui/main_app.rb: User interface.
* data/fantasdic/ui/menus.xml: Menu entries.
* TODO: Updated.
2007-07-30 Mathieu Blondel <mblondel@svn.gnome.org>
* release 1.0-beta3
2007-07-30 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui.rb:
* lib/fantasdic/ui/preferences_dialog.rb:
* lib/fantasdic/ui/main_app.rb:
* data/fantasdic/ui/popups.xml:
Switch to Gtk::StatusIcon.
Hide window on "Escape".
New button "search" in the status icon popup-menu.
* lib/fantasdic/ui/result_text_view.rb: search from the beginning of the
text buffer when a new string is entered.
2007-03-18 Mathieu Blondel <mblondel@svn.gnome.org>
* AUTHORS:
* lib/fantasdic.rb:
Updated translator list
2007-03-01 Mathieu Blondel <mblondel@svn.gnome.org>
* tools/jmnedict2dictd.rb: Added JMnedict to dictd converter.
* tools/jmdict2dictd.rb: Added JMdict to dictd converter.
* tools/dictfmt.rb: Small fixes.
2007-02-28 Mathieu Blondel <mblondel@svn.gnome.org>
* tools/dictfmt.rb: This class will be used instead of the dictfmt
command line tool (shipped with dictd). Its main advantage is that it can
associate more than one index entry with one definition. This is
especially useful for japanese: a definition may be looked up in
hiragana or kanji.
* tools/kanjidic22dictd.rb: improved this converter using dictfmt.rb.
* tools/edict2dictd.rb: use dictfmt.rb.
2007-01-28 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: save preferences when preferences dialog is
closed. Preferences used to be saved when the application is closed only.
In case of crash, dictionaries that had just been added were lost.
2006-12-05 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: looking up an empty string crashed Fantasdic
2006-12-04 Mathieu Blondel <mblondel@svn.gnome.org>
* tools/epwing2dictd.rb: added EPWING to dictd format converter
* tools/README: updated for epwing2dictd.rb
2006-11-30 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: pressing "escape" made Fantasdic crash
2006-11-21 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/config/default.yaml:
* data/fantasdic/glade/preferences_dialog.glade:
* lib/fantasdic/ui.rb:
* lib/fantasdic/ui/main_app.rb:
* lib/fantasdic/ui/preferences_dialog.rb: new options "show fantasdic in
tray" and "do not quit when main window is closed"
* release 1.0-beta2
2006-11-20 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: also close scan_clipboard thread if needed
* lib/fantasdic/ui/result_text_view.rb: remove marks when text buffer is
cleared
* fantasdic.sgml: docbook man page
* make_release.sh: man page
* fantasdic.desktop: fixed category and icon
* lib/fantasdic/ui/main_app.rb: was displaying wrong message in status bar
and close connection when a thread is killed.
2006-11-18 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/add_dictionary_dialog.rb: use focus-out-event
* lib/fantasdic/ui/main_app.rb: close look up thread before quitting or
when looking up a word while a thread is still alive
2006-11-17 Mathieu Blondel <mblondel@svn.gnome.org>
* NEWS: preparing upcoming release 1.0-beta2
* make_release.sh: upload packages
* bin/pre-setup.rb: added bugzilla
* lib/fantasdic.rb: added bugzilla and translators
2006-11-16 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/glade/add_dictionary_dialog.glade:
* data/fantasdic/glade/server_infos_dialog.glade:
* lib/fantasdic/command_line.rb:
* lib/fantasdic/preferences.rb:
* lib/fantasdic/ui/add_dictionary_dialog.rb:
* lib/fantasdic/ui/result_text_view.rb:
* lib/fantasdic/ui/utils.rb: revamped add dictionary dialog. Split into two
tabs, one for general informations, one for database selection.
Database selection is now clearer since available databases and
selected databases are separated. New status bar and greyed window to give
the user informations about what is happening. New "server informations"
button. Double-click on a database row to get informations about it.
* data/fantasdic/glade/main_app.glade:
* data/fantasdic/ui/toolbar.xml:
* lib/fantasdic/ui/add_dictionary_dialog.rb:
* lib/fantasdic/ui/main_app.rb: removed the lookup button and put a combobox
with available strategies instead. Again, give better indications to user
as to what Fantasdic is doing. New stop button.
2006-11-15 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/glade/preferences_dialog.glade:
* lib/fantasdic/ui/main_app.rb:
* lib/fantasdic/ui/preferences_dialog.rb: new option so user can choose
whether he or she wants Fantasdic to look up the last word at start up
* README:
* lib/fantasdic.rb:
* lib/fantasdic/command_line.rb:
* lib/fantasdic/ui.rb:
* lib/fantasdic/ui/main_app.rb: new command line options. Fantasdic can be
started with a dictionary and a word as parameters, if an instance of
Fantasdic exists already, we use it, an option exists to print results to
stdout (which makes Fantasdic a command-line dictionary too), the list of
dictionaries in the settings as well as the strategies for a dictionary
can now be listed.
* lib/fantasdic/command_line.rb:
* lib/fantasdic/ui/main_app.rb: basic authentication support (not tested)
2006-11-14 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: hold connections for some time and close
too long connections.
* lib/fantasdic/ui/main_app.rb:
* lib/fantasdic/ui/result_text_view.rb:
* data/fantasdic/ui/menus.xml:
* data/fantasdic/glade/main_app.glade: a new find pane to find words inside
the text view, a new save definition dialog, Edit > Copy, and
Edit > Select All.
2006-06-25 Mathieu Blondel <mblondel@svn.gnome.org>
* tools/: added dict-proxy.rb, dict-server.rb, edict2dictd.rb,
kanjidic22dictd.rb, README, stardict2dictd.rb, tanakacorpus2dictd.rb
2006-06-22 Mathieu Blondel <mblondel@svn.gnome.org>
* data/fantasdic/glade/add_dictionary_dialog.glade: made the treeview
reorderable so that we can choose the sort order of definitions
2006-06-20 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/ui/main_app.rb: split lookup() into several functions and
added support for "match:" prefix
2006-03-23 Mathieu Blondel <mblondel@svn.gnome.org>
* lib/fantasdic/dict.rb: fixed bug which made Fantasdic crash
with some servers
2006-03-11 Mathieu Blondel <mblondel@svn.gnome.org>
* Changelog: renamed to ChangeLog
2006-03-09 Mathieu Blondel <mblondel@svn.gnome.org>
* po/Makefile: choose the ruby interpreter to run rgettext
* lib/fantasdic/ui/main_app.rb: fixed a string
* data/fantasdic/glade/main_app.glade: "look up" was not translatable
2006-03-05 Mathieu Blondel <mblondel@svn.gnome.org>
* Made Ruby/Gettext optional
2006-02-19 Mathieu Blondel <mblondel@svn.gnome.org>
* Some fixes to allow Fantasdic run under Windows
* Some UI tweaks (glade files) (John Spray)
* release 1.0-beta1.1
2006-02-17 Mathieu Blondel <mblondel@svn.gnome.org>
* release 1.0-beta1
|