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