-
Notifications
You must be signed in to change notification settings - Fork 2
/
BUGS
788 lines (651 loc) · 27.6 KB
/
BUGS
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
$Id: BUGS 521 2006-04-29 09:05:52Z kyanh $
============================================================== [200604]
#108/fixed/kyanh/20060429/
* winefish 1.4.0.1; 1.3.2, 1.3.3
* open winefish, press Ctrl+D to add bookmark. A warning dialog will appear (cannot add bookmark
for untitled document). press Escape to kill that dialog => winefish crash !!!)
FIXED:
--- gtk_easy.c (revision 2436)
+++ gtk_easy.c (working copy)
@@ -941,8 +941,8 @@
DEBUG_MSG("dialog_key_press_event_lcb, started, widget is %p and dialog is %p\n", widget, dialog);
if (event->keyval == GDK_Escape) {
DEBUG_MSG("dialog_key_press_event_lcb, emit delete_event on %p\n", dialog);
- /* g_signal_emit_by_name(G_OBJECT(dialog), "delete_event"); */
- gtk_widget_destroy(dialog);
+ g_signal_emit_by_name(G_OBJECT(dialog), "delete_event");
+ /* gtk_widget_destroy(dialog); */
return TRUE;
}
return FALSE;
============================================================== [200603]
======== 1.3.2.8a
#6408/fixed/kyanh/20060327/
FIXED:
gui.c::gui_notebook_unbind_signals
CRITICAL NOTES:
gulong g_signal_connect_object (...);
This is similar to g_signal_connect_data(), but uses a closure which ensures
that the gobject stays alive during the call to c_handler by temporarily
adding a reference count to gobject.
Note that there is a bug in GObject that makes this function much less useful
than it might seem otherwise. Once gobject is disposed, the callback will no
longer be called, but, the signal handler is not currently disconnected.
If the instance is itself being freed at the same time than
this doesn't matter, since the signal will automatically be removed, but if
instance persists, then the signal handler will leak. You should not remove
the signal yourself because in a future versions of GObject, the handler will
automatically be disconnected.
It's possible to work around this problem in a way that will continue to work
with future versions of GObject by checking that the signal handler is still
connected before disconnected it:
if (g_signal_handler_is_connected (instance, id))
g_signal_handler_disconnect (instance, id);
#107/fixed-partial/kyanh/20060327/
* func_grep: unicode string is escaped => func_grep returns with errors. we used the function
(g_strescape) to escape the character \ -- but the non ASCII characters are escaped too --
as mentioned in (g_strescape) document.
* use (func_grep_escape_string) instead. TODO: a' ==> search for 'a\'' => failed
#106/fixed/kyanh/20060317/
* clone file: should set modify status = TRUE if we clone file for an existing EMPTY tab.
FIXED:... but the Undo stack is empty :(
#105/fixed/kyanh/20060317/
* open a file : if there is 1 documents and the current == EMPTY, open in current tab
if there are at least 2 documents and the current == EMTPY, open new tab
* FIXED:
should be: if (current_document is EMPTY) then <open in this tab>
#104/fixed/kyanh/20060317/
* template listing: sometime find for %wf=, sometime for %%wf=
WHY?
bf_lib.c::convert_command expands the command only
when current_document != NULL
FIXED:
redesign convert_command
#103/fixed/kyanh/20060317/
* you cannot "Save As" for Untitled Document. others works
* save as operation: if there's already a file with the same inode, the save
operation returns without prompting :( there's of course a bug ;)
#102/fixed/kyanh/20060317/
* clone operation: if there's an untitled document, the operation
will also create another new untitled document. should be one :(
#101/fixed/kyanh/20060310/
* open anyfile from commandline;
when the file has just appear, press anykey => crashes
FIXED:
check whether (main_v->last_kevent)
#100/fixed/kyanh/20060225/1.3.2.7{c-d}
* after searching (func_grep) the pattern wasnot added to history list
============================================================== [200602]
#99/fixed/kyanh/200603xx/
* project_mode=1, current_file=NULL
=> the command isnot converted. see bf_lib.c::convert_command
current implement: return *command* if current_document->filename is NULL.
we should do more check ;)
#98/fixed/kyanh/20060217/
* directory is considered as an regular file
324-kyanh$ locate foobar
/home/users/kyanh/.gaim/logs/yahoo/foobar/foobar20052
/home/users/kyanh/.gaim/logs/yahoo/foobar/foobar20052/2005-12-08.090419.txt
/home/users/kyanh/.gaim/logs/yahoo/foobar/foobar20052/2006-02-17.095657.txt
314-kyanh$ winefish $(locate foobar)
==> failed ;)
FIXED:
--- src/bf_lib.c (revision 1924)
+++ src/bf_lib.c (working copy)
gboolean file_exists_and_readable(const gchar * filename) {
....
+ if ( g_file_test(filename, G_FILE_TEST_IS_DIR) ) {
+ return FALSE;
+ }
#97/fixed/kyanh/20060216/
* create_backup_on_save=1, remove_backup_on_save =1, witth suffix=NULL
open file foobar.tex. its bakups it foobar.tex. THE SAME! now edit foobar.tex,
save then close. You see that foobar.tex was delete completly
#96/fixed/kyanh/20060216/
* <stuff> \% % { <stuff>
that brace is not considered as comment sign
FIXED:
use a while-loop to detect the comment sign
#95/fixed/kyanh/20060216/
* project: editing options failed (basedir/basefiles doesnot exist) then there is:
(winefish:1495): GLib-GObject-WARNING **: invalid cast from `GtkButton' to `GtkWindow'
(winefish:1495): Gtk-CRITICAL **: gtk_window_set_transient_for: assertion `parent == NULL || GTK_IS_WINDOW (parent)' failed
FIXED:
used wrong widget in (project.c::project_edit_ok_clicked_lcb)
#93/fixed/kyanh/20060216/
* $ winefish ~/tmp/foobar.tex
if `foobar.tex' is not found, winefish crashes.
*
$ winefish ~/tmp/foobar.tex ./foobar.tex #bug
$ winefish ./foobar.tex ~/tmp/foobar.tex #bug
$ winefish none.tex exist.tex exist2.tex #good
if `~/tmp/foobar.tex' is not found while `./foobar.tex' is found
winefish doesnot crashes. but it opens the `./foobar.tex' with black-white hilighted
status though the menu 'document/hilightstat' is ON. [no... it should be updated.
the hilightstat still = OFF]
Emacs:
emacs foobar/foobar/foobar.tex
emacs will prompt for create new directory (cu mx make-direcotory)
if the directory and its parent had not created yet, saving failed.
FIXED:
(<: open one file. file exists)
(>: open two files. the first doesnot exist)
< docs_new_from_files, lenght=1
< docs_new_from_files, about to open /home/users/kyanh/moss/winefish/trunk/doc/test_brace_finder.tex, delay=0
---
> docs_new_from_files, lenght=2
> docs_new_from_files, about to open /home/users/kyanh/moss/winefish/trunk/src/testff, delay=1
> doc_new_with_file, called for /home/users/kyanh/moss/winefish/trunk/src/testff
> doc_new_with_file, file /home/users/kyanh/moss/winefish/trunk/src/testff !file_exists or readable
> docs_new_from_files, about to open /home/users/kyanh/moss/winefish/trunk/doc/test_brace_finder.tex, delay=1
(delay=1: not hilighted now)
when the first file is open and we failed, we should recaculate the delay value;)
delay = ( g_list_length( file_list ) > 1 ); ==> should be replace by numberer of opened files:(
we count the number of files opened. if this number >=1, we should set the notebook_page,
active the last document. if there is just one file (num_files_opened==1) and this doc needs hilight (doc->need_highlighting)
we should hilight it... this solve complete the bug.
there's nice dealing provided by bluefish (file.c, doc->status). take care of this [ future plan ]
#92/fixed/kyanh/20050216/
* rename a file: (delete old file + save new name)
should: (save new name + delete old file)
This bug is found via bluefish-dev list.
#91/invalid/kyanh/20060216/
* project backup file isnot deleted no matter the option 'remove backup on save' is ON
(thanks to Michèle Garoche)
* .wfproject is a rcfile. should we delete it when closing?
I note that my current bluefish(dev) doesnot create backup file for rcfile when saving.
WORKAROUND:
* (rcfile_save_*) call to (stringlist.c::put_stringlist_limited) which puts a string to file.
if you want to make a backup of rcfile before when saving, let's turn
BACKUP_RC_FILE_ON_SAVE
on (src/config_spec.h). TODO: this shouldbe a runtime option
#90/fixed/kyanh/20060214/
* winefish should preserve %l or %f...
+ reported by bender02 (http://winefish.berlios.de/forum/account.php?u=4)
+ /home/users/kyanh/moss/winefish.bugs/bug_expander.html)
+ http://winefish.berlios.de/forum/comments.php?DiscussionID=2
FIXED:
added %p (expands to percent sign)
#89/fixed/kyanh/20060212/
* disable 'autocompletion' (toggler menu: document/autocompletion) takes no effect.
FIXED: to many things
#88/fixed/kyanh/20060211/
* copy/paste a brace: it is still hilighted
FIXED:
modify paste_operation
But... the bug dies itself... as an effect of removing tag when key/button press.
#87/fixed/kyanh/20060211/
* bad STORIES, see brace_finder.c :(
if there is {} then after inserting {\} the \ will be hilighted
if there is $$$ then after inserting $\$$ the \ will be hilighted
(\basckslash or any other character)
instead of inserting we may paste something between { and }s
FIXED:
[ (brace_finder) with limit==-1 ] == [ cleanup ]
we should remove the tags before key/button released
THIS CAUSES THE FLASH EFFECT :(
#86/fixed/kyanh/20060211/
* brace_finder: for the dollar sign, if the extra $ isnot found, finder return BR_RET_NOT_FOUND
(even the the left $ is found)
#85/fixed/kyanh/20060211/
* autocompletion: press Control+S sometimes causes popup menu to be showed
(press Control+S twice, release control after the first)
BACKTRACE:
backtrace/snooper85.log
FIXED:
should check for state of previous kevent -> added (main_v->last_kevent);
#84/fixed/Michèle Garoche/200602xx/
* missing NULL in using (g_strconcat) somewhere in wizards.c (see backtrace/winefish.diff-M-Garoche)
#83/fixed/kyanh/20060210/
* brace_finder:
<any_code>{|%<end_of_line>
(| is the cursor). start finding brace returns BR_RET_IN_COMMENT
FIXED:
must detect `iter_start_new' before checking for BR_RET_IN_COMMENT status.
#82/fixed/kyanh/20060210/
* LANG=fr_FR winefish
cat xxx.log when xxx.log doesnot exist -> expose invalid UTF8 string
and we see nothing in outputbox. try to set_encoding for io_channel
in outputbox_bf.c, but the result is the same. it's hard to handle!!!
* FIXED:
use (g_locale_to_utf8) in outputbox_filter::outputbox_filter.c
(thanks to a member of winefish-devel. now i forget his name. update soon)
(he is Claudio Polegato Junior <[email protected]>)
============================================================== [200601]
#81/fixed/kyanh/20060129/
* Though `default hilight == OFF', the doc_new() still turn hilight ON
#80/fixed/kyanh/20060129/
* PasteOperation: though current_document's hilight state = OFF, the regions is still hilighted
NOTE: the contents in clipboard is hilighted too :(
FIXED: document.c :: edit_paste_cb()
#79/fixed/kyanh/20060128/
* empty ~/.winefish/* ==> view line number == false :(
FIXED:
unknown state
#78/fixed/kyanh/20060128/
* outputbox: open one file in many many tab!!
FIXED:
document.c: !main_v->props.view_bars & MODE_ALLOW_MULTIPLE_INSTANCE
== > !(main_v->props.view_bars & MODE_ALLOW_MULTIPLE_INSTANCE)
#77/fixed/kyanh/20060127/
* hilight syntax by default , but the toggle menu Document/HilightSyntax == off
FIXED:
document.c::doc_new():: we need set toogle menu=TRUE if hilightstat=1
#76a/kyanh/20060216/
(a)* reload a document should go the previous line
#76b
* winefish knows file was changed by another process only when
the document notebook/tab changed...
#75/fixed/kyanh/20060127/
* outputbox: cannot search for \begin (<== need escaping)
#74/fixed/kyanh/20060127/
* outputbox: if there is line number captured => crash.
#73
* outputbox: when starting a tool, winefish doesnot know that file was changed
by another proccess ;) this may not a bug bug a feature ;(
#72/fixed/kyanh/20060126/
* if a tool is running and we try to run another one, the outputbox's messages
are completly cleared/
#71/fixed/kyanh/20060125/
* cannot stop grepbox ;(
#70/fixed/kyanh/20060125/
* outputbox_bf.c: exit too fast. cannot capture the output sometimes
#69/fixed/kyanh/20060124/
* notebook_changed: shoule hide the popup menu (autocompletion)
#68/fixed/kyanh/200602??/
* wrong hilight for URLs in comments
#67/fixed/kyanh/20060123/
* Open advanced, dir=/home/users/kyanh/tex, type=tex,
pattern=amsldoc (normal), configuration = completely new
* Close files after opening... --> crash!
FIXED:
* wrong Menu caption (File/Open Recent was changed to File/Recent)
============================================================== [200508]
#66/fixed/kyanh/20050824/
* Report: Stew Heckenberg <whazaaaaahp at hotmail.com>
* Data: winefish.desktop.in: Execute 'winefish -n' without parameter
#65/fixed/kyanh/unknown/
* Hilight: \itemsep: only \item is higlighted
============================================================== [200507]
#64/fixed/kyanh/20050723/
* Advance Openning failed.
FIXED:
document.c::files_advanced_win_ok_clicked()
After finishing, we donot free the 'temp_file',
as we did it in remove_secure_dir_and_filename();
#63/not-a-bug/
* Open a project, close it, open again, close again,...
* Open 'faqbody.tex' (12 651 lines, 553kb), close, open, close,...
The amount of memory used by Winefish increase and increase!!!
[ The same: kile, gedit, emacs, vim ]
From: Olivier Sessink <[email protected]>
Date: 2005-07-29 14:41
kyanh wrote:
> I then open the document, close it, open again,... repeat this many times for
> quite large document [ ~ 500 kb ], the memories used by Editor increases and
> increases.
>
> Could you give me any idea ?
that is not a gtk issue, but a Linux issue. On Linux, if you
malloc(1000000000) and then free() that same block, your program still
uses those 1000000000 bytes, they are not returned to the operating
system (but they will be swapped out if you don't use them)
#62/fixed/kyanh/20050719/
* Open Winefish, open a project, close the project,
then open then close again ==> there is a untitled document
with empty scroll [ empty textview area ]
FIXED:
gui.c::notebook_changed()
bfwin->current_document = doc_new(bfwin,delay_activate = FALSE);
document.c::doc_new()
if ( !delay_activate )
gtk_widget_show( newdoc->view );
/*
@delay_activate: Delay _show() if neccessary
Whether to perform GUI-calls and flush_queue().
Set to TRUE when loading several documents at once.
*/
#61
* Closing a project [within new Winefish window] should close
also the Winefish window
#60/fixed/kyanh/20060217/
* Cannot open project's files at specific linenumber
* TODO: present an existing project at specific linenumber
#59/fixed/kyanh/20050719/
* See project with files A, B, C (A is the first one)
The BUG may be generated like this:
- open in Winefish the file A
- open the project
(a)
/fixed/kyanh/20050719/05:58 GMT +7
We may see that the files A, B, C are opened...
But there is also an Untitled document :((
If we open the file B first, nothing special occurs.
(b)
/fixed/kyanh/20050719/
There is also a Gtk-Critical **: \
gtk_text_layout_get_iter_location: \
assertion `GTK_IS_TEXT_LAYOUT (layout)' failed
#58/fixed/kyanh/20050718/
* Open project, then close it...? What's wrong? The value of view_bars
(global session) is*NOT* restored. This mean that: the setting of 'View/*'
will be kept after exiting a project.
FIXED:
see 'project.c'
#57[major]/fixed/kyanh/20050718/
* Major BUG: Preferences / AutoX: the memories are*NOT* freed
==> each time Preferences are called, the memory used by Winefish
increase. Thanks to 'top -u kyanh -d 00.10' :)
FIXED:
use (g_list_find), not (g_list_find_custom) in
updating list of items of 'main_v->completion'
#56/fixed/kyanh/20050717/
* command collector cannot add the command \eval.
Why? because in the 'main_v->props.completion' there are times
which are prefixed by '\eval'...
FIXED:
in previous coding, i checked for existing of '\eval'
using 'g_completion_complete'. This means that: if an item can be
completed by 'main_v->completion', the item will*NOT* be added to
the session list.
#55/fixed/kyanh/20050716/
* After updating the autocompletion list [ using Preferences Page ],
the completion_list is*NOT* sorted ==> bad completion behavior.
FIXED:
use the function (g_list_insert_sorted) while updating the list.
See 'src/preferences.c' for details.
#54[major]/fixed/kyanh/20050719/04:04 GMT +7
* Open a file [ that belongs to a project ]
Open the project contains that file ==> wrong:
- the file will be removed from first window
- and opened in the second window
- but with the empty file name. So strange :((
- the 'close' icon for new doc disappears
#53[wf-1.3.2-5]/fixed/kyanh/20050714/
* \label{} for image wizard doesnot work
This is wrong *only* for wf 1.3.2-5 ... after i made some changes
#52
* (doc_insert_two_string) sometimes inserts extra spaces to (after_str).
#51
* Copy and Paste: \n\r will produce two lines
The hilight is incorrect if there's some \r.
#50[major]/fixed/kyanh/20050716/
* External Tool: "cat" is too slow :(
Why? Because of scrolling the output.
#49/fixed/kyanh/20050714/
* autocompletion: if the result contains 1 command, it should disappear
#48/fixed/kyanh/20050713/
* tex hilight: \right. doesnot work
============================================================== [200506]
#47/fixed/kyanh/20050704/
* Outputbox: too slow. May be decrease the value of interval.
I used the value of 20000 :D
#46/fixed/kyanh/200507xx/
* Error occurs... if we close winefish before any tools finished :)
So you have to cleanup the outputbox ... before exit:D
See CVS history for details. I fixed this but forgot to put comment here.
[Today is 20050712]
#45[major]/fixed/kyanh/20050706/
/fixed/kyanh/20050704/
* Running Outputbox (after the tool exists): the systesm resources will
be*NOT* freed ==> more and more resources are needed.
#44/fixed/kyanh/20050703/
* The Main GUI is*NOT* activated ... when called from xdvi.
#43/fixed/kyanh/20050627/
* Outputbox: zoombie tools arenot cleaned up
#42/fixed/kyanh/20050627/
* Cannnot build on FreeBSD (kill is explicit declaration; SIGKILL is undeclared)
#41/partial/fixed/kyanh/20050307/
* Open Winefish (winefish document.c -l20). When the main/doc gui appear,
close Winefish immediately => crashes
#40/fixed/kyanh/20050619/
* make uninstall will
rm -f /usr/share/pixmaps/bluefish-icon.png
Sorry Bluefish team :((
Fixed: Edit the Makefile.in
#39
* Image Wizard: image too large ==> wrong scaling
#38/fixed/kyanh/20050619/
* if there is image/newdoc/ dialog opened while wf exits ==> crash
#37/fixed/kyanh/20050619/
* "Insert/Image/Browser" generates the following message:
(a) backend = gnome-vfs
(winefish:850): libgnomevfs-CRITICAL **: \
file gnome-vfs-utils.c: line 749 \
(gnome_vfs_get_uri_from_local_path): \
assertion `local_full_path[0] == '/'' failed
(b) backend = localonly
(winefish:339): Gtk-CRITICAL **: \
gtk_file_system_unix_get_parent: \
assertion `g_path_is_absolute (filename)' failed
fixed:
gtk_easy.c :: file_but_clicked_lcb ()
if ( g_path_is_absolute(setfile) ) {/* valid setfile, BUGS#37 */
gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog),setfile);
}
#36/fixed/20050718/
* Open a file. The Open a project. The the "View/*" sub menu will accept
the value from parents (view=1), but the wigdets arenot showed (by settings
from Project properties).... How to repeat this error?
FIXED:
See 'project.c'
#35/do-not-implement/
* Using "\r" in "autotext" will not start autoindent :)
#34/fixed/kyanh/20050619/
* project template: doesnot work :(
#33/fixed/kyanh/20050618/
* "Auto Close LaTeX tags" ==> "Auto close environment"
#32/fixed/kyanh/20050618/
* Autotext is*NOT* indented automatically.
#31/fixed/kyanh/20050618/
* "Environment Autoclosing" is*NOT* indented automatically.
#30/fixed/kyanh/200506xx/
* "New Document" Wizard:
If we use this wizard to generate a new latex document,
in tetex 3.0, the result of typesetting this document will be a PDF file
(no matter we try *latex* or *pdflatex*)
The reason is: we used \pdfoutput=1. Just remove this line from template.
...
must use:
\ifx\pdfoutput\undefined\relax\else\ifnum\pdfoutput=1\relax\pdftrue\fi\fi
#29/invalid/kyanh/20060217/
* New document doesnot update hilight :(( -- Must do it by hand.
============================================================== [200504]
#28/ingored/
* Winefish cannot escaped from infinite loop [suspend]
I am sorry that i cannot repeat this bug on the system.
#27/fixed/kyanh/2005xxxx/
* \label must be followed \caption :D
#26/invalid/unikey-gtk/
* Autocompletion if failed should remove the last space.
This bug relates only to UniKeyGTK input method for Vietnamese.
I contacted UnikeyGTK's Author but he was being busy.
============================================================== [200503]
#25/fixed/kyanh/20050322/
* When the outputbox is hidden, Menu View/ViewOutputbox mustbe untoggled.
#24/fixed/kyanh/20050321/
* The outputbox should be shown the tool called.
#23/fixed/kyanh/20050320/
* LeftPanel/FileBrowsers: after being hiding, the document focus losts
Fix:
gui.c::left_panel_show_hide_toggle()
...
if (!first_time) {
...
gtk_widget_grab_focus(bfwin->current_document->view);
}
#22/fixed/kyanh/20050317/
* Outputbox: if user closes it by clicking on the 'X' image,
the the toggle menu 'View/View Outputbox' isnot set to 'FALSE'
Fix:
Modified outputbox.c::outputbox_close_clicked_lcb()
#21/fixed/kyanh/20050316/
* Autotext: wrong backwards. If we have /kyanh => Ky` Anh:La'u Ta'u (utf8)
the result of autotext replacement is "Ky`A:nhLau'Ta'u" (: is the cursor)
Fix:
use g_utf8_strlen(foo,-1), not strlen(foo)
#20/fixed/kyanh/20050316/
* External Tools: LaTeX: return 250 for the file
~/tex/vntex/doc/generic/vntex/README.tex
Once it halted.
Fix:
In outputbox.c, we should use
g_io_channel_set_encoding(ob->io_channel,NULL,NULL);
Capture the io_error, we got:
Invalid byte sequence in conversion input
After use NULL as encoding, we are safe in dealing with binary data.
#19/fixed/kyanh/20050316/
* Clean Tool: if we add the clean-tool like this
rm -fv '%b.{log,aux,...}'
Winefish will crash. NOTE: the bash expandsion ({}) cannot be placed
in the couple of ' or ". I donot know why.... Hmm, if "rm -fv " fails,
Winefish will crash too. Trying "xterm -e rm -fv ..." failed too.
Fix:
Not really a fix.
Running cleanning tool causes often the message
"interrupted system call"
=> should try the call again.
#18
* Undo: will move cursor to the first iterator. Should be the last...
#17/not-a-bug/
* Running "External Tool" on "Untitled Document" will make Winefish crashed.
Because of some reason, I <[email protected]> cannot use GTK_file_chooser
on my system. This is very very strange. As the thing is normal when
i login as root account. [GTK 2.4.3 (distribute by Slackware 10.0)]
#16/fixed/kyanh/20050313/
* GTK_CRITICAL: using quickstart dialogs will emmit
Fix:
"assertion GTK_IS_TEXT_BUFFER failed."
We used
wizards::quickstart::doc_insert_two_string(doc, pointer, "foo").
It should be
wizards::quickstart::doc_insert_two_string(doc, pointer, g_strdup("foo")).
This is hard to imagine.
Because the function ::doc_insert_two_string() has the prototype
doc_insert_two_strings(...,const gchar *before_str, const gchar *after_str)
Using this function in html.c::*, we don't encounter any problem.
May the length of *after_string be too long?
#15
* Bad "document.c::doc_insert_two_strings()"
Previous version of winefish based on "bluefish 013" works very well.
I tried but failed on fixing this problem. May I check the CVS version
of Bluefish. I am sorry :)
#15/fixed/kyanh/20050313/
* Tools:
Tools require the pipe files created in working directory.
So if current working is*NOT* writable, TOOLs will stop with message:
"> Error: cannot create PIPE"
Fix:
We should create the temporary files in /tmp/
The function bf_lib.c::create_secure_dir_return_filename() was re-written.
#14
* FileBrowsers: click on a pipe will make Winefish suspend.
Hope that you will never have a chance of clicking on a PIPE :)
#13/done/kyanh/20050301/
* DVIPDFM:: Outputbox cannot scroll to the end of message
Fix:
Do *NO* thing -- completely.
I don't know why outputbox for DVIPDFM cannot scroll this morning.
Now it works very well [20050301-23:05]
#12/fixed/kyanh/20050301/[M. Garoche, 20050301]
* For Mac OS: <wait.h> should be replaced by <sys/wait.h>
/done/kyanh/20050301/
* <signal.h> should be followed <sys/types.h>
<signal.h> should be removed from otuputbox.c. We don't use kill() anymore
See $man signal
* "malloc.h" is*NOT* recognized
#11/fixed/kyanh/20050301/[Larry Nguyen, M. Garoche, 20050301]
* ./configure should have the permission 755
#10/fixed/kyanh/20050301/
* <latex> '~/scilab.hist' will halt Winefish.
bf_lib.c
gchar *ext = g_strrstr(tmpstring,".");
...
g_free(ext);
Shouldnot use g_free(ext);
============================================================== [200502]
#10/fixed/kyanh/20060124/
* For 'outputbox.c': Doubleclick to open file => may open
two vesion of a same file (for e.g:
foo/foo.tex
./foo/foo.tex
Winefish treats that two files as two different files.
)
* Repeat:
~/tmp/vidu1/vidu0.tex (which includes ~/tmp/testinput.tex)
document.c::documentlist_return_document_from_filename
FIXED:
use `stat' to check for `inodes'. previous version use `strcmp'
to compare filename (stupid). latest bluefish uses gnome_vfs_uri_equal'
#9/found/kyanh/20050306/
* File_Chooser Suspend if Winefish is compiled without GNOMEUI but GTK+
Using Slackware, i don't package depencies anymore.
Is it true that GTK requires GNOMEUI?
Answer:
GTK requires GNOME-VFS??? NO!
Fix:
chmod 755 /home/
File_chooser will be tedious if perm(/home) = 711
#8/fixed/kyanh/20050228/0:03
* If a tex files was opened and we click on an image file (FileBrowsers),
winefish will be terminated unexpected.
Traceback:
image->clicked
filebrowsers::handle_activate_on_file(...)
(1) create_relative_link_to(...)
image_insert_from_filename(filebrowser->bfwin,relfilename);
image_insert_dialog_backend(filename != NULL,...)
...
g_signal_emit_by_name(...)
image_filename_changed(...)
(2) create_relative_link_to(...)
[Segmentation fault]
Problem:
first calling of create_relative_link_to() [See (1)]
passes the `relfilename' to 'image_insert_from_filename'.
I don't know exactly.
I think it... should be 'filename', not 'relfilename'...
Change 'relfilename' to 'filename' and it works.
#7/fixed/kyanh/20050226/
* Wizard may make Winefish TEDIOUS
using document.c::doc_destroy()::g_object_unref(doc->view->parent)
is invalid as doc->view->parent is GtkTextView (GtkObject).
[Reported this BUG to Bluefish Team]
Traceback:
QuitSignal
window_main_destroy(...)
doc_destroy(...)
g_object_ref(doc->view->parent)
g_object_unref(doc->view->parent)
[Segmentation fault]
Problem:
cannot use g_object_unref() on GtkObject.
#6/fixed/kyanh/2005027/
* If the Running LaTeX returns 1, then latex is <defunct>
(use $ps aux we can see this).
This means: the process <latex> wasnot killed completely.
Fix: See outputbox.c::continue_execute() for details. (waitpid())
#5/not-a-bug/
* External commands (Filters) may make Winefish TEDIOUS
Because we donot provide any special treatement for Filters
as we did for *LaTeX* relative tools. We hope that you willnot
make Winefish buggy, as filters is the user-defined tools :)
Anyway, we may DOIT in next version.
#4/fixed/kyanh/20050316/
* Continously call a tool (Menu External/LaTeX, for e.g.)
in a short time make Winefish tediuos.
Fix:
take idea from Bluefish (cvs-20050314): stop the previous tool
if it is still alive.
#3/not-a-bug/kyanh/20060123/
* Using FileChooser (gnome 2.6) sometimes causes suspend.
[While Winefish is running under... XXGDB]
#2/unikey/
* Using "\n" as UpdateChar + Vietnames Input Method ("UniKey")
may make Winefish TEDIOUS (sometimes).
I <[email protected]> cannot repeat this error on my system.
#1
* RelativePath for [Image Wizard] failed sometimes [for 'doc/wfbookmark.png']
* [20050302] OK now ~> cannot repeat the error.
============================================================== [EOF]