]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
gettext cleanup
[lyx.git] / src / ChangeLog
1 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2
3         * main.C (main): pass lyx_localedir to gettext_init().
4
5         * gettext.h: remove locale_init and gettext_init macros
6
7         * gettext.C (locale_init): new function
8         (gettext_init): new function
9
10         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11         setlocale().
12
13 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14
15         * Moved credits to frontends:
16         * credits.[Ch]: removed
17         * credits_form.[Ch]: removed
18         * lyx_gui_misc.C: remove credits stuff
19         * Makefile.am:
20
21 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
22
23         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
24
25         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
26         unneeded destructor.
27
28         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
29         a standalone pointer again.
30
31         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
32
33 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
34
35         * Makefile.am:
36         * filedlg.h:
37         * filedlg.C:
38         * LyXAction.C:
39         * ToolbarDefaults.C:
40         * bufferlist.C:
41         * commandtags.h:
42         * form1.C:
43         * form1.h:
44         * lyx_cb.C:
45         * lyx_cb.h:
46         * lyxfunc.h:
47         * lyxfunc.C:
48         * BufferView_pimpl.C: use new file dialog in GUII
49
50         * lyx_cb.h:
51         * lyx_cb.C: remove LayoutsCB to Toolbar
52
53 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
54
55         * ShareContainer.h (get): add std:: qualifier
56
57 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
58
59         * ShareContainer.h: define a proper ShareContainer::value_type
60         type (and use typename to please compaq cxx)
61
62 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
63
64         * lyxparagraph.h: move serveral local vars to
65         ParameterStruct/ParagraphParameters., use ShareContainer in
66         FontTable., make vars in FontTable private and add getter and
67         setter.
68
69         * paragraph.C: changes because of the above.
70
71         * lyxfont.h: remove copy constructor and copy assignment. (the
72         default ones is ok), move number inside FontBits. move inlines to
73         lyxfont.C 
74
75         * lyxfont.C: add number to initializaton of statics, move several
76         inlines here. constify several local vars. some whitespace
77         cleanup. Dont hide outerscope variables.
78
79         * Spacing.h: add two new constructors to match the set methods.
80
81         * ShareContainer.h: new file, will perhaps be moved to support
82
83         * ParameterStruct.h: new file
84
85         * ParagraphParameters.h: new file
86
87         * ParagraphParameters.C: new file
88
89         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
90         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
91
92         * BufferView_pimpl.C: ParagraphParameter changes.
93         * buffer.C: Likewise.
94         * bufferview_funcs.C: Likewise.
95         * text.C: Likewise.
96         * text2.C: Likewise.
97         
98 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
99
100         * lyxfind.C (LyXReplace): do not redefine default argument in
101         implementation. 
102         (IsStringInText): ditto
103         (SearchForward): ditto
104         (SearchBackward): ditto
105
106 2001-03-06  Juergen Vigna  <jug@sad.it>
107
108         * lyxfind.C (IsStringInText): put parentes around expressions.
109
110 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
111
112         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
113         
114 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
115
116         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
117
118         * stl_string_fwd.h: add comment
119
120         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
121
122         * tabular.h:
123         * tabular.C: remove unused DocBook methods
124
125         * intl.C:
126         * language.C:
127         * paragraph.C:
128         * buffer.C:
129         killed DO_USE_DEFAULT_LANGUAGE
130
131 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
132
133         * lyx_gui.C: do not include language.h.
134
135         * bufferview_funcs.C (ToggleAndShow): do not provide optional
136         arguments in function implementation.
137
138 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
139
140         * BufferView_pimpl.C: add <ctime>
141
142 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
143
144         * BufferView_pimpl.C: add using std::find_if
145
146 2001-02-27  José Matos  <jamatos@fep.up.pt>
147         
148         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
149         by OnlyPath.
150         
151 2001-02-11  José Matos  <jamatos@fep.up.pt>
152
153         * buffer.C (makeDocBookFile): command styles now have a parameter as
154         "title" by default.
155
156 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
157
158         * layout_forms.[Ch]: removed
159         * lyx_cb.[Ch]: out character
160         * lyx_gui.C: out character
161         * lyx_gui_misc.C: out character
162         * bufferview_funcs.C: : out character,
163         added toggleall as parameter in ToggleAndShow
164                    
165 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
166
167         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
168
169         * text2.C (SetCurrentFont): Disable number property at boundary.
170
171 2001-02-26  Juergen Vigna  <jug@sad.it>
172
173         * lyxfunc.C (getStatus): added a string argument override function so
174         that this is correctly called from LyXFunc::Dispatch if it contains a
175         do_not_use_argument which is used!
176         (Dispatch): added check for "custom" export and call appropriate func.
177
178 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
179
180         * lyxrc.C: Add language_command_local, language_use_babel and
181         language_global_options.
182
183         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
184
185         * buffer.C (makeLaTeXFile): Use language_use_babel and 
186         language_global_options.
187
188 2001-02-23  Juergen Vigna  <jug@sad.it>
189
190         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
191         which works with LyXText and putted it inside BufferView. Here now we
192         only call for that part the BufferView::Dispatch() function.
193
194         * BufferView.C (Dispatch): added.
195
196         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
197         functions which needs to use a LyXText over from LyXFunc.
198         (MenuInsertLyXFile): added
199         (getInsetByCode): added
200         (moveCursorUpdate): added
201         (static TEXT): added
202
203 2001-02-22  Juergen Vigna  <jug@sad.it>
204
205         * BufferView_pimpl.C (update): call a status update to see if LyXText
206         needs it.
207
208 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
209
210         * vc-backend.C (revert): implement for CVS
211         (getLog): implement for CVS
212
213 2001-02-20  Juergen Vigna  <jug@sad.it>
214
215         * text2.C (ClearSelection): added BufferView param for inset_owner call
216
217         * lyxfunc.C (TEXT): added this function and use it instead of
218         directly owner->view()-text of getLyXText().
219
220 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
221
222         * src/layout_forms.C: out preamble
223         * src/layout_forms.h: out preamble
224         * src/lyx_cb.C: out preamble
225         * src/lyx_cb.h: out preamble
226         * src/lyx_gui.C: out preamble
227         * src/lyx_gui_misc.C: out preamble
228         * src/lyxfunc.C: connect with guii preamble
229
230 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
231
232         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
233
234 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
235
236         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
237         whether to run bibtex.
238
239 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
240
241         * Makefile.am (lyx_SOURCES): Remove BackStack.h
242
243 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
244
245         * Makefile.am (lyx_SOURCES): removed bibforms.h
246
247         * vspace.h: doxygen
248
249         * text.C (GetVisibleRow): make several local vars const
250
251         * tabular.C: small cleanup.
252
253         * lyxserver.C (callback): use compare instead of strncmp
254
255         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
256         inlines to after class or to paragraph.C
257
258         * lyxfont.h: remove friend operator!=
259
260         * converter.h: move friend bool operator< to non friend and after
261         class def.
262
263         * combox.h: small cleanup
264
265         * buffer.h: doxygen, remove unused constructor, move inclas inlies
266         to inlines after class def.
267
268         * buffer.C (pop_tag): use string operations instead of strcmp
269
270         * bmtable.c: doxygen, small cleanup
271
272         * LaTeX.h: remove friend operator==
273
274 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
275
276         * screen.C: 
277         * lyxrc.[Ch]:
278         * lyxfunc.C: 
279         * lyxfont.[Ch]: 
280         * lyx_cb.C: 
281         * intl.[Ch]: 
282         * commandtags.h: 
283         * buffer.C: 
284         * WorkArea.[Ch]: 
285         * LyXAction.C: 
286         * BufferView_pimpl.C:
287         * BufferView.[Ch]: remove cruft
288
289 2001-02-14  Juergen Vigna  <jug@sad.it>
290
291         * lyxfunc.C: removed #if 0 unused code
292
293         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
294
295         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
296
297         * text2.C (SetSelection): added a BufferView * parameter
298
299 2001-02-13  Juergen Vigna  <jug@sad.it>
300
301         * lyxfunc.C (Dispatch): fixed protected blank problem.
302         * BufferView2.C (protectedBlank): added LyxText * parameter.
303
304         * tabular.C (AppendRow): forgot to set row_info of newly added row.
305         (AppendColumn): same as above for column_info.
306
307         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
308         (moveCursorUpdate): use a LyXText param for support of InsetText.
309
310         * BufferView_pimpl.C (doubleClick): added support for InsetText.
311         (tripleClick): ditto
312
313         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
314
315         * BufferView_pimpl.C (update): added LyXText param to honor insets.
316
317         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
318
319         * text2.C (SetSelection): set correct update status if inset_owner
320         (ToggleFree): ditto
321
322 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
323
324         * tabular.C: remove some commented code.
325
326 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
327
328         * BufferView_pimpl.C: call hideSplash()
329
330         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
331
332         * include_form.h:
333         * bibforms.h: remove
334
335         * lyxfunc.C:
336         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
337           add LFUN_CHILD_CREATE
338
339         * counters.h: fix tiny typo
340         
341         * lyx_cb.C:
342         * lyx.h:
343         * lyx_gui.C:
344         * lyx.C: move splash to frontends/xforms/
345
346         * lyx_gui_misc.C: move Include and Bibform to frontends
347
348         * lyxvc.h: clarify comment
349
350         * vspace.C: tiny housekeeping
351
352 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
353
354         * text.C (PrepareToPrint): RTL Fix.
355
356         * paragraph.C (GetUChar): New method.
357         (String):  Use GetUChar.
358
359         * buffer.C (asciiParagraph): Use GetUChar.
360
361 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
362
363         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
364
365 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
366
367         * buffer.h:
368         * buffer.C: rename to getLogName(), handle
369           build log / latex log nicely
370
371 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
372
373         * MenuBackend.C: 
374         * MenuBackend.h: remove support for reference menuitem type.
375
376 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
377
378         * BufferView_pimpl.C: housekeeping
379         * BufferView_pimpl.h:
380         * LyXView.h:
381         * Makefile.am:
382         * Timeout.C:
383         * Timeout.h:
384         * minibuffer.h: move Timeout GUI-I
385                           
386 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
387
388         * lyxrc.C (read): Update converters data-structures.
389
390 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
391
392         * LaTeX.h (operator!=): add operator != for Aux_Info 
393
394 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
395
396         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
397
398         * LaTeXLog.C: deleted, useful code moved to Buffer
399
400         * buffer.h:
401         * buffer.C: new function getLatexLogName()
402
403         * lyx_gui_misc.C:
404         * lyx_gui.C:
405         * lyxvc.C:
406         * lyxvc.h:
407         * lyxfunc.C: use frontends for LaTeX and VC logs
408
409 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
410
411         * LaTeX.h: yet another std:: that Allan forgot.
412
413         * Variables.C (set): renamed from isset(), because this clashes
414         with some HP-UX macros (grr).
415
416 2001-02-06  Allan Rae  <rae@lyx.org>
417
418         * LaTeX.h: Another bug fix.  Missing std:: this time.
419
420 2001-02-04  Allan Rae  <rae@lyx.org>
421
422         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
423         floats problem. I've left it commented out because it's not quite
424         correct.  It should also test that the current object is a table or
425         figure inset.  But I haven't gotten around to figuring out how to do
426         that.  I *think* it'll be something like: "table" == inset.type()
427
428         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
429         bool.
430
431 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
432
433         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
434         all the citation/databases/styles in the auxilary file. 
435         (run): Rerun latex if there was a babel language error.
436
437 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
438
439         * text.C (Backspace): Preserve the font when changing newline char
440         with a space.
441         (BreakParagraph): If the cursor is before a space, delete the space.
442
443         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
444
445 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
446
447         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
448         new argument (code).
449         (ChangeCitationsIfUnique): New method.
450
451         * paragraph.C (GetPositionOfInset): Handle bibkey.
452
453 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
454
455         * BufferView_pimpl.h: change type of Position::par_pos to
456         LyXParagraph::size_type. 
457
458 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
459
460         * BufferView_pimpl.C (savePosition, restorePosition): Write
461         messages to minibuffer.
462
463 2001-01-28  José Matos  <jamatos@fep.up.pt>
464
465         * buffer.C (makeDocBookFile): adds support for document language.
466         A silly restriction on the name of LatexCommand types where removed.
467         Added support for CDATA sections, allows to chars unescaped, used
468         among others in code, to avoid escape < and >.
469         
470 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
471
472         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
473         saved positions instrad of a stack. Furthermore, a position is
474         stored using paragraph id/paragraph position.
475
476         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
477         Remove LFUN_REF_BACK.
478
479 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
480
481         * converter.C (dvipdfm_options): New method.
482
483 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
484
485         * vspace.C (isValidLength): Fix for empty input string.
486
487 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
488
489         * LyXAction.C (init): change description of LFUN_FIGURE to
490         "Insert Graphics"
491
492 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
493
494         * LaTeX.C: add using directive
495
496 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
497
498         * MenuBackend.C (expand): Fix the sorting of the formats.
499
500 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
501
502         * lyx_main.C: tiny error message fix
503
504 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
505
506         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
507         calling fl_initialize(). This fixes the problem with ',' as
508         decimal separator in text files.
509
510 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
511
512         * trans.C (process): Fix the keymap bug.
513
514 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
515
516         * LaTeX.C (scanAuxFiles): New method. Provides support for
517         multiple bibliographies (when using the bibtopic/bibunits pacakges).
518         (scanLogFile) Scan for "run BibTeX" messages.
519
520         * buffer.C (makeLaTeXFile): Do not load the ae package when using
521         OT1 font encoding. Also, load the aecompl package if the ae
522         package is loaded.
523
524         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
525
526 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
527
528         * texrow.C (increasePos): turn two error messages into debug
529         messages. 
530
531 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
532
533         * LaTeX.C (scanAux): Handle the \@input macro.
534         (runBibTeX): Use scanAux().
535
536         * language.C (latex_options_): New field.
537
538         * LaTeXFeatures.C (getMacros): Add language macros.
539
540         * buffer.C (makeLaTeXFile): Small fix.
541
542 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
543
544         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
545
546         * text2.C: add a using directive.
547
548 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
549
550         * BufferView2.C:
551         * lyx_gui_misc.h:
552         * lyxfr1.C:
553         * lyxfunc.C: kill LyXBell.
554
555 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
556
557         * text.C (IsBoundary): Remove the error message
558         
559         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
560
561         * lyxrc.C (setDefaults): Correct initialization value for
562         font_norm_type.
563
564 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
565
566         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
567         gotoError().
568
569         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
570         and GotoNextNote().
571
572         * src/LyXAction.C: Added reference-next.
573
574         * text.C (InsertChar): Use contains instead of strchr.
575
576         * lyx_cb.C (MenuInsertLabel): Enable default value code.
577
578 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
579
580         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
581         alignment commands (when needed).
582
583         * text.C (InsertChar): Add ':' to number separator chars.