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