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