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