]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
The lyx rabbit attacked again?
[lyx.git] / src / ChangeLog
1 2004-03-31  Angus Leeming  <leeming@lyx.org>
2
3         * lfuns.h:
4         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
5
6         * lyxrc.[Ch] (read, write): overloaded member functions taking
7         a std::[io]stream arguments.
8
9         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
10
11 2004-03-31  Angus Leeming  <leeming@lyx.org>
12
13         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
14         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
15
16         * lyxtextclass.C (load): if the text class couldn't be loaded, then
17         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
18
19 2004-03-31  Angus Leeming  <leeming@lyx.org>
20
21         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
22         the LFUN_ALL_INSETS_TOGGLE code.
23
24 2004-03-30  Angus Leeming  <leeming@lyx.org>
25
26         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
27         has died. Fall through to the generic Dialogs::show("document").
28         
29 2004-03-30  Angus Leeming  <leeming@lyx.org>
30
31         * lfuns.h:
32         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
33         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
34
35         * lyxfunc.C (getStatus, dispatch): define the actions for these
36         lfuns. Little more than a cut and pste job from ControlDocument.C
37
38         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
39
40 2004-03-30  Angus Leeming  <leeming@lyx.org>
41
42         * lfuns.h:
43         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
44         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
45
46         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
47         open/closed state of ollapsable insets. Usage:
48
49         all-inset-toggle <state> <name>, where
50         <state> == "open" || "closed" || "toggle" and
51         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
52
53         * lyxtext.h, text2.C (toggleInset): removed.
54
55         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
56         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
57         now passes LFUN_INSET_TOGGLE to the found inset.
58
59         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
60         is now invoked as "all-insets-toggle toggle branch".
61
62 2004-03-30  Angus Leeming  <leeming@lyx.org>
63
64         * dociterator.C:
65         * insetiterator.C:
66         * pariterator.[Ch]: added/corrected header blurb.
67
68 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
69
70         * dociterator.[Ch]: add an inset_ member 
71         (backwardPos): implemented
72         (backwardPos, forwardPos): use inset_ when the stack is empty.
73         (doc_iterator_begin, doc_iterator_end): implemented
74         * pariterator.[Ch]: adjust, add begin, end
75         * insetiterator.[Ch]: adjust, add begin, end
76         * cursor.C: 
77         * document.C:
78         * BufferView.C:
79         * BufferView_pimpl.C:
80         * CutAndPaste.C: adjust
81
82 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
83
84         * buffer.C: increment file format to 232.
85         * LaTeXFeatures.C: add bibtopic package.
86         * bufferparams.[Ch]: param \use_bibtopic.
87         
88         * lyxrc.[Ch]: add lyxrc bibtex_command
89         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
90         
91         * buffer.C: increment file format to 231.
92
93 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
94
95         * dociterator.C: implement forwardPar
96         * iterators.[Ch]: remove, replaced by
97         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
98         * BufferView.C:
99         * BufferView_pimpl.C:
100         * CutAndPaste.C:
101         * buffer.C:
102         * bufferview_funcs.C:
103         * cursor.C:
104         * lyxfind.C
105         * lyxfunc.C
106         * paragraph_funcs.C
107         * toc.C:  
108         * Makefile.am: adjust
109
110 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
111
112         * CutAndPaste.C (pasteSelection): fix 2 crashes
113         (eraseSelection): fix a crash
114         * paragraph_funcs.C: remove a warning
115
116 2004-03-28  Angus Leeming  <leeming@lyx.org>
117
118         * lfuns.h:
119         * LyXAction.C (init): new LFUN_PRINT.
120
121         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
122
123 2004-03-27  Angus Leeming  <leeming@lyx.org>
124
125         * lfuns.h:
126         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
127
128         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
129
130 2004-03-27  Angus Leeming  <leeming@lyx.org>
131
132         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
133         insetlist always contains non-null pointers to insets.
134
135 2004-03-26  Angus Leeming  <leeming@lyx.org>
136
137         * src/BufferView_pimpl.C:
138         * src/CutAndPaste.C:
139         * src/buffer.C:
140         * src/iterators.C:
141         * src/output_plaintext.C:
142         * src/outputparams.h:
143         * src/paragraph_funcs.C:
144         * src/rowpainter.C:
145         * src/text.C:
146         * src/text2.C:
147         * src/frontends/controllers/ControlErrorList.C:
148         * src/frontends/gtk/FileDialogPrivate.C:
149         * src/frontends/gtk/GPainter.C:
150         * src/frontends/gtk/GToolbar.C:
151         * src/frontends/qt2/QRef.C:
152         * src/mathed/math_scriptinset.C: squash compiler warnings.
153
154 2004-03-26  Angus Leeming  <leeming@lyx.org>
155
156         * ispell.C (LaunchIspell::start):
157         * lyx_cb.C (AutoSaveBuffer::start):
158         invoke run(DontWait) rather than runNonBlocking().
159
160 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
161
162         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
163
164 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
165
166         * kbsequence.C (print): adjust
167
168         * kbmap.C (printKeySym): rename and change signature
169         (printKey): use LyXKeySym::print()
170
171 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
172
173         * undo.C: add using std::advance to compile for stlport
174
175 2004-03-24  Angus Leeming  <leeming@lyx.org>
176
177         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
178         it leads to a crash when no buffer is present.
179
180 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
181             Martin Vermeer  <martin.vermeer@hut.fi>
182
183         * lyxfunc.C (dispatch): 
184         * bufferparams.C (readToken): use the new LColor::setColor 
185
186         * LColor.[Ch] (setColor): new version that takes two strings as
187         argument and creates a new color entry if necessary
188
189 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
190
191         * buffer.C (makeLaTeXFile): if the main latex file that is
192         processed is usually a subdocument of some master, then pretend
193         for a while that it is actually the master
194
195 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
196
197         * buffer.C (getLabelList):
198         (getBibkeyList): use getMasterBuffer()
199         (getMasterBuffer): new method. Returns the main document in the
200         case where one is using included documents.
201
202 2004-03-25  André Pönitz  <poenitz@gmx.net>
203
204         * Makefile.am:
205         * iterators.[Ch]:
206         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
207
208         * ParagraphList_fwd.h: change ParagraphList to a std::vector
209
210         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
211         text*.C over here. Rename namespace CutAndPaste to lyx::cap
212
213         * ParameterStruct.h: merge with ParagraphParameters
214
215         * lyxtext.h: remove LyXText::parOffset() and getPar()
216
217         * text3.C: Remove all 'manual' update calls. We do now one per user
218         interaction which is completely sufficient.
219
220         * Bidi.C:
221         * BufferView.[Ch]:
222         * BufferView_pimpl.C:
223         * FontIterator.[Ch]:
224         * MenuBackend.C:
225         * ParagraphParameters.[Ch]:
226         * buffer.C:
227         * buffer.h:
228         * bufferlist.C:
229         * cursor.[Ch]:
230         * cursor_slice.[Ch]:
231         * dociterator.[Ch]:
232         * errorlist.[Ch]:
233         * factory.C:
234         * lfuns.h:
235         * lyxfind.C:
236         * lyxfunc.C:
237         * output_docbook.[Ch]:
238         * output_latex.[Ch]:
239         * output_linuxdoc.[Ch]:
240         * output_plaintext.[Ch]:
241         * paragraph.[Ch]:
242         * paragraph_funcs.[Ch]:
243         * paragraph_pimpl.[Ch]:
244         * rowpainter.C:
245         * tabular.[Ch]:
246         * text.C:
247         * text2.C:
248         * toc.C:
249         * undo.[Ch]: adjust
250
251         * frontends/controllers/ControlDocument.C:
252         * frontends/controllers/ControlErrorList.C:
253         * frontends/controllers/ControlSpellchecker.C:
254         * insets/inset.C:
255         * insets/inset.h:
256         * insets/insetbase.h:
257         * insets/insetbibitem.C:
258         * insets/insetbox.C:
259         * insets/insetbranch.C:
260         * insets/insetcaption.C:
261         * insets/insetcharstyle.C:
262         * insets/insetcharstyle.h:
263         * insets/insetcollapsable.C:
264         * insets/insetcollapsable.h:
265         * insets/insetert.C:
266         * insets/insetfloat.C:
267         * insets/insetfoot.C:
268         * insets/insetmarginal.C:
269         * insets/insetnote.C:
270         * insets/insetoptarg.C:
271         * insets/insettabular.C:
272         * insets/insettext.C:
273         * insets/insettext.h:
274         * insets/insetwrap.C:
275         * mathed/math_mboxinset.C:
276         * mathed/math_nestinset.C:
277         * mathed/math_scriptinset.C:
278         * mathed/math_scriptinset.h:
279         * support/types.h:
280
281 2004-03-24  Angus Leeming  <leeming@lyx.org>
282
283         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
284         deal with any child processes that have finished but are waiting to
285         communicate this fact to the rest of LyX.
286
287 2004-03-24  Angus Leeming  <leeming@lyx.org>
288
289         64-bit compile fixes.
290
291         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
292         (c-tor): pass lyx::pos_types rather than ints.
293
294         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
295         lyx::pos_type.
296
297         * text.C (Delete): compile fix.
298         (getPar): ensure that function declaration is the same as that in
299         the header file.
300
301 2004-03-23  Angus Leeming  <leeming@lyx.org>
302
303         * ispell.C (LaunchIspell):
304         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
305         a boost::shred_ptr rather than a std::auto_ptr.
306
307 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
308
309         * lyxfunc.C (getStatus): handle read-only buffers correctly;
310         handle LFUN_FILE_INSERT_*
311
312         * lyxrc.C (setDefaults, getDescription, output, read):
313         * lyxrc.h: remove ps_command
314
315 2004-03-22  Angus Leeming  <leeming@lyx.org>
316
317         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
318         Ensure that error_handler is processed once only and that all data
319         is saved before attempting to output any warning messages.
320
321         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
322
323 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
324
325         * tabular.C (TeXRow): crash fix (from Kayvan and André)
326
327 2004-03-19  André Pönitz  <poenitz@gmx.net>
328
329         * cursor.[Ch] (reset): take main text inset as argument
330
331         * BufferView: adjust
332         * BufferView_pimpl.C: adjust
333
334         * paragraph.[Ch]: fix completely broken operator=()
335
336 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * LColor.C (getFromLyXName): make sure that the color name is used
339         as lowercase.
340
341 2004-03-17  Angus Leeming  <leeming@lyx.org>
342
343         * lfuns.h:
344         * LyXAction.C (init): remove LFUN_FORKS_KILL.
345
346         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
347         dialog and to kill a forked process.
348
349 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
350
351         * text2.C (setCursorFromCoordinates): fix font problem
352
353 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
354
355         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
356         bogus "rebuild cursor" code
357
358 2004-03-11  André Pönitz  <poenitz@gmx.net>
359
360         * buffer.[Ch]: use InsetText instead of LyXText as container for
361         the main lyx text.
362
363         * dociterator.[Ch]: drop the BufferView * member which is not needed
364         anymore after the change to buffer.C
365
366         * paragraph_funcs.C:
367         * text.C:
368         * text2.C:
369         * BufferView.[Ch]:
370         * BufferView_pimpl.[Ch]:
371         * cursor.[Ch]:
372         * cursor_slice.[Ch]: adjust
373
374         * text3.C: fix bug in mathDispatch
375
376 2004-03-08  André Pönitz  <poenitz@gmx.net>
377
378         * undo.[Ch]: use 'StableDocumentIterator' as base for
379         the Undo struct.
380
381 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
382
383         * LaTeXFeatures.C:
384         * bufferparams.[Ch]: add jurabib support and param.
385
386         * LaTeX.C: add FIXME/comment.
387
388 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
389
390         * buffer.C: increment file format to 230.
391
392 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
393
394         * cursor.C (dispatch): avoid infinite loops
395
396 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
397
398         * rowpainter.C (paintSelection): fix x coordinates
399
400 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
401
402         * text.C (rowBreakPoint): fix breaking before displayed insets
403
404 2004-03-01  André Pönitz  <poenitz@gmx.net>
405
406         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
407
408         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
409
410         * Makefile.am:
411         * BufferView.C:
412         * BufferView_pimpl.C:
413         * buffer.C:
414         * lyxfind.C:
415         * lyxfunc.C:
416         * text.C:
417         * text2.C:
418         * text3.C: adjust
419
420 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
421
422         * lyxtext.h:
423         * text.C:
424         * text2.C:
425         * rowpainter.C:
426         * BufferView_pimpl.C: rename textwidth -> maxwidth,
427         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
428
429 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
430
431         * Bidi.[Ch] (computeTables): const correctness
432         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
433         fill_hfill, fill_label_hfill and x from Row
434         * lyxtext.h: prepareToPrint returns a RowMetrics
435         * rowPainter.C: adjust
436         * text.C (prepareToPrint): use width, not textWidth. adjust
437         (redoParagraphInternal, cursorX): adjust
438         * text2.C (getColumnNearX): adjust
439         (init): put a default value to the top LyXText::width
440
441 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
442
443         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
444
445 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
446
447         * lyxtext.h: add FontIterator class
448
449         * text.C (FontIterator, operator*, operator->, operator++): add
450         (rowBreakPoint, setRowWidth): adjust (fixing a
451         rebreaking bug)
452
453 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * BufferView_pimpl.C (workAreaDispatch): allow also
456         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
457
458 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
459
460         * text.C (rowBreakPoint): fix a bug showing with very large insets
461
462 2004-02-25  André Pönitz  <poenitz@gmx.net>
463
464         * text3.C:
465         * cursor.[Ch]: move some mathed specific code to mathed
466
467 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
468
469         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
470         use_tempdir in preferences
471         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
472         tempfile creation
473         * lyx_main.C: ensure that tempdir is valid
474         * lyxlex.h: correct typo
475         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
476         * paragraph.[Ch] (isMultiLingual): make const
477         * cursor.[Ch] (openable): make const
478
479 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
480
481         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
482
483 2004-02-20  André Pönitz  <poenitz@gmx.net>
484
485         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
486
487         * cursor.[Ch]: prepare for localized getStatus()
488
489         * lyxtext.h:
490         * tabular.C:
491         * text.C:
492         * text2.C:
493         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
494
495 2004-02-20  André Pönitz  <poenitz@gmx.net>
496
497         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
498
499 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
500
501         * text2.C (setCursorFromCoordinates): switch to absolute coords
502         (cursorUp): adjust
503         (cursorDown): adjust
504         * text3.C (dispatch): adjust
505
506 2004-02-16  André Pönitz  <poenitz@gmx.net>
507
508         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
509           insets/ChangeLog)
510
511         * cursor_slice.[Ch]: remove unneeded acessor function
512
513         * lyxtext.h: rename rtl() to isRTL()
514
515         * rowpainter.C:
516         * tabular.C:
517         * text.C:
518         * text2.C:
519         * text3.C: adjust
520
521 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
522
523         * rowpainter.C (paintSelection): coord fix
524
525 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
526
527         * Spacing.C: compile fix
528
529 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
530
531         * cursor.C (dispatch): restore current_ before returning
532
533 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
534
535         * text2.C (cursorUp, cursorDown): fix coords
536         (moveUp): fix crash
537
538 2004-02-12  André Pönitz  <poenitz@gmx.net>
539
540         * lyxtext.h:
541         * text.C:
542         * text2.C:
543         * text3.C: add LCursor & parameter to most cursor movement functions
544           remove usage of LyXText::cursorRow() and cursorPar()
545
546         * cursor.[Ch]: add textRow() needed members
547
548         * BufferView.C:
549         * BufferView_pimpl.C:
550         * paragraph.[Ch]:
551         * BufferView.C:
552         * BufferView_pimpl.C: adjust
553
554 2004-02-11  André Pönitz  <poenitz@gmx.net>
555
556         * lyxfunc.C:
557         * BufferView.[Ch]:
558         * BufferView_pimpl.C: shift undo/redo handling
559
560         * cursor.[Ch]: fix mathed crash
561
562         * lyxfind.C:
563         * lyxtext.h: move selectionAsText to LCursor
564
565         * output_latex.C:
566         * paragraph.C:
567         * text.C:
568         * text2.C:
569         * text3.C: adjust
570
571         * rowpainter.C: fix excessive drawing
572
573 2004-02-06  André Pönitz  <poenitz@gmx.net>
574
575         * BufferView.[Ch]:
576         * BufferView_pimpl.[Ch]:
577         * text3.C: move some text specific LFUN handling
578
579 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
580
581         * text3.C (checkInsetHit): adjust coords
582         * text2.C (getColumnNearX): adjust coords
583         (edit): adjust coords
584         * text.C (getRowNearY): add two asserts
585
586 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
587
588         * converter.C:
589         * format.C: add using std::distance to compile on gcc 2.95/stlport
590
591 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
592
593         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
594
595 2004-02-04  André Pönitz  <poenitz@gmx.net>
596
597         * BufferView.[Ch] (insertInset):
598         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
599
600         * text2.C:
601         * text3.C: adjust
602
603 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
604
605         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
606         on the default clause of the switch
607         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
608         wasn't catched by LCursor::dispatch
609
610 2004-02-03  André Pönitz  <poenitz@gmx.net>
611
612         * BufferView.C:
613         * cursor.[Ch]: some additional asserts
614
615         * undo.[Ch]: remove LyXText dependency in interface
616
617         * lyxfunc.C: adjust
618
619         * lyxtext.h (firstPar, lastPar): remove dead functions
620
621         * text.C:
622         * text2.C:
623         * text3.C:
624         * paragraph.[Ch]: adjust
625
626 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
627
628         * lyxfind.C (find): fix argument order in call to ::find
629
630 2004-02-02  André Pönitz  <poenitz@gmx.net>
631
632         * cursor.[Ch]: remove direct access to anchor
633
634         * text.C: remove findText() hack
635
636 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
637
638         * iterators.[Ch] (lockPath): remove in favour of...
639         * BufferView.[Ch] (setCursor): this addition
640         * BufferView.C (putSelectionAt): adjust
641         * undo.C (performUndoOrRedo): adjust
642         * lyxfunc.C (dispatch): adjust
643
644 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
645
646         * iterators.C (lockPath): add a missing slice
647         * undo.C (performUndoOrRedo): remove redundant positioning code
648
649 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
650
651         * vc-backend.C (scanMaster): ";" -> ';'
652
653 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
654
655         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
656         std::binary_function
657
658         * lyxtextclass.C (compare_name): rename to...
659         (LayoutNamesEqual): ...this
660
661         * lyxlex_pimpl.C (compare_tags): inherit from
662         std::binary_function, put back into anon namespace
663
664         * lyxfind.C (MatchString): inherig from std::binary_function
665         (findChange): use empty() istead of !size()
666
667         * format.C (FormatNamesEqual): new functor
668         (getFormat): use it
669         (getNumber): use it
670         (add): use it
671         (erase): use it
672         (setViewer): use it
673
674         * converter.C (compare_Converter): rename to...
675         (ConverterEqual): ...this, and fixup a bit.
676         (getConverter): use it, and make function const
677         (getNumber): use it, and make function const
678         (add): use it
679         (erase): use it:
680
681         * bufferlist.C: add using boost::bind
682
683         * MenuBackend.C (MenuNamesEqual): new functor
684         (hasMenu): use it, and make function const
685         (hasSubmenu): use nested bind to get rid of compare_memfun.
686
687 2004-01-30  André Pönitz  <poenitz@gmx.net>
688
689         * BufferView_pimpl.C:
690         * cursor.C:
691         * cursor.h:
692         * cursor_slice.[Ch]:
693         * lyxfunc.C:
694         * lyxtext.h:
695         * paragraph_funcs.C:
696         * paragraph_funcs.h:
697         * rowpainter.C:
698         * text.C:
699         * text2.C:
700         * text3.C: move some of the edit(x,y) handling to the insets
701         some coordinate changes.
702
703 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
704
705         * text.C: add using statements for std::advance and std::distance
706
707         * paragraph.C: add using statement for std::distance
708
709         * lyxfind.C: add using statement for std::advance
710
711         * cursor.C (region): remove std:: from swap
712         (openable): use nucleus in stead of operator->
713
714         * BufferView.C: add using statements for std::distance and std::swap
715
716 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
717
718         * iterators.C: Remove the pimple, move the needed structures to
719         the header file. Create accessor for the positions stack.
720         (asPosIterator): remove function
721
722         * PosIterator.C (PosIterator): move constructors to top of file
723         (PosIterator): reimplement the constructor taking a ParIterator in
724         terms of setFrom.
725         (setFrom): new function
726         (operator!=): inline it
727
728 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
729
730         * lyxfind.C (replaceAll): use std::advance
731
732         * iterators.h: inherit from std::iterator.
733
734         * PosIterator.C (advance, distance): remove
735         * PosIterator.h: interit from std::iterator.
736
737 2004-01-26  André Pönitz  <poenitz@gmx.net>
738
739         * BufferView.[Ch]:
740         * BufferView_pimpl.[Ch]:
741         * InsetList.[Ch]:
742         * PosIterator.[Ch]:
743         * buffer.h:
744         * bufferview_funcs.C:
745         * cursor.[Ch]:
746         * cursor_slice.h:
747         * factory.[Ch]:
748         * iterators.[Ch]:
749         * lyxfind.C:
750         * lyxfunc.C:
751         * lyxtext.h:
752         * output_docbook.C:
753         * output_latex.C:
754         * output_linuxdoc.C:
755         * output_plaintext.C:
756         * paragraph.[Ch]:
757         * paragraph_funcs.[Ch]:
758         * paragraph_pimpl.[Ch]:
759         * rowpainter.C:
760         * tabular.C:
761         * tabular.h:
762         * text.C:
763         * text2.C:
764         * text3.C: more IU:  dumps most of the rest of the mathcursor
765     implementation into cursor.[Ch]; "globalize" a bit of it.
766
767 2004-01-25  Angus Leeming  <leeming@lyx.org>
768
769         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
770
771 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
772
773         * LaTeXFeatures.h: add nice_ and nice() const
774         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
775
776 2004-01-20  André Pönitz  <poenitz@gmx.net>
777
778         * BufferView.[Ch]:
779         * BufferView_pimpl.C:
780         * PosIterator.C:
781         * bufferview_funcs.C:
782         * cursor.[Ch]:
783         * cursor_slice.[Ch]:
784         * factory.C:
785         * iterators.C:
786         * lyx_cb.C:
787         * lyxfind.C:
788         * lyxfunc.C:
789         * lyxtext.h:
790         * rowpainter.C:
791         * text.C:
792         * text2.C:
793         * text3.C:
794         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
795           LCursor and mathcursor parts to LCursor and InsetBase.
796
797 2004-01-15  André Pönitz  <poenitz@gmx.net>
798
799         * cursor_slice.[Ch]: add a few covienience functions
800
801         * funcrequest.[Ch]: remove BufferView * member
802
803         * BufferView_pimpl.C:
804         * cursor.C:
805         * factory.[Ch]:
806         * lyxfind.[Ch]:
807         * lyxfunc.C:
808         * lyxtext.h:
809         * text3.C:
810         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
811
812 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
813
814         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
815         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
816
817 2004-01-13  André Pönitz  <poenitz@gmx.net>
818
819         * textcursor.[Ch]:
820         * lyxtext.h: hide cursor and selection anchor behind accessor function
821
822         * BufferView.C:
823         * BufferView_pimpl.[Ch]:
824         * PosIterator.C:
825         * bufferview_funcs.C:
826         * cursor.h:
827         * lyxfind.C:
828         * lyxfunc.C:
829         * text.C:
830         * text2.C:
831         * text3.C:
832         * undo.C: adjust
833
834         * cursor.h:
835         * cursor_slice.[Ch]: some integer type changes for inset unification
836
837         * lyxcursor.[hC]: remove, it's CursorSlice now.
838
839         * Makefile.am:
840         * BufferView_pimpl.[Ch]:
841         * bufferview_funcs.C:
842         * cursor_slice.C:
843         * lyxtext.h:
844         * text.C:
845         * text2.C:
846         * text3.C:
847         * textcursor.[Ch]: adjust
848
849 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
850
851         * text2.C (undoSpan): add and use
852         * text.C (breakParagraph): use undoSpan (fix bug 578)
853         * lyxtext.h: adjust
854
855 2004-01-08  Angus Leeming  <leeming@lyx.org>
856
857         * BufferView_pimpl.C (MenuInsertLyXFile):
858         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
859         * lyxfunc.C (menuNew, open, doImport):
860         FileFilterList change to the FileDialog open and save functions.
861
862 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
863
864         * ShareContainer.h: make isEqual and isUnique adaptable
865
866         * CutAndPaste.C: make resetOwnerAndChanges adaptable
867
868 2004-01-07  Angus Leeming  <leeming@lyx.org>
869
870         * LyXAction.C:
871         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
872
873         * BufferView_pimpl.C (dispatch): act on these LFUNs.
874
875         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
876         functions replacing find, replace and replaceAll.
877
878         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
879         LFUN_WORDFIND(FORWARD|BACKWARD).
880
881 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
882
883         * text.C (breakParagraph): remove an outdated #warning
884
885 2004-01-07  André Pönitz  <poenitz@gmx.net>
886
887         * lyxfind.C: somewhat clearer logic
888
889         * text.C: prevent crash in cursorX on unitialized row cache
890
891 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
892
893         * lyxcursor.[Ch] (operator>): add
894         * textcursor.C (selStart, selEnd): use std::min and std::max
895
896 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
897
898         * Chktex.C: include boost/format.hpp
899
900 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
901
902         * InsetList.C: replace functor MathcIt with adaptable functor
903         InsetTablePosLess
904         (insetIterator): modify accordingly
905
906         * BranchList.h: move the BranchNamesEqual functor here from...
907         * BranchList.C: ... to here
908
909         * BranchList.C: new BranchListEqual fuctor, use it. Remove
910         SameName and match.
911         (add): replace a finding loop with std::find_if.
912
913 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
914
915         * output_docbook.C: moving LatexParam functionality into
916         .layout files
917
918 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
919
920         * buffer.C: increment format to 229.
921
922 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
923
924         * LaTeXFeatures.C:
925         * lyx_sty.[Ch]: remove minipageindent_def
926
927         * LyXAction.C:
928         * factory.C:
929         * lfuns.h:
930         * lyxfunc.C:
931         * text3.C: remove LFUN_INSET_MINIPAGE
932
933 2003-12-28  Angus Leeming  <leeming@lyx.org>
934
935         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
936
937 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
938
939         * text2.C (setParagraph): fix off-by-one crash
940
941 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
942
943         * output_docbook.C: header stuff for AGU
944
945 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
946
947         * text2.C (redoCursor): remove
948         * text.C:
949         * text3.C:
950         * BufferView_pimpl.C: remove calls to redoCursor and
951         setCursor(cursor.par(), cursor.pos()) all around
952
953 2003-12-15  Angus Leeming  <leeming@lyx.org>
954
955         * buffer.C: up the format to 228.
956
957 2003-12-15  André Pönitz  <poenitz@gmx.net>
958
959         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
960         slices
961
962         * Makefile.am:
963
964         * BufferView_pimpl.C:
965         * cursor.[Ch]:
966         * lyxcursor.[Ch]:
967         * rowpainter.[Ch]:
968         * lyxtext.h:
969         * text.C:
970         * text2.C:
971         * text3.C: adjust
972
973 2003-12-15  Angus Leeming  <leeming@lyx.org>
974
975         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
976         than getFromGUIName to manipulate the color.
977
978 2003-12-14  Angus Leeming  <leeming@lyx.org>
979
980         * BranchList.[Ch]: minimize the API.
981         (Branch::getBranch, getColor): now return a 'const &'.
982         (Branch::setSelected) now returns a bool set to true if the
983         selection status changes.
984         (BranchList::clear, size, getColor, setColor, setSelected,
985         allBranches, allSelected, separator): removed.
986         (BranchList::find): new functions, returning the Branch with
987         the given name.
988         (BranchList::add, remove): return a bool indicating that
989         the operation was successful.
990
991         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
992         new InsetBranch::isBranchSlected member function.
993
994         * LColor.[Ch]: mimimize the API.
995         (fill): renamed as addColor and made private.
996         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
997         versions of these functions taking a string arg have been removed.
998
999         * bufferparams.C (readToken):
1000         * lyxfunc.C (dispatch):
1001         * lyxrc.C (read): changes due to the altered BranchList and
1002         LColor APIs.
1003
1004         * factory.C (createInset, readInset): changes due to altered
1005         InsetBranch c-tor.
1006
1007 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1008
1009         * factory.C:
1010         * lyxfunc.C: remove insetminipage. "minipage-insert"
1011         now produces a frameless minipage box inset.
1012
1013 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1014
1015         * textcursor.[Ch] (selStart,selEnd): add new methods
1016         remove selection::start, end, use LyXCursor::operator<
1017         * lyxcursor.[Ch] (operator<): add
1018         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1019         * BufferView.[Ch] (unsetXSel): add
1020         * text2.C (clearSelection): use unsetXSel,adjust
1021         * text.C: adjust
1022         * text3.C: adjust
1023         * rowpainter.C: adjust
1024         * bufferview_funcs.C (put_selection_at): adjust
1025
1026 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1027
1028         * BufferView_pimpl.C: small coord. correction
1029
1030 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1031
1032         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1033         dragging over the splash screen.
1034
1035 2003-12-11  Angus Leeming  <leeming@lyx.org>
1036
1037         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1038         as it is now handled in LyXText::dispatch.
1039
1040         * text3.C (doInsertInset): remove a level of nesting.
1041
1042 2003-12-11  Angus Leeming  <leeming@lyx.org>
1043
1044         * factory.C (createInset): changes due to the changed interface to
1045         InsetCommandMailer::string2params.
1046
1047 2003-12-10  Angus Leeming  <leeming@lyx.org>
1048
1049         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1050         'dialog-show-new-inset <inset name>'
1051
1052 2003-12-10  Angus Leeming  <leeming@lyx.org>
1053
1054         * buffer.C: up the format to 227.
1055
1056         * factory.C: the box inset is now identified simply by 'Box'.
1057
1058 2003-12-10  Angus Leeming  <leeming@lyx.org>
1059
1060         * buffer.C: up the format to 226.
1061
1062         * factory.C: the note inset is now identified simply by 'Note'.
1063
1064 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1065
1066         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1067         when a pit is enough. Standarize a couple of loops.
1068
1069 2003-12-05  Angus Leeming  <leeming@lyx.org>
1070
1071         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1072         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1073         data to the re-worked "log" dialog.
1074
1075 2003-12-03  André Pönitz  <poenitz@gmx.net>
1076
1077         * PosIterator.C:
1078         * iterators.C:
1079         * lyxtext.h:
1080         * output_latex.C:
1081         * paragraph_funcs.C:
1082         * text.C:
1083         * text2.C: use Inset::getText instead of Inset::getParagraph
1084
1085 2003-12-03  André Pönitz  <poenitz@gmx.net>
1086
1087         * buffer.[Ch]:
1088         * lyxtext.h:
1089         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1090         InsetText::read() as LyXText::read()
1091
1092 2003-12-02  Angus Leeming  <leeming@lyx.org>
1093
1094         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1095         type. Add a comment in the implementation that the function uses
1096         the stream's bad() function rather than fail() as the std::streams
1097         would do.
1098
1099 2003-12-02  André Pönitz  <poenitz@gmx.net>
1100
1101         * lyxlex.[Ch]: make interface more similar to std::stream
1102
1103         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1104
1105 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1106
1107         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1108
1109 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1110
1111         * vspace.[Ch]: remove VSpace::NONE
1112
1113 2003-12-01  André Pönitz  <poenitz@gmx.net>
1114
1115         * buffer.[Ch]:
1116         * lyxtext.h: move ParagraphList member to LyXText
1117         rename LyXText::ownerParagraphs to LyXText::paragraph
1118
1119         * CutAndPaste.C:
1120         * bufferview_funcs.C:
1121         * iterators.[Ch]:
1122         * lyx_cb.C:
1123         * paragraph.C:
1124         * rowpainter.C:
1125         * tabular.C:
1126         * text.C:
1127         * text2.C:
1128         * text3.C: adjust
1129
1130         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1131
1132         * undo.C: fix cursor positioning
1133
1134 2003-12-01  John Levon  <levon@movementarian.org>
1135
1136         * BufferView_pimpl.C: fix a crash on exit with
1137         a buffer open
1138
1139 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1140
1141         * BranchList.C: fix setSelected() method.
1142
1143 2003-11-28  André Pönitz  <poenitz@gmx.net>
1144
1145         * ParagraphParameters.[Ch]:
1146         * ParameterStruct.h: remove space above/below from Paragraph to
1147          InsetVSpace
1148
1149         * BufferView_pimpl.C:
1150         * factory.C:
1151         * lyxfunc.C:
1152         * lyxtext.h:
1153         * output_latex.C:
1154         * paragraph.C:
1155         * paragraph_funcs.C:
1156         * rowpainter.[Ch]:
1157         * text.C:
1158         * text2.C:
1159         * text3.C: adjust
1160
1161 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1162
1163         * factory.C: Syntax change for CharStyles
1164
1165 2003-11-28  André Pönitz  <poenitz@gmx.net>
1166
1167         * BufferView.[Ch]:
1168         * BufferView.[Ch]:
1169         * buffer.[Ch]:
1170         * buffer.[Ch]: move LyXText member
1171
1172 2003-11-28  André Pönitz  <poenitz@gmx.net>
1173
1174         * BufferView.[Ch]: make LyXText * text a private member
1175
1176         * BufferView_pimpl.C:
1177         * cursor.C:
1178         * iterators.C:
1179         * lyx_cb.C:
1180         * lyxfind.C:
1181         * lyxtext.h:
1182         * rowpainter.[Ch]:
1183         * text.C:
1184         * text2.C:
1185         * undo.C: adjust
1186
1187         * output_plaintext.C: cleanup
1188
1189 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1190
1191         * buffer.C:
1192         * lyxtextclass.[Ch]: parametrize SGML document header
1193
1194 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1195
1196         * converter.[Ch]:
1197         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1198         getFlavor().
1199
1200 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1201
1202         * text2.C (setFont): rework using PosIterator (no more recursive)
1203         (setCharFont): no more needed
1204         (setLayout): no more selection cursors fiddling (done by redoCursor)
1205         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1206         destroy remaining ones)
1207
1208 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1209
1210         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1211         * lyxtext.h: ditto
1212         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1213         selection cursors
1214         * lyxfunc.C: adjust
1215         * text3.C: adjust + re-allow multi par depth changes
1216         * textcursor.C: simplify a bit
1217
1218 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1219
1220         * src/buffer.C:
1221         * src/lyxlayout.C:
1222         * src/lyxlayout.h:
1223         * src/lyxtext.h:
1224         * src/output_docbook.C:
1225         * src/output_latex.C:
1226         * src/paragraph.C:
1227         * src/paragraph.h:
1228         * src/sgml.C:
1229         * src/sgml.h:
1230         * src/text2.C: Introducing a number of tags parametrizing various
1231         XML formats that we may want to support
1232
1233 2003-11-25  André Pönitz  <poenitz@gmx.net>
1234
1235         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1236
1237         * lyxtext.h (leftMargin/rightMargin): simplify interface
1238
1239         * rowpainter.C:
1240         * text.C:
1241         * text2.C:
1242         * text3.C: adjust
1243
1244 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1245
1246         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1247         master file to any child files. Fixes bug 546.
1248
1249 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1250
1251         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1252
1253 2003-11-24  André Pönitz  <poenitz@gmx.net>
1254
1255         * rowpainter.C: simplification
1256
1257         * text2.C (updateCounters): remove call to redoParagraph on
1258         changed labels as this is far too expensive.
1259
1260 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1261
1262         * converter.C (convert): fix a crash: this function gets
1263         called with buffer == 0 from importer code.
1264
1265 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1266
1267         * text3.C (cursorPrevious): make sure that we do not compare
1268         iterators form different containers.
1269         (cursorNext): ditto
1270
1271         * rowpainter.C (paintSelection): make sure that we do not compare
1272         iterators from different containers.
1273
1274         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1275         iterators from different ParagraphList containers.
1276         [NEXT] ditto
1277
1278         * text2.C (LyXText): change order of initialization slightly
1279         (operator=): new function. copy all variables except cache_par_
1280         (moveUp): make sure that we do not compare iterators from
1281         different ParagraphList constainers.
1282         (moveDown): ditto
1283
1284         * text.C (firstPar): new function
1285         (lastPar): new function
1286         (endPar): new function
1287
1288         * lyxtext.h: move things around and group public functions, public
1289         variables, private functions, private variables
1290
1291 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1292
1293         * factory.C: change call to InsetERT constructor to avoid
1294         additional invocation of method status
1295         * text2.C (toggleInset): remove redundant update() call
1296         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1297         instead of a Bufferview pointer
1298
1299 2003-11-21  André Pönitz  <poenitz@gmx.net>
1300
1301         * rowpainter.C: simplification
1302
1303 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1304
1305         * text3.C (dispatch): make possible to extend a word/row selection
1306         with the mouse
1307
1308 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1309
1310         * lyxtext.h: x0_,y0_ -> xo_,yo_
1311         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1312         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1313         * rowpainter.C (paintRows): paint full paragraphs
1314
1315 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1316
1317         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1318         screen coordinates)
1319
1320 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1321
1322         * lyxtext.h: add x0_, y0_
1323         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1324         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1325
1326 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1327
1328         * text2.C (setCursorIntern): move the x_target update here *
1329         * text3.C: change some bv() to true/false in calls to
1330         cursorUp/Down/Right/Left
1331         * cursor.C: use helper function.
1332
1333 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1334
1335         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1336         * paragraph_funcs.[Ch]: correct comment
1337         * rowpainter.C: do not paint selections away from bv->cursor()
1338         Fix a long standing selection painting bug.
1339         * text3.C: generalize mouse-selection code to LyXTexts other that
1340         top one
1341         * textcursor.C: do not use y coords if we can use par offsets
1342
1343 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1344
1345         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1346         cursor position after e.g. inset insert)
1347
1348 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1349
1350         * lyxfind.C (replace): adjust to locking removal + some
1351         code simplification
1352
1353 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1354
1355         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1356         of the path
1357
1358 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1359
1360         * lyxlayout.[Ch]:
1361         * output_docbook.C: XML sanitation: new layout
1362         parameters InnerTag and CommandDepth
1363
1364 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1365
1366         * BufferView_pimpl.C:
1367         * factory.C:
1368         * text3.C: Fix the insertion and modification of button-style
1369         insets
1370
1371 2003-11-13  André Pönitz  <poenitz@gmx.net>
1372
1373         * InsetList.[Ch]: remove deleteLyXText
1374
1375         * paragraph.[Ch]: cache beginOfBody position
1376
1377         * Bidi.C:
1378         * text.C:
1379         * text2.C:
1380         * text3.C: remove superfluous update() calls
1381
1382         * vspace.C: cleanup
1383
1384 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1385
1386         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1387         * BufferView.C (fitLockedInsetCursor): remove
1388         * cursor.[Ch] (getDim): add
1389         * text.C (getRowNearY): add faster version
1390         * text3.C: remove some update calls
1391
1392 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1393
1394         * LaTeXFeatures.C:
1395         * LyXAction.C:
1396         * MenuBackend.C:
1397         * MenuBackend.h:
1398         * dispatchresult.h:
1399         * factory.C:
1400         * lfuns.h:
1401         * lyxfunc.C:
1402         * lyxtextclass.C:
1403         * lyxtextclass.h:
1404         * text3.C: The Character Style /XML short element patch.
1405
1406 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1407
1408         * text3.C:
1409         * factory.C: Small step to solving 'unable to insert some insets'
1410         problem
1411
1412 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1413
1414         * cursor.[Ch] (updatePos): new function for updating the y
1415         position of the tip inset
1416         * bufferview_funcs.C (put_selection_at):
1417         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1418
1419 2003-11-11  André Pönitz  <poenitz@gmx.net>
1420
1421         * text.C: remove big comment on invalid Paragraph pointers as it is
1422         not valid anymore
1423
1424 2003-11-11  André Pönitz  <poenitz@gmx.net>
1425
1426         * text_funcs.[Ch]: merge with ...
1427
1428         * text.C: ... this
1429
1430         * lyxtext.h:
1431         * text2.C:
1432         * text3.C: adjust
1433
1434         * Makefile.am: remove text_funcs.[Ch]
1435
1436 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1437
1438         * cursor.C (getPos): return absolute cached y coord
1439
1440         * BufferView_pimpl.C (fitCursor): new simplistic code
1441         (workAreaDispatch): add a fitCursor call
1442
1443 2003-11-10  André Pönitz  <poenitz@gmx.net>
1444
1445         * BufferView.[Ch]:
1446         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1447
1448 2003-11-10  André Pönitz  <poenitz@gmx.net>
1449
1450         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1451         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1452         indicate that the cursor needs to leave an inset
1453
1454         * lyxtext.h: remove inset locking
1455
1456         * cursor.[Ch]: re-implement functionality provided by inset locking
1457
1458         * BufferView.[Ch]:
1459         * BufferView_pimpl.[Ch]:
1460         * LyXAction.C:
1461         * bufferview_funcs.[Ch]:
1462         * factory.C:
1463         * funcrequest.[Ch]:
1464         * iterators.C:
1465         * lyx_cb.C:
1466         * lyxfind.C:
1467         * lyxfunc.C:
1468         * text.C:
1469         * text2.C:
1470         * text3.C:
1471         * undo.C: adjust
1472
1473 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1474
1475         * PosIterator.[Ch]: replace the stack with a vector, add inset
1476         accesor
1477         * iterators.[C]: adjust
1478
1479 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1480
1481         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1482         replaced
1483         * paragraph_funcs.C (readParToken): put the correct id in the
1484         error item, not the id of the top paragraph
1485
1486 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1487
1488         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1489         * bufferview_funcs.C (put_selection_at): use the above
1490
1491 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1492
1493         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1494
1495 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1496
1497         * output_linuxdoc.h:
1498         * output_plaintext.h:
1499         * output.h:
1500         * output_docbook.h: add #include statements
1501
1502 2003-11-05  José Matos  <jamatos@lyx.org>
1503
1504         * output_docbook.[Ch]:
1505         * output_latex.[Ch]:
1506         * output_linuxdoc.[Ch]:
1507         * output_plaintext.[Ch]: New files for output formats.
1508         * output.[Ch]: New file for helper functions.
1509
1510         * buffer.[Ch]:
1511         * paragraph_funcs.[Ch]: output functions moved to new files.
1512
1513         * outputparams.h: rename of latexrunparams.h
1514
1515         * LaTeX.[Ch]:
1516         * buffer.[Ch]:
1517         * bufferlist.[Ch]:
1518         * converter.[Ch]:
1519         * exporter.C:
1520         * paragraph.[Ch]:
1521         * paragraph_funcs.[Ch]:
1522         * paragraph_pimpl.[Ch]:
1523         * tabular.[Ch]: rename ascii to plaintext
1524         and LatexRunParams to OutputParams.
1525
1526 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1527
1528         * iterators.[Ch] (text): require bv argument
1529         * undo.C (recordUndo):
1530         * lyxfunc.C (dispatch):
1531         * bufferview_funcs.C (put_selection_at): adjust
1532
1533 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1534
1535         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1536
1537 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1538
1539         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1540         nestings
1541
1542 2003-11-04  André Pönitz  <poenitz@gmx.net>
1543
1544         * cursor.[Ch]: restructure
1545
1546         * BufferView.[Ch]:
1547         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1548
1549         * iterators.[Ch] (asCursor): remove
1550
1551         * lfuns.h: remove LFUN_INSET_EDIT
1552
1553         * lyxfunc.C:
1554         * tabular.C:
1555         * text.C:
1556         * text2.C:
1557         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1558
1559 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1560
1561         * lyxfind.[Ch]: complete overhaul
1562         * BufferView_pimpl.C:
1563         * lyxfunc.C: adjust
1564         * paragraph.[Ch] (insert): add
1565
1566 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1567
1568         * BufferView.[Ch]:
1569         * lyxtext.h:
1570         * text.C: remove dead spellcheck code
1571
1572 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1573
1574         * dispatchresult.h: add a val setter
1575
1576         * cursor.C (dispatch): use a tempvar for data_[i]
1577
1578 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1579
1580         * PosIterator.[Ch]: compile fix
1581
1582 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1583
1584         * text.C (cursorPar): deactivate the cursor cache
1585
1586 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1587
1588         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1589
1590 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1591
1592         * text3.C (dispatch): adjust for new DisptchResult semantics.
1593
1594         * lyxfunc.C (dispatch): handle update when return from
1595         Cursor::dispatch, adjust for new DispatchResult semantics.
1596
1597         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1598         DispatchResult(true) mean to not update. Add class functions for
1599         setting dispatched and update, as well as reading.
1600
1601         * cursor.C (dispatch): don't handle update here
1602
1603 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1604
1605         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1606         * trans_mgr.C: adjust
1607
1608         * paragraph_funcs.C (readParToken): exception safety
1609
1610         * lyxvc.h: store the vcs pointer in a scoped_ptr
1611         * lyxvc.C: adjust
1612
1613         * lyxsocket.C (serverCallback): exception safety
1614
1615         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1616
1617         * ispell.C (clone): make it return a auto_ptr
1618
1619         * factory.C (createInset): exception safety
1620         (readInset): exception safety
1621
1622         * bufferlist.C (newBuffer): exception safety
1623
1624         * Thesaurus.C (Thesaurus): use initialization for aik_
1625
1626         * MenuBackend.C (expandToc): exception safety.
1627
1628 2003-11-03  André Pönitz  <poenitz@gmx.net>
1629
1630         * buffer.C:
1631         * buffer.h:
1632         * bufferview_funcs.C: remove getInsetFromId()
1633
1634         * lyxcursor.[Ch]:
1635         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1636
1637         * lyxfunc.C:
1638         * text2.C:
1639         * text3.C: adjust
1640
1641 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1642
1643         * PosIterator.C (distance, advance): new
1644         * bufferview_funcs.[Ch] (put_selection_at): new
1645         * iterators.[Ch] (lockPath): new
1646
1647 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1648
1649         * iterators.[Ch] (asPosIterator): added
1650         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1651         * PosIterator.[Ch]: added
1652
1653 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1654
1655         * text3.C:
1656         * lyxfunc.C:
1657         * cursor.C (dispatch):
1658         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1659
1660         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1661         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1662         contructor, add a class function dispatched. Remove operator>=
1663
1664 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1665
1666         * debug.C: only use the default constructor for debugstream
1667         (lyxerr) here.
1668
1669         * main.C (main): include debug.h and setup the lyxerr streambuf
1670         here.
1671
1672 2003-10-31  José Matos  <jamatos@lyx.org>
1673
1674         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1675
1676         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1677         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1678         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1679         * paragraph_pimpl.C (simpleTeXSpecialC):
1680         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1681         add LatexRunParams argument.
1682
1683         * exporter.C (Export): change call accordingly.
1684
1685         * latexrunparams.h: add new member to take care of the other backends.
1686 2003-10-30  José Matos  <jamatos@lyx.org>
1687
1688         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1689         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1690         factorise code for paragraph output.
1691         * buffer.[Ch]:
1692         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1693         move functions.
1694
1695 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1696
1697         * text3.C (dispatch):
1698         * lyxfunc.C (dispatch):
1699         * cursor.C (dispatch):
1700         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1701
1702         * dispatchresult.h: make the dispatch_result_t ctor explicit
1703
1704 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1705
1706         * sgml.[Ch]:
1707         * buffer.C: small refactoring of docbook stuff
1708
1709 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1710
1711         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1712         meaning.
1713
1714 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1715
1716         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1717         operator dispatch_result_t, and operators for == != and >=
1718
1719         * cursor.C (dispatch): adjust for operator dispatch_result_t
1720         removal. comment out call to update
1721
1722         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1723
1724 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1725
1726         * text3.C:
1727         * text2.C:
1728         * text.C:
1729         * lyxtext.h:
1730         * lyxfunc.C:
1731         * cursor.C:
1732         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1733         (dispatch):
1734
1735         * dispatchresult.h: new file, DispatchResult broken out of
1736         insets/insetbase.h
1737
1738         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1739
1740 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1741
1742         * text.C (rowBreakPoint): put a hack inside #if 0
1743
1744 2003-10-28  André Pönitz  <poenitz@gmx.net>
1745
1746         * lyxtext.h:
1747         * metricsinfo.C:
1748         * paragraph_funcs.C:
1749         * rowpainter.C:
1750         * text.C:
1751         * text2.C: general cleanup (lots of small stuff)
1752
1753 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1754
1755         * text2.C (cursorEnd): simple fix to the "end key goes to one
1756         before the end on last row" bug
1757
1758 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1759
1760         * text.C (backspace): fix the "zombie characters"
1761
1762 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1763
1764         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1765
1766 2003-10-27  André Pönitz  <poenitz@gmx.net>
1767
1768         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1769
1770         * factory.C: handle new InsetPagebreak, InsetLine
1771
1772         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1773         and move handling into new InsetPagebreak, InsetLine
1774
1775         * BufferView_pimpl.C:
1776         * LyXAction.C:
1777         * ParagraphParameters.C:
1778         * ParameterStruct.h:
1779         * lyxfunc.C:
1780         * lyxtext.h:
1781         * paragraph.C:
1782         * paragraph.h:
1783         * paragraph_funcs.C:
1784         * paragraph_pimpl.C:
1785         * rowpainter.C:
1786         * text.C:
1787         * text2.C:
1788         * text3.C: adjust
1789
1790 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1791
1792         * text.C:
1793         * lyxrow_funcs.[Ch]:
1794         * Bidi.C:
1795         * paragraph.C:
1796         * lyxtext.h:
1797         * rowpainter.C:
1798         * text2.C:
1799         * text3.C: remove lastPos uses in favour of Row::endpos
1800
1801 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1802
1803         * undo.C (performUndoOrRedo): fix two crashes by setting a
1804         cursor by hand and reordering some calls. Use bv->lockInset instead
1805         of inset->edit because the latter loses cursor information
1806
1807 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1808
1809         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1810         by Martin
1811         (rowBreakPoint): fix width. change point to point + 1.
1812         Add a missing check.
1813
1814 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1815
1816         * MenuBackend.C:
1817         * lyxfunc.C: fix (at least partly) the problems
1818         with the Nav menu and headers inside branch insets
1819         reported by Kayvan
1820
1821 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1822
1823         * paragraph.C (getChar): add strong asserts
1824
1825         * lyxrow_funcs.C (lastPos): remove hideous hack
1826
1827         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1828         (fill): adjust to that (avoid an infinite loop)
1829
1830 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1831
1832         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1833
1834 2003-10-23  André Pönitz  <poenitz@gmx.net>
1835
1836         * RowList_fwd.h: change list<> to vector<> to gain speed
1837         after suggestion from Alfredo
1838
1839 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1840
1841         * lyxtext.h: move the bidi stuff from here...
1842         * text.C: and here
1843         * text2.C: and here
1844         * Bidi.[Ch]: ... to here
1845
1846 2003-10-23  André Pönitz  <poenitz@gmx.net>
1847
1848         * lyxtext.h:
1849         * text.C (isLastRow, isFirstRow): new functions
1850
1851         * paragraph.h: new width cache member
1852
1853         * rowpainter.C: replace RowList::iterator with Row & where possible
1854
1855         * lyxfunc.C: replace several view()->text with a single call
1856
1857         * toc.C: fix 'unused' warning
1858
1859 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1860
1861         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1862         when woring with stream::pos_type
1863         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1864
1865 2003-10-22  André Pönitz  <poenitz@gmx.net>
1866
1867         * lyxtext.h:
1868         * text.C: use Row & instead of RowList::iterator
1869
1870         * lyxrow.h: rename end() to endpos()
1871
1872         * rowpainter.C:
1873         * text.C:
1874         * text2.C: adjust
1875
1876 2003-10-22  Angus Leeming  <leeming@lyx.org>
1877
1878         * buffer.[Ch] (fully_loaded): new member function, returning true
1879         only when the file has been loaded fully.
1880         Used to prevent the premature generation of previews and by the
1881         citation inset to prevent computation of the natbib-style label.
1882
1883         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1884         templates are all set up.
1885
1886         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1887
1888 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1889
1890         * text.C: fixed an "oops" in the "is a bit silly"
1891         bug fix
1892
1893 2003-10-21  André Pönitz  <poenitz@gmx.net>
1894
1895         * FuncStatus.[Ch]: small stuff, whitespace
1896
1897         * lyxfont.[Ch]: operator<<() for debug reasons
1898
1899         * lyxfunc.C:
1900         * lyxrow_funcs.C:
1901         * lyxtext.h: whitespace, spelling
1902
1903         * paragraph.C: naming of variables
1904
1905         * text.C:
1906         * text2.C: small stuff
1907
1908
1909 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1910
1911         * text.C: (1) finish off the inset display() work;
1912         (2) fix the "is a bit silly" bug (accessing char
1913         past end of par).
1914
1915 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1916
1917         * text.C: re-introduce display() for insets, fixing the
1918         various bugs (stretch of line above, math inset
1919         positioning, ...)
1920
1921 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1922
1923         * text.C (rightMargin): remove spurious semicolon
1924
1925         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1926         1415)
1927
1928 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1929
1930         * text3.C: fix one crash due to wrong cursor def
1931
1932 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1933
1934         * vc-backend.C (scanMaster): make the regex static
1935
1936         * LaTeX.C (scanAuxFile): make the regexs static
1937
1938         * text3.C (doInsertInset, dispatch, dispatch):
1939         * text2.C (cursorUp, cursorDown):
1940         * text.C (selectNextWordToSpellcheck):
1941         * BufferView_pimpl.C (dispatch):
1942         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1943
1944 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1945
1946         * lyxsocket.C: include <cerrno>
1947
1948 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1949
1950         * lyxfunc.C (dispatch): remove textcache stuff
1951
1952         * bufferlist.C (release): remove textcache stuff
1953         (closeAll): ditto
1954
1955         * TextCache.C: delete file
1956         * TextCache.h: delete file
1957
1958         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1959
1960         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1961         delete of the bv_->text.
1962         (resizeCurrentBuffer): remove texcache stuff
1963         (workAreaResize): ditto
1964
1965 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1966
1967         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1968         action.
1969
1970 2003-10-16  André Pönitz  <poenitz@gmx.net>
1971
1972         * lyxrow.[Ch]:
1973         * paragraph.h:
1974         * rowpainter.C:
1975         * text.C:
1976         * text2.C:
1977         * text3.C: speed up by storing y positions per paragraph plus per-row
1978         offset instead of having a 'full' y position in the row.
1979
1980 2003-10-15  André Pönitz  <poenitz@gmx.net>
1981
1982         * iterators.[Ch]:
1983         * iterators.[Ch]:
1984         * undo.[Ch]: make undo aware of inner insets
1985
1986 2003-10-14  Angus Leeming  <leeming@lyx.org>
1987
1988         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1989         static member functions LyX::ref() and LyX::cref.
1990         (lastfiles): new accessor functions for the new lastfiles_ member var.
1991         (addLyXView, views_): add a new LyXView to the list of views_.
1992         (updateInset): loop over all LyXViews to call their own updateInset
1993         member function, returning a pointer to the Buffer owning the inset.
1994
1995         * BufferView_pimpl.C (loadLyXFile):
1996         * MenuBackend.C (expandLastfiles):
1997         * bufferlist.C (MenuWrite, QuitLyX):
1998         lastfiles is no longer a global variable.
1999         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2000
2001         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2002         static function. Access through LyX::cref().emergencyCleanup().
2003
2004 2003-10-14  André Pönitz  <poenitz@gmx.net>
2005
2006         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2007
2008         * undo.[Ch]: restoring part of 'undo in insets'
2009
2010         * Makefile.am:
2011         * undo_funcs.[Ch]: merge with undo.[Ch]
2012
2013         * tabular.C: small cleansing stuff
2014
2015 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2016
2017         * paragraph_funcs.C (readParToken): report unknown insets as error
2018         boxes. Use the outer paragraph as location (also for unknown
2019         tokens).
2020
2021         * factory.C (readInset): do not abort on reading an unknown inset.
2022         Eat it and return 0.
2023
2024 2003-10-13  Angus Leeming  <leeming@lyx.org>
2025
2026         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2027
2028         * lyxrc.C: displayTranslator is now a function,
2029         declared in GraphicsTypes.h.
2030
2031 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2032
2033         * format.C: new placeholder $$a to pass the socket address.
2034
2035         * bufferlist.[Ch]: new function getBufferFromTmp.
2036
2037         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2038           files in the temporary dir.
2039
2040 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2041
2042         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2043
2044         * Makefile.am: add lyxsocket.[Ch].
2045
2046         * lyx_main.C (error_handler): handle SIGPIPE.
2047
2048 2003-10-13  André Pönitz  <poenitz@gmx.net>
2049
2050         * BufferView_pimpl.C:
2051         * lyxtext.h:
2052         * text.C:
2053         * text2.C:
2054         * text3.C:
2055         * undo_funcs.[Ch]: use paroffset_type instead of
2056           ParagraphList::iterators to prevent multiple conversion
2057           (and get a more robust interface)
2058
2059 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2060
2061         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2062         * lyxtext.h: ditto
2063         * text3.C (dispatch): ditto
2064
2065 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2066
2067         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2068         move the onlyfile, use onlyfile instead of foundfile in a couple
2069         of places.
2070
2071         * DepTable.C (update): flush the error stream a bit more
2072
2073 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2074
2075         * lyxserver.C (callback): adjust
2076
2077         * lyxfunc.C (getStatus): add a missing brace in commented code
2078         (ensureBufferClean): reindent
2079         (dispatch): delete version taking a string
2080
2081 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2082
2083         * LaTeX.C (deplog): move found file handlig from here...
2084         (handleFoundFile): .. to new function here.
2085         (deplog): make sure to discover several files mentioned on the
2086         same log line.
2087
2088 2003-10-10  André Pönitz  <poenitz@gmx.net>
2089
2090         * lyxfunc.C:
2091         * lyxtext.h:
2092         * tabular.C:
2093         * text.C:
2094         * text2.C:
2095         * text3.C: fix some of the tabular crashes
2096
2097 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2098
2099         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2100
2101         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2102
2103 2003-10-09  André Pönitz  <poenitz@gmx.net>
2104
2105         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2106
2107         * BufferView.C:
2108         * BufferView_pimpl.C:
2109         * bufferview_funcs.C:
2110         * lyx_cb.C:
2111         * lyxcursor.C:
2112         * lyxfind.C:
2113         * lyxfunc.C:
2114         * lyxtext.h:
2115         * text.C:
2116         * text2.C:
2117         * text3.C:
2118         * text_funcs.[Ch]:
2119         * textcursor.[Ch]:
2120         * undo_funcs.C: adjust
2121
2122 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2123
2124         * text2.C (incrementItemDepth): new function, use a backtracking
2125         algorithm to discover the correct item depth.
2126         (resetEnumCounterIfNeeded): new function, use a backtracking
2127         algorithm to discover if counter reset is needed.
2128         (setCounter): use them. Simplify a bit. Add different labels for
2129         different item depths for itemize.
2130
2131         * paragraph.C (Paragraph): remove initialization of enumdepth
2132         (operator=): ditto
2133
2134         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2135         enumerate and itemize. Change the type of itemdepth to signed char.
2136
2137 2003-10-08  André Pönitz  <poenitz@gmx.net>
2138
2139         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2140           thing assignable.
2141         * text.C:
2142         * text2.C: adjust
2143
2144         * tabular.[Ch]: fix crash after 'row-insert'
2145
2146 2003-10-08  Angus Leeming  <leeming@lyx.org>
2147
2148         Fix doxygen warnings.
2149
2150         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2151         Remove CutAndPaste:: prefix from header file declaration.
2152
2153         * LColor.h (fill): remove LColor:: prefix from declaration.
2154
2155         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2156         use lyx::depth_type rather than Paragraph::depth_type so that
2157         header file and .C file match.
2158
2159         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2160
2161         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2162         * aspell.C: \file aspell_local.C -> \file aspell.C
2163         * gettext.C: \file gettext.C -> \file src/gettext.C
2164         * gettext.h: \file gettext.h -> \file src/gettext.h
2165         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2166         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2167         * text.C: \file text.C -> \file src/text.C
2168
2169         * toc.C: move comment so that doxygen is not confused.
2170
2171 2003-10-07  Angus Leeming  <leeming@lyx.org>
2172
2173         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2174
2175 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2176
2177         * aspell.C:
2178         * aspell_local.h: add forgotten std::string's.
2179
2180 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2181
2182         * LaTeXFeatures.C:
2183         * LyXAction.C:
2184         * factory.C:
2185         * lfuns.h:
2186         * lyxfunc.C:
2187         * text3.C: The Box patch. Fancybox support, minipage, parbox
2188
2189 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2190
2191         * CutAndPaste.h:
2192         * DepTable.h:
2193         * FloatList.h:
2194         * LaTeXFeatures.h:
2195         * ParagraphParameters.h:
2196         * TextCache.h:
2197         * Thesaurus.h:
2198         * bufferlist.h:
2199         * exporter.h:
2200         * importer.h:
2201         * lastfiles.h:
2202         * lyxfind.h:
2203         * lyxfont.h:
2204         * lyxlex.h:
2205         * lyxtextclasslist.h:
2206         * messages.h:
2207         * paragraph.h:
2208         * paragraph_pimpl.C:
2209         * textcursor.h: add <string> and other small fixes to make Lars'
2210         std::string patch compile with STLport.
2211
2212 2003-10-06  Angus Leeming  <leeming@lyx.org>
2213
2214         * LColor.h: Add missing #include <string>.
2215
2216 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2217
2218         * All most all file in all subdirs: Make <string> be the prefered
2219         way of getting to std::string, add using declarations.
2220
2221 2003-10-06  André Pönitz  <poenitz@gmx.net>
2222
2223         * metricsinfo.C: initialize LyXFont before changing attribute.
2224         (fixes the 'math in \emph is upright' bug)
2225
2226 2003-10-06  André Pönitz  <poenitz@gmx.net>
2227
2228         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2229
2230 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2231
2232         * graph.C:
2233         * paragraph_pimpl.C: Small fixes to build using STLport
2234
2235 2003-10-02  André Pönitz  <poenitz@gmx.net>
2236
2237         * lyxfunc.C:
2238         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2239
2240 2003-10-01  André Pönitz  <poenitz@gmx.net>
2241
2242         * factory.C: assert early
2243
2244 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2245
2246         * lyx_main.C: remove the global debug object
2247
2248         * debug.h: adjust for new debugstream
2249
2250         * debug.C: adjust for new debugstream and keep the global debug
2251         object here.
2252
2253 2003-09-22  Angus Leeming  <leeming@lyx.org>
2254
2255         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2256         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2257         an incomplete class LyXFont.
2258
2259 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2260
2261         * factory.C: bug fix in branches
2262
2263 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2264
2265         * lyxfunc.C (processKeySym): adjust
2266         (dispatch): adjust
2267         (dispatch): change arg name from ev to func, adjust
2268         (sendDispatchMessage): ditto
2269
2270         * lyx_main.C (defaultKeyBindings): adjust keybindings
2271         (deadKeyBindings): ditto
2272
2273         * kbsequence.C (addkey): return a FuncRequest
2274
2275         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2276
2277         * kbmap.C (bind): take a FuncRequest as arg, adjust
2278         (read): adjust
2279         (lookup): adjust
2280         (defkey): change to take a FuncRequest as arg, adjust
2281         (findbinding): take a FuncRequest as arg, adjust.
2282
2283         * funcrequest.h (operator=): added
2284
2285         * funcrequest.C (FuncRequest): default kb_action changed from
2286         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2287
2288         * buffer.C (dispatch): simplify
2289         (dispatch): adjust to take a FuncRequest as arg, adjust
2290
2291         * boost.C (assertion_failed): change assertion message slightly
2292
2293         * ToolbarBackend.C (read): simplify
2294
2295         * MenuBackend.C (binding): adjust call to findbinding, add a
2296         message if no binding is found.
2297         (read): simplify
2298         (expandToc): correct by adding a empty FuncRequest
2299
2300         * LyXAction.C: include <boost/assert.hpp>
2301         (isPseudoAction): delete function
2302         (LookupFunc): change name to...
2303         (lookupFunc): this. change return type to FuncRequest.
2304         (getActionName): take kb_action as arg, simplify
2305         (funcHasFlag): add an assert, simplify.
2306
2307 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2308
2309         * toc.C (action): return a FuncRequest, simplify
2310
2311         * lyxfunc.C (processKeySym): adjust
2312         (getStatus): delete version that takes an int.
2313         (getStatus): adjust
2314         (dispatch): delete version that takes action as int
2315         (dispatch): adjust
2316         (sendDispatchMessage): simplify and adjust
2317
2318         * funcrequest.C (getArg): take unsigned int as arg
2319
2320         * ToolbarBackend.C (read): adjust
2321         (add): delete version that takes func as a string.
2322         (getIton): take a FuncRequest as arg
2323
2324         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2325         action.
2326
2327         * MenuBackend.C (MenuItem): add a new construct that only takes a
2328         Kind, simplify the constructor use for submenus.
2329         (add): adjust
2330         (expandLastfiles): adjust
2331         (expandDocuments): adjust
2332         (expandFormats): adjust
2333         (expandFloatListInsert): adjust
2334         (expandFloatInsert): adjust
2335         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2336
2337         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2338         Remove class variables lyx_pseudo_map and lyx_arg_map
2339
2340         * LyXAction.C (searchActionArg): delete function
2341         (getPseudoAction): delete function
2342         (retrieveActionArg): delete function
2343         (LookupFunc): make it return kb_action, simplify.
2344         (getActionName): simplify
2345
2346         * factory.C (createInset): fix new bug
2347
2348 2003-09-19  Angus Leeming  <leeming@lyx.org>
2349
2350         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2351         masterFilename_ parameter in the include inset.
2352
2353         * factory.C (createInset): changes due to the changes to InsetInclude.
2354
2355 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2356
2357         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2358
2359 2003-09-18  Angus Leeming  <leeming@lyx.org>
2360
2361         * buffer.C:
2362         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2363         Inset::fillWithBibKeys.
2364         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2365
2366 2003-09-18  Angus Leeming  <leeming@lyx.org>
2367
2368         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2369         variables.
2370         (ctor): pass and store a 'Buffer const &'
2371         (buffer): new member function.
2372
2373         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2374         '*this' to the LaTeXFeatures ctor.
2375
2376 2003-09-18  Angus Leeming  <leeming@lyx.org>
2377
2378         * LColor.h:
2379         * lyxfont.C:
2380         * lyxfont.h:
2381         * lyxtext.h:
2382         * text.C: rename EnumLColor as LColor_color.
2383
2384 2003-09-18  Angus Leeming  <leeming@lyx.org>
2385
2386         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2387         remove #include "insets/insetbase.h" from cursor.h.
2388
2389 2003-09-18  Angus Leeming  <leeming@lyx.org>
2390
2391         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2392         InsetOld_code to remove #include "inset.h".
2393
2394         * iterators.C: add #include "insets/inset.h"
2395
2396 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2397
2398         * BufferView.C: remove more locking stuff that apparently doesn't
2399         do anything sensible.
2400
2401 2003-09-16  André Pönitz  <poenitz@gmx.net>
2402
2403         * paragraph.[Ch]:
2404         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2405           performance boost.
2406
2407 2003-09-16  Angus Leeming  <leeming@lyx.org>
2408
2409         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2410
2411         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2412         arg/return type.
2413
2414         * paragraph.h: remove #include "lyxfont.h". Forward declare
2415         LyXFont_size.
2416
2417 2003-09-16  Angus Leeming  <leeming@lyx.org>
2418
2419         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2420         of support/textutils.h.
2421         (isWord): move the contents of support/textutils.h's IsWordChar here.
2422
2423         * buffer.C:
2424         * lyxfind.C:
2425         * rowpainter.C:
2426         * text.C:
2427         * text2.C: add #include "paragraph.h".
2428
2429         * rowpainter.C:
2430         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2431
2432 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2433
2434         * main.C:
2435         * lyx_main.C:
2436         * lyx_cb.C:
2437         * buffer.C:
2438         * LaTeX.C: use namespace alias for lyx::support::os
2439
2440 2003-09-16  Angus Leeming  <leeming@lyx.org>
2441
2442         * bufferparams.C:
2443         * bufferview_funcs.C:
2444         * factory.C:
2445         * lyxfunc.C:
2446         * paragraph_pimpl.C:
2447         * rowpainter.C:
2448         * text.C: add #include "LColor.h".
2449
2450 2003-09-16  Angus Leeming  <leeming@lyx.org>
2451
2452         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2453         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2454         return LyXFont &.
2455         Store the FontBits::color variable as an int rather than as an
2456         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2457         file.
2458
2459         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2460         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2461         string calls together.
2462
2463         * lyxrc.C: add #include "LColor.h".
2464
2465 2003-09-15  Angus Leeming  <leeming@lyx.org>
2466
2467         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2468         a cow_ptr.
2469
2470 2003-09-15  Angus Leeming  <leeming@lyx.org>
2471
2472         * LColor.h: add an EnumLColor wrapper for LColor::color.
2473
2474         * lyxfont.[Ch] (color, setColor, realColor):
2475         * lyxtext.h, text.C (backgroundColor):
2476         pass EnumLColor args to/from the functions, rather than LColor::color
2477         ones.
2478
2479         * lyxfont.h:
2480         * lyxtext.h: forward declare EnumLColor.
2481
2482         * lyx_main.C: add #include "LColor.h".
2483
2484 2003-09-15  Angus Leeming  <leeming@lyx.org>
2485
2486         * .cvsignore: add lyx-gtk.
2487
2488 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2489
2490         * Chktex.C
2491         * LaTeX.C
2492         * LaTeXFeatures.C
2493         * ParagraphParameters.C
2494         * Spacing.C
2495         * buffer.C
2496         * bufferparams.C
2497         * bufferview_funcs.C
2498         * chset.C
2499         * counters.C
2500         * funcrequest.C
2501         * lyxfont.C
2502         * lyxgluelength.C
2503         * lyxlength.C
2504         * paragraph.C
2505         * paragraph_funcs.C
2506         * text3.C
2507         * vc-backend.C: remove usage of STRCONV
2508
2509 2003-09-15  Angus Leeming  <leeming@lyx.org>
2510
2511         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2512         explicitly define the color passed to the painter.
2513
2514 2003-09-15  Angus Leeming  <leeming@lyx.org>
2515
2516         * bufferparams.C (BufferParams): reorder member initializers to avoid
2517         compiler warning.
2518
2519 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2520
2521         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2522         * text.C (updateRowPositions): remove an unusual nop
2523
2524 2003-09-12  André Pönitz  <poenitz@gmx.net>
2525
2526         * BufferView_pimpl.C:
2527         * Bullet.C:
2528         * layout.h:
2529         * lyxfunc.C:
2530         * lyxlayout.[Ch]:
2531         * lyxtextclass.C:
2532         * rowpainter.C:
2533         * text.C:
2534         * text2.C:
2535         * Counters.[Ch]: finish the 'automatic counters' job
2536
2537 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2538
2539         * aspell.C: include <boost/assert.cpp> (compile fix)
2540
2541 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2542
2543         * boost.C (assertion_failed): use lyx::support::abort instead of
2544         assert.
2545
2546 2003-09-10  Angus Leeming  <leeming@lyx.org>
2547
2548         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2549         with their _fwd progeny.
2550
2551 2003-09-09  Angus Leeming  <leeming@lyx.org>
2552
2553         134 files throughtout the source tree: replace 'using namespace abc;'
2554         directives with the appropriate 'using abc::xyz;' declarations.
2555
2556 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2557
2558         * boost.C (emergencyCleanup): moved here from LAssert.c
2559         (assertion_failed): new function, called by BOOST_ASSERT
2560
2561         * several files: change Assert to BOOST_ASSERT
2562
2563 2003-09-09  Angus Leeming  <leeming@lyx.org>
2564
2565         * buffer.[Ch]: Add an Impl class and move Buffer's member
2566         variables into it. As a result move several header files out of
2567         buffer.h.
2568
2569         Add header files to lots of .C files all over the tree as a result.
2570
2571 2003-09-09  Angus Leeming  <leeming@lyx.org>
2572
2573         * buffer.[Ch]: make Buffer's member variables private. Add
2574         accessor functions.
2575
2576         Lots of changes all over the tree as a result.
2577
2578 2003-09-08  Angus Leeming  <leeming@lyx.org>
2579
2580         * graph.C: #include <config.h>.
2581
2582 2003-09-08  Angus Leeming  <leeming@lyx.org>
2583
2584         * BranchList.C:
2585         * BufferView.C:
2586         * BufferView_pimpl.C:
2587         * CutAndPaste.C:
2588         * DepTable.C:
2589         * LaTeX.C:
2590         * LaTeXFeatures.C:
2591         * LyXAction.C:
2592         * MenuBackend.C:
2593         * TextCache.C:
2594         * aspell.C:
2595         * buffer.C:
2596         * bufferlist.C:
2597         * changes.C:
2598         * chset.C:
2599         * converter.C:
2600         * counters.C:
2601         * debug.C:
2602         * graph.C:
2603         * ispell.C:
2604         * lyx_cb.C:
2605         * lyxfind.C:
2606         * lyxfunc.C:
2607         * lyxlex_pimpl.C:
2608         * lyxrc.C:
2609         * lyxrow.C:
2610         * paragraph.C:
2611         * rowpainter.C:
2612         * texrow.C:
2613         * text.C:
2614         * text2.C:
2615         * toc.C: remove redundant using directives.
2616
2617 2003-09-07  Angus Leeming  <leeming@lyx.org>
2618
2619         * LaTeXFeatures.h: remove #include "support/types.h".
2620         * ToolbarBackend.h: remove #include <algorithm>.
2621         * changes.h: remove #include <ctime>.
2622         * debug.h: remove #include <iosfwd>.
2623         * graph.h: remove #include "support/std_string.h".
2624         * lyx_main.h: remove #include <csignal>.
2625         * lyxlex_pimpl.h: remove #include <fstream>.
2626         * sgml.h: remove #include <algorithm>, <utility>.
2627         * toc.h: remove #include "support/std_ostream.h".
2628         Add #include <iosfwd>.
2629
2630 2003-09-07  Angus Leeming  <leeming@lyx.org>
2631
2632         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2633
2634         * converter.h: forward declare LatexRunParams.
2635         * encoding.h: remove #include "lyxrc.h".
2636         * lyxtext.h: remove #include "LColor.h".
2637         * lyxtextclass.h: remove #include "support/types.h".
2638         * trans.h: remove #include "tex-accent.h".
2639         * trans_mgr.h: remove #include "tex-accent.h".
2640         * insets/inset.h: remove #include "support/types.h", <vector>.
2641         * insets/insetcollapsable.h: remove #include "LColor.h".
2642         * insets/insetinclude.h: remove #include "dimension.h".
2643         * insets/insetlatexaccent.h: remove #include "dimension.h".
2644         * insets/insetoptarg.h:: remove #include "insettext.h".
2645         * insets/insettext.h: remove #include "dimension.h",
2646         <boost/shared_ptr.hpp>
2647
2648         * insets/renderers.h: add #include "dimension.h".
2649         * insets/updatableinset.h: add #include "support/types.h".
2650
2651         * many .C files: Associated changes.
2652
2653 2003-09-06  Angus Leeming  <leeming@lyx.org>
2654
2655         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2656         one, inside testInvariant.
2657
2658         * PrinterParams.C: new file.
2659         * PrinterParams.[Ch]: move the function bodies out of line.
2660
2661 2003-09-06  Angus Leeming  <leeming@lyx.org>
2662
2663         * ParagraphParameters.h: forward declare ParameterStruct rather than
2664         including its header file.
2665         (depth): moved out-of-line.
2666
2667 2003-09-06  Angus Leeming  <leeming@lyx.org>
2668
2669         * BufferView_pimpl.h:
2670         * kbmap.h:
2671         * kbsequence.h:
2672         * lyxfunc.h: forward declare LyXKeySym rather than
2673         #include "frontends/LyXKeySym.h".
2674
2675         * BufferView_pimpl.C:
2676         * kbmap.C:
2677         * kbsequence.C:
2678         * lyxfunc.C: associated changes.
2679
2680 2003-09-06  Angus Leeming  <leeming@lyx.org>
2681
2682         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2683         As a result, can remove the #include "insets/inset.h" from BufferView.h
2684
2685 2003-09-06  Angus Leeming  <leeming@lyx.org>
2686
2687         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2688         As a result, can remove the #include "insets/inset.h" from BufferView.h
2689
2690 2003-09-06  Angus Leeming  <leeming@lyx.org>
2691
2692         * buffer_funcs.C:
2693         * buffer.h:
2694         * bufferlist.C:
2695         * BufferView.C:
2696         * bufferview_funcs.C:
2697         * BufferView_pimpl.C:
2698         * CutAndPaste.C:
2699         * lyx_cb.C:
2700         * lyxfunc.C:
2701         * paragraph.h:
2702         * ParagraphParameters.C:
2703         * tabular.C:
2704         * text3.C:
2705         * toc.C:
2706         * undo_funcs.C:
2707         * frontends/controllers/ControlDocument.C:
2708         * insets/insetcaption.C: rearrange the #includes into some sort of
2709         coherent order.
2710
2711         * buffer.h: remove #includes ErrorList.h, undo.h
2712
2713 2003-09-06  Angus Leeming  <leeming@lyx.org>
2714
2715         * support/types.h: add a 'depth_type' typedef, used to store the
2716         nesting depth of a paragraph.
2717
2718         * paragraph.h:
2719         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2720         defining explicitly.
2721
2722         * buffer.h:
2723         * paragraph_funcs.h:
2724         * ParagraphParameters.h:
2725         * sgml.h: use lyx::depth_type rather than Paragraph or
2726         ParameterStruct's depth_type.
2727
2728         * buffer.h
2729         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2730
2731         * BufferView.C:
2732         * BufferView_pimpl.C:
2733         * CutAndPaste.C:
2734         * ParagraphParameters.C:
2735         * buffer_funcs.C:
2736         * bufferlist.C:
2737         * bufferview_funcs.C:
2738         * lyx_cb.C:
2739         * lyxfunc.C:
2740         * tabular.C:
2741         * text3.C:
2742         * toc.C:
2743         * undo_funcs.C:
2744         * frontends/LyXView.C:
2745         * frontends/controllers/ControlDocument.C:
2746         * frontends/controllers/ControlErrorList.C:
2747         * insets/insetbibitem.C:
2748         * insets/insetbranch.C:
2749         * insets/insetcaption.C:
2750         * insets/insetcollapsable.C:
2751         * insets/insetenv.C:
2752         * insets/insetert.C:
2753         * insets/insetfloat.C:
2754         * insets/insetfoot.C:
2755         * insets/insetfootlike.C:
2756         * insets/insetnewline.C:
2757         * insets/insetquotes.C:
2758         * insets/insettabular.C:
2759         * insets/insettext.C:
2760         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2761
2762         * frontends/controllers/ControlChanges.C: #include "changes.h".
2763
2764 2003-09-06  Angus Leeming  <leeming@lyx.org>
2765
2766         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2767         than #including paragraph.h.
2768
2769         * ParagraphList.h:
2770         * RowList.h: deleted. Superfluous.
2771
2772         * CutAndPaste.h:
2773         * iterators.h:
2774         * lyxcursor.h:
2775         * lyxtext.h:
2776         * text_funcs.h:
2777         * undo.h:
2778         * undo_funcs.h:
2779         * insets/inset.h:
2780         * insets/insettext.h: use ParagraphList_fwd.h rather than
2781         ParagraphList.h.
2782
2783         * paragraph.h: don't forward declare ParagraphList.
2784
2785         * buffer.h:
2786         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2787         rather than ParagraphList.h. paragraph.h is still needed for the
2788         Paragraph::depth_type parameters.
2789
2790         * textcursor.h: enable it to compile stand-alone in light of the
2791         above changes.
2792
2793         * bufferview_funcs.C:
2794         * iterators.C:
2795         * lyxfunc.C:
2796         * lyxrow_funcs.C:
2797         * paragraph.C:
2798         * rowpainter.C:
2799         * text.C:
2800         * text2.C:
2801         * text3.C:
2802         * text_funcs.C:
2803         * textcursor.C:
2804         * undo.C:
2805         * frontends/controllers/ControlParagraph.C:
2806         * frontends/controllers/ControlTabular.C:
2807         * insets/insetmarginal.C:
2808         * insets/insetminipage.C:
2809         * insets/insetnote.C:
2810         * insets/insetoptarg.C: add header files needed to compile again.
2811
2812 2003-09-06  Angus Leeming  <leeming@lyx.org>
2813
2814         * RowList_fwd.h: new file, forward-declaring Row rather than
2815         #including lyxrow.h.
2816
2817         * lyxrow_funcs.h:
2818         * lyxtext.h:
2819         * paragraph.h:
2820         * insets/insettext.h: use it instead of RowList.h
2821
2822         * bufferview_funcs.C:
2823         * lyxfunc.C:
2824         * lyxrow_funcs.C:
2825         * paragraph.C:
2826         * rowpainter.C:
2827         * text.C:
2828         * text2.C:
2829         * text3.C: #include "RowList.h".
2830
2831 2003-09-05  Angus Leeming  <leeming@lyx.org>
2832
2833         * factory.C (createInset):
2834         * vspace.C (c-tor): replace sscanf call with an istringstream.
2835         * ispell.C: re-add missing HP/UX headers.
2836         * lyxserver.C: re-add missing  os2 headers.
2837
2838 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2839
2840         * BranchList.C:
2841         * graph.C:
2842         * ispell.C:
2843         * lastfiles.C:
2844         * lyx_cb.C:
2845         * lyxserver.C:
2846         * texrow.C:
2847         * text3.C: re-add missing system headers, needed for 2.95.2.
2848
2849 2003-09-05  Angus Leeming  <leeming@lyx.org>
2850
2851         Changes most place everywhere due to the removal of using directives
2852         from support/std_sstream.h.
2853
2854 2003-09-05  Angus Leeming  <leeming@lyx.org>
2855
2856         Replace LString.h with support/std_string.h,
2857         Lsstream.h with support/std_sstream.h,
2858         support/LIstream.h with support/std_istream.h,
2859         support/LOstream.h with support/std_ostream.h.
2860
2861         Changes resulting throughout the tree.
2862
2863 2003-09-05  Angus Leeming  <leeming@lyx.org>
2864
2865         * sgml.h: ensure that the header file can be compiled stand-alone.
2866         * *.C: strip out redundant #includes. (320 in total.)
2867
2868 2003-09-04  Angus Leeming  <leeming@lyx.org>
2869
2870         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2871         here (from getPackages).
2872
2873         * debug.[Ch]: add a new EXTERNAL tag.
2874
2875 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2876
2877         * text2.C (cursorEnd): simplify
2878         (setCursor): adjust
2879         (getColumnNearX): adjust
2880
2881         * text.C (computeBidiTables): adjust
2882         (fill): adjust
2883
2884         * rowpainter.C (paintChars): adjust
2885         (paintSelection): adjust
2886         (paintChangeBar): adjust
2887         (paintText): adjust
2888
2889         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2890         lastPos instead.
2891         (numberOfSeparators): adjust
2892
2893 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2894
2895         * LyXAction.C:
2896         * box.[Ch]:
2897         * lfuns.h:
2898         * lyxfunc.C:
2899         * text3.C: Restricts the mouse click functionality
2900         of insets like bibtex, include, toc and floatlist to the visible
2901         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2902         up the dialogs. Cursor has to be in front of the inset (i.e.
2903         start of row) for this to function.
2904
2905 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2906
2907         * bufferview_funcs.C (currentState): output row information
2908
2909 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2910
2911         * bufferview_funcs.C (currentState): output paragraph position
2912
2913 2003-09-04  Angus Leeming  <leeming@lyx.org>
2914
2915         * FloatList.h: move out #include "Floating.h".
2916         * LaTeX.h: move out #include "DepTable.h".
2917         * LyXAction.h: move out #include "funcrequest.h".
2918         * buffer.h: move out #include "author.h", "iterators.h".
2919         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2920         * lyx_main.h: move out #include "errorlist.h".
2921         * lyxfunc.h: move out #include "FuncStatus.h".
2922         * lyxtext: move out #include "lyxcursor.h".
2923         * paragraph_pimpl.h: move out #include "counters.h".
2924
2925 2003-09-03  Angus Leeming  <leeming@lyx.org>
2926
2927         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2928         preamble_snippets list, enabling us to add snippets to the preamble
2929         only if the snippet was not there already.
2930
2931 2003-09-04  Angus Leeming  <leeming@lyx.org>
2932
2933         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2934
2935 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2936
2937         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2938         update
2939
2940 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2941
2942         * BranchList.C: point fix, earlier forgotten
2943
2944 2003-09-02  Angus Leeming  <leeming@lyx.org>
2945
2946         * box.C (contains): renamed from 'contained' after a fantastic
2947         amount of hot air.
2948
2949 2003-09-02  John Levon  <levon@movementarian.org>
2950
2951         * BufferView.C:
2952         * lyxcursor.h:
2953         * lyxcursor.C:
2954         * lyxfunc.C:
2955         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2956
2957 2003-09-02  John Levon  <levon@movementarian.org>
2958
2959         * text2.C: simplification of cursorEnd(), including partial
2960         fix for bug 1376
2961
2962 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2963
2964         * buffer.C (readFile): add a space
2965
2966 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2967
2968         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2969
2970 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2971
2972         * buffer.C (readFile): new function, take a filename and a
2973         ParagraphList::iterator
2974         (readFile): adjust
2975         (readFile): adjust, make it private. don't use setStream, make
2976         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2977         always contain the filename.
2978
2979         * BufferView.C (insertLyXFile): simplify and make it work for
2980         gzipped files.
2981
2982 2003-08-30  John Levon  <levon@movementarian.org>
2983
2984         * Makefile.am: fix dist (from Kayvan)
2985
2986 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2987
2988         * most files: change to use const Buffer refs
2989
2990 2003-08-27  André Pönitz  <poenitz@gmx.net>
2991
2992         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2993         on top of ownerPar().
2994
2995 2003-08-27  John Levon  <levon@movementarian.org>
2996
2997         * funcrequest.C: properly initialise POD members
2998
2999 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3000
3001         * lyxtext.h (top_y): move top_y from here
3002         * text.C:
3003         * text2.C:
3004         * text3.C:
3005         * BufferView.[Ch]:
3006         * BufferView_pimpl.[Ch]: to here
3007         * frontends/screen.C:
3008         * insets/insettabular.C:
3009         * insets/insettext.C: adjust
3010         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3011
3012 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3013
3014         * BufferView.[Ch]:
3015         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3016
3017 2003-08-26  André Pönitz  <poenitz@gmx.net>
3018
3019         * paragraph_func.[Ch] (outerPar): new function
3020
3021         * paragraph.C:
3022         * paragraph_funcs.C:
3023         * paragraph_funcs.h:
3024         * paragraph_pimpl.C:
3025         * text2.C: remove Inset::par_owner
3026
3027 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3028
3029         * lyxrow_funcs.C:
3030         * lyxtext.h:
3031         * text.C:
3032         * text2.C: eliminates the needFullRow/display() stuff
3033         altogether, putting the logic in metrics/draw in the insets.
3034
3035 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3036
3037         * text2.C (redoParagraphInternal, redoParagraphs):
3038         * text.C (redoParagraph): add a call to updateRowPositions at the
3039         end of each 'metrics-like' call. Remove all others.
3040         (getRow): remove the 'y-computing' version.
3041         (getRowNearY): do not compute nor return the real y. Solve the
3042         'y < 0' problem and simplify.
3043
3044 2003-08-22  Angus Leeming  <leeming@lyx.org>
3045
3046         * *.[Ch]: clean-up of licence and author blurbs.
3047         Also move config.h out of a few .h files and into a few .C files.
3048
3049 2003-08-22  André Pönitz  <poenitz@gmx.net>
3050
3051         * lyxrow.[Ch]: add x_ and *fill_ members
3052
3053         * lyxtext.h:
3054         * text.C:
3055         * rowpainter.C:
3056         * text2.C: adjust/remove prepareToPrint() calls
3057
3058 2003-08-22  André Pönitz  <poenitz@gmx.net>
3059
3060         * lyxrow.[Ch]: add  end_ member
3061
3062         * lyxrow_funcs.C: use LyXRow::end_
3063
3064         * lyxtext.h (singleWidth): add LyXFont parameter
3065
3066         * rowpainter.C:
3067         * text2.C: adjust LyXText::singleWidth() calls
3068
3069         * text.C (redoParagraph): simplify row breaking logic
3070
3071
3072 2003-08-19  André Pönitz  <poenitz@gmx.net>
3073
3074         * funcrequest.C: initialize button_ member
3075
3076         * text3.C:
3077         * rowpainter.[Ch]: interface consolidation
3078
3079 2003-08-18  André Pönitz  <poenitz@gmx.net>
3080
3081         * BufferView.C:
3082         * BufferView_pimpl.C:
3083         * lyxfind.C:
3084         * paragraph_funcs.C:
3085         * rowpainter.C:
3086         * text3.C: remove LyXScreen::draw() and fitCursor calls
3087
3088         * BranchList.h: remove spurious semicolons
3089
3090         * MenuBackend.C: fix branchlist related crash
3091
3092 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3093
3094         * BranchList.[Ch]:
3095         * InsetList.[Ch]:
3096         * LColor.[Ch]:
3097         * LyXAction.C:
3098         * Makefile.am:
3099         * MenuBackend.[Ch]:
3100         * bufferparams.[Ch]:
3101         * factory.C:
3102         * lfuns.h:
3103         * lyxfunc.C:
3104         * text3.C: implements the 'branch inset'
3105         idea. This allows the output of various versions of a document
3106         from a single source version, selectively outputing or suppressing
3107         output of parts of the text.
3108         This implementation contains a 'branch list editor' in a separate
3109         tab of the document settings dialog. Branches are user definable
3110         and have a "display colour" to distinguish them on-screen.
3111
3112         ColorHandler was somewhat cleaned up.
3113         (1) make possible a dynamically growing LColor list by allowing
3114         the graphic context cache to grow along (vector);
3115         (2) eliminate an IMHO unnecessary step in colour allocation.
3116
3117 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3118
3119         * BufferView_pimpl.C: compile fix
3120
3121 2003-08-15  André Pönitz  <poenitz@gmx.net>
3122
3123         * rowpainter.C: remove extra metrics calls
3124
3125         * lyxtext.h: merge the two constructors into a single one,
3126           pass reference to owner's par list
3127
3128         * BufferView_pimpl.C:
3129         * text.C:
3130         * text2.C: adjust
3131
3132 2003-08-15  André Pönitz  <poenitz@gmx.net>
3133
3134         * lyxrow_funcs.[Ch]:
3135         * lyxtext.h:
3136         * paragraph.h:
3137         * paragraph_funcs.C:
3138         * rowpainter.C:
3139         * text.C:
3140         * text2.C:
3141         * text3.C:
3142         * text_funcs.C: split LyXText::rowlist_ into individual
3143         Paragraph::rows_ chunks
3144
3145         * BufferView.[Ch]:
3146         * BufferView_pimpl.[Ch]:
3147         * lyxfind.C:
3148         * lyxtext.h:
3149         * text3.C: remove toggleSelection()
3150
3151 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3152
3153         * bufferlist.C: beautify two alerts (shorter text of buttons)
3154         * buffer.C: Remove redundant ' ' from message
3155         * tabular.h:
3156         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3157         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3158         rename VALIGN_CENTER to VALIGN_MIDDLE
3159
3160 2003-08-11  André Pönitz  <poenitz@gmx.net>
3161
3162         * lyxtext.h (getPar):
3163         * text.C: new function
3164
3165 2003-08-11  André Pönitz  <poenitz@gmx.net>
3166
3167         * Makefile.am:
3168         * tracer.[Ch]: remove unneeded files
3169
3170         * InsetList.[Ch]: remove resizeInsetsLyXText()
3171
3172         * lyxtext.h:
3173         * text.C:
3174         * text2.C:
3175         * text3.C: merge insertParagraphs() and appendParagraph()
3176         remove breakAgain(), update()
3177
3178         * BufferView_pimpl.[Ch]:
3179         * bufferview_funcs.[Ch]:
3180         * lyxfunc.C:
3181         * paragraph.[Ch]:
3182         * rowpainter.C:
3183         * tabular.C: adjust after text & InsetList changes.
3184
3185 2003-08-08  André Pönitz  <poenitz@gmx.net>
3186
3187         * text.C (insertChar, backspace): replace rowlist fiddling
3188         with rebreak of full par
3189
3190         * lyxtext.h:
3191         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3192         checkParagraph, updateInset): removed
3193
3194 2003-08-07  André Pönitz  <poenitz@gmx.net>
3195
3196         * paragraph.C:
3197         * text3.C: merge some LFUN handlers, remove dead code
3198
3199 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3200
3201         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3202
3203 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3204
3205         * text2.C (DEPM): fix part of bug 1255 and 1256
3206
3207 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3208
3209         * BufferView_pimpl.C (workAreaDispatch): change to use
3210         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3211         that are no mouse related.
3212
3213 2003-08-05  André Pönitz  <poenitz@gmx.net>
3214
3215         * BufferView.[Ch]:
3216         * BufferView_pimpl.[Ch]:
3217         * bufferview_funcs.C:
3218         * text2.C:
3219         * text3.C: rip out "deep update"
3220
3221         * textcursor.[Ch] (last_sel_cursor): remove unused member
3222
3223 2003-08-04  André Pönitz  <poenitz@gmx.net>
3224
3225         * BufferView.[Ch]:
3226         * BufferView_pimpl.[Ch]:
3227         * ParagraphParameters.C:
3228         * bufferview_funcs.C:
3229         * lyx_cb.C:
3230         * lyxfind.C:
3231         * lyxfunc.C:
3232         * text.C:
3233         * text2.C:
3234         * text3.C: replace "complicated" BufferView::update(...) calls with
3235         simpler ones.
3236
3237         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3238
3239 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3240
3241         * Makefile.am (lyx_SOURCES): add paper.h
3242
3243 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3244
3245         * Makefile.am: move things around so that both lyx-qt and
3246         lyx-xforms can be built (according to --with-frontend). Then lyx
3247         is a symbolic link to lyx-[firstfrontend]
3248
3249 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3250
3251         * Always use std::endl with lyxerr
3252
3253 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3254
3255         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3256
3257 2003-08-01  André Pönitz  <poenitz@gmx.net>
3258
3259         * BufferView.[Ch]:
3260         * BufferView_pimpl.[Ch]:
3261         * lyxfunc.C:
3262         * text3.C: merge BufferView::repaint() and BufferView::update()
3263
3264 2003-08-01  José Matos  <jamatos@lyx.org>
3265
3266         * buffer.[Ch]: file_format is no longer a buffer data element.
3267
3268 2003-08-01  André Pönitz  <poenitz@gmx.net>
3269
3270         * BufferView.C:
3271         * lyxtext.h:
3272         * text.C:
3273         * text2.C: make redoParagraph more independent of current cursor
3274
3275         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3276         * text.C:
3277         * text2.C: remove unneeded members
3278
3279 2003-07-30  André Pönitz  <poenitz@gmx.net>
3280
3281         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3282
3283         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3284           create a single function...
3285
3286         * paragraph_funcs.C (moveItem): ... here.
3287
3288         * text.C:
3289           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3290
3291 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3292
3293         * LColor.[Ch]: Add comment and greyedout logical colors.
3294
3295 2003-07-30  André Pönitz  <poenitz@gmx.net>
3296
3297         * tabular.C: don't use Assert too heavily. This crashes where it
3298           shouldn't
3299
3300 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3301
3302         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3303         is disabled (bug 1232)
3304
3305 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3306
3307         * factory.C: limited 'arg' scope
3308
3309 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3310
3311         * factory.C: fixed Note submenu issues
3312
3313 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3314
3315         * factory.C: submenu for Note/Comment/Greyedout
3316
3317 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3318
3319         * lyx_main.C (LyX):
3320         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3321
3322 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3323
3324         * LaTeXFeatures.C:
3325         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3326         greyedout. Patch provided by Jürgen Spitzmüller.
3327
3328 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3329
3330         * kbmap.C (read): fix error message when reading bind files
3331
3332 2003-07-29  Angus Leeming  <leeming@lyx.org>
3333
3334         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3335         certainly does not do what it purports to do. I am doing it, and
3336         us, a favour by killing it.
3337
3338 2003-07-28  José Matos  <jamatos@lyx.org>
3339
3340         * buffer.C (readBody, do_writeFile):
3341         * paragraph.C(readParagraph): \end_document replaces \the_end.
3342
3343 2003-07-29  André Pönitz  <poenitz@gmx.net>
3344
3345         * BufferView.[Ch]:
3346         * BufferView_pimpl.[Ch]:
3347         * lyxfunc.C:
3348         * text2.C:
3349         * text3.C:
3350         * textcursor.[Ch]: remove toggleToggle & Co
3351
3352 2003-07-28  José Matos  <jamatos@fep.up.pt>
3353
3354         * buffer.C (readParagraph):
3355         * params_func (readParToken, readParagraph):
3356         * paragraph.C (write): \layout -> \begin_layout.
3357
3358 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3359
3360         * lyxlex_pimpl.C (setFile): clean up slightly.
3361
3362         * bufferparams.h: add compressed var
3363
3364         * buffer_funcs.C (readFile): adjust for LyXLex change
3365         (newFile): ditto + simplify
3366
3367         * buffer.C (writeFile): handle writing of compressed files
3368
3369         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3370         Check if the file is compressed and set a bufferparm if so.
3371
3372         * Makefile.am (lyx_LDADD): remove explicit -lz
3373
3374 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3375
3376         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3377         makeDocBookFile): put the real LyX version in the first line of
3378         the file
3379
3380         * version.h:
3381         * version.C.in: remove lyx_docversion
3382
3383         * tabular.C (write_attribute): add a template-based version to
3384         write enums properly
3385
3386 2003-07-28  André Pönitz  <poenitz@gmx.net>
3387
3388         * lyxtext.h:
3389         * text.C:
3390         * text2.C:
3391         * text3.C: use doubles again for x-coordinates. They are needed.
3392
3393 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3394
3395         * messages.C (getLocaleDir): use lyx_localedir()
3396
3397         * lyxlex_pimpl.C (setFile): compress stuff
3398
3399         * buffer.C (writeFile): add some compression stuff
3400         (do_writeFile): new func, dont call expliti close... will this
3401         breake anything?
3402
3403         * Makefile.am (lyx_LDADD): add -lz
3404
3405 2003-07-28  José Matos  <jamatos@fep.up.pt>
3406
3407         * buffer.C: increment file format.
3408         * paragraph_funcs (readParagraph, readParToken):
3409         * paragraph.C (readParagraph): add \end_layout.
3410
3411 2003-07-27  Angus Leeming  <leeming@lyx.org>
3412
3413         * Makefile.am: remove special casing for configure-time setting of
3414         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3415
3416         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3417         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3418
3419 2003-07-26  André Pönitz  <poenitz@gmx.net>
3420
3421         * paragraph_func.[Ch]:
3422         * paragraph.C (realizeFont): inline it whereever it is used
3423
3424         * rowpainter.C:
3425         * text.C:
3426         * text2.C:
3427         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3428
3429
3430 2003-07-26  André Pönitz  <poenitz@gmx.net>
3431
3432         *       lyxtext.h:
3433         * text.C:
3434         * text2.C: get rid of LyXText::need_break_row
3435
3436 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3437
3438         * toc.[Ch]: put namespace toc inside namespace lyx
3439
3440         * MenuBackend.C (expandToc2): adjust for lyx::toc
3441         (expandToc): ditto
3442
3443         * lyxfunc.C (dispatch): adjust for lyx::find
3444
3445         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3446         lyx::find instead. Reorganize a bit.
3447         (LyXReplace): rename to replace
3448         (LyXFind): rename to find
3449
3450         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3451         (dispatch): ditto
3452
3453 2003-07-26  André Pönitz  <poenitz@gmx.net>
3454
3455         * text.C (setHeightOfRow): restrict scope of temporary variable
3456
3457         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3458           code (never has been used?)
3459
3460 2003-07-27  Asger Alstrup  <alstrup@local>
3461
3462         * text.C (fill): Optimise algorithm to exploit that we can reuse
3463         the LyXFont for many characters.
3464         (setHeightOfRow): Same thing.
3465         (rowBreakPoint): Same thing.
3466
3467 2003-07-26  Asger Alstrup  <alstrup@local>
3468
3469         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3470
3471         * text.C (singleWidth): Spurious font copying in hot-spot
3472         singleWidth avoided. Reorder tests for arabic for efficiency.
3473
3474         * text.C (fill): handle empty paragraphs better.
3475
3476 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3477
3478         * ispell.C:
3479         * encoding.h: add includes
3480
3481         * lyxrc.C: remove reading of bind files
3482
3483         * lyx_main.C (init): setup bindings and menus only if we have a
3484         gui.
3485
3486         * kbmap.C (read): new method. Do the actual reading of bind
3487         files.
3488
3489         * converter.C (dvipdfm_options):
3490         * bufferparams.C:
3491         * lyxrc.C (read):
3492         (output): adapt PAPER_* enums.
3493
3494         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3495
3496         * bufferparams.h: remove paper-related enums from there
3497
3498         * paper.h: New file. A trivial header file to hold paper-related
3499         enums. It should later expand to contain many paper-related
3500         horrors access.
3501
3502         * lyxrc.C: declare extern displayTranslator
3503
3504 2003-07-27  José Matos  <jamatos@fep.up.pt>
3505
3506         * tabular.[Ch] (linuxdoc): add support for tables and figures
3507         (linuxdoc).
3508
3509 2003-07-27  José Matos  <jamatos@fep.up.pt>
3510
3511         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3512         consistency in both functions.
3513         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3514
3515 2003-07-26  Asger Alstrup  <alstrup@local>
3516
3517         * rowpainter.C (paintRows): Change algorithm to work directly on
3518         the insets rather than asking every character in the document
3519         whether its an inset.
3520
3521 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3522
3523         * buffer.C (openFileWrite): factorize some code
3524
3525 2003-07-26  Angus Leeming  <leeming@lyx.org>
3526
3527         * lyx_cb.C:
3528         * lyx_main.[Ch]: replace occurances of system_tempdir with
3529         os::getTmpDir().
3530
3531 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3532
3533         * rename Inset to InsetOld
3534
3535 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3536
3537         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3538         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3539         which I think is a bit clearer. EDIT is gone, since it was
3540         premature optimisation, and broken for mathed anyway.
3541         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3542         with cursor positioning in insets as well (math insets still do not
3543         work, but that's a different story anyway.) It mysteriously
3544         crashes sometimes with undo in the first paragraph, but I'm fairly
3545         confident that this is a compiler bug.
3546
3547 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3548
3549         * paragraph.C (Paragraph): adjust for new clone return type
3550         (operator==): ditto
3551         (copyIntoMinibuffer): ditto
3552
3553 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3554
3555         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3556         by not having a special case, and always doing a full rebreak of
3557         the document after undo.
3558
3559 2003-07-23  Angus Leeming  <leeming@lyx.org>
3560
3561         * factory.C (createInset): InsetExternal::setParams now takes a
3562         Buffer const * arg.
3563
3564 2003-07-23  Angus Leeming  <leeming@lyx.org>
3565
3566         * factory.C (createInset): changed interface to the external and
3567         graphics mailers' string2params functions.
3568
3569 2003-07-23  Angus Leeming  <leeming@lyx.org>
3570
3571         * factory.C (createInset): pass a
3572         Buffer const * parameter to InsetExternalMailer's string2params.
3573
3574 2003-07-22  John Levon  <levon@movementarian.org>
3575
3576         * Thesaurus.h: include the right aiksaurus header
3577
3578 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3579
3580         * MenuBackend.C (expand): check menu shortcuts unconditionally
3581
3582 2003-07-21  Angus Leeming  <leeming@lyx.org>
3583
3584         * factory.C (createInset): pass a
3585         buffer_path parameter to InsetGraphicsMailer's string2params.
3586
3587 2003-07-21  Angus Leeming  <leeming@lyx.org>
3588
3589         * BufferView_pimpl.C (buffer):
3590         * buffer.C (d-tor):
3591         * lyx_main.C (LyX):
3592         * lyxfunc.C (dispatch):
3593         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3594         rather than the grfx shortcut.
3595
3596 2003-07-21  André Pönitz  <poenitz@gmx.net>
3597
3598         * rowpainter.C: remove unused variables
3599
3600         * tabular_funcs.C:
3601         * tabular_funcs.h: move to tabular.C
3602         * Makefile.am: adjust
3603
3604         * tabular.[Ch]: basic optical cleaning
3605
3606         * author.h: pass references, not values
3607
3608 2003-07-18  André Pönitz  <poenitz@gmx.net>
3609
3610         * lyxtext.h:
3611         * metricsinfo.C:
3612         * metricsinfo.h:
3613         * rowpainter.C:
3614         * text.C:
3615         * text2.C:
3616         * text3.C: two-phase drawing for InsetText and InsetTabular
3617         some float -> int changes.
3618
3619 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3620
3621         * lyx_main.C: fix the fix
3622
3623 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3624
3625         * lyx_main.C: fix a crash in batch mode if no files specified
3626         * converter.C: ws
3627
3628 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3629
3630         * format.[Ch] (papersize): moved to BufferParams
3631         * converter.[Ch] (dvips_options): moved to BufferParams
3632         (dvipdfm_options): moved to anon namespace
3633         * bufferparams.[Ch]: added above functions.
3634
3635 2003-07-17  André Pönitz  <poenitz@gmx.net>
3636
3637         * lyxtext.h:
3638         * rowpainter.C:
3639         * text2.C: don't call inset->update() anymore
3640
3641         * metricsinfo.[Ch]: add convenience constructor
3642
3643 2003-07-16  André Pönitz  <poenitz@gmx.net>
3644
3645         * lyxcursor.[Ch]:
3646         * lyxfunc.[Ch]:
3647         * text.C:
3648         * text2.C: replace the LyXCursor::irow_ member with
3649          on-demand computation of the value
3650
3651 2003-07-16  John Levon  <levon@movementarian.org>
3652
3653         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3654
3655 2003-07-15  André Pönitz  <poenitz@gmx.net>
3656
3657         * text.C:
3658         * text2.C: remove no more needed refresh_row
3659
3660 2003-07-15  André Pönitz  <poenitz@gmx.net>
3661
3662         * lyxtext.h:
3663         * rowpainter.C:
3664         * text2.C:
3665         * text3.C: refresh_status tristate -> need_update bool
3666
3667 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3668
3669         * lyxtext.h (init): remove reinit argument (act as if always true)
3670         * text2.C: adjust to that
3671
3672 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3673
3674         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3675         * text3.C: use it to delete selections in some cases
3676         (bugs 441, 673, 702, 954).
3677
3678 2003-07-14  André Pönitz  <poenitz@gmx.net>
3679
3680         * rowpainter.[Ch]: reduce interface
3681
3682 2003-07-14  André Pönitz  <poenitz@gmx.net>
3683
3684         * BufferView_pimpl.C:
3685         * text2.C: adjust after removing unused BufferView * argument
3686
3687 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * text2.C (init): fix a crash fired on resize
3690
3691 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3692
3693         * buffer.[Ch]: added new closing signal
3694         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3695         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3696         BufferView::Pimpl via the closing the signal
3697
3698 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3699
3700         * buffer.[Ch]: take out all bv-related from buffer
3701         * BufferView.C:
3702         * BufferView_pimpl.[Ch]: connect to new signals
3703         * CutAndPaste.C: removed useless asserts
3704         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3705         * lyxvc.[Ch]:
3706         * vc-backend.[Ch]:
3707         * lyxfunc.C: moved view-related funciontality from vc here
3708         * paragraph.C: removed outdated comments
3709         * text.C: ws
3710
3711 2003-07-10  André Pönitz  <poenitz@gmx.net>
3712
3713         * BufferView_pimpl.C:
3714         * tabular.h:
3715         * tabular_funcs.C:
3716         * text.C:
3717         * text2.C: remove InsetText::InnerCache, clean up consequences
3718
3719 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3720
3721         * ispell.C: fix two typos in error messages
3722
3723 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3724
3725         * Extend Note inset to other forms of annotation like Comment
3726         and Greyedout. Right button click gives dialog.
3727
3728         Files modified or added (+):
3729
3730         * insetnote.[Ch]
3731         * FormNote.[Ch]      +
3732         * ControlNote.[Ch]   +
3733         * form_note.fd       +
3734         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3735         frontends/controllers
3736         * xforms/Dialogs.C
3737         * factory.C
3738
3739 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3740
3741         * aspell.C: add missing namespace lyx::support
3742
3743 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3744
3745         * BufferView.[Ch] (newFile): Add
3746         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3747         * LaTeX.[Ch] (message): added this signal and use it
3748         * buffer.[Ch] (busy, message): added these signals and use them
3749         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3750         * converter.C:
3751         * exporter.C:
3752         * format.C:
3753         * importer.C: use buffer signals instead of direct bv calling
3754         * lyx_cb.[Ch] (ShowMessage): removed
3755         * lyx_main.C:
3756         * lyxfunc.C:
3757         * paragraph_funcs.C:
3758         * text2.C: use buffer signals
3759
3760 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3761
3762         * introduce namespace lyx::graphics
3763
3764 2003-07-02  André Pönitz  <poenitz@gmx.net>
3765
3766         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3767
3768 2003-07-01  André Pönitz  <poenitz@gmx.net>
3769
3770         * text.C:
3771         * text2.C:
3772         * text3.C:
3773         * text_funcs.[Ch]:
3774         * textcursor.h:
3775         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3776           text*.C to text_func.C
3777
3778 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3779
3780         * introduce namespace lyx::support
3781
3782 2003-06-30  André Pönitz  <poenitz@gmx.net>
3783
3784         * Chktex.C:
3785         * funcrequest.C:
3786         * lyxtext.h:
3787         * text.C: re-enable --with-included-string
3788
3789 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3790
3791         * textcursor.C: add <config.h>
3792
3793         * text.C (getWord): remove const from word_location arg
3794
3795         * lyxvc.C (getLogFile): fix const type order
3796
3797         * lyxtext.h: remove const from word_location arg, add arg name
3798
3799         * lyxlayout.h: currect type on labeltype.
3800
3801         * importer.C: correct \file
3802
3803         * converter.C (intToFormat): use std:: on ret val, ws changes
3804
3805         * bufferlist.h: correct \file
3806
3807         * buffer.C (makeLinuxDocFile): fix const type order
3808         (makeDocBookFile): ditto
3809         (fillWithBibKeys): use std:: on stdlib args.
3810
3811         * CutAndPaste.C: fix authors.
3812         (availableSelections): use std:: on return vector
3813
3814 2003-06-27  André Pönitz  <poenitz@gmx.net>
3815
3816         * BufferView_pimpl.C:
3817         * bufferview_funcs.C:
3818         * lyxcursor.C:
3819         * lyxcursor.h:
3820         * lyxfunc.C:
3821         * lyxtext.h:
3822         * rowpainter.C:
3823         * text.C:
3824         * text2.C:
3825         * text3.C: remove LyXCursor::row_ member
3826
3827         * lyxtext.h:
3828         * text.C: rename fullRebreak() to partialRebreak() and implement
3829           a fullRebreak() that really bereks fully
3830
3831         * textcursor.h: new struct for cursor-related data
3832
3833 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3834
3835         * lyx_main.C (LyX): get full path of document loaded on the
3836         command line
3837
3838 2003-06-26  André Pönitz  <poenitz@gmx.net>
3839
3840         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3841           remove unused/broken operator>,<,>=.
3842
3843         *       text.C: remove only use of broken operator<= in an Assert().
3844
3845 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3846
3847         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3848         moved errorlist_.clear to showErrorList
3849
3850 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3851
3852         * converter.C (scanLog, runLaTeX):
3853         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3854         move the bv->showErrorList call to the callers
3855         * lyxfunc.C: i.e. here...
3856         * text2.C: and here
3857         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3858         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3859         namespace, the second to...
3860         * buffer_funcs (BufferFormat, parseErrors): added
3861         * errorlist.C (ErrorList(TeXErrors const &)): removed
3862
3863 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3864
3865         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3866
3867 2003-06-24  "Garst R. Reese" <reese@isn.net>
3868
3869         * debug.C: fix typo
3870
3871 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3872
3873         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3874
3875         * version.C.in: change docversion to 1.4
3876
3877 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3878
3879         * buffer.C: fix a bug just introduced
3880
3881 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3882
3883         * buffer.[Ch]: added the parseError signal and use it, removed
3884         sgmlError
3885         * BufferView.[Ch] (addError): moved to ...
3886         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3887         to the Buffer::parseError signal to catch (guess what) parse errors
3888         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3889
3890 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3891
3892         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3893         ability to create a buffer and to return an existing one from
3894         the list. Moved these functions to...
3895         * buffer_funcs.[Ch]: added
3896         * BufferView.[Ch] (loadLyXFile): added
3897         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3898         job removed from bufferlist::loadLyXFile.
3899         * buffer.C (setReadOnly): make it work without view
3900         (i.e added an if (users))
3901
3902 2003-06-19  Angus Leeming  <leeming@lyx.org>
3903
3904         * lfuns.h:
3905         * LyXAction.C (init):
3906         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3907         with LFUN_DIALOG_SHOW <name> <data>.
3908
3909 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3910
3911         * CutAndPaste.C (availableSelections): small compilation fix for
3912         ancient (gcc 2.9x) compilers
3913
3914 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3915
3916         * text3.C (cursorNext): add tmp var
3917
3918         * text2.C (updateCounters): for function calling out of for clause
3919         (replaceSelectionWithString): ditto
3920         (insertStringAsParagraphs): ditto
3921         (getColumnNearX): add tmp var
3922         (setCursorFromCoordinates): add tmp var
3923         (cursorDownParagraph): add tmp var
3924         (deleteEmptyParagraphMechanism): add tmp var
3925
3926         * text.C (insertChar): add tmp var
3927
3928         * rowpainter.C (paintDepthBar): add tmp var
3929
3930         * CutAndPaste.C (availableSelections): potentially check all
3931         paragraphs in a cut to fill the shown strings.
3932
3933 2003-06-18  André Pönitz  <poenitz@gmx.net>
3934
3935         * kbmap.[Ch]: use vector<> instead of list<>
3936
3937 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3938
3939         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3940         pasteSelection with index
3941
3942         * text2.C (pasteSelection): modify, call pasteSelection with index
3943
3944         * paragraph.C (asString): reimplement version with no interval to
3945         call the one with interval.
3946
3947         * lyxtext.h: add index arg to pasteSelection
3948
3949         * MenuBackend.C (MenuItem): handle PasteRecent
3950         (Menu::read::Menutags): add md_pasterecent
3951         (read): handle it
3952         (expandPasteRecent): new function
3953         (expand): use it
3954
3955         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3956
3957         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3958         the limited stack
3959         (availableSelections): new function
3960
3961 2003-06-17  Angus Leeming  <leeming@lyx.org>
3962
3963         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3964
3965 2003-06-17  Angus Leeming  <leeming@lyx.org>
3966
3967         * lfuns.h:
3968         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3969
3970         * lyxfunc.C (dispatch): invoke it.
3971
3972 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3973
3974         * iterators.C (operator++, ParPosition): reintroduce some
3975         const_cast for the benefit of older compilers.
3976
3977 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3978
3979         * text3.C (dispatch): do not modify clipboard when doing
3980         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3981         LFUN_DELETE_SKIP on a selection selection
3982
3983 2003-06-16  André Pönitz  <poenitz@gmx.net>
3984
3985         * BufferView.C:
3986         * buffer.C:
3987         * buffer.h:
3988         * paragraph.C:
3989         * tabular.[Ch]: IU of clone() and getLabelList();
3990
3991 2003-06-13  André Pönitz  <poenitz@gmx.net>
3992
3993         * tabular.h: compactification
3994
3995 2003-06-12  André Pönitz  <poenitz@gmx.net>
3996
3997         * tabular.C:
3998         * tabular.h:
3999         * tabular_funcs.h: some renaming plus whitespace
4000
4001 2003-06-12  André Pönitz  <poenitz@gmx.net>
4002
4003         * BufferView.C:
4004         * BufferView_pimpl.C:
4005         * CutAndPaste.C:
4006         * buffer.C:
4007         * iterators.[Ch]:
4008         * lyxfunc.C:
4009         * text.C:
4010         * toc.C: Return a Paragraph & for ParIterator::operator*()
4011
4012 2003-06-11  John Levon  <levon@movementarian.org>
4013
4014         * lyx_main.C:
4015         * ToolbarBackend.h:
4016         * ToolbarBackend.C: add "Toolbars" section and
4017         put the flags there
4018
4019 2003-06-10  Angus Leeming  <leeming@lyx.org>
4020
4021         * lfuns.h:
4022         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4023
4024         * lyxfunc.C (dispatch): invoke it.
4025
4026 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * main.C: protect <ios> with HAVE_IOS
4029         (main): protect sync_with_stdio with HAVE_IOS
4030
4031 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4032
4033         * text2.C (cutSelection): adjust
4034         (pasteSelection): adjust
4035
4036         * messages.C: handle get of empty string
4037
4038         * main.C (main): use sync_with_stdio(false)
4039
4040         * lyxfunc.C (dispatch): adjust
4041
4042         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4043         (WriteAs): remove unneeded BufferView arg.
4044
4045         * bufferparams.h: use correct types on papersize, papersize2 and
4046         paperpackage.
4047
4048         * bufferparams.C (readToken): adjust for type
4049         (writeLaTeX): add missing cases to switch.
4050
4051         * bufferlist.C (quitWriteBuffer): adjust
4052         (close): adjust
4053
4054         * buffer.C (asciiParagraph): remove some commented code.
4055
4056         * CutAndPaste.C: remove current_view extern variable.
4057         (cutSelection): add BufferParams arg.
4058         (eraseSelection): add BufferParams arg.
4059         (pasteSelection): add Buffer const & arg
4060
4061 2003-06-07  John Levon  <levon@movementarian.org>
4062
4063         * buffer.C:
4064         * paragraph_funcs.C:
4065         * paragraph_pimpl.C:
4066         * text.C:
4067         * text2.C:
4068         * paragraph.h:
4069         * paragraph.C: allow InsetERT to freely space lines,
4070         and some consolidation of code
4071
4072 2003-06-06  José Matos  <jamatos@fep.up.pt>
4073
4074         * buffer.C (makeDocBookFile): fix bug #821
4075
4076 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4077
4078         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4079
4080 2003-06-04  Angus Leeming  <leeming@lyx.org>
4081
4082         * buffer.C: bump format to 224.
4083
4084 2003-06-05  André Pönitz  <poenitz@gmx.net>
4085
4086         * text2.C (redoParagraphs): remove two const_cast<>
4087
4088 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4089
4090         * ParagraphList.h: remove last remnants of NO_STD_LIST
4091
4092 2003-06-03  Angus Leeming  <leeming@lyx.org>
4093
4094         * factory.C (createInset): small change to the way InsetExternal's params
4095         are set.
4096
4097 2003-06-04  André Pönitz  <poenitz@gmx.net>
4098
4099         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4100
4101         * paragraph_pimpl.h:
4102         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4103
4104         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4105
4106         * undo_funcs.C: make some simple cases of undo work again
4107
4108 2003-06-03  John Levon  <levon@movementarian.org>
4109
4110         * ispell.C: HPUX doesn't have sys/select.h
4111         (from Albert Chin)
4112
4113 2003-06-03  John Levon  <levon@movementarian.org>
4114
4115         * CutAndPaste.C: update tabular and include inset
4116         buffer references
4117
4118         * buffer.h:
4119         * paragraph.h:
4120         * paragraph.C: remove owningBuffer(), don't pass Buffer
4121         to clone()
4122
4123         * factory.C: insetGraphicsParams changed
4124
4125 2003-06-02  John Levon  <levon@movementarian.org>
4126
4127         * LyXAction.C:
4128         * factory.C:
4129         * lfuns.h:
4130         * lyxfunc.C:
4131         * text3.C: remove insetparent
4132
4133 2003-06-02  John Levon  <levon@movementarian.org>
4134
4135         * buffer.h:
4136         * buffer.C: fix inset_iterator.end(), move out of line
4137         (bug 1149)
4138
4139 2003-06-01  John Levon  <levon@movementarian.org>
4140
4141         * text3.C: use a proper cut/paste when doing inset
4142         insert (from Jürgen Spitzmüller)
4143
4144 2003-06-01  John Levon  <levon@movementarian.org>
4145
4146         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4147
4148 2003-05-30  André Pönitz  <poenitz@gmx.net>
4149
4150         * rowpainter.C: unify second drawing phase
4151
4152 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4153
4154         * trans_mgr.C: remove one case of current_view
4155
4156         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4157
4158         * paragraph_funcs.h: remove paragraph.h include
4159
4160         * paragraph.h: delete NO_STD_LIST stuff
4161
4162         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4163
4164         * buffer.h: remove paragraph.h include
4165
4166         * ParagraphList.C: delete file
4167
4168         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4169
4170         * toc.C (getTocList): adjust
4171
4172         * paragraph_pimpl.C (validate): adjust
4173
4174         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4175
4176         * paragraph.C (Paragraph): adjust
4177         (getPositionOfInset): use const_iterator, adjust
4178         (bibitem): use const_iterator, adjust
4179         (setInsetOwner): adjust
4180
4181         * iterators.C (operator++): adjust
4182
4183         * InsetList.[Ch]: Replace selfmade iterator with standard
4184         vector::iterator also introduce const_iterator. Remove getPos,
4185         getInset and setInset from InsetTable. Adjust accordingly.
4186
4187         * BufferView.C (lockInset): adjust
4188         (ChangeInsets): adjust
4189
4190         * tabular.[Ch]: delete commented same_id functions
4191
4192 2003-05-28  John Levon  <levon@movementarian.org>
4193
4194         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4195
4196 2003-05-28  André Pönitz  <poenitz@gmx.net>
4197
4198         * metricsinfo.[Ch]: remove 'fullredraw' member
4199
4200 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4201
4202         * lyxtextclass.C (operator): remove caching.
4203
4204 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4205
4206         * text3.C: adjust
4207
4208         * text2.C (cursorBottom): adjust
4209         (setCounter): use ParagraphList::find, adjust
4210
4211         * text.C (workWidth): use ParagraphList::find, adjust
4212
4213         * lyxcursor.C (LyXCursor): adjust
4214
4215         * buffer.C (inset_iterator): adjust
4216
4217         * ParagraphList.h: make iterator(value_type) private, make
4218         ParagraphList a friend of iterator.
4219
4220         * ParagraphList.C (find): new function
4221
4222         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4223
4224 2003-05-27  André Pönitz  <poenitz@gmx.net>
4225
4226         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4227
4228 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4229
4230         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4231
4232 2003-05-26  John Levon  <levon@movementarian.org>
4233
4234         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4235
4236 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4237
4238         * remove same_id from function signatures, adjust.
4239
4240 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4243
4244         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4245
4246         * paragraph.C (Paragraph): get rid of same_ids parameter
4247
4248         * ParagraphList.C (insert): adjust
4249         (push_back): adjust
4250
4251 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4252
4253         * paragraph_funcs.C (breakParagraph): adjust
4254         (breakParagraphConservative): adjust
4255
4256         * buffer.C (readParagraph): adjust
4257
4258         * ParagraphList.C (insert): take a reference instead of a pointer
4259         (insert): adjust
4260
4261         * paragraph.[Ch] (id): new function
4262
4263         * bufferlist.C (newFile): adjust
4264
4265         * ParagraphList.C (ParagraphList): adjust
4266         (assign): adjust
4267         (push_back): take a reference instead of a pointer.
4268
4269         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4270
4271         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4272         instead.
4273
4274         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4275         set else use old code.
4276
4277         * ParagraphList.C: remove all NO_NEXT code and only compile this
4278         code of NO_STD_LIST is set.
4279
4280 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4281
4282         * BufferView_pimpl.C:
4283         * TextCache.C:
4284         * TextCache.h:
4285         * bufferlist.C:
4286         * errorlist.h:
4287         * format.C:
4288         * format.h:
4289         * graph.C:
4290         * lyxfunc.C:
4291         * lyxrc.C:
4292         * graphics/GraphicsConverter.C:
4293         * graphics/PreviewLoader.C: header adjustment
4294
4295 2003-05-23  Angus Leeming  <leeming@lyx.org>
4296
4297         * LaTeXFeatures.[Ch] (useBabel): new method.
4298         * bufferparams.C (writeLaTeX): use it.
4299
4300 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4301
4302         * ParagraphList.h (set): remove unused function.
4303
4304 2003-05-23  André Pönitz  <poenitz@gmx.net>
4305
4306         * BufferView.C:
4307         * BufferView_pimpl.C:
4308         * buffer.C:
4309         * buffer.h:
4310         * lyxfunc.C:
4311         * undo_funcs.C: setUndo reworked
4312
4313         * iterators.[Ch]: add access to topmost ParagraphList
4314
4315         * lyxtext.[Ch] (workWidth): add a const
4316
4317 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4318
4319         * texrow.[Ch] (increasePos): remove function
4320         * exporter.C (export): removed unused var and outdated comment
4321
4322 2003-05-23  Angus Leeming  <leeming@lyx.org>
4323
4324         * latexrunparams.h: rename fragile as moving_arg.
4325         * paragraph.C (simpleTeXOnePar): ditto.
4326         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4327
4328 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4329
4330         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4331         (createUndo): ditto
4332         (textUndoOrRedo): comment out a currently unused var.
4333
4334         * paragraph.h (NO_NEXT): enable NO_NEXT
4335
4336         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4337
4338         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4339
4340         * exporter.C (Export): adjust for removeAutoInsets removal.
4341
4342         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4343
4344         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4345
4346         * BufferView.[Ch] (removeAutoInsets): delete function
4347
4348 2003-05-22  Angus Leeming  <leeming@lyx.org>
4349
4350         * latexrunparams.h: add a free_spacing variable.
4351
4352         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4353         to pass moving_arg, as the data is stored in runparams.fragile.
4354
4355         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4356         to Inset::latexOptional or to simpleTeXOnePar.
4357
4358         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4359         free_spacing arg to Inset::latexOptional.
4360
4361         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4362         free_spacing arg.
4363
4364 2003-05-22  Angus Leeming  <leeming@lyx.org>
4365
4366         * latexrunparams.h: add fragile and use_babel variables.
4367
4368         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4369         * buffer.C (makeLaTeXFile): store this returned value in
4370         runparams.use_babel, thus passing it to the inset::latex methods.
4371
4372         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4373         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4374
4375         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4376         longer has a fragile arg, as it is stored in runparams.fragile.
4377
4378         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4379         moving_arg parameter as the data is stored in runparams.fragile.
4380
4381         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4382         a fragile parameter as the data is stored in runparams.fragile.
4383
4384 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4385
4386         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4387
4388 2003-05-22  Angus Leeming  <leeming@lyx.org>
4389
4390         * latexrunparams.h: add a 'bool nice' which defaults to false.
4391
4392         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4393         now encapsulated within runparams.
4394
4395         * bufferlist.C (updateIncludedTeXfiles):
4396         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4397
4398 2003-05-22  Angus Leeming  <leeming@lyx.org>
4399
4400         * latexrunparams.h: new file containing struct LatexRunParams.
4401         * Makefile.am: add new file.
4402
4403         * LaTeX.[Ch] (c-tor, run):
4404         * buffer.[Ch] (makeLaTeXFile):
4405         * bufferlist.[Ch] (updateIncludedTeXfiles):
4406         * converter.C (convert, scanLog):
4407         * converter.[Ch] (runLaTeX):
4408         * exporter.C (Export):
4409         * paragraph.[Ch] (simpleTeXOnePar):
4410         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4411         * paragraph_funcs.[Ch] (latexParagraphs):
4412         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4413         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4414         pass around a LatexRunParams parameter.
4415
4416 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4417
4418         * paragraph.[Ch]: remove unused constructor
4419
4420         * ParagraphList.C (erase): new function, taking two iterators
4421
4422 2003-05-22  André Pönitz  <poenitz@gmx.net>
4423
4424         * undo_funcs.C: remove duplicated code
4425
4426         * iterator.[Ch]: operator=
4427
4428 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4429
4430         * tabular.C (SetMultiColumn): ws changes
4431
4432         * rowpainter.C (paintFirst): get rid of a ->previous
4433
4434         * lyx_cb.C (getPossibleLabel): parlist simplification
4435
4436         * BufferView.C (ChangeInsets): simplify slightly.
4437
4438 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4439
4440         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4441         * lfuns.h: new LFUN_SPACE
4442         * lyxfunc.C: protected space has a new lfun
4443         * paragraph_funcs.C: read new space insets
4444         * text3.C:
4445         * factory.C: handle new space insets
4446
4447 2003-05-22  André Pönitz  <poenitz@gmx.net>
4448
4449         * BufferView.C:
4450         * BufferView_pimpl.C:
4451         * buffer.[Ch]:
4452         * lyxfunc.C:
4453         * undo_funcs.C: return a ParIterator from getParFromID.
4454
4455         * iterators.[Ch]: add two const's
4456
4457 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4458
4459         * toc.C (getTocList): adjust
4460
4461         * iterators.[Ch]: rework for parlist
4462
4463         * buffer.C (par_iterator_begin): adjust
4464         (par_iterator_end): adjust
4465
4466         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4467
4468         * BufferView.C (removeAutoInsets): adjust
4469         (ChangeInsets): adjust
4470
4471 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4472
4473         * text.C (top_y): fix bug 1110
4474
4475 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4476
4477         * errorlist.[Ch]: added
4478         * buffer.C:
4479         * BufferView.[Ch]:
4480         * BufferView_pimpl.C:
4481         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4482         instead
4483
4484 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4485
4486         * Makefile.am: ensure that lyx is relinked upon changes to the
4487         various "convenience" libs.
4488
4489 2003-05-20  Angus Leeming  <leeming@lyx.org>
4490
4491         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4492         files are compiled in alphabetical order again.
4493
4494         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4495
4496 2003-05-19  Angus Leeming  <leeming@lyx.org>
4497
4498         * gettext.[Ch]: remove "char const * _(char const *)".
4499
4500 2003-05-19  André Pönitz  <poenitz@gmx.net>
4501
4502         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4503
4504         * Makefile.am:
4505         * BufferView.C:
4506         * DepTable.h:
4507         * LaTeXFeatures.C:
4508         * buffer.C:
4509         * lyxfont.C:
4510         * lyxlex.h:
4511         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4512
4513 2003-05-19  André Pönitz  <poenitz@gmx.net>
4514
4515         * buffer.C:
4516         * lyxlayout.[Ch]:
4517         * lyxtextclass.[Ch]:
4518         * paragraph.C:
4519         * paragraph_funcs.[Ch]:
4520         * text2.C:
4521         * text3.C: more insetenv work
4522
4523 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4524
4525         * ParagraphParameters.C (params2string): small bug fixed
4526
4527 2003-05-16  André Pönitz  <poenitz@gmx.net>
4528
4529         * debug.C:
4530         * bufferview_funcs.C: patch from Kornel Benko to prevent
4531           crash when _(...) is called twice in a statement
4532
4533 2003-05-16  André Pönitz  <poenitz@gmx.net>
4534
4535         * BufferView.C:
4536         * lyxfunc.C:
4537         * text.C:
4538         * text2.C:
4539         * text3.C:
4540         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4541
4542 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4543
4544         * lyx_main.C (init): remove spurious static_cast
4545
4546 2003-05-14  André Pönitz  <poenitz@gmx.net>
4547
4548         * BufferView.C: fix format string
4549
4550 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4551
4552         * BufferView.[Ch] (insertErrors): removed
4553         * BufferView.[Ch] (showErrorList): added
4554         * buffer.C (runChkTeX):
4555         * converter.C (scanLog): call showErrorList instead of inserterrors
4556
4557 2003-05-13  André Pönitz  <poenitz@gmx.net>
4558
4559         * BufferView_pimpl.C:
4560         * buffer.C:
4561         * bufferview_func.C:
4562         * MenuBackend.C:
4563         * lyxfunc.C:
4564         * lyxrc.C:
4565         * tex-accent.C:
4566         * text3.C:
4567         * toc.C:
4568         * tabular_funcs.h: tostr() from its own header
4569
4570         * ParagraphParameters.C:
4571         * ToolbarBackend.C:
4572         * bufferparams.C:
4573         * format.C:
4574         * lyxlex_pimpl.C:
4575         * text3.C: STRCONV()
4576
4577 2003-05-12  André Pönitz  <poenitz@gmx.net>
4578
4579         * BufferView.C:
4580         * BufferView_pimpl.C:
4581         * CutAndPaste.C:
4582         * LaTeX.C:
4583         * LaTeXFeatures.C:
4584         * ParagraphParameters.C:
4585         * buffer.C:
4586         * bufferlist.C:
4587         * bufferparams.C:
4588         * bufferview_funcs.C:
4589         * converter.C:
4590         * counters.C:
4591         * debug.C:
4592         * exporter.C:
4593         * format.C:
4594         * importer.C:
4595         * lyx_cb.C:
4596         * lyx_main.C:
4597         * lyxfont.C:
4598         * lyxfunc.C:
4599         * lyxvc.C:
4600         * paragraph.C:
4601         * paragraph_funcs.C:
4602         * tabular.C:
4603         * tabular_funcs.C:
4604         * text2.C:
4605         * text3.C:  boost::format -> bformat  all over the place
4606
4607
4608 2003-05-09  André Pönitz  <poenitz@gmx.net>
4609
4610         * LColor.[Ch]: Pimpl the #include <map> away
4611
4612 2003-05-09  John Levon  <levon@movementarian.org>
4613
4614         * bufferlist.C: never remove emergency saves
4615
4616 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4617
4618         * Makefile.am: better lib building
4619
4620 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4621
4622         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4623         instead.
4624         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4625         (simpleTeXSpecialChars): adjust
4626         (simpleTeXSpecialChars): adjust
4627         * paragraph.C (simpleTeXOnePar): adjust
4628         * buffer.C (makeLaTeXFile): adjust
4629
4630         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4631
4632         * text2.C (changeDepth): parlist cleanup
4633         (getColumnNearX): ditto
4634
4635         * rowpainter.C (getLabelFont): parlist cleanup
4636
4637         * bufferlist.C (newFile): parlist cleanup
4638
4639         * CutAndPaste.C (eraseSelection): parlist cleanup
4640
4641         * BufferView_pimpl.C (trackChanges): parlist cleanup
4642         (dispatch): ditto
4643
4644         * BufferView.C (lockInset): parlist cleanup.
4645         (ChangeInsets): ditto
4646
4647 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4648
4649         * CutAndPaste.h: Update file header.
4650
4651         * CutAndPaste.C: Update file header.
4652         Store the parts cut out of the Document in a limited_stack.
4653         (copySelection): adjust
4654         (pasteSelection): new function, takes the index in the limited stack.
4655         (nrOfParagraphs): adjust
4656         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4657         simplify error inset insertion.
4658         (checkPastePossible): adjust
4659
4660 2003-05-06  John Levon  <levon@movementarian.org>
4661
4662         * text2.C: don't cast wrap inset to float
4663
4664 2003-05-05  André Pönitz  <poenitz@gmx.net>
4665
4666         * iterator.C:
4667         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4668
4669         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4670           few naked Paragraph *.
4671
4672 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4673
4674         * bufferparams.C: Output warning if a document with missing
4675         TeX document class is loaded
4676         * exporter.C: Disable TeX exports if the document class is missing
4677         * lyxtextclass.C:
4678         * lyxtextclass.h:
4679         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4680         isTeXClassAvailable()
4681
4682 2003-05-03  John Levon  <levon@movementarian.org>
4683
4684         * BufferView.h:
4685         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4686         explicit cursor show/hide
4687
4688         * BufferView_pimpl.h:
4689         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4690         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4691
4692         * lyxfunc.C: hide cursor before dispatching.
4693
4694         * lyx_cb.C:
4695         * lyxfind.C:
4696         * text.C:
4697         * text3.C: remove explicit cursor hides
4698
4699 2003-05-02  André Pönitz  <poenitz@gmx.net>
4700
4701         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4702
4703         * undo_funcs.C:
4704         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4705           linked lists
4706
4707         * text2.C: tiny whitespace
4708
4709 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4710
4711         * undo_funcs.C: almost only ws changes.
4712
4713         * ParagraphList.C (splice): just return if pl is empty.
4714
4715 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4716
4717         * ParagraphList.C (splice): new function.
4718
4719         * CutAndPaste.C (pasteSelection): use it
4720
4721 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4722
4723         * CutAndPaste.C (pasteSelection): remove the last next and
4724         previous from this file.
4725
4726 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4727
4728         * CutAndPaste.C (pasteSelection): more clean up, user proper
4729         ParagraphList functions for pasteing.
4730
4731         * ParagraphList.C (insert): new function, three arg insert
4732
4733 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4734
4735         * ParagraphList.C (insert): new function, three arg insert
4736
4737         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4738         not on paragraphs.
4739
4740 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4741
4742         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4743
4744 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4745
4746         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4747
4748 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4749
4750         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4751         (copySelection): clean up a bit.
4752         (pasteSelection): use make_pair
4753
4754         * ParagraphList.C (ParagraphList): implement copy constructor
4755         (operator=): implement, base on copy constructor.
4756         (assign): new func
4757
4758         * paragraph.C (erase): return a bool
4759
4760         * paragraph_pimpl.C (erasePos): remove function, move contents...
4761         (erase): ... here. Return a bool.
4762         (erase): call erase instead of erasePos.
4763
4764 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4765
4766         * ParagraphList.h: define PitPosPair
4767         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4768         ParagraphList, fix a bug on pasting multiple pars
4769         * text2.C: change interface to C&P
4770
4771 2003-04-30  André Pönitz  <poenitz@gmx.net>
4772
4773         * undo_func.C: revert part of yesterday's patch 2
4774
4775 2003-04-30  John Levon  <levon@movementarian.org>
4776
4777         * LColor.C: s/tabular/table/
4778
4779 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4780
4781         * text3.C (dispatch): do not convert iterator -> pointer
4782         * undo_funcs.C (setCursorParUndo): ditto
4783         * text_funcs.C (transposeChars): ditto
4784
4785         * text2.C (setLayout): ws changes only
4786
4787         * text.C (breakParagraph): do not convert iterator -> pointer
4788         (insertChar): ditto
4789         (acceptChange): ditto
4790         (rejectChange): ditto
4791         (changeCase): ditto
4792         (Delete): ditto
4793         (backspace): ditto
4794
4795         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4796         pointer
4797
4798 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4799
4800         * text3.C (gotoInset): YABG (yet another bad getChar)
4801
4802 2003-04-29  André Pönitz  <poenitz@gmx.net>
4803
4804         * paragraph.h: make operator= private unimplemented as long as
4805           it is unusable
4806
4807         * ParagraphList.C: whitespace
4808
4809         * paragraph.[Ch]:
4810         * paragraph_pimpl.[Ch]:
4811         * paragraph_funcs.C:
4812         * CutAndPaste.C:
4813         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4814
4815         * text2.C:
4816           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4817
4818 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4819
4820         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4821         * paragraph.[Ch] (erase):
4822         * paragraph_pimpl.[Ch] (erase): change return type and value
4823         * text2.C (cutSelection): some rework
4824
4825 2003-04-28  John Levon  <levon@movementarian.org>
4826
4827         * bufferlist.C: changes for unsaved changes dialog
4828
4829 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4830
4831         * bufferlist.C (newFile): set language (messages_) for new
4832         documents also.
4833
4834         * buffer.C (readFile): ws changes only.
4835
4836 2003-04-28  André Pönitz  <poenitz@gmx.net>
4837
4838         * undo_funcs.C:
4839         * lyxfunc.C:
4840         * buffer.[Ch]:
4841         * BufferView_pimpl.C:
4842         * BufferView.C: getParFromID related ParagraphList::iterator changes
4843
4844 2003-04-28  André Pönitz  <poenitz@gmx.net>
4845
4846         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4847           Changes
4848
4849 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4850
4851         * messages.C: remove one more localedir class variable.
4852
4853 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4854
4855         * messages.C (getLocaleDir): singleton generation function
4856         (Pimpl): use it.
4857         (Messages): add a default constructor.
4858
4859         * main.C (main): do not setup localedir here, do not call
4860         gettext_init.
4861
4862         * gettext.C (_): use it.
4863         (gettext_init): delete funciton
4864
4865 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4866
4867         * gettext.C (getLyXMessages): new singleton generating function.
4868
4869         * buffer.C (updateDocLang): adjust
4870
4871         * Makefile.am (messages.o): add target
4872         (main.o): remove target
4873
4874 2003-04-27  John Levon  <levon@movementarian.org>
4875
4876         * bufferlist.C:
4877         * lyx_cb.C:
4878         * lyxfunc.C:
4879         * lyxvc.C: specify cancel button in Alert::prompt
4880
4881 2003-04-26  John Levon  <levon@movementarian.org>
4882
4883         * text3.C:
4884         * lyxfunc.C:
4885         * lfuns.h:
4886         * LyXAction.C: add LFUN_INSET_SETTINGS
4887
4888         * lyxfunc.C: don't enable tabular-feature when there's
4889         just any locking inset
4890
4891 2003-04-26  John Levon  <levon@movementarian.org>
4892
4893         * bufferlist.C: re-add Cancel to buffer close question
4894
4895         * lyxfunc.C: fix import UI a bit
4896
4897 2003-04-25  John Levon  <levon@movementarian.org>
4898
4899         * gettext.C: remove the broken asserts for now
4900
4901 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4902
4903         * messages.C: make case where setlocale cannot comply work better.
4904
4905         * buffer.C (updateDocLang): new function
4906         (changeLanguage): use it
4907         (readFile): use it
4908
4909         * text2.C (setCounter): use B_ a bit.
4910
4911         * lyxlayout.C (Read): be sure to trim the label strings.
4912
4913         * messages.C (Messages): fix typo in comment
4914
4915         * buffer.C (readFile): set message_ after file is loaded.
4916         (makeDocBookFile): remove double return
4917         (changeLanguage): reset message_ upon language change.
4918         (B_): new func, use this to get translated buffer strings.
4919
4920         * main.C: add myself and Jean Marc as authors.
4921
4922 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4923
4924         * messages.[hC]: pimplify Messages, and three different pimpls to be
4925         used in different circumstances.
4926
4927         * gettext.[Ch]: change for use with new message code.
4928
4929 2003-04-24 André Pönitz <poenitz@gmx.net>
4930
4931         * factory.C: support for eqref
4932
4933 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4934
4935         * messages.[Ch]: add missing char
4936
4937         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4938
4939         * messages.[Ch]: New files
4940
4941 2003-04-18  John Levon  <levon@movementarian.org>
4942
4943         * BufferView.h:
4944         * BufferView.C:
4945         * BufferView_pimpl.C:
4946         * lfuns.h:
4947         * LyXAction.C:
4948         * lyxtext.h:
4949         * text2.C: remove layout-copy/paste (bug 778)
4950
4951 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4952
4953         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4954
4955 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4956
4957         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4958         if they succeed. Act accordingly.
4959
4960 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4961
4962         * text2.C (setCharFont): adjust
4963         (setCounter): adjust
4964         (insertStringAsLines): adjust
4965
4966         * text.C (leftMargin): adjust
4967         (setHeightOfRow): adjust
4968
4969         * rowpainter.C (paintFirst): adjust
4970         (paintLast): adjust
4971
4972         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4973         (outerHook): ditto
4974         (isFirstInSequence): ditto
4975         (getEndLabel): ditto
4976         (outerFont): adjust
4977
4978         * paragraph.C (getParLanguage): comment out some hard stuff.
4979
4980         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4981         (sgmlError): ditto
4982         (simpleDocBookOnePar): ditto
4983         (makeDocBookFile): use ParagraphList::iterator
4984
4985         * CutAndPaste.C (pasteSelection): adjust
4986
4987 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4988
4989         * text2.C (getFont): adjust
4990         (getLayoutFont): adjust
4991         (getLabelFont): adjust
4992
4993         * paragraph_funcs.C (TeXOnePar): adjust
4994
4995         * buffer.C (simpleLinuxDocOnePar): adjust
4996         (simpleDocBookOnePar): adjust
4997
4998         * CutAndPaste.C (pasteSelection): adjust
4999
5000         * BufferView.C (getEncoding): adjust
5001
5002         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5003
5004 2003-04-16  John Levon  <levon@movementarian.org>
5005
5006         * lyxfind.C: use parlist stuff for search/changes
5007
5008 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5009
5010         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5011
5012         * text2.C (deleteEmptyParagraphMechanism): adjust
5013
5014         * text2.[Ch] (ownerParagraph): delete func (both of them
5015
5016 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5017
5018         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5019
5020 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5021
5022         * ParagraphList.C: prepare for NO_NEXT
5023
5024 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5025
5026         * text2.C (getFont): adjust
5027         (getLayoutFont): adjust
5028         (getLabelFont): adjust
5029
5030         * paragraph.C (getFont): adjust
5031         (getLabelFont): adjust
5032         (getLayoutFont): adjust
5033
5034         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5035
5036 2003-04-15  John Levon  <levon@movementarian.org>
5037
5038         From Angus Leeming
5039
5040         * lyx_main.C: handle Include in .ui files
5041
5042 2003-04-15  John Levon  <levon@movementarian.org>
5043
5044         * MenuBackend.C: make the doc files length shorter
5045
5046         * ToolbarBackend.h:
5047         * ToolbarBackend.C: handle toolbar placement flags,
5048         Minibuffer
5049
5050 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5051
5052         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5053         adjust
5054
5055         * paragraph_funcs.C (TeXOnePar): adjust
5056
5057         * paragraph.C (getLabelFont): add outerfont arg, adjust
5058         (getLayoutFont): ditto
5059         (simpleTeXOnePar): adjust
5060
5061         * paragraph_pimpl.C (realizeFont): delete func
5062
5063 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5066         row argument, constify cur argument.
5067
5068 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5069
5070         * text2.C (getFont): adjust
5071         (getLayoutFont): adjust
5072         (getLabelFont): adjust
5073
5074         * paragraph_funcs.C (TeXOnePar): adjust
5075         (outerFont): new func...
5076         (realizeFont): ...moved out from here, changed this to facilitate
5077         transition
5078
5079         * paragraph.C (getFont): take outerfont as arg, adjust
5080         (simpleTeXOnePar): add outerfont arg, adjust
5081
5082         * buffer.C (simpleLinuxDocOnePar): adjust
5083         (simpleDocBookOnePar): adjust
5084
5085         * CutAndPaste.C (pasteSelection): adjust
5086
5087         * BufferView.C (getEncoding): adjust
5088
5089 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5090
5091         * text2.C (setCharFont): adjust
5092         (setCounter): adjust
5093
5094         * text.C (leftMargin): adjust
5095         (setHeightOfRow): adjust
5096
5097         * rowpainter.C (paintFirst): adjust
5098         (paintLast): adjust
5099
5100         * paragraph_pimpl.C (realizeFont): adjust
5101
5102         * paragraph.C (isFirstInSequence): move from here...
5103         * paragraph_funcs.C (isFirstInSequence): ...to here
5104
5105         * paragraph.C (outerHook): move from here...
5106         * paragraph_funcs.C (outerHook): ...to here
5107
5108         * paragraph.C (depthHook): move from here...
5109         * paragraph_funcs.C (depthHook): ...to here
5110
5111         * paragraph.C (getEndLabel): move from here...
5112         * paragraph_funcs.C (getEndLabel): ...to here
5113
5114         * text2.C (realizeFont): move from here...
5115         * paragraph_funcs.C (realizeFont): ...to here
5116
5117 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5118
5119         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5120
5121 2003-04-14  Angus Leeming  <leeming@lyx.org>
5122
5123         * LColor.[Ch]: scrap LColor mathcursor.
5124
5125 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5126
5127         * lyxlex.[Ch] (text): delete function
5128         * trans.C (Load): adjust
5129         * paragraph_funcs.C (readParToken): adjust
5130
5131 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5132
5133         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5134         vector<char> instead of a char[].
5135
5136         * lyxlex_pimpl.C (getString): adjust
5137         (next): adjust
5138         (lex): use getString
5139         (eatLine): adjust
5140         (nextToken): adjust
5141
5142         * lyxlex.C (text): use pimpl_->getString()
5143         (getBool): ditto
5144         (findToken): ditto
5145
5146 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5147
5148         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5149         (makeFontEntriesLayoutSpecific): temp var for par.size()
5150         (setLayout): temp var for ownerParagraphs().end()
5151         (fullRebreak): temp var for rows().end()
5152         (selectionAsString): temp var for boost::next(startpit), realize
5153         that the while really is a regular for loop.
5154         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5155         setCursor in one place.
5156         (setParagraph): temp vr for ownerParagraphs().end()
5157         (updateCounters): make the while loop a for loop
5158         (cutSelection): temp var for ownerParagraphs().end()
5159         (updateInset): make the do {} while() a regular for loop
5160         (getCursorX): use temp vars
5161         (setCurrentFont): use temp vars
5162         (getColumnNearX): use temp vars
5163
5164 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * text.C (transformChar): use temp var for getChar
5167         (computeBidiTables): use temp var for row->par()
5168         (fill): move temp vars for row->par() and pit->layout() earlier in
5169         the function.
5170         (labelFill): use temp var for row->par()
5171         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5172         asc and desc, realize that pit never changes and that firstpit is
5173         just a duplicate and not needed. Exchange rit->par() with pit in a
5174         lot of places.
5175         (breakAgain): use a temp var for boost::next(rit)
5176         (breakAgainOneRow): ditto
5177         (breakParagraph): use a temp var for rows().begin()
5178         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5179         (cursorRightOneWord): use temp var for cursor.par() and
5180         cursor.pos(), remove usage of tmpcursor.
5181         (cursorLeftOneWord): use temp var for cursor.par() and
5182         cursor.pos() only set cur at end of function.
5183
5184 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5185
5186         * text.C, text2.C: exchange all usage of Paragraph::next with
5187         boost::next(ParagraphList::iterator)
5188
5189         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5190
5191         * text2.C (cursorTop): simplify implementation
5192         (cursorBottom): ditto
5193         (setParagraph): use ParagraphList::iterator
5194         (setCurrentFont): adjust
5195         (getColumnNearX): adjust
5196         (cursorRight): adjust
5197         (cursorLeft): remove usage of Paragraph::previous
5198         (cursorUpParagraph): ditto
5199         (deleteEmptyParagraphMechanism): slight cleanup
5200
5201         * text.C (isBoundary): take a Paragraph const & instead of a
5202         pointer as arg.
5203         (addressBreakPoint): ditto
5204         (leftMargin): remove usage of Paragraph::previous.
5205         (setHeightOfRow): ditto
5206         (cursorLeftOneWord): ditto
5207         (selectNextWordToSpellcheck): ditto
5208         (Delete): ditto
5209         (backspace): ditto
5210         (breakParagraph): remove one usage of Paragraph::next
5211         (redoParagraph): ditto
5212         (acceptChange): ditto
5213         (insertChar): adjust
5214         (rowBreakPoint): adjust
5215
5216         * bufferview_funcs.C (toggleAndShow): adjust
5217
5218 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5219
5220         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5221         methods to access it.
5222         * lyxtext.h:
5223         * text.C: Added updateRowPositions to compute all row positions.
5224         Make top_y and getRowNearY() to use the cached y position
5225
5226 2003-04-11  John Levon  <levon@movementarian.org>
5227
5228         * text.C (rowBreakPoint): reintroduce the labelEnd
5229         checks, code copied from the row fill stuff. Deep voodoo.
5230
5231         * text.C (fill): add a comment and debugging for the
5232         next poor soul.
5233
5234 2003-04-11  John Levon  <levon@movementarian.org>
5235
5236         * text.C: make sure fullrow insets get wrapped to the next line,
5237         even when they're in a manual label
5238
5239 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5240
5241         * text2.C (insertParagraph): make it take ParagraphList::iterator
5242         as arg.
5243         (setLayout): make it return ParagraphList::iterator
5244         (redoParagraphs): ditto
5245         (setCounter): ditto
5246         (checkParagraph): ditto
5247
5248         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5249
5250         * text2.C: adjust several funcs.
5251         (realizeFont): take a ParagraphList::iterator as arg.
5252         (getLayoutFont): ditto
5253         (getLabelFont): ditto
5254         (setCharFont): ditto
5255
5256         * text.C: adjust several funcs.
5257
5258 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5259
5260         * text.C (selectNextWordToSpellcheck): don't accidentally
5261         skip insets
5262
5263 2003-04-10  John Levon  <levon@movementarian.org>
5264
5265         * ToolbarBackend.C (getIcon): special handling for
5266         LFUN_MATH_DELIM
5267
5268 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5269
5270         * text2.C (cursorRight): a getChar assert fixed
5271
5272 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5273
5274         * text2.C (getFont): change to take a ParagraphList::iterator
5275         instead of Paragraph*
5276         Adjust several functions.
5277
5278         * text.C (transformChar): change to take a ParagraphList::iterator
5279         instead of Paragraph*
5280         (singleWidth): ditto
5281         Adjust several functions.
5282
5283         * rowpainter.C: adjust several functions
5284         * rowpainter.h:store a ParagraphList::iterator and not a
5285         Paragraph&.
5286
5287
5288 2003-04-09  John Levon  <levon@movementarian.org>
5289
5290         * lyxfunc.C:
5291         * lfuns.h:
5292         * LyXAction.h:
5293         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5294         and the "help" bits as well
5295
5296 2003-04-09  John Levon  <levon@movementarian.org>
5297
5298         * ToolbarBackend.h:
5299         * ToolbarBackend.C: allow multiple toolbars
5300
5301 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5302
5303         * undo_funcs.C (setCursorParUndo): adjust
5304
5305         * text_funcs.C (transposeChars): adjust
5306
5307         * text3.C (gotoNextInset): adjust
5308         (dispatch): adjust
5309
5310         * text2.C (setLayout): adjust
5311         (changeDepth): adjust
5312         (setFont): adjust
5313         (redoParagraphs): adjust
5314         (selectionAsString): adjust
5315         (setParagraph): adjust
5316         (insertInset): adjust
5317         (cutSelection): adjust
5318         (copySelection): adjust
5319         (pasteSelection): adjust
5320         (insertStringAsLines): adjust
5321         (updateInset): adjust
5322         (setCursor): change to take a ParagraphList::iterator parameter
5323         (setCursorIntern): change to take a ParagraphList::iterator parameter
5324         (setCurrentFont): adjust
5325         (cursorLeft): adjust
5326         (cursorRight): adjust
5327         (deleteEmptyParagraphMechanism): adjust
5328
5329         * text.C (breakParagraph): adjust
5330         (insertChar): adjust
5331         (acceptChange): adjust
5332         (rejectChange): adjust
5333         (selectNextWordToSpellcheck): adjust
5334         (changeCase): adjust
5335         (Delete): adjust
5336         (backspace): adjust
5337
5338         * lyxfind.C (SearchForward): adjust
5339         (SearchBackward): adjust
5340         (nextChange): adjust
5341
5342         * lyxcursor.C (par): adjust
5343
5344         * lyxcursor.h: store a ParagraphList::iterator instead of a
5345         Paragraph*
5346
5347         * lyx_cb.C (getPossibleLabel): adjust
5348
5349         * bufferview_funcs.C (toggleAndShow): adjust
5350
5351         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5352         (dispatch): adjust
5353
5354         * BufferView.C (removeAutoInsets): adjust
5355         (lockedInsetStoreUndo): adjust
5356
5357 2003-04-09  John Levon  <levon@movementarian.org>
5358
5359         * ToolbarBackend.C: try icon without argument
5360         if with argument fails
5361
5362 2003-04-08  John Levon  <levon@movementarian.org>
5363
5364         * ToolbarBackend.h:
5365         * ToolbarBackend.C: add getIcon(), handle tooltip,
5366         and change from "Icon" to "Item".
5367
5368 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5369
5370         * BufferView.C (lockInset): another bad getchar crunched
5371
5372 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5373
5374         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5375         again)
5376
5377 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5378
5379         * lyxfind.C (searchForward, searchBackwards): bug 782
5380
5381 2003-04-07  John Levon  <levon@movementarian.org>
5382
5383         * paragraph.C: remove dead comment
5384
5385         * text.C: remove troublesome depth-fiddling code
5386         in leftMargin() and rightMargin() (bug 1017)
5387
5388         * text.C: fix breaking of rows in nested lists
5389         (bug 1004)
5390
5391         * text2.C (updateCounters): fix up depth values
5392         (bug 1013)
5393
5394 2003-04-07  John Levon  <levon@movementarian.org>
5395
5396         * BufferView_pimpl.C: clear message when doc finishes resizing,
5397         and after a mouse event
5398
5399         * lyxfunc.C: clear message after exiting inset
5400
5401 2003-04-07  John Levon  <levon@movementarian.org>
5402
5403         * bufferview_funcs.C: show math status not outside
5404         status in the statusbar
5405
5406 2003-04-07  John Levon  <levon@movementarian.org>
5407
5408         * lyxfunc.C: note status changed after a depth change
5409
5410 2003-04-04  Angus Leeming  <leeming@lyx.org>
5411
5412         * LaTeX.h: move AuxInfo operator==, != out of line.
5413         Remove LaTeX virtual destructor; nothing derives from it.
5414         Move operator()() out of public area and rename it startscript().
5415         Change protected for private.
5416
5417 2003-04-04  Angus Leeming  <leeming@lyx.org>
5418
5419         * lyxfunc.C:
5420         * text2.C: remove unneeded #includes.
5421
5422 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5423
5424         * text2.C (dEPM): fix the heigth of the next row
5425
5426 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5427
5428         * text.C: squashed an invalid getChar requester + some ws changes
5429
5430 2003-04-03  John Levon  <levon@movementarian.org>
5431
5432         * bufferview_funcs.h:
5433         * bufferview_funcs.C:
5434         * lyxfunc.C:
5435         * lyxtext.h:
5436         * text2.C: make getStatus work for the env depth lfuns
5437
5438 2003-04-03  John Levon  <levon@movementarian.org>
5439
5440         * bufferview_funcs.h:
5441         * bufferview_funcs.C:
5442         * lyxfunc.C:
5443         * lyxtext.h:
5444         * text2.C: parlistize decDepth(), by merging it with incDepth()
5445
5446 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5447
5448         * lyxrow.h: store a ParagraphList::iterator instead of a
5449         Paragraph* and adjust other class functions to suit.
5450
5451         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5452         above.
5453
5454 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5455
5456         * text2.C (setCursor): do not anchor to cursor row for the time being
5457
5458 2003-04-02  John Levon  <levon@movementarian.org>
5459
5460         * LyXAction.C:
5461         * lfuns.h:
5462         * lyx_main.C:
5463         * lyxtext.h:
5464         * text.C:
5465         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5466
5467 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5468
5469         * paragraph.h: make ParagraphList and ParagraphList::iterator
5470         friends of Paragraph.
5471
5472         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5473
5474         * ParagraphList.C: Use the private next_ and previous_ from
5475         Paragraph.
5476
5477 2003-04-01  John Levon  <levon@movementarian.org>
5478
5479         * ToolbarBackend.h:
5480         * ToolbarBackend.C:
5481         * Makefile.am: rename, remove defaults gunk
5482
5483         * MenuBackend.h:
5484         * MenuBackend.C: remove defaults gunk
5485
5486         * Languages.h:
5487         * Languages.C: remove defaults gunk
5488
5489         * lyx_main.h:
5490         * lyx_main.C: error out if files couldn't be found.
5491
5492 2003-04-02  John Levon  <levon@movementarian.org>
5493
5494         * text2.C: make incDepth() use parlist
5495
5496 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * undo_funcs.C (firstUndoParagraph): adjust
5499
5500         * text3.C (gotoInset): adjust
5501         (dispatch): adjust, and rewrite loop.
5502
5503         * text2.C (init): adjust, and rewrite loop.
5504         (redoParagraphs): adjust
5505         (updateInset): adjust, and rewrite loop.
5506         (deleteEmptyParagraphMechanism): adjust
5507
5508         * tabular.C (LyXTabular): adjust
5509         (SetMultiColumn): adjust
5510         (TeXRow): adjust
5511
5512         * lyxtext.[Ch] (ownerParagraph): delete function
5513         (ownerParagraphs): new function returns a ParagraphList.
5514
5515         * BufferView.C (removeAutoInsets): adjust
5516         (insertErrors): adjust
5517         (setCursorFromRow): adjust
5518
5519 2003-04-01  Angus Leeming  <leeming@lyx.org>
5520
5521         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5522         in the frontends.
5523
5524 2003-04-02  John Levon  <levon@movementarian.org>
5525
5526         * lyxtext.h:
5527         * text.C:
5528         * Makefile.am:
5529         * text_funcs.h:
5530         * text_funcs.C: make transposeChars a free function
5531
5532         * lyxrow_funcs.C: remove wrong comment
5533
5534 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5535
5536         * lyxtext.h: adjust
5537         * rowpainter.C: adjust
5538         * text.C: adjust
5539         * text2.C: adjust
5540         * text3.C: adjust
5541
5542         * lyxrow_funcs. [Ch]: new files
5543
5544         * lyxrow.[Ch]: remove next and previous pointers
5545         (next,previous): remove accessor functions
5546         (isParEnd): move to lyxrow_funcs
5547         (lastPos): move to lyxrow_funcs
5548         (nextRowIsAllInset): move to lyxrow_funcs
5549         (lastPrintablePos): move to lyxrow_funcs
5550         (numberOfSeparators): move to lyxrow_funcs
5551         (numberOfHfills): move to lyxrow_funcs
5552         (numberOfLabelHfills): move to lyxrow_funcs
5553         (hfillExpansion): move to lyxrow_funcs
5554
5555         * lyxfunc.C: adjust
5556
5557         * bufferview_funcs.C (toggleAndShow): adjust
5558
5559         * RowList.h: Remove class RowList from file leave just a
5560         std::list<Row>.
5561
5562         * RowList.C: delete file
5563
5564         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5565         and lyxrow_funcs.h
5566
5567 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5568
5569         * text3.C (cursorPrevious): adjust
5570         (cursorNext): adjust
5571         (dispatch): adjust
5572
5573         * text2.C (redoHeightOfParagraph): adjust
5574         (redoDrawingOfParagraph): adjust
5575         (setCursor): adjust
5576
5577         * text.C (breakParagraph): adjust
5578         (insertChar): adjust
5579         (backspace): adjust
5580
5581         * rowpainter.C (RowPainter): adjust
5582         (leftMargin): simplify and adjust
5583         (most rowpainter functions): adjust.
5584
5585         * rowpainter.h: store the row as RowList::iterator not as Row*
5586
5587         * lyxcursor.C (row): taka RowList::iterator as arg
5588         (irow): ditto
5589
5590         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5591         of Row*.
5592
5593 2003-04-01  Angus Leeming  <leeming@lyx.org>
5594
5595         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5596         stuff like bool Bool.
5597
5598 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5599
5600         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5601         rewrite a loop
5602
5603 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5604
5605         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5606         RowList::iterator.
5607
5608         * lyxtext.h (rows): drop one version and leve a const variant that
5609         returns a RowList::iterator.
5610
5611 2003-03-31  Angus Leeming  <leeming@lyx.org>
5612
5613         * text.C (fill): ensure that the signature is the same as that in the
5614         header file.
5615
5616 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5617
5618         * text2.C (redoParagraphs): adjust
5619         (updateCounters): adjust
5620         (checkParagraph): adjust
5621         (getColumnNearX): adjust and reformat a bit.
5622
5623         * text.C (top_y): adjust
5624         (workWidth): adjust
5625         (leftMargin): adjust
5626         (prepareToPrint): adjust
5627         (getRow): adjust
5628         (getRowNearY): adjust
5629
5630         * lyxtext.h: make rowlist_ mutable.
5631
5632         * RowList.h: add const_iterator
5633         * RowList.C: adjust for RowList::const_iterator.
5634
5635         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5636         adjust.
5637
5638 2003-03-31  John Levon  <levon@movementarian.org>
5639
5640         * lyxrc.h:
5641         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5642
5643         * lyx_main.C: set default fonts from using lyx_gui funcs
5644
5645         * exporter.C: pdf_mode moved from lyxrc
5646
5647         * lyx_cb.C:
5648         * lyxfunc.C: changes from above
5649
5650 2003-03-31  John Levon  <levon@movementarian.org>
5651
5652         * lyx_main.C: fix to the last fix
5653
5654 2003-03-31  John Levon  <levon@movementarian.org>
5655
5656         * bufferlist.C: "Load original" -> "Load Original"
5657
5658         * converter.C:
5659         * exporter.C:
5660         * importer.C:
5661         * lyx_main.C:
5662         * format.C: more Alert cleanups
5663
5664 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5665
5666         * text2.C (removeParagraph): make it take a RowList::iterator as
5667         arg, adjust.
5668         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5669         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5670
5671         * text.C (anchor_row): make it take a RowList::iterator as arg,
5672         adjust.
5673         (computeBidiTables): make it take a const reference to Row instead
5674         of Row pointer, adjust.
5675         (leftMargin): make it take a RowList::iterator as arg, adjust.
5676         (rowBreakPoint): adjust
5677         (breakAgainOneRow): make it take a RowList::iterator as arg,
5678         adjust.
5679         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5680
5681         * bufferview_funcs.C (toggleAndShow): adjust
5682
5683 2003-03-30  John Levon  <levon@movementarian.org>
5684
5685         * Makefile.am:
5686         * BoostFormat.h:
5687         * boost-inst.C: moved to support
5688
5689         * several files: changes as a result
5690
5691 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5692
5693         * text2.C (LyXText): adjust.
5694         (init): adjust
5695         (removeRow): make it take a RowList::iterator as arg, adjust.
5696         (fullRebreak): adjust
5697         (deleteEmptyParagraphMechanism): adjust
5698         (clearPaint): adjust
5699         (postPaint): adjust
5700
5701         * text.C (top_y): adjust
5702         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5703         (breakAgain): make it take a RowList::iterator as arg, adjust.
5704         (breakParagraph): adjust
5705         (insertChar): adjust
5706         (backspace): adjust
5707
5708         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5709         need_break_row, and refresh_row.
5710
5711         * text3.C (dispatch): adjust
5712
5713         * text2.C (checkParagraph): adjust
5714         (setCursor): adjust
5715         (setCursorFromCoordinates): adjust
5716
5717         * text.C (top_y): adjust
5718         (workWidth): adjust
5719         (getRow): make it return a RowList::iterator, adjust
5720         (getRowNearY): make it return a RowList::iterator, adjust
5721
5722         * text2.C (init): adjust
5723         (insertRow): remove function
5724         (insertParagraph): adjust
5725         (redoParagraphs): adjust
5726         (fullRebreak): adjust
5727         (updateCounters): adjust
5728
5729         * text.C (top_y): rewrite to use RowList iterators.
5730         (top_y): adjust
5731         (setHeightOfRow): rewrite to sue RowList iterators.
5732         (appendParagraph): adjust
5733         (breakAgain): adjust
5734         (breakAgainOneRow): adjust
5735         (breakParagraph): adjust
5736         (getRow): adjust
5737         (getRowNearY): adjust, and remove commented code.
5738
5739         * lyxtext.h (firstRow): delete function
5740         (lastRow): delete function
5741         (rows): new function (const and non-const versions.)
5742         (insertRow): delete function
5743
5744         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5745
5746 2003-03-29  John Levon  <levon@movementarian.org>
5747
5748         * BufferView_pimpl.C: always update scrollbar top
5749         because pasting text when we're anchored could mean we
5750         miss an update altogether
5751
5752 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5753
5754         * text2.C (init): use rowlist_.end() and not 0.
5755         (insertRow): change to take a RowList::iterator as arg, adjust
5756         for this.
5757         (insertParagraph): change to take a RowList::iterator as arg,
5758         adjust for this.
5759         (redoParagraphs): remove some debug msgs.
5760
5761         * text.C (appendParagraph): change to take a RowList::iterator
5762         arg, adjust for this.
5763         (breakAgain): add an assert
5764         (breakAgainOneRow): ditto
5765
5766 2003-03-29  John Levon  <levon@movementarian.org>
5767
5768         * text2.C: do not clear selection after inc/decDepth
5769         (bug 550)
5770
5771 2003-03-29  John Levon  <levon@movementarian.org>
5772
5773         * BufferView.C:
5774         * buffer.C: fix broken strerrors according to Lars
5775
5776 2003-03-29  John Levon  <levon@movementarian.org>
5777
5778         * converters.C: more Alert cleanups
5779
5780 2003-03-29  John Levon  <levon@movementarian.org>
5781
5782         * bufferview_funcs.C: remove pointless Alert
5783
5784         * buffer.C: fix confusing error message when
5785         a template is chmoded 000
5786
5787 2003-03-29  John Levon  <levon@movementarian.org>
5788
5789         * BufferView.C:
5790         * BufferView.h:
5791         * BufferView_pimpl.C: Alert fixes
5792
5793         * Makefile.am:
5794         * tabular.C:
5795         * tabular-old.C: remove unused table compat reading
5796
5797 2003-03-29  John Levon  <levon@movementarian.org>
5798
5799         * BufferView.C:
5800         * buffer.C:
5801         * lyx_cb.h:
5802         * lyx_cb.C: more Alert cleanups
5803
5804         * lyxfunc.C: don't allow chktex if not latex document
5805
5806 2003-03-29  John Levon  <levon@movementarian.org>
5807
5808         * lyx_cb.C:
5809         * BufferView.C:
5810         * buffer.C: warnings pushed down from support/,
5811         kill err_alert
5812
5813 2003-03-29  John Levon  <levon@movementarian.org>
5814
5815         * lyxfunc.C: safety check for C-r (revert)
5816
5817 2003-03-29  John Levon  <levon@movementarian.org>
5818
5819         * bufferlist.h:
5820         * bufferlist.C: several UI fixes using Alert::prompt.
5821         Fix the pointless looping quit code. Fix stupid revert
5822         behaviour (bug 938)
5823
5824         * lyxvc.h:
5825         * lyxvc.C:
5826         * lyx_cb.C: use Alert::prompt
5827
5828         * lyx_main.C: remove a silly question
5829
5830         * lyxfunc.C: remove a couple of silly questions,
5831         use Alert::prompt
5832
5833 2003-03-28  John Levon  <levon@movementarian.org>
5834
5835         * text2.C: fix bug 974 (End on empty par)
5836
5837 2003-03-28  John Levon  <levon@movementarian.org>
5838
5839         * BufferView_pimpl.C:
5840         * LyXAction.C:
5841         * lfuns.h: remove do-nothing math greek lfuns
5842
5843 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5844
5845         * lyxgluelength.h (isValidGlueLength): add default arg on
5846         parameter 2. Remove default arg from friend in class.
5847
5848         * lyxlength.h (isValidLength): add default arg on parameter 2.
5849         Remove default arg from friend in class.
5850
5851         * text2.C (LyXText): adjust, initialize refresh_row.
5852         (init): adjust
5853         (removeRow): adjust
5854         (insertRow): adjust
5855         (insertParagraph): adjst
5856         (redoParagraphs): adjust
5857         (fullRebreak): adjust
5858         (updateCounters): adjust
5859         (deleteEmptyParagraphMechanism): first attempt at fixing a
5860         crashing bug.
5861
5862         * text.C (top_y): adjust
5863         (setHeightOfRow): adjust
5864         (getRow): adjust
5865         (getRowNearY): adjust
5866
5867         * lyxtext.h: include RowList.h
5868         (~LyXText): not needed anymore, deleted.
5869         (firstRow): modify for RowList
5870         (lastRow): new function
5871         Delete firstrow and lastrow class variables, add a Rowlist
5872         rowlist_ class variable.
5873
5874         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5875         paragraph is empty.
5876
5877         * RowList.C (insert): fix case where it == begin().
5878
5879 2003-03-26  Angus Leeming  <leeming@lyx.org>
5880
5881         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5882         the thesaurus dialog.
5883
5884 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5885
5886         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5887
5888         * RowList.[Ch]: new files
5889
5890         * ParagraphList.C (erase): handle the case where it == begin
5891         correctly.
5892
5893 2003-03-25  John Levon  <levon@movementarian.org>
5894
5895         * Makefile.am:
5896         * aspell_local.h:
5897         * aspell.C: add new aspell support
5898
5899         * lyxrc.h:
5900         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5901         have it accessible.
5902
5903 2003-03-25  Angus Leeming  <leeming@lyx.org>
5904
5905         * lfuns.h:
5906         * LyXAction.C (init): new LFUN_INSET_INSERT.
5907
5908         * BufferView_pimpl.C (dispatch): split out part of the
5909         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5910
5911         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5912         LFUN_INSET_APPLY.
5913
5914 2003-03-25  Angus Leeming  <leeming@lyx.org>
5915
5916         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5917
5918 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5919
5920         * text2.C:
5921         * text3.C: remove useless row->height(0)
5922
5923 2003-03-25  John Levon  <levon@movementarian.org>
5924
5925         * lyxtext.h:
5926         * text2.C:
5927         * text3.C: rename the refreshing stuff to better names
5928
5929 2003-03-24  John Levon  <levon@movementarian.org>
5930
5931         * BufferView_pimpl.h:
5932         * BufferView_pimpl.C: update layout choice on a mouse
5933         press/release
5934
5935 2003-03-23  John Levon  <levon@movementarian.org>
5936
5937         * Makefile.am: fix commandtags.h reference
5938
5939 2003-03-22  John Levon  <levon@movementarian.org>
5940
5941         * BufferView_pimpl.C:
5942         * lyxtext.h:
5943         * rowpainter.C:
5944         * rowpainter.h:
5945         * text.C:
5946         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5947
5948 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5949
5950         * lyxtext.h:
5951         * text.C: take the rtl methods out of line
5952
5953 2003-03-21 André Pönitz <poenitz@gmx.net>
5954
5955         * metricsinfo.[Ch]: new files containing structures to be passed around
5956         during the two-phase-drawing...
5957
5958 2003-03-21 André Pönitz <poenitz@gmx.net>
5959
5960         * lyxtextclass.C: read 'environment' tag.
5961
5962 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5963
5964         * text2.C (removeRow): fix bug 964
5965
5966 2003-03-20  John Levon  <levon@movementarian.org>
5967
5968         * rowpainter.C:
5969         * text.C:
5970         * text2.C: paint cleanups. Inset::update() dropped font
5971         parameter
5972
5973 2003-03-19  John Levon  <levon@movementarian.org>
5974
5975         * lyxfunc.C: only fitcursor/markDirty if available()
5976
5977 2003-03-19  John Levon  <levon@movementarian.org>
5978
5979         * commandtags.h: rename to ...
5980
5981         * lfuns.h: ... this, and renumber / cleanup
5982
5983 2003-03-19  John Levon  <levon@movementarian.org>
5984
5985         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5986         fit the cursor after an lfun
5987
5988         * BufferView.h:
5989         * BufferView.C:
5990         * BufferView_pimpl.h:
5991         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5992
5993         * LyXAction.C: layout-character should have ReadOnly
5994
5995         * ParagraphParameters.C:
5996         * buffer.C:
5997         * bufferview_funcs.C:
5998         * lyx_cb.C:
5999         * lyxfind.C:
6000         * lyxtext.h:
6001         * text.C:
6002         * text2.C:
6003         * text3.C:
6004         * undo_funcs.C: changes from above
6005
6006 2003-03-18  John Levon  <levon@movementarian.org>
6007
6008         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6009         remove it from update()
6010
6011         * lyxfunc.C: update layout choice after an lfun
6012
6013         * text3.C: remove extra updateLayoutChoice()s
6014
6015 2003-03-18  John Levon  <levon@movementarian.org>
6016
6017         * text.C: top_y change means full repaint, fix
6018         a drawing bug with cursor movement
6019
6020 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6021
6022         * lyxtext.h:
6023         * text.C:
6024         * text2.C: anchor row on setCursor
6025
6026 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6027
6028         * lyxtext.h: remove almost all mutable keywords
6029         * text.C:
6030         * text2.C:
6031         * text3.C: remove const keywords accordingly
6032
6033 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6034
6035         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6036         anon namespace
6037         (TeXEnvironment): ditto
6038         (TeXOnePar): ditto
6039
6040 2003-03-17  John Levon  <levon@movementarian.org>
6041
6042         * text.C (rowBreakPoint): remove attempt to fix displayed
6043         math insets inside a manual label
6044
6045 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6046
6047         * lyxtext.h: remove BufferView* as first arg from almost all class
6048         functions.
6049         * other files: adjust.
6050
6051 2003-03-17  John Levon  <levon@movementarian.org>
6052
6053         * lyxtext.h:
6054         * undo_funcs.C:
6055         * text2.C: more paint cleanups
6056
6057         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6058
6059         * rowpainter.h:
6060         * rowpainter.C: remove "smart" background painting code
6061
6062 2003-03-16  John Levon  <levon@movementarian.org>
6063
6064         * lyxtext.h:
6065         * text.C:
6066         * text2.C:
6067         * text3.C: add helper functions for setting refresh_row/y
6068
6069 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6070
6071         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6072         newline inset which *can* get inserted in the pass_thru layouts.
6073         This is primarily for literate documents.
6074
6075 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6076
6077         * buffer.C: increment LYX_FORMAT to 223
6078
6079 2003-03-14 André Pönitz <poenitz@gmx.net>
6080
6081         * textclass.h: prepare for environment handling, ws changes
6082         * lyxlayout.C: read latexheader and latexfooter tags
6083
6084 2003-03-14  John Levon  <levon@movementarian.org>
6085
6086         * text2.C: rewrite ::status() a bit
6087
6088 2003-03-13  John Levon  <levon@movementarian.org>
6089
6090         * lyxtext.h: add some docs
6091
6092 2003-03-13  John Levon  <levon@movementarian.org>
6093
6094         * lyxtext.h:
6095         * text.C:
6096         * text2.C:
6097         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6098
6099 2003-03-13  John Levon  <levon@movementarian.org>
6100
6101         * text3.C: fix appendix redrawing
6102
6103 2003-03-13  John Levon  <levon@movementarian.org>
6104
6105         * text.C (setHeightOfRow):
6106         * rowpainter.h:
6107         * rowpainter.C: make appendix mark have the text
6108           "Appendix" so the user knows what it is
6109
6110         * LColor.h:
6111         * LColor.C: s/appendixline/appendix/ from above
6112
6113 2003-03-13  John Levon  <levon@movementarian.org>
6114
6115         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6116
6117         * text.C: fix a getChar(pos) bug properly
6118
6119 2003-03-13  Angus Leeming  <leeming@lyx.org>
6120
6121         * commandtags.h:
6122         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6123         Probably only temporary. Let's see how things pan out.
6124
6125         * BufferView.C (unlockInset):
6126         * BufferView_pimpl.C (fitCursor):
6127         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6128
6129         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6130         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6131
6132         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6133         new functions that convert ParagraphParameters to and from a string.
6134
6135         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6136         BufferView::Pimpl's dispatch.
6137         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6138
6139 2003-03-13 André Pönitz <poenitz@gmx.net>
6140
6141         * lyxfunc.C:
6142         * text3.C:
6143         * factory.C: make it aware of InsetEnv
6144
6145 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6146
6147         * text2.C (setCursor): never ask for one past last
6148         (setCursor): add some debugging messages.
6149
6150         * text.C (singleWidth): never ask for one past last
6151         (singleWidth): ditto
6152         (leftMargin): ditto
6153         (rightMargin): ditto
6154         (rowBreakPoint): ditto
6155         (setHeightOfRow): ditto
6156         (prepareToPrint): ditto
6157
6158         * rowpainter.C (paintBackground): never ask for one past last
6159         (paintText): never ask for one past last
6160
6161         * paragraph_pimpl.C (getChar): make the assert stricter, never
6162         allow the one past last pos to be taken
6163
6164         * paragraph.C (getChar): ws changes only
6165
6166         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6167         (numberOfSeparators): ditto
6168         (numberOfHfills): ditto
6169
6170 2003-03-12  John Levon  <levon@movementarian.org>
6171
6172         * author.h:
6173         * author.C:
6174         * bufferparams.h:
6175         * bufferparams.C:
6176         * paragraph_funcs.C: fix per-buffer authorlists
6177
6178 2003-03-12  John Levon  <levon@movementarian.org>
6179
6180         * text.C: fix newline in right address
6181
6182 2003-03-12  Angus Leeming  <leeming@lyx.org>
6183
6184         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6185         duplicate those in LyXFunc::dispatch.
6186
6187         * commandtags.h:
6188         * LyXAction.C:
6189         * ToolbarDefaults.C:
6190         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6191         Add LFUN_FONTFREE_UPDATE.
6192
6193         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6194         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6195
6196         * bufferview_func.[Ch]: several new functions to facilliate
6197         transfer of data to and from the character dialog.
6198
6199 2003-03-12  John Levon  <levon@movementarian.org>
6200
6201         * buffer.C:
6202         * paragraph.h:
6203         * paragraph.C:
6204         * paragraph_funcs.C:
6205         * paragraph_pimpl.C:
6206         * sgml.C:
6207         * tabular.C:
6208         * text.C:
6209         * text3.C: remove META_NEWLINE in favour of an inset
6210
6211         * rowpainter.h:
6212         * rowpainter.C: remove paintNewline (done by inset)
6213
6214 2003-03-12  John Levon  <levon@movementarian.org>
6215
6216         * paragraph_pimpl.C: complain about bad getChar()s
6217         for a while at least
6218
6219 2003-03-12  John Levon  <levon@movementarian.org>
6220
6221         * buffer.h:
6222         * buffer.C: move paragraph read into a separate function,
6223         a little renaming to reflect that.
6224
6225         * bufferparams.h:
6226         * bufferparams.C: remove the author_ids map, not necessary now
6227
6228         * factory.h:
6229         * factory.C: moved Buffer::readInset to here
6230
6231         * paragraph_funcs.h:
6232         * paragraph_funcs.C: readParagraph free function moved from
6233         buffer.C
6234
6235         * tabular.C: name change
6236
6237 2003-03-12  John Levon  <levon@movementarian.org>
6238
6239         * buffer.C:
6240         * ParagraphParameters.C: move par params input to
6241         a read() method
6242
6243         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6244         behave like a normal read from the stream wrt reading
6245         a line vs. a \\token
6246
6247 2003-03-12  John Levon  <levon@movementarian.org>
6248
6249         * paragraph.C:
6250         * ParagraphParameters.h:
6251         * ParagraphParameters.C: move output code to a
6252         ::write() method
6253
6254 2003-03-12  John Levon  <levon@movementarian.org>
6255
6256         * BufferView.C (insertLyXFile):
6257         * buffer.h:
6258         * buffer.C:
6259         * tabular.C: use a parlist iterator for creating the
6260           document.
6261
6262 2003-03-12  John Levon  <levon@movementarian.org>
6263
6264         * buffer.C: make current_change static local not
6265           static file-scope
6266
6267 2003-03-12  John Levon  <levon@movementarian.org>
6268
6269         * buffer.C: fix insertStringAsLines for change tracking
6270
6271 2003-03-12  John Levon  <levon@movementarian.org>
6272
6273         * BufferView.C:
6274         * tabular.C:
6275         * buffer.h:
6276         * buffer.C:
6277         * bufferparams.h:
6278         * bufferparams.C: move author list into params. Rename some
6279           functions. Move the header reading into a separate token
6280           loop. Move the header token reading into BufferParams.
6281
6282 2003-03-12  John Levon  <levon@movementarian.org>
6283
6284         * changes.C: put debug inside lyxerr.debugging() checks
6285
6286 2003-03-11 André Pönitz <poenitz@gmx.net>
6287
6288         * factory.C: make it aware of InsetHFill
6289
6290 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6291
6292         * buffer.C (latexParagraphs): move function from here...
6293         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6294         args.
6295
6296 2003-03-10  Angus Leeming  <leeming@lyx.org>
6297
6298         * LyXAction.C (init): fix bug in poplating array with multiple entries
6299         with the same LFUN (spotted by JMarc).
6300
6301 2003-03-10  John Levon  <levon@movementarian.org>
6302
6303         * text.C:
6304         * text2.C: move getColumnNearX() near its
6305         only call site
6306
6307 2003-03-10  John Levon  <levon@movementarian.org>
6308
6309         * text.C: fix break before a minipage
6310
6311 2003-03-10  John Levon  <levon@movementarian.org>
6312
6313         * text.C: fix the last commit
6314
6315 2003-03-09  John Levon  <levon@movementarian.org>
6316
6317         * lyxtext.h:
6318         * text.C:
6319         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6320         bug 365 (don't break before insets unless needed). Don't
6321         return a value > last under any circumstances.
6322
6323 2003-03-09  Angus Leeming  <leeming@lyx.org>
6324
6325         * BufferView_pimpl.C (trackChanges, dispatch): call
6326         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6327
6328 2003-03-09  Angus Leeming  <leeming@lyx.org>
6329
6330         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6331         than Dialogs::showAboutlyx().
6332
6333 2003-03-09  Angus Leeming  <leeming@lyx.org>
6334
6335         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6336         than Dialogs::showTabularCreate().
6337
6338 2003-03-09  John Levon  <levon@movementarian.org>
6339
6340         * lyxtext.h:
6341         * text.C:
6342         * text2.C: 3rd arg to nextBreakPoint was always the same.
6343           Use references.
6344
6345 2003-03-08  John Levon  <levon@movementarian.org>
6346
6347         * lyxrow.C:
6348         * paragraph.C:
6349         * paragraph.h:
6350         * rowpainter.C:
6351         * text.C:
6352         * text2.C: Remove the "main" bit from the "main body"
6353           notion.
6354
6355 2003-03-08  John Levon  <levon@movementarian.org>
6356
6357         * text.C (leftMargin): The left margin of an empty
6358         manual label paragraph should not include the label width
6359         string length.
6360
6361         * text.C (prepareToPrint): don't attempt to measure hfills
6362         for empty manual label paragraphs - the answer should be 0
6363
6364 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6365
6366         * CutAndPaste.C: remove commented code and reindent.
6367
6368 2003-03-08  John Levon  <levon@movementarian.org>
6369
6370         * lyxfunc.h:
6371         * lyxfunc.C: move reloadBuffer()
6372
6373         * BufferView.h:
6374         * BufferView.C: to here
6375
6376         * lyxvc.C: add comment
6377
6378         * vc-backend.h:
6379         * vc-backend.C: call bv->reload() to avoid
6380           getStatus() check on MENURELOAD
6381
6382 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6383
6384         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6385         to an old format .dep file.
6386
6387 2003-03-07  Angus Leeming  <leeming@lyx.org>
6388
6389         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6390         when the LFUN_MOUSE_RELEASE should have been handled by
6391         inset->localDispatch.
6392
6393 2003-03-07  Angus Leeming  <leeming@lyx.org>
6394
6395         * BufferView_pimpl.C (dispatch):
6396         * LyXAction.C (init):
6397         * ToolbarDefaults.C (init):
6398         * commandtags.h:
6399         * lyxfunc.C (getStatus):
6400         remove LFUN_INSET_GRAPHICS.
6401
6402         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6403
6404 2003-03-07  Angus Leeming  <leeming@lyx.org>
6405
6406         * commandtags.h:
6407         * LyXAction.C (init):
6408         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6409
6410         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6411
6412         * commandtags.h:
6413         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6414
6415         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6416         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6417
6418 2003-03-07  Angus Leeming  <leeming@lyx.org>
6419
6420         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6421         remove "ert".
6422
6423 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6424
6425         * ParagraphList.C (front): new function
6426         (back): implement
6427
6428 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6429
6430         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6431         and top_row_offset_. removed var first_y.
6432         * text.C (top_y):
6433         * text2.C (LyXText, removeRow):
6434         * text3.C:
6435         * BufferView_pimpl.C:
6436         use these methods instead of using first_y
6437
6438 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6439
6440         * text2.C (pasteSelection): adjust for checkPastePossible
6441
6442         * CutAndPaste.C: remove Paragraph * buf and replace with
6443         ParagraphList paragraphs.
6444         (DeleteBuffer): delete
6445         (cutSelection): change the tc type to textclass_type
6446         (copySelection): change the tc type to textclass_type
6447         (copySelection): adjust for ParagraphList
6448         (pasteSelection): change the tc type to textclass_type
6449         (pasteSelection): adjust for Paragraphlist
6450         (nrOfParagraphs): simplify for ParagraphList
6451         (checkPastePossible): simplify for ParagraphList
6452         (checkPastePossible): remove unused arg
6453
6454         * ParagraphList.C (insert): handle the case where there are no
6455         paragraphs yet.
6456
6457         * CutAndPaste.h: make CutAndPaste a namespace.
6458
6459         * text3.C (dispatch): adjust
6460
6461         * text.C (breakParagraph): add a ParagraphList as arg
6462
6463         * paragraph_funcs.C (breakParagraph): change to take a
6464         BufferParams and a ParagraphList as args.
6465         (breakParagraphConservative): ditto
6466         (mergeParagraph): ditto
6467         (TeXDeeper): add a ParagraphList arg
6468         (TeXEnvironment): ditto
6469         (TeXOnePar): ditto
6470
6471         * buffer.C (readLyXformat2): adjust
6472         (insertStringAsLines): adjust
6473         (latexParagraphs): adjust
6474
6475         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6476         (cutSelection): adjust
6477         (pasteSelection): adjust
6478
6479         * BufferView_pimpl.C (insertInset): adjust
6480
6481 2003-03-05  Angus Leeming  <leeming@lyx.org>
6482
6483         * commandtags.h:
6484         * LyXAction.C (init):
6485         * BufferView_pimpl.C (dispatch):
6486         * lyxfunc.C (getStatus):
6487         remove LFUN_CHILD_INSERT.
6488
6489         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6490
6491 2003-03-05  Angus Leeming  <leeming@lyx.org>
6492
6493         * commandtags.h:
6494         * LyXAction.C (init):
6495         * src/factory.C (createInset):
6496         * lyxfunc.C (getStatus):
6497         * text3.C (dispatch):
6498         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6499
6500         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6501
6502 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6503
6504         * ParagraphList.C (insert): handle insert right before end()
6505         (erase): fix cases where it can be first or last paragraph.
6506
6507 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6508
6509         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6510         Paragraph::next and Paragraph::previous
6511         (TeXOnePar): ditto
6512
6513         * text.C (breakParagraph): adjust
6514
6515         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6516         BufferParams& as arg.
6517         (breakParagraph): use ParagraphList::insert
6518         (breakParagraphConservative): take a Buffer* instead of a
6519         BufferParams& as arg.
6520         (breakParagraphConservative): use ParagraphList::insert.
6521
6522         * buffer.C (insertStringAsLines): un-const it
6523         (insertStringAsLines): adjust
6524
6525         * ParagraphList.C (insert): new function
6526
6527         * CutAndPaste.C (pasteSelection): adjust
6528
6529         * text.C (backspace): adjust
6530
6531         * tabular.C (SetMultiColumn): adjust
6532
6533         * CutAndPaste.C (cutSelection): adjust
6534         (pasteSelection): adjust
6535
6536         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6537         Buffer const * as arg
6538
6539         * ParagraphList.C (erase): new function
6540         * paragraph_funcs.C (mergeParagraph): use it
6541         (mergeParagraph): make it take a Buffer* instead of a
6542         BufferParams* as arg
6543
6544         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6545         as arg
6546         (breakParagraphConservative): ditto
6547
6548         * paragraph.h: remove the breakParagraph friend
6549
6550         * paragraph.C (eraseIntern): new function
6551         (setChange): new function
6552
6553         * paragraph_funcs.C (mergeParagraph): make it take a
6554         ParagraphList::iterator instead of a Paragraph *, adjust
6555         accordingly.
6556
6557         * paragraph.h: move an #endif so that the change tracking stuff
6558         also works in the NO_NEXT case.
6559
6560 2003-03-04  Angus Leeming  <leeming@lyx.org>
6561
6562         * commandtags.h:
6563         * LyXAction.C: new LFUN_INSET_MODIFY.
6564
6565         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6566         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6567
6568 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6569
6570         * several files: ws changes only
6571
6572         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6573         (TeXEnvironment): ditto
6574         (TeXDeeper): ditto
6575
6576         * buffer.C (makeLaTeXFile): adjust
6577         (latexParagraphs): make it take ParagraphList::iterator as args
6578
6579 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6580
6581         * buffer.C (latexParagraphs): adjust
6582
6583         * paragraph.C (TeXOnePar): move function...
6584         (optArgInset): move function...
6585         (TeXEnvironment): move function...
6586         * paragraph_pimpl.C (TeXDeeper): move function...
6587         * paragraph_funcs.C: ...here
6588
6589         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6590
6591 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6592
6593         * buffer.C (readInset): remove compability code for old Figure and
6594         InsetInfo insets
6595
6596 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6597
6598         * buffer.C: ws changes
6599         (readInset):
6600
6601         * BufferView_pimpl.C: ditto
6602         * author.C: ditto
6603         * buffer.h: ditto
6604         * bufferlist.h: ditto
6605         * changes.h: ditto
6606         * lyxfunc.C: ditto
6607
6608 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6609
6610         * converter.[Ch]: split into itself +
6611         * graph.[Ch]
6612         * format.[Ch]
6613         * Makefile.am: += graph.[Ch] + format.[Ch]
6614         * MenuBackend.C
6615         * buffer.C
6616         * exporter.C
6617         * importer.C
6618         * lyx_main.C
6619         * lyxfunc.C
6620         * lyxrc.C: added #include "format.h"
6621
6622 2003-02-27  Angus Leeming  <leeming@lyx.org>
6623
6624         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6625           a label.
6626
6627         * factory.C (createInset): add "label" to the factory.
6628
6629         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6630           string and do no more.
6631
6632 2003-02-27  Angus Leeming  <leeming@lyx.org>
6633
6634         * commandtags.h:
6635         * LyXAction.C (init):
6636         * factory.C (createInset):
6637         * BufferView_pimpl.C (dispatch):
6638           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6639
6640         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6641
6642         * lyxfunc.C (dispatch):
6643         * text3.C (dispatch): pass name to params2string.
6644
6645 2003-02-26  Angus Leeming  <leeming@lyx.org>
6646
6647         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6648           blocks together.
6649           Rearrange the ~includes. Strip out the unnecessary ones.
6650
6651         * factory.C (createInset): reformat.
6652           create new insets for the various LFUN_XYZ_APPLY lfuns.
6653
6654 2003-02-26  John Levon  <levon@movementarian.org>
6655
6656         * lyxrow.h:
6657         * lyxrow.C: add isParStart,isParEnd helpers
6658
6659         * paragraph.h: make isInserted/DeletedText take refs
6660
6661         * paragraph_funcs.h:
6662         * paragraph_funcs.C: remove #if 0'd code
6663
6664         * lyxtext.h:
6665         * text3.C:
6666         * text2.C:
6667         * text.C: use lyxrow helpers above.
6668           Move draw and paint routines to RowPainter.
6669           Make several methods use refs not pointers.
6670           Make backgroundColor() const.
6671           Add markChangeInDraw(), isInInset().
6672           Merge changeRegionCase into changeCase.
6673           Make workWidth() shouldn't-happen code into an Assert.
6674
6675         * rowpainter.h:
6676         * rowpainter.C: new class for painting a row.
6677
6678         * vspace.h:
6679         * vspace.C: make inPixels take a ref
6680
6681 2003-02-26  Angus Leeming  <leeming@lyx.org>
6682
6683         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6684         LFUN_REF_APPLY.
6685
6686 2003-02-25  John Levon  <levon@movementarian.org>
6687
6688         * ispell.C: give the forked command a more accurate name
6689
6690 2003-02-22  John Levon  <levon@movementarian.org>
6691
6692         * toc.h:
6693         * toc.C: make TocItem store an id not a Paragraph *
6694           (bug #913)
6695
6696 2003-02-21  Angus Leeming  <leeming@lyx.org>
6697
6698         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6699           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6700           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6701           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6702           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6703           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6704
6705         * BufferView_pimpl.C (dispatch):
6706         * LyXAction.C (init):
6707         * factory.C (createInset):
6708         * lyxfunc.C (getStatus, dispatch):
6709         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6710
6711 2003-02-21  Angus Leeming  <leeming@lyx.org>
6712
6713         * BufferView_pimpl.C (MenuInsertLyXFile):
6714         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6715         * lyxfunc.C (menuNew, open, doImport):
6716           no longer pass a LyXView & to fileDlg.
6717
6718 2003-02-21  Angus Leeming  <leeming@lyx.org>
6719
6720         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6721         * LyXAction.C: change, BIBKEY to BIBITEM.
6722         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6723         Change InsetBibKey to InsetBibitem.
6724         Change BIBKEY_CODE to BIBITEM_CODE.
6725         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6726         * factory.C: replace insetbib.h with insetbibitem.h.
6727         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6728         * paragraph.C: replace insetbib.h with insetbibitem.h.
6729         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6730         Change bibkey() to bibitem().
6731         * text.C: remove insetbib.h.
6732         * text2.C: replace insetbib.h with insetbibitem.h.
6733         change bibkey() to bibitem().
6734         * text3.C: remove insetbib.h.
6735         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6736
6737 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6738
6739         * lyxrc.C (output): enclose user email in quotes (in case there are
6740         several words)
6741
6742 2003-02-18  John Levon  <levon@movementarian.org>
6743
6744         * buffer.h: add std::
6745
6746 2003-02-17  John Levon  <levon@movementarian.org>
6747
6748         * SpellBase.h:
6749         * ispell.h:
6750         * ispell.C:
6751         * pspell.h:
6752         * pspell.C: reworking. Especially in ispell, a large
6753           number of clean ups and bug fixes.
6754
6755         * lyxfunc.C: fix revert to behave sensibly
6756
6757 2003-02-17 André Pönitz <poenitz@gmx.net>
6758
6759         * LyXAction.C:
6760         * commandtags.h: new LFUN_INSERT_BIBKEY
6761
6762         * layout.h:
6763         * lyxlayout.C:
6764         * buffer.C:
6765         * factory.C:
6766         * text.C:
6767         * text2.C:
6768         * text3.C:
6769         * paragraph.[Ch]:
6770         * paragraph_func.C: remove special bibkey handling
6771
6772 2003-02-17  John Levon  <levon@movementarian.org>
6773
6774         * text.C (Delete): fix case where delete at the end of
6775           the very first paragraph would not merge the pars
6776
6777 2003-02-17  John Levon  <levon@movementarian.org>
6778
6779         * lyxrow.C: fix lastPrintablePos()
6780
6781 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6782
6783         * bufferparams.C (writeLaTeX): add a std:here
6784
6785         * buffer.C: and remove a using directive there
6786
6787 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6788
6789         * buffer.C (makeLaTeXFile): move the code that generates the
6790           preamble...
6791
6792         * bufferparams.C (writeLaTeX): ... in this new method
6793
6794         * LaTeXFeatures.C (getEncodingSet): make const
6795           (getLanguages): make const
6796
6797         * MenuBackend.C (binding): returns the binding associated to this
6798           action
6799           (add): sets the status of each item by calling getStatus. Adds
6800           some intelligence.
6801           (read): add support for OptSubMenu
6802           (expand): remove extra separator at the end of expanded menu
6803
6804 2003-02-15  John Levon  <levon@movementarian.org>
6805
6806         * BufferView.C:
6807         * BufferView_pimpl.C:
6808         * bufferlist.h:
6809         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6810           inset code that had no actual effect. Remove unneeded status
6811           code.
6812
6813 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6814
6815         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6816           in preamble
6817
6818 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6819
6820         * text.C (drawLengthMarker): also draw an arrow marker for
6821           symbolic lengths (medskip...)
6822
6823 2003-02-14  John Levon  <levon@movementarian.org>
6824
6825         * tabular.h:
6826         * tabular.C: better method names
6827
6828 2003-02-14  John Levon  <levon@movementarian.org>
6829
6830         * BufferView_pimpl.C:
6831         * bufferlist.C:
6832         * buffer.C:
6833         * converter.C:
6834         * lyx_cb.C:
6835         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6836           it's a more accurate name. Remove some pointless uses.
6837
6838 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6839
6840         * text2.C (LyXText): change order of initilizers to shut off
6841           warnings
6842
6843 2003-02-14  John Levon  <levon@movementarian.org>
6844
6845         * buffer.C: use ParIterator for getParFromID()
6846
6847         * paragraph.h:
6848         * paragraph.C:
6849         * paragraph_pimpl.h:
6850         * paragraph_pimpl.C: remove unused getParFromID()
6851
6852 2003-02-14  John Levon  <levon@movementarian.org>
6853
6854         * buffer.C: remove some very old #if 0'd parse code
6855
6856 2003-02-13  John Levon  <levon@movementarian.org>
6857
6858         * text.h:
6859         * text.C:
6860         * text2.C: move hfillExpansion(), numberOfSeparators(),
6861           rowLast(), rowLastPrintable(), numberofHfills(),
6862           numberOfLabelHfills() ...
6863
6864         * lyxrow.h:
6865         * lyxrow.C: ... to member functions here.
6866
6867         * paragraph.h:
6868         * paragraph.C:
6869         * lyxtext.h:
6870         * text.C: remove LyXText::beginningOfMainBody(), and call
6871           p->beginningOfMainBody() directly. Move the check for
6872           LABEL_MANUAL into the latter.
6873
6874         * text.h:
6875         * text.C:
6876         * text2.C:
6877         * vspace.C:
6878         * BufferView.h:
6879         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6880
6881         * text.h:
6882         * text.C:
6883         * text2.C:
6884         * text3.C:
6885         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6886           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6887
6888 2003-02-13  John Levon  <levon@movementarian.org>
6889
6890         * CutAndPaste.C: remove debug
6891
6892 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6893
6894         * paragraph.C (asString): remove two unused variables
6895
6896         * lyxtextclass.C (readTitleType):
6897           (Read):
6898           (LyXTextClass): handle new members titletype_ and titlename_
6899
6900         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6901
6902 2003-02-09  John Levon  <levon@movementarian.org>
6903
6904         * buffer.h:
6905         * buffer.C: replace hand-coded list with a map for the dep clean
6906
6907 2003-02-08  John Levon  <levon@movementarian.org>
6908
6909         * LaTeX.C: consolidate code into showRunMessage() helper
6910
6911 2003-02-08  John Levon  <levon@movementarian.org>
6912
6913         * lyxfind.C:
6914         * lyxtext.h:
6915         * text2.C:
6916         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6917           and pass the size in explicitly
6918
6919         * BufferView_pimpl.h:
6920         * BufferView_pimpl.C:
6921         * BufferView.h:
6922         * BufferView.C: add getCurrentChange()
6923
6924         * BufferView_pimpl.h:
6925         * BufferView_pimpl.C: handle change lfuns
6926
6927         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6928           for changes. Mark pasted paragraphs as new.
6929
6930         * support/lyxtime.h:
6931         * support/lyxtime.C:
6932         * DepTable.C: abstract time_t as lyx::time_type
6933
6934         * LColor.h:
6935         * LColor.C: add colours for new text, deleted text, changebars
6936
6937         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6938           package use "usenames" option.
6939
6940         * commandtags.h:
6941         * lyxfunc.C:
6942         * LyXAction.C: add change lfuns
6943
6944         * Makefile.am:
6945         * author.h:
6946         * author.C: author handling
6947
6948         * buffer.h:
6949         * buffer.C: add a per-buffer author list, with first entry as
6950           current author. Handle new .lyx tokens for change tracking. Output
6951           author list to .lyx file. Output dvipost stuff to .tex preamble.
6952           Bump lyx format to 222.
6953
6954         * bufferlist.h:
6955         * bufferlist.C: add setCurrentAuthor() to reset current author details
6956           in all buffers.
6957
6958         * bufferparams.h:
6959         * bufferparams.C: add param for tracking
6960
6961         * bufferview_funcs.C: output change info in minibuffer
6962
6963         * Makefile.am:
6964         * changes.h:
6965         * changes.C: add change-tracking structure
6966
6967         * debug.h:
6968         * debug.C: add CHANGES debug flag
6969
6970         * lyxfind.h:
6971         * lyxfind.C: add code for finding the next change piece
6972
6973         * lyxrc.h:
6974         * lyxrc.C: add user_name and user_email
6975
6976         * lyxrow.h:
6977         * lyxrow.C: add a metric for the top of the text line
6978
6979         * lyxtext.h:
6980         * text.C: implement accept/rejectChange()
6981
6982         * lyxtext.h:
6983         * text.C: paint changebars. Paint new/deleted text in the chosen
6984         colours. Strike through deleted text.
6985
6986         * paragraph.h:
6987         * paragraph.C:
6988         * paragraph_pimpl.h:
6989         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6990           in the current change to the insert functions. Rework erase to
6991           mark text as deleted, adding an eraseIntern() and a range-based
6992           erase(). Implement per-paragraph change lookup and
6993           accept/reject.
6994
6995         * paragraph_funcs.C: Fixup paste for change tracking.
6996
6997         * tabular.C: mark added row/columns as new.
6998
6999         * text.C: fix rowLast() to never return -1. Don't allow
7000           spellchecking of deleted text. Track transpose changes. Don't
7001           allow paragraph break or merge where appropriate.
7002
7003         * text2.C: leave cursor at end of selection after a cut.
7004
7005 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7006
7007         * text.C (getLengthMarkerHeight):
7008         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7009         visible on screen too.
7010
7011 2003-02-07  John Levon  <levon@movementarian.org>
7012
7013         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7014
7015 2003-02-05  Angus Leeming  <leeming@lyx.org>
7016
7017         * lyxserver.C (read_ready): revert my patch of 11 September last year
7018         as it sends PC cpu through the roof. Presumably this means that
7019         the lyxserver will no longer run on an Alpha...
7020
7021 2003-01-30  Angus Leeming  <leeming@lyx.org>
7022
7023         * factory.C (createInset): create an InsetCommandParam of type "index"
7024         and use it to 'do the right thing'.
7025
7026         * text2.C (getStringToIndex): ensure that cursor position is always
7027         reset to the reset_cursor position.
7028
7029 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7030
7031         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7032         disabled.
7033
7034 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7035
7036         * bufferview.C:
7037         * lyxcb.C:
7038         * lyxfunc.C: Output messages with identical spelling, punctuation,
7039         and spaces
7040
7041 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7042
7043         * MenuBackend.C (expandFormats): List only viewable export formats
7044         in "View" menu
7045
7046         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7047         message
7048
7049         * lyxfunc.C (getStatus): Make sure that formats other than
7050         "fax" can also be disabled
7051
7052 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7053
7054         * text3.C (dispatch): put the lfuns that insert insets in 3
7055         groups, and call doInsertInset with appropriate arguments.
7056         (doInsertInset): new function, that creates an inset and inserts
7057         it according to some boolean parameters.
7058
7059 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7060
7061         * buffer.C (readFile): remember to pass on 'par' when calling
7062         readFile recursively.
7063
7064 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7065
7066         * MenuBackend.C (expandFormats): add "..." to import formats.
7067
7068 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7069
7070         * paragraph.C (asString): Remove XForms RTL hacks.
7071
7072 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7073         * buffer.C: fix typo
7074
7075 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7076
7077         * Makefile.am (LIBS): delete var
7078         (lyx_LDADD): add @LIBS@ here instead.
7079
7080 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7081
7082         * Clarify the meaning of "wheel mouse jump"
7083
7084 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7085
7086         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7087         tabular in a float
7088
7089 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7090
7091         * importer.C (Loaders): do not preallocate 3 elements in the
7092         vector, since one ends up with 6 elements otherwise
7093
7094 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7095
7096         * DepTable.C (write): write the file name as last element of the
7097         .dep file (because it may contain spaces)
7098         (read): read info in the right order
7099
7100 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7101
7102         * paragraph_pimpl.C (simpleTeXBlanks):
7103         (simpleTeXSpecialChars):
7104         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7105
7106         * tabular.C (latex): add some missing case statements. Reindent.
7107
7108         * MenuBackend.C (expandToc): remove unused variable.
7109
7110 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7111
7112         * LColor.C:
7113         * LaTeX.C:
7114         * LyXAction.C:
7115         * MenuBackend.C:
7116         * buffer.C:
7117         * exporter.C:
7118         * lyxfunc.C:
7119         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7120         and the like.
7121
7122 2003-01-05  John Levon  <levon@movementarian.org>
7123
7124         * BufferView.h:
7125         * BufferView.C: add getEncoding()
7126
7127         * kbsequence.h:
7128         * kbsequence.C: do not store last keypress
7129
7130         * lyxfunc.h:
7131         * lyxfunc.C: store last keypress here instead. Pass encoding
7132           to getISOEncoded()
7133
7134 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7135
7136         * lyx_main.C (init): remove annoying error message when following
7137         symbolic links (bug #780)
7138
7139 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7140
7141         * text.C (insertChar):
7142         * lyxrc.C (getDescription): remove extra spaces
7143
7144 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7145
7146         * lyxrc.C (getDescription): remove extra spaces
7147
7148 2002-12-20  John Levon  <levon@movementarian.org>
7149
7150         * text3.C: hack fix for page up/down across tall rows
7151
7152 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7153
7154         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7155         not been invoked
7156
7157 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7158
7159         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7160         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7161         thesaurus is not compiled in
7162
7163 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7164
7165         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7166
7167 2002-12-16  Angus Leeming  <leeming@lyx.org>
7168
7169         * lyxrc.[Ch]:
7170         * lyx_main.C (init): remove override_x_deadkeys stuff.
7171
7172 2002-12-12  John Levon  <levon@movementarian.org>
7173
7174         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7175           insert. Only remove shift modifier under strict
7176           circumstances.
7177
7178 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7179
7180         * MenuBackend.C (expandToc): fix crash.
7181
7182 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7183
7184         * MenuBackend.C (expandToc): gettext on float names.
7185
7186 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7187
7188         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7189         implement bool empty() [bug 490]
7190
7191 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7192
7193         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7194
7195 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * several files: ws changes
7198
7199 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7200
7201         * text2.C (setCounter): clean up a bit, use boost.format.
7202         (updateCounters): initialize par upon declaration.
7203
7204         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7205         if the layout exists. We do not just store the layout any more.
7206         (SwitchLayoutsBetweenClasses): use boost.format
7207
7208 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7209
7210         * converter.C (convert): if from and to files are the same, use a
7211         temporary files as intermediary
7212
7213 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7214
7215         * commandtags.h:
7216         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7217
7218 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7219
7220         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7221
7222 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7223
7224         * tabular.C (asciiPrintCell): use string(size, char) instead of
7225         explicit loop.
7226
7227         * sgml.C (openTag): fix order of arguments to string constructor
7228         (closeTag): ditto
7229
7230         * lyxfunc.C (dispatch): use boost.format
7231
7232         * lots of files: change "c" -> 'c'
7233
7234 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7235
7236         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7237
7238 2002-11-25  Angus Leeming  <leeming@lyx.org>
7239
7240         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7241
7242         * lyx_main.C (init): compile fix.
7243
7244 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7245
7246         * lyx_cb.C (start): boost.formatify
7247         do not include <iostream>
7248
7249         * lengthcommon.C: ws only
7250
7251         * boost-inst.C,BoostFormat.h: add more explict instantations
7252
7253 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7254
7255         * lots of files: handle USE_BOOST_FORMAT
7256
7257 2002-11-21  John Levon  <levon@movementarian.org>
7258
7259         * pspell.C: fix compile
7260
7261 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7262
7263         * lyxfunc.C (dispatch): use boost::format
7264         (open): ditto
7265         (doImport): ditto
7266
7267         * lyxfont.C (stateText): use boost::format
7268
7269         * lyx_main.C (LyX): use boost::format
7270         (init): ditto
7271         (queryUserLyXDir): ditto
7272         (readRcFile): ditto
7273         (parse_dbg): ditto
7274         (typedef boost::function): use the recommened syntax.
7275
7276         * importer.C (Import): use boost::format
7277
7278         * debug.C (showLevel): use boost::format
7279
7280         * converter.C (view): use boost::format
7281         (convert): ditto
7282         (move): ditto
7283         (scanLog): ditto
7284
7285         * bufferview_funcs.C (currentState): use boost::format
7286
7287         * bufferlist.C (emergencyWrite): use boost::format
7288
7289         * buffer.C (readLyXformat2): use boost::format
7290         (parseSingleLyXformat2Token): ditto
7291
7292         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7293
7294         * LaTeX.C (run): use boost::format
7295
7296         * Chktex.C (scanLogFile): use boost::format
7297
7298         * BufferView_pimpl.C (savePosition): use boost::format
7299         (restorePosition): ditto
7300         (MenuInsertLyXFile): ditto
7301
7302         * BoostFormat.h: help file for explicit instation.
7303
7304 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7305
7306         * tabular.C (latex): Support for block alignment in fixed width
7307         columns.
7308
7309 2002-11-17  John Levon  <levon@movementarian.org>
7310
7311         * BufferView_pimpl.C:
7312         * lyx_cb.C:
7313         * lyxfunc.C: split filedialog into open/save
7314
7315 2002-11-08  Juergen Vigna  <jug@sad.it>
7316
7317         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7318         by my last patch (hopefully).
7319
7320 2002-11-08  John Levon  <levon@movementarian.org>
7321
7322         * iterators.h:
7323         * iterators.C:
7324         * buffer.h:
7325         * buffer.C:
7326         * paragraph.h:
7327         * paragraph.C:
7328         * toc.h:
7329         * toc.C: ParConstIterator, and use it (from Lars)
7330
7331 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7332
7333         * lyxtextclass.[Ch]: revise and add doxygen comments
7334
7335 2002-11-07  John Levon  <levon@movementarian.org>
7336
7337         * text.C: fix progress value for spellchecker
7338
7339         * toc.C: fix navigate menu for insetwrap inside minipage
7340
7341         * paragraph_funcs.C: added FIXME for suspect code
7342
7343 2002-11-07  John Levon  <levon@movementarian.org>
7344
7345         * BufferView_pimpl.C: fix redrawing of insets
7346           on buffer switch
7347
7348 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7349
7350         * text2.C (updateCounters): fix bug 668
7351
7352 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7353
7354         * text3.C (dispatch): Do not make the buffer dirty when moving the
7355         cursor.
7356
7357 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7358
7359         * vc-backend.C: STRCONV
7360         (scanMaster): ditto
7361
7362         * text2.C (setCounter): STRCONV
7363
7364         * paragraph.C (asString): STRCONV
7365
7366         * lyxlength.C (asString): STRCONV
7367         (asLatexString): ditto
7368
7369         * lyxgluelength.C (asString): STRCONV
7370         (asLatexString): ditto
7371
7372         * lyxfunc.C (dispatch): STRCONV
7373         (open): ditto
7374
7375         * lyxfont.C (stateText): STRCONV
7376
7377         * importer.C (Import): STRCONV
7378
7379         * counters.C (labelItem): STRCONV
7380         (numberLabel): ditto
7381         (numberLabel): remove unused ostringstream o
7382
7383         * chset.C: STRCONV
7384         (loadFile): ditto
7385
7386         * bufferview_funcs.C (currentState): STRCONV
7387
7388         * buffer.C (readFile): STRCONV
7389         (asciiParagraph): ditto
7390         (makeLaTeXFile): ditto
7391
7392         * Spacing.C (writeEnvirBegin): STRCONV
7393
7394         * LaTeXFeatures.C (getLanguages): STRCONV
7395         (getPackages): ditto
7396         (getMacros): ditto
7397         (getBabelOptions): ditto
7398         (getTClassPreamble): ditto
7399         (getLyXSGMLEntities): ditto
7400         (getIncludedFiles): ditto
7401
7402         * LaTeX.C: STRCONV
7403         (run): ditto
7404         (scanAuxFile): ditto
7405         (deplog): ditto
7406
7407         * LString.h: add the STRCONV macros
7408
7409         * BufferView_pimpl.C (savePosition): STRCONV
7410         (restorePosition): ditto
7411         (MenuInsertLyXFile): ditto
7412
7413         * vc-backend.C (scanMaster): change from submatch[...] to
7414         submatch.str(...)
7415
7416         * funcrequest.C: include config.h
7417
7418         * factory.C: include config.h
7419
7420         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7421
7422         * box.C: include config.h
7423
7424         * LaTeX.C (scanAuxFile): change from submatch[...] to
7425         submatch.str(...)
7426         (deplog): ditto
7427
7428 2002-10-25  Angus Leeming  <leeming@lyx.org>
7429
7430         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7431
7432         * ispell.[Ch] (setError): new method.
7433         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7434         Use setError() insetead of goto END.
7435
7436         * lyx_cb.C (AutoSave): move out child process into new class
7437         AutoSaveBuffer.
7438
7439 2002-10-30  John Levon  <levon@movementarian.org>
7440
7441         * text3.C: make start appendix undoable
7442
7443 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7444
7445         * lyxlength.C (inPixels): Fix returned value.
7446
7447         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7448         environment.
7449
7450 2002-10-24  Angus Leeming  <leeming@lyx.org>
7451
7452         * lyxgluelength.h: no need to forward declare BufferParams
7453         or BufferView, so don't.
7454
7455 2002-10-21  John Levon  <levon@movementarian.org>
7456
7457         * BufferView.C: menuUndo ->undo, redo
7458
7459         * BufferView.h: document, remove dead, make some methods private
7460
7461         * paragraph_funcs.h:
7462         * paragraph_funcs.C:
7463         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7464
7465         * buffer.h:
7466         * buffer.C:
7467         * sgml.h:
7468         * sgml.C: move sgml open/close tag into sgml.C
7469
7470         * bufferview_funcs.h: unused prototype
7471
7472         * lyxfunc.h:
7473         * lyxfunc.C: remove unused
7474
7475         * lyxtext.h:
7476         * text.C: remove unused
7477
7478 2002-10-21  John Levon  <levon@movementarian.org>
7479
7480         * BufferView.h:
7481         * BufferView.C:
7482         * BufferView_pimpl.h:
7483         * BufferView_pimpl.C: fix mouse wheel handling based on
7484           patch from Darren Freeman
7485
7486 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7487
7488         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7489
7490 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7491
7492         * lyxlength.C (inPixels): Fix hanfling of negative length.
7493         Fix LyXLength::MU case.
7494
7495 2002-10-16  John Levon  <levon@movementarian.org>
7496
7497         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7498
7499 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7500
7501         * converter.C (view): add support for $$i (file name) and $$p
7502         (file path) for the viewer command. If $$i is not specified, then
7503         it is appended to the command (for compatibility with old syntax)
7504
7505 2002-10-14  Juergen Vigna  <jug@sad.it>
7506
7507         * undo_funcs.C (textHandleUndo): alter the order in which the
7508         new undopar is added to the LyXText, as we have to set first
7509         the right prev/next and then add it as otherwise the rebuild of
7510         LyXText is not correct. Also reset the cursor to the right paragraph,
7511         with this IMO we could remove the hack in "redoParagraphs()".
7512
7513 2002-10-09  Angus Leeming  <leeming@lyx.org>
7514
7515         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7516         to turn off an optimisation if a new inset is to be inserted.
7517
7518 2002-10-11 André Pönitz <poenitz@gmx.net>
7519
7520         * lyxtext.h: make some functions public to allow access
7521         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7522
7523 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7524
7525         * text3.C (dispatch): when changing layout, avoid an infinite loop
7526         [bug #652]
7527
7528 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7529
7530         * lyxrc.C (read): treat a viewer or converter command of "none" as
7531         if it were empty.
7532
7533         * MenuBackend.C (expandFormats): for an update, also allow the
7534         formats that are not viewable
7535
7536         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7537         script if it is newer than the lyxrc.defaults in user directory
7538
7539 2002-10-07 André Pönitz <poenitz@gmx.net>
7540
7541         * text.C: Vitaly Lipatov's small i18n fix
7542
7543 2002-09-25  Angus Leeming  <leeming@lyx.org>
7544
7545         * ispell.h: doxygen fix.
7546
7547 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7548
7549         * buffer.h (readFile): Add a new argument to the method, to allow
7550         reading of old-format templates.
7551
7552 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7553
7554         * toc.C (getTocList): Get TOC from InsetWrap.
7555
7556 2002-09-16  John Levon  <levon@movementarian.org>
7557
7558         * lyxfunc.C: check tabular for cut/copy too
7559
7560 2002-09-12  John Levon  <levon@movementarian.org>
7561
7562         * LyXAction.C: tidy
7563
7564         * factory.h:
7565         * factory.C: add header
7566
7567         * paragraph_funcs.h:
7568         * paragraph_funcs.C: cleanup
7569
7570 2002-09-11  John Levon  <levon@movementarian.org>
7571
7572         * PrinterParams.h: odd/even default to true
7573
7574 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7575
7576         * PrinterParams.h: update printer parameters for new xforms dialog
7577
7578 2002-09-11  Angus Leeming  <leeming@lyx.org>
7579
7580         * lyxserver.C (read_ready): re-write to make it more transparent
7581         and to make it work in coherent fashion under Tru64 Unix.
7582
7583 2002-09-11  André Pönitz <poenitz@gmx.net>
7584
7585         * commandtags.h:
7586         * LyXAction.C:
7587         * text3.C: implement LFUN_WORDSEL
7588
7589 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7592         make floatlist_ a boost::shared_ptr<FloatList>
7593
7594         * lyxtextclass.C: include FloatList.h
7595         (LyXTextClass): initialize floatlist_
7596         (TextClassTags): add TC_NOFLOAT
7597         (Read): match "nofloat" to TC_NOFLOAT and use it.
7598         (readFloat): modify call to floatlist_
7599         (floats): ditto
7600         (floats): ditto
7601
7602         * FloatList.[Ch] (FloatList): remove commented out float
7603         initialization.
7604         (erase): new function
7605
7606 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7607
7608         * MenuBackend.C (expandToc): fix crash when there is no document
7609         open
7610
7611 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7612
7613         * many files: Add insetwrap.
7614
7615 2002-09-09  John Levon  <levon@movementarian.org>
7616
7617         * text2.C: remove confusing and awkward depth wraparound
7618
7619 2002-09-09  John Levon  <levon@movementarian.org>
7620
7621         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7622
7623         * buffer.h:
7624         * buffer.C: remove getIncludeonlyList()
7625
7626         * paragraph.C:
7627         * lyxfunc.C: remove headers
7628
7629 2002-09-09  Juergen Vigna  <jug@sad.it>
7630
7631         * text.C (getColumnNearX): fix form Michael this is most
7632         probably a cut&paste bug.
7633
7634 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7635
7636         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7637
7638         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7639         references, ws changes.
7640
7641         * text2.C (init): update counters after init
7642         (insertParagraph): no need to set counter on idividual paragraphs.
7643         (setCounter): access the counters object in the textclass object
7644         on in the buffer object.
7645         (updateCounters): ditto
7646
7647         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7648         shared_ptr<Counters> to avoid loading counters.h in all
7649         compilation units.
7650         (LyXTextClass): initialize ctrs_
7651         (TextClassTags): add TC_COUNTER, and ...
7652         (Read): use it here.
7653         (CounterTags): new tags
7654         (readCounter): new function
7655         (counters): new funtion
7656         (defaultLayoutName): return a const reference
7657
7658         * counters.C (Counters): remove contructor
7659         (newCounter): remove a couple of unneeded statements.
7660         (newCounter): simplify a bit.
7661         (numberLabel): some small formatting changes.
7662
7663         * buffer.[Ch]: remove all traces of counters, move the Counters
7664         object to the LyXTextClass.
7665
7666 2002-09-06  Alain Castera  <castera@in2p3.fr>
7667
7668         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7669         package to set the horizontal alignment on fixed width columns.
7670
7671         * lyx_sty.C:
7672         * lyx_sty.h: added tabularnewline macro def.
7673
7674         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7675
7676 2002-09-06  John Levon  <levon@movementarian.org>
7677
7678         * LyXAction.C: tooltips for sub/superscript
7679
7680         * MenuBackend.C: a bit more verbose
7681
7682         * lyxfunc.C: tiny clean
7683
7684         * undo_funcs.C: document undo_frozen
7685
7686 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7687
7688         * counters.C (Counters): add missing algorithm counter.
7689
7690         * text2.C (setCounter): lookup the counter with layouts latexname
7691         instead of by section number.
7692         (setCounter): use a hackish way to lookup the correct enum
7693         counter.
7694         a float name->type change
7695         reset enum couners with counter name directly instead of depth value.
7696
7697         * counters.C (Counters): remove the push_backs, change to use the
7698         float type not the float name.
7699         (labelItem): remove unused string, float name->type change
7700
7701         * counters.h: don't include vector, loose the enums and sects vectors
7702
7703 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7704
7705         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7706         (Read): add float->TC_FLOAT to textclassTags
7707         (Read): and handle it in the switch
7708         (readFloat): new function
7709
7710         * FloatList.C (FloatList): comment out the hardcoded float
7711         definitions.
7712
7713         * lyxlayout.h: ws change.
7714
7715 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7716
7717         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7718
7719 2002-09-03  Angus Leeming  <leeming@lyx.org>
7720
7721         * BufferView_pimpl.h: qualified name is not allowed in member
7722         declaration: WorkArea & Pimpl::workarea() const;
7723
7724         * factory.C: added using std::endl directive.
7725
7726         * text3.C: added using std::find and std::vector directives.
7727
7728 2002-08-29  André Pönitz <poenitz@gmx.net>
7729
7730         * lyxtext.h:
7731         * text2.C: remove unused member number_of_rows
7732
7733         * Makefile.am:
7734         * BufferView2.C: remove file, move contents to...
7735         * BufferView.C: ... here
7736
7737         * BufferView_pimpl.C:
7738         * factory.C: move more inset creation to factory
7739
7740         * vspace.C: avoid direct usage of LyXText, ws changes
7741
7742         * BufferView.[Ch]:
7743                 don't provide direct access to WorkArea, use two simple
7744                 acessors haveSelction() and workHeight() instead
7745
7746
7747 2002-08-29  John Levon  <levon@movementarian.org>
7748
7749         * BufferView_pimpl.C (dispatch): do not continue when
7750           no buffer
7751
7752 2002-08-28  André Pönitz <poenitz@gmx.net>
7753
7754         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7755
7756         * BufferView.h:
7757         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7758
7759 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7760
7761         * buffer.C: increment LYX_FORMAT to 221
7762
7763         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7764         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7765
7766         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7767
7768         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7769
7770 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7771
7772         * factory.C (createInset): use LyXTextClass::floats
7773
7774         * MenuBackend.C (expandFloatListInsert):
7775         (expandFloatInsert):
7776         (expandToc):
7777
7778         * text2.C (setCounter):
7779
7780         * LaTeXFeatures.C (useFloat):
7781         (getFloatDefinitions):
7782
7783         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7784
7785         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7786         floatlist_, with accessor floats().
7787
7788         * FloatList.h: remove global FloatList
7789
7790 2002-08-26  André Pönitz <poenitz@gmx.net>
7791
7792         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7793
7794         * BufferView.h:
7795         * BufferView2.C:
7796         * BufferView_pimpl.C:
7797         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7798
7799 2002-08-25  John Levon  <levon@movementarian.org>
7800
7801         * LyXAction.C: fix margin note description
7802
7803 2002-08-24  John Levon  <levon@movementarian.org>
7804
7805         * buffer.C:
7806         * bufferlist.C:
7807         * bufferview_funcs.C:
7808         * lyxfont.C:
7809         * undo_funcs.C: cleanups
7810
7811         * lyxfunc.C: disable CUT/COPY when no selection
7812
7813 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7814
7815         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7816         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7817
7818         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7819         Add backward compatibility to "mono", "gray" and "no".
7820
7821 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7822
7823         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7824         (and file_format >= 200).
7825
7826 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7827
7828         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7829
7830 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7831
7832         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7833
7834 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7835
7836         * BufferView_pimpl.C:
7837         * LyXAction.C:
7838         * buffer.C:
7839         * commandtags.h:
7840         * lyxfunc.C:
7841         * paragraph.[Ch]:
7842         * text2.C:
7843         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7844         inset and code to make it  work with the paragraph code. The inset
7845         can be anywhere in the paragraph, but will only do the expected
7846         thing in LaTeX if the layout file contains the parameter line
7847                         OptionalArgs    1
7848         (or more generally, a nonzero value) for that layout.
7849
7850 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7851
7852         * paragraph.h: remove the declaration of undefined counters class
7853         function.
7854
7855 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7856
7857         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7858         Dr. Richard Hawkins.
7859
7860 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7861
7862         * paragraph_funcs.h: remove some unneeded includes
7863
7864         * text.C (backspace): pasteParagraph now in global scipe
7865
7866         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7867         (pasteSelection): ditto
7868
7869         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7870         * paragraph_funcs.C (pasteParagraph): ... here
7871
7872 2002-08-20  André Pönitz <poenitz@gmx.net>
7873
7874         * commandtags.h: new LFUNs for swapping/copying table row/colums
7875
7876         * LyXAction.C:
7877         * lyxfunc.C: support for new lfuns
7878
7879 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7880
7881         * tabular.C:
7882         * buffer.[Ch]: remove NO_COMPABILITY stuff
7883
7884 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7885
7886         * boost.C (throw_exception): new file, with helper function for
7887         boost compiled without exceptions.
7888
7889         * paragraph.h:
7890         * lyxlength.C:
7891         * buffer.C:
7892         * ParameterStruct.h:
7893         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7894
7895         * bufferlist.C (emergencyWriteAll): use boost bind
7896
7897         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7898
7899         * text.C: include paragraph_funcs.h
7900         (breakParagraph): breakParagraph is now in global scope
7901
7902         * paragraph_funcs.[Ch]: new files
7903
7904         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7905         global scope
7906
7907         * buffer.C: include paragraph_funcs.h
7908         (insertStringAsLines): breakParagraph is now in global scope
7909
7910         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7911         paragraph_funcs.C
7912
7913         * CutAndPaste.C: include paragraph_funcs.h
7914         (cutSelection): breakParagraphConservative is now in global scope
7915         (pasteSelection): ditto
7916
7917         * buffer.h: declare oprator== and operator!= for
7918         Buffer::inset_iterator
7919
7920         * bufferlist.C (emergencyWrite): don't use fmt(...)
7921
7922         * text3.C: add using std::endl
7923
7924         * BufferView.C (moveCursorUpdate): remove default arg
7925
7926 2002-08-20  André Pönitz <poenitz@gmx.net>
7927
7928         * buffer.[Ch]: move inline functions to .C
7929
7930         * BufferView2.C:
7931         * BufferView_pimpl.C:
7932         * text.C:
7933         * buffer.[Ch]: use improved inset_iterator
7934
7935         * buffer.C:
7936         * paragraph.[Ch]: write one paragraph at a time
7937
7938 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7939
7940         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7941         style if style is not specified.
7942
7943 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7944
7945         * text2.C (setCounter): when searching for right label for a
7946         caption, make sure to recurse to parent insets (so that a caption
7947         in a minipage in a figure float works) (bug #568)
7948
7949 2002-08-20  André Pönitz <poenitz@gmx.net>
7950
7951         * text3.C: new file for LyXText::dispatch() and helpers
7952
7953         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7954
7955         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7956
7957 2002-08-19  André Pönitz <poenitz@gmx.net>
7958
7959         * lyxtext.h:
7960         * text.C: new LyXText::dispatch()
7961
7962         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7963
7964 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7965
7966         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7967
7968         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7969         Hebrew text.
7970
7971 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7972
7973         * Makefile.am: use $(variables) instead of @substitutions@
7974
7975 2002-08-15  André Pönitz <poenitz@gmx.net>
7976
7977         * lyxfunc.C:
7978         * BufferView_pimpl.C: streamlining mathed <-> outer world
7979         interaction
7980
7981         * commandtags.h:
7982         * LyXAction.C: remove unused LFUN_MATH
7983
7984 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7985
7986         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7987
7988 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7989
7990         * paragraph.C (Paragraph): reformat a bit
7991         (cutIntoMinibuffer): use builtin InsetList function instad of
7992         doing it manually.
7993         (getInset): ditto
7994
7995         * buffer.C: include boost/bind.hpp, add using std::for_each
7996         (writeFileAscii): use ParagraphList iterators
7997         (validate): use for_each for validate traversal of paragraphs
7998         (getBibkeyList): use ParagraphList iterators
7999         (resizeInsets): use for_each to resizeInsetsLyXText for all
8000         paragraphs.
8001         (getParFromID): use ParagraphList iterators
8002
8003         * BufferView2.C (lockInset): use paragraph list and iterators
8004
8005 2002-08-14  John Levon  <levon@movementarian.org>
8006
8007         * lyxserver.C: remove spurious xforms include
8008
8009 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8010
8011         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8012
8013 2002-08-13  André Pönitz <poenitz@gmx.net>
8014
8015         * LyXAction.[Ch]:
8016         * lyxfunc.C: further cleaning
8017
8018 2002-08-13  André Pönitz <poenitz@gmx.net>
8019
8020         * funcrequest.h: new constructor
8021
8022         * funcrequest.C: move stuff here from .h
8023
8024         * Makefile.am:
8025         * BufferView_pimpl.C:
8026         * LyXAction.C:
8027         * toc.C:
8028         * lyxfunc.C: subsequent changes
8029
8030         * lyxfunc.h: new view() member function
8031
8032         * lyxfunc.C: subsequent changes
8033
8034 2002-08-13  Angus Leeming  <leeming@lyx.org>
8035
8036         * BufferView2.C:
8037         * BufferView_pimpl.C:
8038         * buffer.C:
8039         * converter.C:
8040         * importer.C:
8041         * lyxfunc.C:
8042         * lyxvc.C:
8043         * toc.C:
8044         * vc-backend.C:
8045         changes due to the changed LyXView interface that now returns references
8046         to member variables not pointers.
8047
8048 2002-08-13  Angus Leeming  <leeming@lyx.org>
8049
8050         * WordLangTuple (word, lang_code): return references to strings,
8051         not strings.
8052
8053         * BufferView.h:
8054         * SpellBase.h:
8055         * lyxtext.h: forward-declare WordLangTuple.
8056
8057         * BufferView2.C:
8058         * ispell.C:
8059         * pspell.C:
8060         * text.C: #include "WordLangTuple.h".
8061
8062         * lyxtext.h:
8063         * text.C: (selectNextWordToSpellcheck): constify return type.
8064
8065 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8066
8067         * buffer.C:
8068         * buffer.h:
8069         * lyxtext.h:
8070         * paragraph.C:
8071         * paragraph_pimpl.h:
8072         * text.C:
8073         * text2.C:
8074         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8075         suggested by Angus.
8076         Made updateCounter always count from start of buffer, and removed
8077         second argument (par).
8078         Reverted floats number display to '#'. Perhaps I'll try again when the
8079         code base is sanitized a bit.
8080
8081 2002-08-12  Angus Leeming  <leeming@lyx.org>
8082
8083         * buffer.[Ch] (getLabelList): constify.
8084
8085 2002-08-07  André Pönitz <poenitz@gmx.net>
8086
8087         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8088
8089         * funcrequest.h: extension to keep mouse (x,y) position
8090
8091 2002-08-12  Juergen Vigna  <jug@sad.it>
8092
8093         * BufferView2.C (insertErrors): forbid undo when inserting error
8094         insets.
8095
8096         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8097
8098 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8099
8100         * ParagraphList.[Ch]: new files
8101
8102         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8103
8104         * BufferView2.C (lockInset): ParagraphList changes
8105         * toc.C: ditto
8106         * text2.C: ditto
8107         * bufferlist.C: ditto
8108         * buffer.h: ditto
8109         * buffer.C: ditto
8110
8111 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8112
8113         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8114         unused class variable counter_,
8115
8116         * paragraph.[Ch] (getFirstCounter): delete unused function
8117
8118         * counters.C: include LAssert.h
8119         (reset): add a new function with no arg, change other version to
8120         not have def. arg and to not allow empty arg.
8121
8122         * text2.C (setCounter): remove empty arg from call to Counters::reset
8123
8124 2002-08-11  John Levon  <levon@movementarian.org>
8125
8126         * Makefile.am: add WordLangTuple.h
8127
8128 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8129
8130         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8131         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8132
8133         * insets/insettext.C: InsetList changes
8134
8135         * graphics/GraphicsSupport.C (operator()): InsetList changes
8136
8137         * toc.C (getTocList): InsetList changes
8138
8139         * paragraph_pimpl.[Ch]: InsetList changes
8140
8141         * paragraph.[Ch]: InsetList changes
8142
8143         * buffer.C (inset_iterator): InsetList changes
8144         (setParagraph): ditto
8145         * buffer.h (inset_iterator): ditto
8146         * iterators.C (operator++): ditto
8147         * iterators.h: ditto
8148
8149         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8150
8151         * InsetList.[Ch]: new files, most InsetList handling moved out of
8152         paragraph.C.
8153
8154         * BufferView2.C (removeAutoInsets): InsetList changes
8155         (lockInset): ditto
8156         (ChangeInsets): ditto
8157
8158 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8159
8160         * paragraph_pimpl.h (empty): new function
8161
8162         * paragraph.[Ch] (empty): new function
8163
8164         * other files: use the new Paragraph::empty function
8165
8166 2002-08-09  John Levon  <levon@movementarian.org>
8167
8168         * lyxtext.h: remove unused refresh_height
8169
8170 2002-08-09  John Levon  <levon@movementarian.org>
8171
8172         * Makefile.am:
8173         * sgml.h:
8174         * sgml.C:
8175         * buffer.C:
8176         * paragraph.h:
8177         * paragraph.C: move sgml char escaping out of paragraph
8178
8179         * paragraph.h:
8180         * paragraph.C: remove id setter
8181
8182         * buffer.C:
8183         * paragraph.C:
8184         * paragraph_pimpl.C: remove dead tex_code_break_column
8185
8186         * bufferview_funcs.C: small cleanup
8187
8188         * lyxfunc.C: remove dead proto
8189
8190         * lyxtext.h: make some stuff private. Remove some dead stuff.
8191
8192         * lyxgluelength.C: make as[LyX]String() readable
8193
8194 2002-08-08  John Levon  <levon@movementarian.org>
8195
8196         * LyXAction.h:
8197         * LyXAction.C:
8198         * MenuBackend.C:
8199         * ToolbarDefaults.C:
8200         * lyxfunc.C:
8201         * lyxrc.C:
8202         * toc.C: lyxaction cleanup
8203
8204 2002-08-08  John Levon  <levon@movementarian.org>
8205
8206         * BufferView2.C: small cleanup
8207
8208         * lyxfind.h:
8209         * lyxfind.C: move unnecessary header into the .C
8210
8211 2002-08-08  John Levon  <levon@movementarian.org>
8212
8213         * funcrequest.h: just tedious nonsense
8214
8215         * lyx_main.h:
8216         * lyx_main.C: cleanups
8217
8218         * buffer.C:
8219         * vspace.C: remove dead header lyx_main.h
8220
8221 2002-08-07  Angus Leeming  <leeming@lyx.org>
8222
8223         * Paragraph.[Ch]:
8224         * paragraph_pimpl.h:
8225         Forward declare class Counters in paragraph.h by moving the ctrs member
8226         variable into Paragraph::Pimpl.
8227         (counters): new method, returning a reference to pimpl_->ctrs.
8228
8229         * text2.C: ensuing changes.
8230
8231 2002-08-07  John Levon  <levon@movementarian.org>
8232
8233         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8234
8235         * BufferView_pimpl.C: announce X selection on double/triple
8236           click
8237
8238         * lyx_main.C: use correct bool in batch dispatch
8239
8240         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8241
8242 2002-08-07  André Pönitz <poenitz@gmx.net>
8243
8244         * funcrequest.h: new class to wrap a kb_action and its argument
8245
8246         * BufferView.[Ch]:
8247         * BufferView_pimpl[Ch]:
8248         * LaTeX.C:
8249         * LyXAction.[Ch]:
8250         * lyxfunc.[Ch]:
8251         * lyxrc.C: subsequent changes
8252
8253
8254 2002-08-07  John Levon  <levon@movementarian.org>
8255
8256         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8257           document options change.
8258
8259 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8260
8261         * counters.[Ch]
8262         * text2.C
8263         * paragraph.[Ch]
8264         * makefile.am: move counters functionality over from
8265         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8266
8267 2002-08-06  John Levon  <levon@movementarian.org>
8268
8269         * WordLangTuple.h: new file for word + language code tuple
8270
8271         * SpellBase.h:
8272         * pspell.h:
8273         * pspell.C:
8274         * ispell.h:
8275         * ispell.C:
8276         * lyxtext.h:
8277         * text.C:
8278         * text2.C:
8279         * BufferView.h:
8280         * BufferView2.C: use WordLangTuple
8281
8282         * layout.h:
8283         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8284
8285 2002-08-06  John Levon  <levon@movementarian.org>
8286
8287         * lyx_main.C: fix cmdline batch handling
8288
8289 2002-08-06  André Pönitz <poenitz@gmx.net>
8290
8291         * lyxrc.C: set default for show_banner to true
8292
8293 2002-08-06  John Levon  <levon@movementarian.org>
8294
8295         * pspell.C: fix a crash, and allow new aspell to work
8296
8297 2002-08-06  John Levon  <levon@movementarian.org>
8298
8299         * lyxfunc.C:
8300         * kbmap.C: small cleanup
8301
8302         * vspace.h:
8303         * vspace.C: add const
8304
8305 2002-08-05  John Levon  <levon@movementarian.org>
8306
8307         * LyXAction.C: back to tabular-insert
8308
8309 2002-08-04  John Levon  <levon@movementarian.org>
8310
8311         * BufferView.h:
8312         * BufferView.C: cosmetic change
8313
8314         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8315
8316         * bufferlist.C:
8317         * buffer.h:
8318         * buffer.C:
8319         * lyxcb.h:
8320         * lyxcb.C:
8321         * lyxserver.C:
8322         * lyxvc.C:
8323         * vc-backend.C:
8324         * BufferView2.C: purge all "Lyx" not "LyX" strings
8325
8326         * lyxcursor.h:
8327         * lyxcursor.C: attempt to add some documentation
8328
8329         * lyxfunc.C:
8330         * commandtags.h:
8331         * LyXAction.C:
8332         * ToolbarDefaults.C:
8333         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8334           merge with LFUN_TABULAR_INSERT
8335
8336         * Makefile.am:
8337         * SpellBase.h:
8338         * ispell.h:
8339         * ispell.C:
8340         * pspell.h:
8341         * pspell.C: split up i/pspell implementations into separate
8342           files, many cleanups
8343
8344         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8345
8346         * text2.C: some cleanup
8347
8348         * lyxfunc.C: don't check for isp_command == "none" any more, it
8349           didn't make any sense
8350
8351 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8352
8353         * counters.[Ch]
8354         * text2.C
8355         * paragraph.[Ch]
8356         * makefile.am: move counters functionality over
8357         from text2.C/paragraph.[Ch] to counters.[Ch], and
8358         make proper C++.
8359 2002-08-02  John Levon  <levon@movementarian.org>
8360
8361         * buffer.C: s/lyxconvert/lyx2lyx/
8362
8363 2002-08-02  Angus Leeming  <leeming@lyx.org>
8364
8365         * lyxlex.C: revert John's change as it breaks reading of the user
8366         preamble.
8367
8368 2002-08-02  Angus Leeming  <leeming@lyx.org>
8369
8370         * importer.C (Import):
8371         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8372         changes due to LyXView::view() now returning a boost::shared_ptr.
8373
8374 2002-08-02  John Levon  <levon@movementarian.org>
8375
8376         * lyxlex.C: small cleanup
8377
8378 2002-08-02  John Levon  <levon@movementarian.org>
8379
8380         * text2.C (status): small cleanup, no logic change
8381
8382 2002-08-01  John Levon  <levon@movementarian.org>
8383
8384         * buffer.h:
8385         * buffer.C (writeFile): don't output alerts, caller
8386           handles this
8387
8388         * bufferlist.C:
8389         * lyx_cb.C: from above
8390
8391         * lyxfunc.C: allow to open non-existent files
8392
8393 2002-07-31  John Levon  <levon@movementarian.org>
8394
8395         * lyxserver.C: don't let incidental errors get
8396           in the way (errno)
8397
8398 2002-07-30  John Levon  <levon@movementarian.org>
8399
8400         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8401
8402 2002-07-30  John Levon  <levon@movementarian.org>
8403
8404         * lyxserver.h:
8405         * lyxserver.C: remove I/O callback too
8406
8407 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8408
8409         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8410         log.
8411
8412 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8413
8414         * many files: strip,frontStrip -> trim,ltrim,rtrim
8415
8416 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8417
8418         * PrinterParams.h: remove extern containsOnly, and include
8419         support/lstrings.h instead.
8420
8421         * LaTeX.C (scanAuxFile): modify because of strip changes
8422         (deplog): ditto
8423         * buffer.C (makeLaTeXFile): ditto
8424         * bufferparams.C (writeFile): ditt
8425         * lyxfont.C (stateText): ditto
8426         * lyxserver.C (read_ready): ditto
8427         * vc-backend.C (scanMaster): ditto
8428
8429         * BufferView_pimpl.h: ws changes
8430
8431         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8432
8433 2002-07-26  André Pönitz <poenitz@gmx.net>
8434
8435         * kb_sequence.C: remove unnedred usings
8436
8437 2002-07-26  Juergen Vigna  <jug@sad.it>
8438
8439         * lyxfind.C (LyXReplace): we have to check better if the returned
8440         text is not of theLockingInset()->getLockingInset().
8441
8442 2002-07-25  Juergen Vigna  <jug@sad.it>
8443
8444         * lyxfind.C (LyXReplace): don't replace if we don't get the
8445         right LyXText.
8446
8447         * undo_funcs.C (createUndo): remove debugging code.
8448
8449 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8450
8451         * buffer.C (parseSingleLyXformat2Token): Use default placement
8452         when reading old floats.
8453
8454         * FloatList.C (FloatList): Change the default placement of figure
8455         and tables to "tbp".
8456
8457 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8458
8459         * MenuBackend.C: using std::max
8460
8461 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8462
8463         * MenuBackend.C (expandToc):
8464         (expandToc2): code moved from xforms menu frontend. It is now
8465         generic and TOCs are transparent to menu frontends.
8466
8467 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8468
8469         * toc.C (getTocList): protect against buf=0
8470
8471         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8472         Menu as first parameter. Now, this calls itself recursively to
8473         expand a whole tree (this will be useful for TOC handling)
8474         (expandFloatInsert): remove 'wide' version of floats
8475
8476         * MenuBackend.h (submenuname): returns the name of the submenu.
8477         (submenu): returns the submenu itself, provided it has been
8478         created by MenuBackend::expand
8479
8480 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8481
8482         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8483         insets which have noFontChange == true. (bug #172)
8484
8485 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8486
8487         * BufferView_pimpl.C: add connection objects and use them...
8488         (Pimpl): here.
8489
8490 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8491
8492         * MenuBackend.C (expandLastfiles):
8493         (expandDocuments):
8494         (expandFormats):
8495         (expandFloatListInsert):
8496         (expandFloatInsert):
8497         (expand): split expand in parts
8498
8499 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8500
8501         * lyx_gui.C: use lyx_gui::exit()
8502
8503 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8504
8505         * LyXAction.C: show the failing pseudo action
8506
8507 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8508
8509         * buffer.C (readFile): Run the lyxconvert script in order to read
8510         old files.
8511
8512 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8513
8514         * LyXAction.C:
8515         * commandtags.h:
8516         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8517
8518 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8519
8520         * LyXAction.C:
8521         * commandtags.h:
8522         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8523
8524 2002-07-22  Herbert Voss  <voss@lyx.org>
8525
8526         * lengthcommon.C:
8527         * lyxlength.[Ch]: add support for the vertical lengths
8528
8529 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8530
8531         * toc.[Ch]: std:: fixes
8532
8533 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8534
8535         * lyxrc.C: do not include lyx_main.h
8536
8537         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8538         for layouts
8539
8540         * lyxrc.C:
8541         * encoding.C:
8542         * bufferlist.C:
8543         * BufferView2.C: include "lyxlex.h"
8544
8545         * tabular.h:
8546         * bufferparams.h: do not #include "lyxlex.h"
8547
8548         * lyxtextclasslist.C (Add): remove method
8549         (classlist): renamed to classlist_
8550
8551         * paragraph_pimpl.C:
8552         * paragraph.C:
8553         * text2.C:
8554         * CutAndPaste.C:
8555         * bufferview_funcs.C:
8556         * bufferlist.C:
8557         * text.C:
8558         * LaTeXFeatures.C:
8559         * buffer.C:
8560         * toc.C (getTocList): use BufferParams::getLyXTextClass
8561
8562         * toc.C (getTocList): use InsetFloat::addToToc
8563
8564         * toc.[Ch]: new files, containing helper functions to handle table
8565         of contents
8566
8567         * lyxfunc.C (dispatch): no need to remove spaces around command
8568         given as a string
8569         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8570         first command of the sequence; it is not very clever, but I do not
8571         have a better idea, actually
8572
8573         * LyXAction.C (LookupFunc): make sure to remove space at the
8574         beginning and end of the command
8575
8576 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8577
8578         * MenuBackend.C (getMenubar): new method: return the menubar of
8579         this menu set
8580         (read): treat differently reading of menu and menubar (in
8581         particular, the menubar has no name now)
8582         (Menu::menubar): remove
8583
8584         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8585         saving is finished
8586
8587 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8588
8589         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8590         a bibitem inset in a RTL paragraph.
8591
8592 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8593
8594         * paragraph_pimpl.C: constify
8595
8596         * BufferView_pimpl.C:
8597         * LaTeX.C:
8598         * lyxfunc.C: fix dispatch in a nicer way
8599
8600 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8601
8602         * lyxfunc.C (dispatch):
8603         * BufferView_pimpl.C:
8604         * BufferView_pimpl.h:
8605         * BufferView.C:
8606         * BufferView.h: rename Dispatch() to dispatch()
8607
8608         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8609
8610         * lyxlayout.C (Read): honor DependsOn tag
8611
8612         * lyxlayout.[Ch] (depends_on): new method
8613
8614         * version.C.in: update lyx_docversion
8615
8616         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8617
8618         * paragraph.C (validate): remove from here...
8619         * paragraph_pimpl.C (validate): ... and move here
8620         (isTextAt): make it const
8621
8622         * buffer.C (getLists): ws cleanup
8623
8624 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8625
8626         * language.C (read): Use iso8859-1 encoding in latex_lang
8627         (this prevents LyX from crashing when using iso10646-1 encoding).
8628
8629 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8630
8631         * text2.C (toggleInset): if cursor is inside an inset, close the
8632         inset and leave cursor _after_ it
8633
8634 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8635
8636         * lyxfunc.C: move minibuffer completion handling out of here
8637
8638 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8639
8640         * BufferView_pimpl.C:
8641         * LaTeX.C: fix dispatch calls
8642
8643 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8644
8645         * text.C (drawChars): Fix Arabic text rendering.
8646
8647 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8648
8649         * LyXAction.C:
8650         * commandtags.h:
8651         * lyxfunc.C: remove message-push/pop
8652
8653         * lyxserver.C:
8654         * lyxfunc.h:
8655         * lyxfunc.C: rationalise some code by removing verboseDispatch
8656           in favour of a bool argument to dispatch()
8657
8658 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8659
8660         * lyx_main.C (init): make sure to read symlinks as absolute paths
8661
8662 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8663
8664         * lyxfunc.h:
8665         * lyxfunc.C: no need for commandshortcut to be a member
8666
8667 2002-07-15  André Pönitz <poenitz@gmx.net>
8668
8669         * converter.C: add support for $$s (scripts from lib/scripts dir)
8670         * lyx_main.C: white space
8671
8672 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8673
8674         * bufferlist.C:
8675         * lyxrc.h:
8676         * lyxrc.C: remove second exit confirmation
8677
8678 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8679
8680         * BufferView.h:
8681         * BufferView.C:
8682         * BufferView2.C:
8683         * BufferView_pimpl.h:
8684         * BufferView_pimpl.C:
8685         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8686
8687 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8688
8689         * MenuBackend.C (expand): add numeric shortcuts to document menu
8690
8691         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8692
8693 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8694
8695         * lyxfont.C (setLyXFamily):
8696         (setLyXSeries):
8697         (setLyXShape):
8698         (setLyXSize):
8699         (setLyXMisc):
8700         (lyxRead):
8701         * debug.C (value):
8702         * buffer.C (asciiParagraph): use ascii_lowercase
8703
8704 2002-07-15  Mike Fabian  <mfabian@suse.de>
8705
8706         * lyxlex_pimpl.C (search_kw):
8707         * lyxlex.C (getLongString):
8708         * converter.h (operator<):
8709         * converter.C (operator<):
8710         * buffer.C (parseSingleLyXformat2Token):
8711         (asciiParagraph):
8712         * ToolbarDefaults.C (read):
8713         * MenuBackend.C (checkShortcuts):
8714         (read):
8715         * LColor.C (getFromGUIName):
8716         (getFromLyXName): use the compare_ascii_no_case instead of
8717         compare_no_case, because in turkish, 'i' is not the lowercase
8718         version of 'I', and thus turkish locale breaks parsing of tags.
8719
8720 2002-07-16  Angus Leeming  <leeming@lyx.org>
8721
8722         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8723         now takes a Buffer const & argument.
8724
8725 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8726
8727         * BufferView.C (resize): check there's a buffer to resize
8728
8729 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8730
8731         * lyxfunc.C: remove dead code
8732
8733         * lyxserver.h:
8734         * lyxserver.C: use lyx_guii::set_read_callback
8735
8736 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8737
8738         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8739         an inset in a RTL paragraph.
8740
8741 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8742
8743         * lyxfunc.C: repaint after a font size update
8744
8745 2002-07-15  André Pönitz <poenitz@gmx.net>
8746
8747         * lyxlength.C: inBP should be able to return negative values
8748
8749 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8750
8751         * lyxfunc.C: use lyx_gui::update_fonts()
8752
8753 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8754
8755         * lyxfunc.C: use lyx_gui::update_color()
8756
8757 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8758
8759         * bufferlist.C:
8760         * lyxfunc.h:
8761         * lyxfunc.C:
8762         * lyxrc.h:
8763         * lyxrc.C: remove file->new asks for name option, and let
8764           buffer-new take an argument
8765
8766 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8767
8768         * BufferView_pimpl.C: remove unneeded extra repaint()
8769
8770 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8771
8772         * LyXAction.C: allow command-sequence with NoBuffer
8773
8774         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8775
8776 2002-07-10  Angus Leeming  <leeming@lyx.org>
8777
8778         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8779
8780 2002-07-09  Angus Leeming  <leeming@lyx.org>
8781
8782         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8783
8784 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8785
8786         * lengthcommon.h: whitespace
8787
8788         * lyxfunc.C: update scrollbar after goto paragraph
8789
8790         * lyxtext.h: factor out page break drawing, and fix it so
8791           page break/added space paints as selected nicely
8792
8793 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8794
8795         * BufferView_pimpl.C: add FIXMEs, clean up a little
8796
8797 2002-07-09  André Pönitz <poenitz@gmx.net>
8798
8799         * lyxfont.[Ch]: support for wasy symbols
8800
8801 2002-07-08  André Pönitz <poenitz@gmx.net>
8802
8803         * BufferView_pimpl.C: apply John's patch for #93.
8804
8805 2002-07-05  Angus Leeming  <leeming@lyx.org>
8806
8807         * BufferView_pimpl.C (buffer): generate previews if desired.
8808
8809         * LColor.h: add "preview" to the color enum.
8810
8811         * LColor.C (LColor): add a corresponding entry to the items array.
8812
8813         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8814         with this buffer.
8815
8816 2002-07-05  Angus Leeming  <leeming@lyx.org>
8817
8818         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8819         The body of the code is now in the method that is passed an ostream &
8820         rather than a file name.
8821         Pass an additional only_preamble parameter, useful for the forthcoming
8822         preview stuff.
8823
8824 2002-07-03  André Pönitz <poenitz@gmx.net>
8825
8826         * lyxfunc.C: simplify getStatus() a bit for math stuff
8827
8828 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8829
8830         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8831
8832 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8833
8834         * text.C (changeRegionCase): do not change case of all the
8835         document when region ends at paragraph end (bug #461)
8836
8837 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8838
8839         * paragraph.C (startTeXParParams):
8840         (endTeXParParams): add \protect when necessary
8841
8842 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8843
8844         * BufferView_pimpl.C (workAreaExpose): remove warning
8845
8846 2002-06-27  Angus Leeming  <leeming@lyx.org>
8847
8848         * Makefile.am: add lyxlayout_ptr_fwd.h.
8849
8850 2002-06-26  André Pönitz <poenitz@gmx.net>
8851
8852         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8853
8854 2002-06-25  Angus Leeming  <leeming@lyx.org>
8855
8856         * lyxfunc.C (dispatch): Comment out the call to
8857         grfx::GCache::changeDisplay. The method no longer exists now that the
8858         pixmap generation part of the graphics loader has been moved into
8859         InsetGraphics.
8860
8861 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8862
8863         * text2.C: layout as layout
8864
8865         * text.C: layout as layout
8866
8867         * tabular.C (OldFormatRead): layout as layout
8868
8869         * paragraph_pimpl.C (TeXDeeper): layout as layout
8870         (realizeFont): layout as layout
8871
8872         * paragraph.C (writeFile): layout as layout
8873         (validate): layout as layout
8874         (getFont): layout as layout
8875         (getLabelFont): layout as layout
8876         (getLayoutFont): layout as layout
8877         (breakParagraph): layout as layout
8878         (stripLeadingSpaces): layout as layout
8879         (getEndLabel): layout as layout
8880         (getMaxDepthAfter): layout as layout
8881         (applyLayout): layout as layout
8882         (TeXOnePar): layout as layout
8883         (simpleTeXOnePar): layout as layout
8884         (TeXEnvironment): layout as layout
8885         (layout): layout as layout
8886         (layout): layout as layout
8887
8888         * lyxtextclass.C (compare_name): new functor to work with
8889         shared_ptr, layout as layout
8890         (Read): layout as layout
8891         (hasLayout): layout as layout
8892         (operator): layout as layout
8893         (delete_layout): layout as layout
8894         (defaultLayout): layout as layout
8895
8896         * lyxlayout_ptr_fwd.h: new file
8897
8898         * lyxlayout.C (Read): layout as layout
8899
8900         * lyx_cb.C (MenuInsertLabel): layout as layout
8901
8902         * bufferlist.C (newFile): layout as layout
8903
8904         * buffer.C (readLyXformat2): layout as layout
8905         (parseSingleLyXformat2Token): layout as layout
8906         (insertStringAsLines): layout as layout
8907         (asciiParagraph): layout as layout
8908         (latexParagraphs): layout as layout
8909         (makeLinuxDocFile): layout as layout
8910         (simpleLinuxDocOnePar): layout as layout
8911         (makeDocBookFile): layout as layout
8912         (simpleDocBookOnePar): layout as layout
8913         (getLists): layout as layout
8914
8915         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8916
8917         * CutAndPaste.C (cutSelection): layout as layout
8918         (pasteSelection): layout as layout
8919         (SwitchLayoutsBetweenClasses): layout as layout
8920
8921         * BufferView_pimpl.C (Dispatch): layout as layout
8922         (smartQuote): layout as layout
8923
8924         * BufferView2.C (unlockInset): layout as layout
8925
8926 2002-06-24  André Pönitz <poenitz@gmx.net>
8927
8928         * lyxfunc.C: fix #487
8929
8930 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8931
8932         * lyxrc.h:
8933         * lyxrc.C:
8934         * lyxfunc.C: remove display_shortcuts, show_banner
8935
8936 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8937
8938         * Buffer_pimpl.C: oops, update on resize
8939
8940 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8941
8942         * buffer.C:
8943         * converter.C:
8944         * exporter.C:
8945         * lyxfunc.C:
8946         * BufferView.h:
8947         * BufferView.C: use repaint()
8948
8949         * BufferView_pimpl.h:
8950         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8951           as it's a clearer description. Remove superfluous
8952           redraws.
8953
8954 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8955
8956         * text.C: fix bug 488. Not ideal, but getting
8957           getWord() to work properly for the insets that
8958           matter is more difficult ...
8959
8960 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8961
8962         * BufferView_pimpl.C:
8963         * LyXAction.C:
8964         * commandtags.h:
8965         * lyxfunc.C: remove the six million index lyxfuncs to just
8966           one, and DTRT (bug 458)
8967
8968 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8969
8970         * BufferView.h:
8971         * BufferView.C:
8972         * BufferView_pimpl.h:
8973         * BufferView_pimpl.C: clean up resize() stuff,
8974           and unnecessary updateScreen()s
8975
8976 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8977
8978         * BufferView.h:
8979         * BufferView.C:
8980         * BufferView_pimpl.h:
8981         * BufferView_pimpl.C:
8982         * lyxfind.h:
8983         * lyxfind.C:
8984         * minibuffer.C: remove focus management of workarea,
8985           not needed. Use screen's greyOut()
8986
8987 2002-06-17  Herbert Voss  <voss@lyx.org>
8988
8989         * converter.C: (convert) do not post a message, when converting
8990         fails, let the calling function decide what to do in this case
8991
8992 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8993
8994         * lyxfunc.C: tidy up a little
8995
8996 2002-06-16    <alstrup@diku.dk>
8997
8998         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8999         Got rid of FORMS_H_LOCATION include. Now we are
9000         GUII.
9001
9002 2002-06-15  LyX Development team  <lyx@rilke>
9003
9004         * buffer.[Ch] (sgmlOpenTag):
9005         (sgmlCloseTag): Added support for avoiding pernicious mixed
9006         content. Return number of lines written.
9007
9008         (makeLinuxDocFile):
9009         (makeDocBookFile): Fixed calls to sgml*Tag.
9010         Simple white space clean.
9011
9012         (simpleDocBookOnePar): Simple white space clean.
9013
9014         * tabular.[Ch] (docBook): Renamed to docbook and got another
9015         argument to related with the pernicious mixed content.
9016
9017         (docbookRow): Fixed calls for docbook inset method.
9018
9019 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9020
9021         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9022         so it's X11 independent.
9023
9024         * kb*.[Ch]: ditto.
9025
9026         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9027
9028 2002-06-15  Lyx Development team  <lyx@electronia>
9029
9030         * intl.h: Renamed getTrans to getTransManager.
9031
9032 2002-06-14  Angus Leeming  <leeming@lyx.org>
9033
9034         * Makefile.am: nuke forgotten stl_string_fwd.h.
9035
9036 2002-06-12  Angus Leeming  <leeming@lyx.org>
9037
9038         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9039
9040 2002-06-13  Angus Leeming  <leeming@lyx.org>
9041
9042         * LaTeX.C:
9043         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9044
9045 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9046
9047         * kbmap.C (getiso): add support for cyrillic and greek
9048
9049 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9050
9051         * BufferView.h:
9052         * BufferView.C:
9053         * BufferView_pimpl.h:
9054         * BufferView_pimpl.C: move bogus scrolling logic
9055           to xforms
9056
9057 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9058
9059         * lyxfunc.C:
9060         * BufferView_pimpl.C: view->resize() change
9061
9062 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9063
9064         * BufferView_pimpl.C: topCursorVisible
9065           prototype change
9066
9067 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9068
9069         * Makefile.am:
9070         * lyx_gui.h:
9071         * lyx_gui.C: move to frontends/
9072
9073         * main.C:
9074         * lyx_main.h:
9075         * lyx_main.C: changes from above
9076
9077 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9078
9079         * intl.C:
9080         * intl.h:
9081         * kbmap.C:
9082         * kbsequence.C:
9083         * lyx_cb.C:
9084         * lyx_main.C: minor tidy
9085
9086 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9087
9088         * BufferView_pimpl.h:
9089         * BufferView_pimpl.C:
9090         * BufferView.h:
9091         * BufferView.C: make painter() const,
9092           remove dead code
9093
9094         * BufferView2.C: use screen() accessor
9095
9096         * lyx_main.h:
9097         * lyx_main.C: some minor cleanup
9098
9099 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9100
9101         * BufferView_pimpl.h:
9102         * BufferView_pimpl.C: remove enter/leaveView,
9103           use workHeight()
9104
9105 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9106
9107         * BufferView.h:
9108         * BufferView.C:
9109         * BufferView2.C:
9110         * BufferView_pimpl.h:
9111         * BufferView_pimpl.C: only construct screen once,
9112           rename
9113
9114         * lyxrc.C: remove pointless comment
9115
9116 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9117
9118         * BufferView.h:
9119         * BufferView.C: remove active() and belowMouse()
9120
9121         * BufferView_pimpl.h:
9122         * BufferView_pimpl.C: use workarea() not workarea_,
9123           and make it use a scoped_ptr instead
9124
9125 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9126
9127         * lyx_gui.C: add debug message on BadWindow
9128
9129 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9130
9131         * sp_spell.C: fdopen is not part of the C++ standard.
9132
9133         * paragraph.C (InsetIterator): use >= instead of ==
9134
9135 2002-06-07  Angus Leeming  <leeming@lyx.org>
9136
9137         Fixes needed to compile with Compaq cxx 6.5.
9138         * BufferView_pimpl.C:
9139         * DepTable.C:
9140         * buffer.C:
9141         * converter.C:
9142         * encoding.C:
9143         * lyx_gui.C:
9144         * lyx_main.C:
9145         * lyxtextclasslist.C:
9146         * minibuffer.C:
9147         * sp_spell.C:
9148         * tabular_funcs.C:
9149         * vc-backend.C:
9150         all c-library variables have been moved into namespace std. Wrap
9151         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9152
9153         * lyxlength.C:
9154         * tabular-old.C:
9155         * tabular.C:
9156         Add a using std::abs declaration.
9157
9158         * kbmap.h (modifier_pair):
9159         * paragraph.h (InsetTable, InsetList):
9160         * lyxfont.h (FontBits):
9161         type definition made public.
9162
9163         * bufferlist.C (emergencyWriteAll): the compiler complains that
9164         there is more than one possible lyx::class_fun template to choose from.
9165         I re-named the void specialisation as lyx::void_class_fun.
9166
9167         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9168
9169         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9170         the compiler is is unable to find tostr in write_attribute.
9171
9172 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9173
9174         * buffer.C (sgmlError): hide #warning
9175
9176 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9177
9178         * xtl/*: get rid of xtl, which is not in use anyway
9179
9180         * LyXAction.C (init):
9181         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9182         were unimplemented xtl experimentation
9183
9184 2002-06-04  André Pönitz <poenitz@gmx.net>
9185
9186         * lyxfunc.C: disable array operation on simple formulae
9187
9188 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9189
9190         * converter.C: constify a bit
9191
9192 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9193
9194         * lyx_gui.C: check xforms version correctly
9195
9196 2002-04-30  Herbert Voss  <voss@lyx.org>
9197
9198         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9199         "keep" option
9200
9201 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9202
9203         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9204           attempt to register it with a VCS)
9205
9206 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9207
9208         * lyx_main.C (init): honor variables LYX_DIR_13x and
9209         LYX_USERDIR_13x
9210
9211 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9212
9213         * buffer.h:
9214         * buffer.C:
9215         * lyx_main.C: fix a crash on bad command line,
9216           and give a useful exit status on error
9217
9218         * lyxfunc.C (doImport): allow -i lyx to work
9219
9220 2002-03-30  André Pönitz <poenitz@gmx.net>
9221
9222         * lyxfunc.C: mathed font changes
9223
9224 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9225
9226         * LaTeX.C:
9227         * importer.h:
9228         * importer.C:
9229         * lyx_sty.h:
9230         * lyx_sty.C:
9231         * lyxlex.C:
9232         * lyxrow.h:
9233         * lyxtext.h:
9234         * paragraph.h:
9235         * paragraph.C:
9236         * texrow.h:
9237         * texrow.C:
9238         * text.C:
9239         * trans_mgr.h: srcdocs, and some minor cleanups
9240
9241 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9242
9243         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9244         call getFont all the time)
9245
9246 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9247
9248         * switch from SigC signals to boost::signals
9249
9250 2002-05-29  André Pönitz <poenitz@gmx.net>
9251
9252         * paragraph_pimpl.C (getChar): don't call size() too often...
9253
9254 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9255
9256         * paragraph_pimpl.C (insertChar): do not try to update tables when
9257         appending (pos == size())
9258
9259         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9260         in order to reduce drastically the number of comparisons needed to
9261         parse a large document
9262
9263 2002-05-29  André Pönitz <poenitz@gmx.net>
9264
9265         * text.C:
9266         * text2.C:
9267         * lyxtextclass.C:
9268         * sp_pspell.h:
9269         * textclasslist.[Ch]:
9270         * sp_ispell.h: whitespace change
9271
9272 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9273
9274         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9275         lyxaction directly now.
9276
9277 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9278
9279         * trans.C:
9280         * lyxfont.C:
9281         * lyxvc.C: remove unused headers
9282
9283 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9284
9285         * Makefile.am:
9286         * buffer.h:
9287         * undostack.h:
9288         * undostack.C:
9289         * undo_funcs.h:
9290         * undo_funcs.C: some cleanups. Use shared_ptr
9291           and a template for the undo stacks.
9292
9293 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9294
9295         * BufferView_pimpl.h:
9296         * BufferView_pimpl.C:
9297         * kbmap.h:
9298         * kbmap.C:
9299         * kbsequence.h:
9300         * kbsequence.C:
9301         * lyxfunc.h:
9302         * lyxfunc.C:
9303         * text2.C: use key_state/mouse_state
9304
9305 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9306
9307         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9308         and LSubstring
9309
9310         * chset.C: change include order
9311         (loadFile): use boost regex and get rid of LRegex and LSubstring
9312
9313         * Makefile.am (BOOST_LIBS): new variable
9314         (lyx_LDADD): use it
9315
9316         * LaTeX.C: change include order.
9317         (scanAuxFile): use boost regex and get rid of LRegex and
9318         LSubstring
9319         (deplog): ditto
9320
9321 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9322
9323         * ColorHandler.h:
9324         * ColorHandler.C:
9325         * FontInfo.h:
9326         * FontInfo.C: moved to frontends/xforms/
9327
9328         * FontLoader.h:
9329         * FontLoader.C: moved into frontends for GUIIzation
9330
9331         * Makefile.am:
9332         * lyx_gui.C:
9333         * lyxfont.C:
9334         * lyxfunc.C: changes from above
9335
9336 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9337
9338         * LColor.C: remove spurious X include
9339
9340         * BufferView_pimpl.C:
9341         * Makefile.am:
9342         * font.h:
9343         * font.C:
9344         * text.C:
9345         * text2.C: move font metrics to frontends/
9346
9347 2002-05-24  Juergen Vigna  <jug@sad.it>
9348
9349         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9350         setting the undo_cursor.
9351
9352         * ParagraphParameters.h: include local includes first.
9353
9354 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9355
9356         * BufferView_pimpl.C:
9357         * BufferView_pimpl.h:
9358         * Makefile.am:
9359         * WorkArea.h:
9360         * WorkArea.C:
9361         * screen.C: move WorkArea into frontends/
9362
9363         * lyxscreen.h:
9364         * screen.C:
9365         * text.C:
9366         * BufferView.C:
9367         * BufferView2.C: move LyXScreen into frontends/
9368
9369         * lyxlookup.h:
9370         * lyxlookup.C:
9371         * lyx_gui.C: move lyxlookup into frontends/xforms/
9372
9373 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9374
9375         * BufferView2.C:
9376         * BufferView_pimpl.C:
9377         * FontLoader.C:
9378         * LyXView.h:
9379         * LyXView.C:
9380         * Makefile.am:
9381         * WorkArea.C:
9382         * XFormsView.h:
9383         * XFormsView.C:
9384         * buffer.C:
9385         * bufferlist.C:
9386         * bufferview_funcs.C:
9387         * converter.C:
9388         * importer.C:
9389         * lyx_cb.C:
9390         * lyx_gui.C:
9391         * lyx_main.C:
9392         * lyx_find.C:
9393         * lyxfunc.C:
9394         * lyxvc.C:
9395         * minibuffer.C:
9396         * text.C:
9397         * text2.C:
9398         * trans.C:
9399         * vc-backend.C: move LyX/XFormsView into frontends/
9400
9401 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9402
9403         * Makefile.am:
9404         * PainterBase.C:
9405         * PainterBase.h:
9406         * Painter.C:
9407         * Painter.h:
9408         * WorkArea.C:
9409         * WorkArea.h:
9410         * screen.C:
9411         * tabular.C:
9412         * text.C:
9413         * text2.C: move Painter to frontends/
9414
9415 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9416
9417         * buffer.C: comment out some some code that depend upon lyx_format
9418         < 220
9419
9420         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9421         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9422
9423         * buffer.h (NO_COMPABILITY): turn off compability
9424
9425         * ColorHandler.C: include scoped_array.hpp
9426
9427         * font.C: Use more specific smart_ptr header.
9428         * Painter.C: ditto
9429         * gettext.C: ditto
9430         * ShareContainer.h: ditto
9431         * lyx_main.h: ditto
9432         * kbmap.h: ditto
9433         * FontInfo.h: ditto
9434         * BufferView_pimpl.h: ditto
9435         * ColorHandler.h: ditto
9436
9437         * kbmap.C (defkey): change call to shared_ptr::reset
9438
9439 2002-05-21  Juergen Vigna  <jug@sad.it>
9440
9441         * buffer.C (insertErtContents): fix to insert ert asis if it is
9442         non empty. Skip it completely if it contains only whitespaces.
9443
9444 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9445
9446         * BufferView_pimpl.C:
9447         * BufferView2.C: clear selection on paste (bug 393)
9448
9449 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9450
9451         * DepTable.C: include ctime
9452
9453 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9454
9455         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9456
9457 2002-05-14  Juergen Vigna  <jug@sad.it>
9458
9459         * text.C (breakParagraph): fixed function to honor the keepempty
9460         layout in the right maner and also to permit the right breaking
9461         algorithm on empty or non empyt keepempty paragraphs.
9462
9463         * paragraph.C (breakParagraph): we have to check also if the par
9464         is really empty (!size()) for isempty otherwise we do the wrong
9465         paragraph break.
9466
9467 2002-05-10  Juergen Vigna  <jug@sad.it>
9468
9469         * buffer.[Ch] : The following are only changes to the ert
9470         compatibility read reading old LaTeX layout and font stuff and
9471         convert it to ERTInsets.
9472
9473         * buffer.h: added isErtInset().
9474
9475         * buffer.C (struct ErtComp): add a fromlayout bool to check
9476         if we're inside a LaTeX layout.
9477         (isErtInset): new helper function.
9478         (insertErtContents): look for other ert insets before this one
9479         and insert the contents there, so that we don't have subsequent
9480         ERT insets with nothing between them. This way we create only one
9481         inset with multiple paragraphs. Also check if we don't insert only
9482         spaces ' ' as they are ignored anyway afterwards in the .tex file
9483         so if we have only spaces we will ignore this latex part in the
9484         new file.
9485         (parseSingleLyXformat2Token \\layout): better compatibility when
9486         reading layout-latex stuff.
9487         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9488         language tag.
9489         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9490         stuff after reading the inset only get the information back from
9491         the stack.
9492
9493 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9494
9495         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9496
9497         * LaTeXFeatures.C (getBabelOptions): New method.
9498
9499 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9500
9501         * BufferView_pimpl.C (Dispatch): work around missing argument for
9502         'layout'
9503
9504 2002-05-08  Juergen Vigna  <jug@sad.it>
9505
9506         * text.C (leftMargin): handle paragraph leftindent.
9507
9508         * paragraph.C (writeFile): write the new \\leftindent tag.
9509         (validate): handle leftindent code.
9510         (TeXEnvironment): handle paragraphleftindent code again.
9511
9512         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9513
9514         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9515         for paragrap_extra indent code and new token \\leftindent.
9516         (latexParagraphs): handle the leftindent as environment.
9517
9518         * ParameterStruct.h: added leftindent support.
9519
9520         * ParagraphParameters.C (leftIndent): added support functions for
9521         the paragraph left indent.
9522
9523         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9524         more appropriate.
9525
9526 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9527
9528         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9529         inside insetERT.
9530
9531         * text.C (computeBidiTables): No bidi in insetERT.
9532
9533         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9534         in RTL documents.
9535
9536 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9537
9538         * version.C.in: pre 5
9539
9540 2002-05-02  José Matos  <jamatos@fep.up.pt>
9541         * buffer.C (makeDocBookFile): white space changes, add newline to
9542         command styles.
9543         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9544
9545         * tabular.C (docBook): fix typo.
9546
9547 2002-05-03  Juergen Vigna  <jug@sad.it>
9548
9549         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9550         change in LyXText as we can not be sure it was not freed.
9551         (drawOneRow): remove unused code.
9552
9553         * text.C (drawInset): redo the calculation of the need_break_row as
9554         it could have a row which was already freed.
9555         (draw): look at the return value of drawInset and return false if
9556         it also returned false.
9557         (paintRowText): look at the return value of draw and return false if
9558         it also returned false.
9559
9560         * lyxtext.h: added bool return type to drawInset() and draw() so that
9561         if we have a change in the row so that the rowbreak has to be redone
9562         we abort drawing as it will be called again.
9563
9564 2002-05-02  Juergen Vigna  <jug@sad.it>
9565
9566         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9567         a change in the maintext also if we're inside an inset.
9568         (Dispatch): set the cursor again after a break line and after the
9569         screen has been updated as it could be we're in a different row.
9570
9571         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9572         to set the cursor behind the pargraph with > size().
9573         (setCursor): check also for the same paragraph when checking where
9574         to put the cursor if we have a NFR inset.
9575
9576         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9577         parts of layout read further up as it still was in the wrong
9578         position.
9579
9580 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9581
9582         * screen.C (drawFromTo): change sine fullRebreak always return
9583         true.
9584
9585         * buffer.C (parseSingleLyXformat2Token): reindent some
9586
9587         * BufferView_pimpl.C (update): change since fullRebreak always
9588         return true.
9589         (Dispatch): git rid of the last hardcoded "Standard"s.
9590
9591 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9592
9593         * text2.[Ch] (fullRebreak): make it return void now that we always
9594         returned true.
9595
9596 2002-04-30  Juergen Vigna  <jug@sad.it>
9597
9598         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9599         ert compatibility check for "latex" layout.
9600
9601 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9602
9603         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9604         minipages: use col% instead of p%, and also use the current font.
9605         (makeLaTeXFile): Fix use babel condition.
9606         (parseSingleLyXformat2Token): Correct font when reading old floats.
9607
9608 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9609
9610         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9611         inserting list of floats.
9612
9613 2002-04-25  Herbert Voss  <voss@lyx.org>
9614
9615         * MenuBackend.C (expand): don't add the graphics extensions to the
9616         export menu
9617
9618 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9619
9620         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9621         non-existing layout, do not complain if it was the default layout
9622         of the original class (bug #342)
9623
9624 2002-04-24  Juergen Vigna  <jug@sad.it>
9625
9626         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9627         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9628
9629 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9630
9631         * buffer.C (getBibkeyList): If using \bibliography, return the
9632         option field with the reference itself. Enables us to provide natbib
9633         support when using \bibliography.
9634
9635 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9636
9637         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9638
9639         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9640         natbib is provided by the LaTeX class.
9641
9642 2002-04-23  Juergen Vigna  <jug@sad.it>
9643
9644         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9645         Wakeup functions.
9646
9647         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9648
9649 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9650
9651         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9652
9653         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9654         ensuremath around textordmasculine, textordfeminine and
9655         textdegree.
9656
9657 2002-04-19  Juergen Vigna  <jug@sad.it>
9658
9659         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9660         reinitializing the buffer otherwise row-dimensions may be wrong.
9661         (update): reset also the selection cursors if they do exits otherwise
9662         their x/y positions may be wrong.
9663
9664         * text2.C (cursorDown): don't enter the inset if we came from a row
9665         above and are one row over the inset.
9666
9667         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9668         really leaving an inset.
9669
9670 2002-04-18  Juergen Vigna  <jug@sad.it>
9671
9672         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9673         of the selected paragraph does not have the selected layout also if
9674         the last one had!
9675
9676         * text2.C (setLayout): fixed bug which did not change last selected
9677         paragraph.
9678
9679         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9680         changed the read and substituted \\end_float with \\end_inset!
9681
9682         * BufferView_pimpl.C (cursorPrevious):
9683         (cursorNext): fixed to make it work with rows heigher than the work
9684         area without moving the cursor only the draw of the row.
9685         (workAreaMotionNotify): fix jumping over high rows.
9686
9687 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9688
9689         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9690         Ressler.
9691
9692 2002-04-16  Juergen Vigna  <jug@sad.it>
9693
9694         * text2.C (setCursor): set also the irow().
9695         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9696         (cursorUp):
9697         (cursorDown): support for locking an inset if the x_fix value goes
9698         inside it. That way I can transverse insets too with cursor up/down.
9699
9700         * lyxrow.h: added irow helper function same as other (i) functions.
9701
9702         * BufferView_pimpl.C (cursorPrevious):
9703         (cursorNext): fixed for insets!
9704
9705 2002-04-15  Juergen Vigna  <jug@sad.it>
9706
9707         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9708         position otherwise it is wrong in some cases.
9709
9710         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9711         inside the inset before the call.
9712
9713 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9714
9715         * buffer.[Ch] (getBibkeyList): make it const.
9716
9717 2002-04-12  Juergen Vigna  <jug@sad.it>
9718
9719         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9720
9721         * text2.C (getCursorX): new helper function
9722         (setCursor): compute also ix_
9723         (setCursorFromCoordinates): set also ix.
9724
9725         * lyxcursor.h: added ix_ and helper functions.
9726
9727         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9728
9729         * buffer.C (insertStringAsLines): dont break paragraph if the this
9730         paragraph is inside an inset which does not permit it!
9731
9732         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9733         also with no chars on this paragraph.
9734         (paintRowText): only paint stuff if it's inside the workarea!
9735
9736         * paragraph.C (breakParagraph): honor keepempty flag and break the
9737         paragraph always below not above.
9738
9739         * BufferView2.C (unlockInset): update the paragraph layout on inset
9740         unlock as we changed paragraph in such a case.
9741
9742         * lyxfind.C (LyXFind): clear the former selection if not found!
9743
9744         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9745         again called in insertChar().
9746
9747         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9748         an inset which uses the whole row!
9749         (rightMargin): ditto.
9750         (insertChar): force a rebreak if we inserted an inset!
9751
9752 2002-03-28  Herbert Voss  <voss@lyx.org>
9753
9754         * lyxlength.[Ch]: add inBP() to get the right PS-point
9755         units (BigPoint). With inPixels we have rounding errors
9756
9757 2002-04-11  Juergen Vigna  <jug@sad.it>
9758
9759         * text2.C (setCursorFromCoordinates): set iy to the right value.
9760         (setCursor): add check if row->previous exists!
9761
9762         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9763         an old float_type as this was the case in the old code!
9764
9765         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9766
9767         * BufferView2.C (showLockedInsetCursor): use iy
9768         (fitLockedInsetCursor): ditto
9769
9770         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9771         locked insets as there we have the right value now.
9772
9773         * lyxcursor.C: added iy_ variable and iy functions to set to the
9774         baseline of cursor-y of the locked inset.
9775
9776         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9777         (setCursor): fixed for insets which need a full row.
9778
9779         * text.C (rowLastPrintable): don't ignore the last space when before
9780         an inset which needs a full row.
9781         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9782         as last character of a row when before a inset which needs a full row.
9783
9784 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9785
9786         * version.C.in: update date
9787
9788         * text2.C (fullRebreak): try to always return true and see what
9789         happens...
9790
9791 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9792
9793         * MenuBackend.C (expand): use Floating::listName
9794
9795         * FloatList.C (FloatList): add listName argument to the built-in
9796         floats
9797
9798         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9799         text associated with the float.
9800
9801 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9802
9803         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9804
9805 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9806
9807         * ShareContainer.h: add a couple of missing typenames.
9808
9809 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9810
9811         * lyxrc.C (getDescription): use _() correctly rather than N_().
9812
9813 2002-03-28  Herbert Voss  <voss@lyx.org>
9814
9815         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9816         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9817
9818 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9819
9820         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9821         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9822
9823 2002-03-29  Juergen Vigna  <jug@sad.it>
9824
9825         * lyxfunc.C (dispatch): add a missing fitCursor call.
9826
9827         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9828         it was scrolled by a cursor move, so return the bool status.
9829
9830         * BufferView.C (fitCursor): return the bool flag also to the outside
9831         world as this is needed.
9832
9833         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9834
9835         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9836         call the edit() as it is not needed (and wrong) IMO.
9837         (workAreaButtonPress): set the screen_first variable before evt.
9838         unlock the inset as this may change screen_first and then we have
9839         a wrong y position for the click!
9840
9841 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9842
9843         * MenuBackend.C (expand): another translation that I missed
9844
9845 2002-03-28  Juergen Vigna  <jug@sad.it>
9846
9847         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9848
9849         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9850
9851 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9852
9853         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9854
9855         * MenuBackend.C (expand): fix export/view/update when there is no
9856         document open.
9857
9858 2002-03-27  Herbert Voss  <voss@lyx.org>
9859
9860         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9861         and text%
9862
9863 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9864
9865         * bufferview_funcs.C (currentState): only show paragraph number
9866         for is DEVEL_VERSION is set.
9867
9868         * lyxfunc.C (dispatch): put warning in INFO channel
9869
9870         * MenuBackend.C (expand): translate the name of floats
9871
9872         * FloatList.C (FloatList): mark the float names for translation
9873
9874         * converter.C (convert): use LibScriptSearch
9875
9876 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9877
9878         * MenuBackend.C (defaults): fix default menu (we might as well get
9879         rid of it...)
9880
9881 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9882
9883         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9884         directory.
9885
9886 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9887
9888         * lyxvc.C: reorder includes.
9889
9890 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9891
9892         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9893           properly
9894
9895 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9896
9897         * CutAndPaste.C: change layouts earlier on paste
9898           to avoid crashing when calling getFont()
9899
9900 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9901
9902         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9903         irritating #error.
9904
9905 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9906
9907         * WorkArea.C: remove 'Pending' debug message.
9908
9909         * most files: ws cleanup
9910
9911         * buffer.[Ch]: ws changes
9912
9913         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9914
9915 2002-03-21  Juergen Vigna  <jug@sad.it>
9916
9917         * tabular.C (SetMultiColumn): collapse also the contents of the
9918         cells and set the last border right. Added a Buffer const * param.
9919
9920 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9921
9922         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9923         linking or not.
9924
9925 2002-03-19  Juergen Vigna  <jug@sad.it>
9926
9927         * text2.C (clearSelection): reset also xsel_cache.
9928
9929         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9930         where it needs to be called (John tells us to do so too :)
9931         (selectionLost): reset sel_cache.
9932
9933         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9934
9935 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9936
9937         * text2.C (setCursorIntern): put debuging code in INSETS channel
9938
9939 2002-03-19  André Pönitz <poenitz@gmx.net>
9940
9941         * lyxfunc.C: tiny whitespace change
9942
9943 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9944
9945         * ToolbarDefaults.C (init):
9946         * LyXAction.C (init):
9947         * commandtags.h:
9948         * BufferView_pimpl.C (Dispatch):
9949         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9950
9951 2002-03-19  Allan Rae  <rae@lyx.org>
9952
9953         * exporter.C (Export): removeAutoInsets before doing anything else.
9954         While I've just introduced a dependency on BufferView this really is
9955         the best place to clean the buffer otherwise you need to cleanup in
9956         a dozen places before calling export or cleanup in a dozen functions
9957         that export calls.
9958
9959         * converter.C (runLaTeX):
9960         (scanLog): Better handling of removeAutoInsets and screen updates.
9961
9962         * lyxfunc.C (dispatch): small whitespace changes
9963
9964 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9965
9966         * WorkArea.C (C_WorkAreaEvent): return a value.
9967         (event_cb): return 1 if we handled the event, 0 otherwise.
9968
9969         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9970
9971 2002-03-18  Juergen Vigna  <jug@sad.it>
9972
9973         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9974         (GetAdditionalWidth): ditto.
9975         (RightLine): ditto.
9976         (LeftLine): ditto.
9977
9978         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9979         inset if we're there actually (probably not used right now but this
9980         is the direction to go for unifying code).
9981         (paste): disable code to clear the selection.
9982
9983         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9984         inside an InsetText and move the check further up as it is in the
9985         wrong place.
9986
9987         * text2.C (pasteSelection): set a selection over the pasted text.
9988
9989 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9990
9991         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9992         and libgraphics to build on Cygwin.
9993
9994 2002-03-15  Juergen Vigna  <jug@sad.it>
9995
9996         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9997         inserting an Inset into the paragraph. I know this is not the best
9998         fix but we already use current_view in CutAndPaste so we will remove
9999         all of it's using at the same time.
10000
10001         * buffer.C (sgmlError): deactivated function till it is rewritten in
10002         the right mode, now it can create problems.
10003
10004         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10005         before accessing it.
10006
10007 2002-03-14  Juergen Vigna  <jug@sad.it>
10008
10009         * undo_funcs.C (textHandleUndo): do the right thing when updating
10010         the inset after the undo/redo.
10011
10012         * text2.C (setCursor): just some testcode for #44 not ready yet.
10013
10014         * undo_funcs.C (textHandleUndo): set the next() and previous()
10015         pointers of the paragraph to 0 before deleting otherwise we have
10016         problems with the Paragraph::[destructor].
10017
10018         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10019         on a paragraph insertion.
10020
10021 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10022
10023         * buffer.C (asciiParagraph): use += operator for char append to
10024         string.
10025
10026         * paragraph.C (getFontSettings): compare >= not just >
10027         (highestFontInRange): ditto
10028         (setFont): ditto
10029
10030 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10031
10032         * paragraph.C: change several algorithm to be more appripriate for
10033         the problem domain. This is lookip in FontList and in the InsetList.
10034
10035 2002-03-13  André Pönitz <poenitz@gmx.net>
10036
10037         * commandtags.h:
10038         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10039
10040 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10041
10042         * commandtags.h:
10043         * LyXAction.C:
10044         * lyxfunc.C:
10045         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10046
10047 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10048
10049         * Painter.C (display): anon helper function, adjust code for this
10050         change.
10051         (pixmap): remove function.
10052
10053         * Painter.h: remove private display variable.
10054
10055         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10056
10057 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10058
10059         * WorkArea.[Ch]: remove figinset_canvas cruft.
10060
10061 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10062
10063         * lyxtextclass.C (operator): add one item cache optimization.
10064
10065         * bufferlist.h: doxy changes
10066
10067         * bufferlist.C: ws changes
10068
10069         * DepTable.[Ch] (ext_exist): place const in the right spot.
10070
10071         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10072         call resizeInsets.
10073         (workAreaExpose): call resizeInsets when the with BufferView changes.
10074         (Dispatch): adjust for protectedBlank removal
10075         (specialChar): call updateInset if the insert went ok.
10076
10077         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10078         specialChar instead.
10079
10080         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10081
10082         * BufferView.h: doxy change
10083
10084         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10085
10086         * lyxtextclass.C (operator[]): remove non-const version
10087         (defaultLayout): remove non-const version
10088
10089 2002-03-12  Juergen Vigna  <jug@sad.it>
10090
10091         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10092         did resize the LyXText too.
10093
10094         * buffer.C (readLyXformat2): set layout information on newly allocated
10095         paragraphs.
10096
10097         * tabular.C (OldFormatRead): set layout information on the paragraph.
10098
10099 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10100
10101         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10102
10103 2002-03-11  Juergen Vigna  <jug@sad.it>
10104
10105         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10106         plainly wrong.
10107         (resizeCurrentBuffer): force also the insets to resize themselfes.
10108         (moveCursorUpdate): fixed up for InsetText.
10109
10110 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10111
10112         * commandtags.h:
10113         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10114         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10115         value of Dialogs::tooltipsEnabled().
10116         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10117
10118 2002-03-08  Juergen Vigna  <jug@sad.it>
10119
10120         * BufferView_pimpl.C (updateInset): update inset inside inset also
10121         if it isn't inside theLockingInset().
10122
10123 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10124
10125         * buffer.C (asciiParagraph): redo some of the word and line length
10126         handling.
10127         (getLists): look for Caption instead of caption.
10128
10129 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10130
10131         * buffer.C (Buffer): initialize niceFile to true
10132         (makeLaTeXFile):
10133         (makeLinuxDocFile):
10134         (makeDocBookFile): make sure niceFile is true on exit
10135
10136 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10137
10138         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10139
10140 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10141
10142         * LyXSendto.C: remove.
10143         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10144         * lyx_gui.C: remove now-redundant comment.
10145         * ColorHandler.h: remove forward declaration of class WorkArea.
10146         * lyxfunc.C: remove #include "WorkArea.h".
10147
10148 2002-03-07  Juergen Vigna  <jug@sad.it>
10149
10150         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10151         got moved away with the DEPM and also set the inset_owner always
10152         right which before could have been omitted.
10153
10154 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10155
10156         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10157         wanted layout is not found.
10158
10159 2002-03-07  Juergen Vigna  <jug@sad.it>
10160
10161         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10162
10163 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10164
10165         * paragraph.C (breakParagraph): use default layout not layout of
10166         prev paragraph.
10167         (Paragraph): clear ParagraphParameters.
10168
10169 2002-03-06  Juergen Vigna  <jug@sad.it>
10170
10171         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10172         otherwise it would not be a valid lenght. Fixed a special case in
10173         the minipage compatibility read where we end the document with a
10174         minipage.
10175
10176         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10177         was set as it could be 0 for InsetTexts first entry.
10178
10179 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10180
10181         * paragraph.C (writeFile): if layout is empty write out
10182         defaultLayoutName().
10183
10184         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10185         file without named layout we set layout to defaultLayoutName().
10186
10187 2002-03-06  Juergen Vigna  <jug@sad.it>
10188
10189         * CutAndPaste.C (copySelection): set layout for new paragraph.
10190
10191         * text.C (prepareToPrint): leave ERT inset left aligned
10192         (leftMargin): don't indent paragraphs inside ERT insets
10193
10194 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10195
10196         * paragraph.C (breakParagraph): dont call clear do the work manually
10197
10198         * paragraph.[Ch] (clear): remove function
10199
10200 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10201
10202         * paragraph.C (Paragraph): dont call clear, the work has already
10203         been done.
10204
10205         * lyxtextclass.C (operator): assert if n is empty
10206
10207         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10208         work manually instead.
10209
10210 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * BufferView_pimpl.C: protect selectionLost against text == 0
10213
10214 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10215
10216         * text.C (breakParagraph): fix a setting layout to '0' problem.
10217
10218 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10219
10220         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10221         final location of file, for the included files, and graphics.
10222
10223 2002-03-05  Juergen Vigna  <jug@sad.it>
10224
10225         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10226
10227 2002-03-04  Juergen Vigna  <jug@sad.it>
10228
10229         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10230
10231         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10232         last column of multicolumn cells.
10233         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10234
10235 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10236
10237         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10238         file if it doesn't go to a temporary file.
10239
10240         * buffer.C (sgmlOpenTag):
10241         (sgmlCloseTag):  remove extra newline insertion.
10242
10243 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10244
10245         * text.C (getRowNearY): comment out debug msg
10246
10247 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10248
10249         * text2.C: first -> first_y
10250
10251         * text.C (getRowNearY): add some attemts at a possible
10252         optimization, not working.
10253
10254         * tabular.[Ch]: add BufferParams to several function so that newly
10255         created paragraph can be initialized to he default layotu for the
10256         buffers textclass.
10257
10258         * tabular-old.C (ReadOld): add buf->params to call of Init
10259
10260         * screen.C: rename text->first to text->first_y
10261
10262         * paragraph.C (breakParagraph): always set layout in the broken
10263         paragraph
10264
10265         * lyxtextclass.C (Read): remove lowercase
10266         (hasLayout): ditto
10267         (operator): ditto
10268         (delete_layout): ditto
10269
10270         * lyxtext.h: rename first -> first_y
10271
10272         * lyxlayout.C (Read): remove lowercase
10273         (name): ditto
10274         (setName): ditto
10275         (obsoleted_by): ditto
10276
10277         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10278
10279         * buffer.C (insertErtContents): add params are to InsetERT
10280         (parseSingleLyXformat2Token): add code to check if a paragraphs
10281         layout really exist.
10282         (parseSingleLyXformat2Token): add params to several inset
10283         constructors
10284         (asciiParagraph): remove lowercase, do the layout comparisons with
10285         no_case
10286
10287         * BufferView_pimpl.C (cursorNext): first -> first_y
10288         (resizeCurrentBuffer): first -> first_y
10289         (updateScrollbar): first -> first_y
10290         (scrollCB): first -> first_y
10291         (workAreaMotionNotify): first -> first_y
10292         (workAreaButtonPress): first -> first_y
10293         (checkInsetHit): first -> first_y
10294         (cursorPrevious): first -> first_y
10295         (cursorNext): first -> first_y
10296         (Dispatch): add buffer_->params to severl inset contructors
10297
10298 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10299
10300         * lyxlayout.C (Read): remove some debug info that I forgot.
10301
10302         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10303         clean up the code slightly.
10304         (makeLinuxDocFile): ditto
10305         (makeDocBookFile): ditto
10306
10307         * text2.C: layout as string
10308
10309         * text.C: layout as string
10310
10311         * paragraph_pimpl.C: layout as string
10312
10313         * paragraph.[Ch]: layout as string
10314
10315         * lyxtextclasslist.[Ch]: layout as string
10316
10317         * lyxtextclass.[Ch]: layout as string
10318
10319         * lyxtext.h: layout as string
10320
10321         * lyxlayout.[Ch]: layout as string
10322
10323         * lyx_cb.C: layout as string
10324
10325         * bufferview_funcs.C: layout as string
10326
10327         * bufferparams.C: layout as string
10328
10329         * buffer.C: layout as string
10330
10331         * LyXView.[Ch]: layout as string
10332
10333         * LaTeXFeatures.[Ch]: layout as string
10334
10335         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10336
10337         * BufferView_pimpl.C: change current_layout to string, remove
10338         lyx::layout_type.
10339         (Dispatch):
10340         (smartQuote):
10341         (insertInset):
10342         (workAreaButtonRelease): layout as string
10343
10344         * BufferView2.C (unlockInset): adjust
10345
10346         * vspace.C (asLatexCommand): use an explict temp variable.
10347
10348 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10349
10350         * Makefile.am: use FRONTEND_*
10351
10352 2002-03-01  Juergen Vigna  <jug@sad.it>
10353
10354         * tabular.C (SetWidthOfMulticolCell): changed to something better
10355         I hope but still work in progress.
10356         (recalculateMulticolumnsOfColumn): renamed function from
10357         recalculateMulticolCells as it is more appropriate now.
10358         (SetWidthOfCell): calculate multicols better.
10359
10360 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10361
10362         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10363
10364         * lyxfunc.C (processKeySym): print sequence also if it is
10365         `deleted' (complete)
10366
10367         * kbsequence.C (print): print sequence even if it is deleted
10368         (complete would be a better word, actually).
10369
10370         * lyxfunc.C (dispatch): print complete options after a prefix key
10371
10372         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10373
10374 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10375
10376         * text2.C (setCharFont): eliminate setCharFont code duplication.
10377
10378 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10379
10380         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10381         LFUN_TABULAR_FEATURE (bug #177)
10382
10383 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10384
10385         * Makefile.am: remove figure.h
10386
10387 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10388
10389         * Bufferview_pimpl.C:
10390         * CutAndPasteC:
10391         * LaTeX.C:
10392         * LyXSendto.C:
10393         * buffer.C:
10394         * bufferlist.C:
10395         * converter.C:
10396         * language.C:
10397         * lyxfunc.C:
10398         * lyxvc.C:
10399         * paragraph.C:
10400         * text.C:
10401         * text2.C: remove #include "lyx_gui_misc.h".
10402
10403         * LaTeX.C: added #include <cstdio>
10404
10405 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10406
10407         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10408         that the paragraph following this one can have.
10409
10410         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10411
10412         * vspace.C (asLatexCommand): fix bogus gcc warning
10413
10414         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10415
10416 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10417
10418         * text2.C (setLayout): get rid of redundant code
10419
10420 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10421
10422         * text2.C (incDepth): make sure depth cannot be increased beyond
10423         reasonable values.
10424
10425 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10426
10427         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10428         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10429
10430         * PainterBase.h (image):
10431         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10432         a LyXImage const *.
10433
10434 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10435
10436         * BufferView.C:
10437         * BufferView.h:
10438         * BufferView_pimpl.C:
10439         * BufferView_pimpl.h:
10440         * LaTeXFeatures.C:
10441         * LyXAction.C:
10442         * LyXView.C:
10443         * Makefile.am:
10444         * UpdateList.h:
10445         * UpdateList.C:
10446         * buffer.C:
10447         * figure.h:
10448         * figureForm.C:
10449         * figureForm.h:
10450         * figure_form.C:
10451         * figure_form.h:
10452         * lyx_cb.C:
10453         * lyx_gui.C:
10454         * lyx_gui_misc.C:
10455         * lyxfunc.C:
10456         * sp_base.h:
10457         * sp_ispell.h:
10458         * sp_pspell.h:
10459         * sp_spell.C: remove fig inset, and the crap house of
10460           cards that follows it
10461
10462 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10463
10464         * Makefile.am:
10465         * lyxserver.C:
10466         * os2_defines.h:
10467         * os2_errortable.h:
10468         * nt_defines.h: move .h into support/
10469
10470         * vms_defines.h: remove
10471
10472         * WorkArea.C: add space in debug output
10473
10474         * text2.C:
10475         * paragraph.C:
10476         * buffer.C: add WITH_WARNINGS
10477
10478         * vc-backend.h:
10479         * vc-backend.C:
10480         * bufferlist.C: s/retrive/retrieve/, add docs
10481
10482         * vspace.h:
10483         * vspace.C:
10484         * kbmap.h:
10485         * lyxlength.h:
10486         * lyxgluelength.h:
10487         * length_common.h:
10488         * chset.h:
10489         * chset.C: add docs
10490
10491         * lyxgui.C: add ID to X error handler
10492
10493         * lyxtestclass.c: fix typo
10494
10495 2002-02-26  Juergen Vigna  <jug@sad.it>
10496
10497         * tabular_funcs.C (write_attribute): changed so that some default
10498         attributes are not written at all.
10499         (getTokenValue): set default values before trying to read the
10500         value so we have the return value always set as default if we don't
10501         find the token we search for.
10502
10503         * tabular.C (Write): write bools as bools not as strings!
10504
10505 2002-02-22  Juergen Vigna  <jug@sad.it>
10506
10507         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10508         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10509
10510         * text.C (leftMargin): don't add an indent for paragraphs inside
10511         tabular cells (fix #208).
10512
10513 2002-02-21  José Matos  <jamatos@fep.up.pt>
10514
10515         * tabular.C (docBook): fixed support for long tables.
10516
10517 2002-02-20  Juergen Vigna  <jug@sad.it>
10518
10519         * text2.C (getFont): get the drawing font of the Inset if this
10520         paragraph is inside an inset (only important for InsetERT for now).
10521
10522         * buffer.C (insertErtContents): use new lanugage params in ERT
10523         constructor.
10524
10525         * CutAndPaste.C: commenting out seemingly uneeded code.
10526
10527 2002-02-19  Allan Rae  <rae@lyx.org>
10528
10529         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10530         Iterators might be simple to use but they also get invalidated.
10531         (removeAutoInsets): renamed saved cursor tracking variables and added
10532         some comments to clarify what everything does.
10533
10534 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10535
10536         * Chktex.C:
10537         * LaTeX.C:
10538         * LyXSendto.C:
10539         * converter.C:
10540         * lyx_cb.C:
10541         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10542         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10543
10544         * lyxfunc.C:
10545         * vc-backend.h: remove #include "support/syscall.h"
10546
10547         * LaTeX.C:
10548         * LyXSendto.C:
10549         * converter.C: rearrange #includes in Lars' approved fashion.
10550
10551         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10552         forward declare class Timeout in the header file.
10553
10554         * XFormsView.C: changes due to the above.
10555
10556         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10557         similar to LyXView.
10558
10559         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10560         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10561
10562 2002-02-18  José Matos  <jamatos@fep.up.pt>
10563
10564         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10565         insets contents.
10566
10567 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10568
10569         * a lot of small ws changes
10570         * add a lot of using std::XXX
10571         * use std construcs some places where approp.
10572         * use some exisint stuff from lyxfunctional where approp.
10573         * Make file changes to use partial linking (lets test this now...)
10574
10575 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10576
10577         * Chktex.C:
10578         * buffer.C:
10579         remove #include "support/syscontr.h" as it's redundant. Always has been.
10580
10581         * Chktex.C:
10582         * LaTeX.C:
10583         * LyXSendto.C:
10584         * converter.C:
10585         * lyx_cb.C:
10586         * vc-backend.C:
10587         change Systemcalls::System to Systemcalls::Wait and
10588         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10589         No change of functionality, just reflects the stripped down Systemcalls
10590         class.
10591
10592 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10593
10594         * debug.[Ch]: add a GRAPHICS type to the enum.
10595
10596 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10597
10598         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10599
10600         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10601         there is an inset.
10602
10603 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10604
10605         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10606         match the changes below.
10607
10608         * text2.C (toggleInset): if there is not editable inset at cursor
10609         position, try to see if cursor is _inside_ a collapsable inset
10610         and close it.
10611
10612 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10613
10614         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10615         document menu has a nice checkbox
10616
10617 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10618
10619         * lyxlength.C (asLatexString): change PW to output as percent of
10620         \textwidth.
10621
10622         * lengthcommon.C: change '%' to 't%'
10623
10624         * lyxfunc.C (dispatch): a few comments from Martin
10625
10626 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10627
10628         * WorkArea.h:
10629         * WorkArea.C:
10630         * BufferView_pimpl.h:
10631         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10632           the X selection.
10633
10634 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10635
10636         * vspace.C (inPixels): fix compiler warning
10637
10638 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10639
10640         * lyxfunc.C (getStatus): fix status message for disabled commands.
10641
10642 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * BufferView_pimpl.C: fix crash on close buffer
10645         during selection (#227)
10646
10647 2002-01-27  Herbert Voss  <voss@lyx.org>
10648
10649         * buffer.C: link old Figure to new graphic inset
10650
10651 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10652
10653         * FontLoader.C (getFontinfo): Change the latex font names in order
10654         to match the names of type1inst.
10655
10656 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10657
10658         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10659
10660         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10661         (extchanged): ditto
10662         (ext_exist): ditto
10663         (remove_files_with_extension): ditto
10664         (remove_file): ditto
10665         (write): ditto
10666
10667         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10668         document is smaller than the work area height. Do not initialize
10669         static variables to 0.
10670
10671 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10672
10673         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10674
10675         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10676         LFUN_LAYOUT_PARAGRAPHS.
10677
10678         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10679         tabular. It is possible to provide a possible cell, which will
10680         typically be the actcell from the corresponding insettabular
10681
10682         * lyxfunc.C (getStatus): small cleanup; disable
10683         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10684         true
10685
10686 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10687
10688         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10689
10690         * paragraph.C (startTeXParParams):
10691         (endTeXParParams): new methods. The LaTeX code to
10692         start/end paragraph formatting
10693         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10694         empty (fixes bug #200)
10695
10696         * vspace.C (inPixels): adapt to the change below
10697         (inPixels): [later] more cleanups (remove unused variables)
10698
10699         * lyxlength.C (inPixels): change to use a width and a height as
10700         parameter.
10701
10702 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10703
10704         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10705         Replaced with \paperwidth
10706
10707         * DepTable.C (insert): add std:: qualifier
10708
10709 2002-01-18  Allan Rae  <rae@lyx.org>
10710
10711         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10712         updated also?
10713
10714         * text.C (drawInset): Turned out I didn't know enough about how
10715         rebreaking worked.  This fixes most of the redraw problems.  I see
10716         an occasional cursor trail when a line is broken now and the cursor
10717         placement can seem out by a few pixels also after a rebreak.
10718
10719 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10720
10721         * buffer.C (parseSingleLyXformat2Token): update because minipage
10722         width is now a LyXLength
10723
10724         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10725
10726         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10727         math insets
10728
10729 2002-01-17  Juergen Vigna  <jug@sad.it>
10730
10731         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10732
10733         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10734         is set correctly and the inset is updated correctly.
10735
10736 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10737
10738         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10739         the beginning of the loop.
10740
10741 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10742
10743         * lyxrc.C: improve help for use_scalable_fonts
10744
10745 2002-01-17  Allan Rae  <rae@lyx.org>
10746
10747         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10748
10749 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10750
10751         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10752         make sure to set their inset_owner to the right value (bug #171)
10753
10754 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10755
10756         * DepTable.h
10757         * DepTable.C: Implement mtime checking to reduce time spent doing
10758         CRCs.
10759
10760 2002-01-16  Juergen Vigna  <jug@sad.it>
10761
10762         * tabular.C (GetAdditionalHeight): one of error fixed.
10763
10764         * lyxrc.C (output): small fix in writing use_pspell.
10765
10766 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10767
10768         * sp_base.h: #include LString.h
10769
10770 2002-01-16  Allan Rae  <rae@lyx.org>
10771
10772         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10773         Can someone check this please?
10774
10775         * text.C (drawInset): It was possible that p.row would be removed by
10776         breakAgainOneRow upsetting a few other settings.  There may be another
10777         small tweak possible by setting need_break_row = 0 when p.row has been
10778         removed but I don't know enough about the logic here.
10779
10780 2002-01-15  Allan Rae  <rae@lyx.org>
10781
10782         * text.C (insertChar): removed conditional truism.
10783
10784         * BufferView2.C (removeAutoInsets): More tweaks.
10785         cur_par_prev could be a stray pointer.  Check for trailing empty line
10786         in case last line was cur_par and only had an error inset on it.
10787
10788 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10789
10790         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10791         absolute
10792
10793         * vc-backend.C (most methods):
10794         * exporter.C (Export):
10795         * converter.C (convert):
10796         (runLaTeX):
10797         * LyXSendto.C (SendtoApplyCB):
10798         * lyxfunc.C (dispatch):
10799         (menuNew):
10800         (open):
10801         (doImport):
10802         * lyx_cb.C (AutoSave):
10803         (InsertAsciiFile):
10804         * BufferView_pimpl.C (MenuInsertLyXFile):
10805         * buffer.C (runChktex): use Buffer::filePath().
10806
10807         * buffer.h: rename filename to filename_; rename filepath to
10808         filepath_ and make it private
10809         (filePath): new method
10810
10811         * buffer.C (writeFile): use fileName()
10812         (getLatexName):
10813
10814         * lyx_main.C (init): fix starting  of LyX when the binary is a
10815         link from so,ewhere else.
10816
10817         * minibuffer.C: include <cctype> for isprint
10818
10819 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10820
10821         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10822         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10823         name clash with InsetCollapsable's width function.
10824
10825 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10826
10827         * lastfiles.C: include <iterator>
10828
10829 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10830
10831         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10832         std::count.
10833
10834         * buffer.C (makeLaTeXFile): ditto.
10835         Also make loop operation more transparent.
10836
10837 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10838
10839         * ToolbarDefaults.C: remove trailing comma closing namespace.
10840
10841         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10842
10843         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10844         as in WorkArea.
10845
10846         * trans.C (Load): comment out unused variable, allowed.
10847
10848 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10849
10850         * minibuffer.[Ch] (append_char): new method to recieve input from the
10851         drop-down completion browser. If a key was pressed, then recieve this
10852         char and append it to the existing string.
10853         (peek_event): modify the positioning data passed to the completion
10854         browser so that it can be placed above the minibuffer rather than below.
10855 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10856
10857         * LyXAction.C (init): alloe error-next for readonly documents.
10858
10859         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10860         count.
10861
10862 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10863
10864         * bufferlist.C (readFile): create the buffer _after_ checking that
10865         the file exists.
10866
10867         * lyxfunc.C (verboseDispatch): fix handling of arguments
10868
10869         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10870
10871         * lyxrc.C: use string::erase() instead of initializing to "".
10872
10873
10874 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10875
10876         * BufferView_pimpl.h:
10877         * BufferView_pimpl.C:
10878         * WorkArea.h:
10879         * WorkArea.C:
10880         * text2.C: tell X when we have made a selection for copying
10881
10882 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10883
10884         * BufferView_pimpl.C (MenuInsertLyXFile):
10885         * lyxfunc.C (menuNew):
10886         (open):
10887         (doImport): add shortcuts to directory buttons
10888
10889         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10890         open a float)
10891
10892         * lyxfunc.C (setStatusMessage):
10893         (getStatusMessage): new methods
10894         (getStatus):use setStatusMessage instead of setErrorMessage
10895         (dispatch): when function is disabled, set error message here
10896         [instead of in getStatus previously]
10897
10898         * BufferView_pimpl.C (workAreaButtonRelease): update
10899         toolbar/menubar here too.
10900
10901 2002-01-13  Allan Rae  <rae@lyx.org>
10902
10903         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10904         Now seems indestructible.  Remaining task is to audit all other
10905         code affected by deleteEmptyParagraphMechanism.  One small quirk
10906         left is that an empty document with an error in the preamble can
10907         be made to report an error but no error box appears.  I don't know
10908         where it goes.
10909         (removeAutoInsets): Improved comments.
10910
10911 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10912
10913         * Thesaurus.h:
10914         * Thesaurus.C: update for Aiksaurus 0.14
10915
10916 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10917
10918         * text2.C (firstParagraph): removed member function, all uses
10919         replaces with ownerParagraph
10920         (redoParagraphs): here
10921         (updateInset): here
10922         (toggleAppendix): here
10923         * BufferView2.C (insertErrors): here
10924         (setCursorFromRow): here
10925
10926 2002-01-13  Allan Rae  <rae@lyx.org>
10927
10928         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10929         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10930         There is still a way to segfault this although you may have to do this
10931         multiple times: Have an InsetERT with an unknown command in it.
10932         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10933         <down-arrow>, <Enter> again, View->DVI, BANG!
10934
10935         * text2.C (setCursor):
10936         (deleteEmptyParagraphMechanism):
10937         * lyxtext.h (setCursor):
10938         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10939         Making use of the return value may help fix other bugs.
10940
10941 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10942
10943         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10944
10945         * LyXView.C (updateMenubar): call MenuBar::update here
10946         (updateToolbar): but not here
10947         (showState): do not update toolbar/menubar
10948
10949         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10950         should need to care about that.
10951
10952         * lyxfunc.C (verboseDispatch): simplify a bit
10953         (getStatus): have a version which takes a pseudoaction, and
10954         another which requires a (kb_action,string).
10955
10956         * LyXAction.C (retrieveActionArg): make it work also when action
10957         is not a pseudo-action.
10958         (getActionName): simplify a bit
10959         (helpText):
10960
10961 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10962
10963         * lyxfunc.C (verboseDispatch): new families of methods with
10964         several ways to specify a command and a bool to indicate whether
10965         the command name and shortcut should be displayed in minibuffer
10966         (eventually, we could extend that to a finer bitmask like
10967         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10968         (dispatch): the pristine dispatch command which just, well,
10969         dispatchs! Note it still sets its result to minibuffer; I'm not
10970         sure we want that.
10971
10972         * lyxfunc.h: remove setHintMessage
10973
10974         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10975
10976 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10977
10978         * BufferView_pimpl.C (specialChar): delete new inset if we have
10979         not been able to insert it.
10980
10981         * kbmap.C: revert to using int instead of kb_action, since all we
10982         are dealing with is pseudo-actions.
10983
10984         * LyXAction.C (searchActionArg): change to return int instead of
10985         kb_action, since the result is a pseudoaction.
10986
10987 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10988
10989         * buffer.C (insertErtContents): Fix (partially) the font bug.
10990
10991 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10992
10993         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10994         as the other one is broken on my machine!
10995
10996 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10997
10998         * commandtags.h:
10999         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11000
11001 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11002
11003         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11004         reflect their actual use. Provide compatibility code for older lyxrc
11005         files.
11006
11007         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11008         FL_NORMAL_STYLE.
11009         change names of popup font variables in line with the changes to lyxrc.C
11010
11011 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11012
11013         * buffer.C (asciiParagraph): avoid outputing a word twice after
11014         an inset.
11015
11016         * lyxrc.C (getDescription): document that document_path and
11017         template_path can be empty.
11018
11019 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11020
11021         * LaTeXFeatures.C (getMacros):
11022         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11023
11024         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11025
11026         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11027         getPackages.
11028         (getPackages): rename feature "floats" to "float". Use an array to
11029         iterate over 'simple' features (i.e. just a \usepackage). Add
11030         handling of "amsmath" (renamed from "amsstyle").
11031
11032 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11033
11034         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11035         features list.
11036
11037 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11038
11039         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11040         FuncStaus::FuncStatus & FuncStaus::some_method().
11041
11042 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11043
11044         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11045         of the func_satus stuff. Edited and massaged in various ways by
11046         JMarc.
11047
11048         * lyxfunc.C (getStatus): use FuncStatus
11049
11050 2002-01-08  Juergen Vigna  <jug@sad.it>
11051
11052         * text.C (nextBreakPoint): use function Inset::isChar().
11053
11054         * paragraph.C (TeXOnePar): use function
11055         Inset::forceDefaultParagraphs.
11056
11057         * buffer.C (latexParagraphs): use function
11058         Inset::forceDefaultParagraphs.
11059
11060 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11061
11062         * lyx_gui.C (init): set the style of the menu popups to
11063         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11064
11065 2002-01-07  Juergen Vigna  <jug@sad.it>
11066
11067         * text.C (setHeightOfRow): small fix
11068         (prepareToPrint): don't look at alignment if we don't have the place
11069         for doing it.
11070
11071 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11072
11073         * box.C: New file. Move the Box methods and functions out of box.h,
11074         following Lars' suggestion.
11075
11076 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11077
11078         * box.h: #include "support/LOstream.h", needed for inlined function.
11079
11080         * lyxtextclass.C:
11081         * lyxtextclasslist.C: added some using std declarations.
11082
11083 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * box.h: make signed dimensions to allow insets wider than
11086           the screen (bug #162)
11087
11088         * BufferView_pimpl.C: add some insetHit debug
11089
11090 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11091
11092         * vc-backend.C: add FIXME
11093
11094 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11095
11096         * lyxfunc.C (getStatus): enable code for showing math font status
11097         in toolbar/menu.
11098
11099 2002-01-07  Juergen Vigna  <jug@sad.it>
11100
11101         * text.C (nextBreakPoint): removed debug output not needed anymore.
11102
11103 2002-01-06  Juergen Vigna  <jug@sad.it>
11104
11105         * text.C (nextBreakPoint): fixed up this function we had this bug
11106         since ever but now hopefully we break row better.
11107         (insertChar): we have to check if an inset is the next char as it
11108         could now happen that a large inset is causing a break.
11109
11110 2002-01-05  Juergen Vigna  <jug@sad.it>
11111
11112         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11113         if it doesn't like to be drawed.
11114
11115 2002-01-04  Juergen Vigna  <jug@sad.it>
11116
11117         * BufferView2.C (lockInset): forgot to set a cursor.
11118
11119         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11120
11121 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11122
11123         * FormMathsPanel.C:
11124         * FormMathsPanel.h
11125         * MathsSymbols.C:
11126         * form_maths_panel.C:
11127         * form_maths_panel.h:
11128         * form_maths_panel.fd: implemented sub- and super- buttons in math
11129         panel.
11130
11131         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11132         (or ^ space) to be used as in TeX (req'd by André).
11133
11134         * lyxfunc.C: Allow ^ and _ again to be used both as
11135         super/subscript (mathed) and as themselves (in text).
11136
11137 2002-01-03  Allan Rae  <rae@lyx.org>
11138
11139         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11140         "LyX" or the filename of the current buffer if it has one.  This is a
11141         modified form of John Levon's patch.
11142
11143         * XFormsView.C (setWindowTitle): also set icon title.
11144
11145         * LyXView.h (setWindowTitle): signature changed.
11146         * XFormsView.h (setWindowTitle): ditto.
11147
11148 2002-01-02  Juergen Vigna  <jug@sad.it>
11149
11150         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11151
11152 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11153
11154         * screen.C (topCursorVisible): introduce a temp var for
11155         text->cursor.row(), handle the case where this row is null. (kindo
11156         hachish)
11157
11158         * text2.C (setCursor): add a couple of asserts.
11159
11160         * paragraph.h (inset_iterator): add -> operator
11161
11162         * paragraph.[Ch] (autoDeleteInsets): remove member function
11163
11164         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11165         cursor pos correctly and handle inset deletion by itself.
11166         (insertErrors): move iterator declaration out of for expression
11167
11168         * lyxtextclass.C: add <algorithm>
11169
11170         * Makefile.am: added the new files to sources, removed layout.C
11171
11172         * layout.C: removed file
11173
11174         * layout.h: remove LYX_DUMMY_LAYOUT
11175
11176         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11177         layout.
11178
11179         * lyxlayout.[Ch]:
11180         * lyxtextclass.[Ch]:
11181         * lyxtextclasslist.[Ch]: new files
11182
11183         * include order changes to a lot of files, also changes because of
11184         the six new files.
11185
11186 2001-12-27  Juergen Vigna  <jug@sad.it>
11187
11188         * buffer.C (asciiParagraph): more fixes.
11189
11190         * tabular.C (ascii): make ascii export support export of only the
11191         data separated by a column-delimiter.
11192         (ascii): better support for ascii export.
11193
11194         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11195
11196 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11197
11198         * tabular_funcs.C: use a "using std::getline" instead of the
11199         previous fix from Angus (necessary for cxx + lyxstring)
11200
11201 2001-12-24  Juergen Vigna  <jug@sad.it>
11202
11203         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11204
11205         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11206         problems. First check a minipage also if we have some ert-contents
11207         (not only on par->size(), second set the right depth of the paragraph
11208         on the relink to the root-paragraph-list!
11209
11210         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11211         which then did not anymore update the main paragraphs on undo/redo!
11212
11213 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11214
11215         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11216         code. Support all font-changing funcs (even those which are not in
11217         menu currently). Support for reporting font settings in
11218         mathed (disabled until Andre provides a function on mathed's side).
11219
11220         * func_status.h (toggle): small helper function to set toggle
11221         state on a flag.
11222
11223 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11224
11225         * tabular_funcs.C: getline -> std::getline
11226
11227 2001-12-21  Juergen Vigna  <jug@sad.it>
11228
11229         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11230         accessed and could be 0 (I couldn't generate this but it seems
11231         Michael could!).
11232
11233 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11234
11235         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11236         * tabular_funcs.h: here and include iosfwd
11237
11238 2001-12-20  Juergen Vigna  <jug@sad.it>
11239
11240         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11241         inside inset but undo_par was.
11242
11243 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11244
11245         * Thesaurus.C: always include <config.h> in sources.
11246
11247         * Painter.h:
11248         * lyxlookup.h:
11249         * box.h: do not include <config.h> in header files
11250
11251         * text.C (paintLastRow): remove unused variable
11252
11253         * text.C (transformChar):
11254         (insertChar):
11255         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11256
11257         * Painter.C (text):
11258         * font.C (width): rewrite to use uppercase() instead of
11259         islower/toupper.
11260
11261         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11262
11263 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11264
11265         * lyxfind.C: clean up of find failure position change
11266
11267 2001-12-20  Juergen Vigna  <jug@sad.it>
11268
11269         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11270
11271         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11272         (TeXRow): added to LaTeX a single tabular row.
11273         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11274         (Latex): simplified and finally good LT-h/f support.
11275         (various_functions): just small adaptions for LT-h/f support.
11276
11277         * tabular_funcs.[hC]: added and moved here all not classfunctions
11278         of LyXTabular.
11279
11280 2001-12-19  Juergen Vigna  <jug@sad.it>
11281
11282         * tabular.[Ch]: better support for longtabular options (not finished
11283         yet!)
11284
11285 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11286
11287         * text.C (paintLastRow): use the label font instead of the font of
11288         the last character to compute the size of *_BOX. This makes more
11289         sense and avoids a crash with empty paragraphs.
11290         Use Painter::rectangle to draw EMPTY_BOX.
11291
11292 2001-12-19  Juergen Vigna  <jug@sad.it>
11293
11294         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11295         the paragraphs if the replaced paragraph is not the first one!
11296         Tried to delete not used paragraphs but does not work yet so for
11297         now it's inside #ifdef's and by default off!
11298
11299 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11300
11301         * MenuBackend.C: include "lyx_main.h" instead of declaring
11302         lastfiles (actually was declared as LastFiles* instead of a
11303         scoped_ptr).
11304
11305 2001-12-17  Juergen Vigna  <jug@sad.it>
11306
11307         * tabular.C (AppendColumn): applied John's fix
11308
11309 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11310
11311         * BufferView.h:
11312         * BufferView.C:
11313         * BufferView_pimpl.h:
11314         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11315
11316         * Makefile.am:
11317         * box.h: new start of class for above
11318
11319         * lyxfunc.C: ignore space-only minibuffer dispatches.
11320           Show the command name when it doesn't exist
11321
11322         * minibuffer.C: don't add empty lines to the history
11323
11324         * minibuffer.C: add a space on dropdown completion
11325
11326 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11327
11328         * text.C: fix line above/below drawing in insets
11329
11330 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11331
11332         * lyxlength.C (LyXLength): Initialize private variables.
11333
11334 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11335
11336         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11337         when inserting error insets.
11338
11339 2001-12-13  Juergen Vigna  <jug@sad.it>
11340
11341         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11342         actually sometimes the before-paragraph.
11343         (setUndo): don't clear the redostack if we're not actually undoing!
11344
11345 2001-12-06  Juergen Vigna  <jug@sad.it>
11346
11347         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11348         and fixed redoing of main paragraph, so we can use it now ;)
11349
11350         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11351
11352 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11353
11354         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11355         Juergen's request
11356
11357 2001-12-13  André Pönitz <poenitz@gmx.net>
11358
11359         * undostack.[Ch]:
11360         * undo_func.C: minor cleanup
11361
11362 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11363
11364         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11365         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11366         font in urw-fonts package which is marked as -urw-fontspecific and
11367         does not work (incidentally, changing the encoding in the
11368         fonts.dir of this package to -adobe-fontspecific fixes the
11369         problem).
11370
11371         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11372         is a crash when undoing first paragraph (Juergen, please take a
11373         look). THis does not mean the undo fix is wrong, just that it
11374         uncovers problems.
11375
11376         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11377         the (Paragraph*) version when needed instead of duplicating the
11378         code.
11379
11380         * text.C (workWidth): use Inset::parOwner to find out where the
11381         inset has been inserted. This is a huge performance gain for large
11382         documents with lots of insets. If Inset::parOwner is not set, fall
11383         back on the brute force method
11384
11385         * paragraph_pimpl.C (insertInset):
11386         * paragraph.C (Paragraph):
11387         (cutIntoMinibuffer): set parOwner of insets when
11388         inserting/removing them
11389
11390         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11391
11392 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11393
11394         * commandtags.h:
11395         * LyXAction.C:
11396         * lyx_main.C:
11397         * lyxfunc.C:
11398         * mathed/formulabase.C:
11399         * mathed/math_cursor.[Ch]:
11400         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11401
11402
11403 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11404
11405         * lyxlength.[Ch] (operator!=): new function
11406
11407 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11408
11409         * text.C (workWidth): use Inset::parOwner to find out where the
11410         inset has been inserted. This is a huge performance gain for large
11411         documents with lots of insets. If Inset::parOwner is not set, fall
11412         back on the brute force method
11413
11414         * paragraph_pimpl.C (insertInset):
11415         * paragraph.C (Paragraph):
11416         (cutIntoMinibuffer): set parOwner of insets when
11417         inserting/removing them
11418
11419         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11420
11421 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11422
11423         * tabular-old.C (getTokenValue):
11424         * tabular.C (getTokenValue):
11425         (write_attribute): new versions for LyXLength
11426         (everywhere): adjust the use of widths
11427
11428         * tabular.h: change the type of widths from string to LyXLength
11429
11430 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11431
11432         * paragraph.C: fixed missing line number count when exporting
11433         Environments to LaTeX file
11434
11435         * buffer.C: added informational message for checking line numbers.
11436
11437 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11438
11439         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11440         paragraph, do the 'double space' part, but not the 'empty
11441         paragraph' one.
11442
11443         * text.C (workWidth): small optimization
11444         (getLengthMarkerHeight): use minimal size for negative lengths.
11445
11446 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11447
11448         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11449
11450         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11451
11452 2001-12-11  André Pönitz <poenitz@gmx.net>
11453
11454         * FontLoader.C:
11455         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11456
11457 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11458
11459         * text2.C: keep selection on a setFont()
11460
11461 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11462
11463         * lyx_cb.C: another bv->text misuse, from insert label
11464
11465 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * kbsequence.h:
11468         * kbsequence.C: re-instate nmodifier mask
11469
11470 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11471
11472         * lyx_main.h: make lyxGUI private.
11473
11474 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11475
11476         * lyxfind.C: place the cursor correctly on failed search
11477
11478 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11479
11480         * text.C (getLengthMarkerHeight): for small heights, the arrows
11481         are not always on top/bottom of the text
11482         (drawLengthMarker): smaller arrows; take the left margin in
11483         account; draw also vfills.
11484         (paintFirstRow):
11485         (paintLastRow): remove special code for vfill and standard spaces,
11486         since everything is handled in drawLengthMarker now.
11487
11488 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11489
11490         * buffer.C (insertErtContents): try to handle font and language
11491         interaction a bit better.g
11492
11493         * ColorHandler.C (updateColor): change the hash to cover the whole
11494         LColor enum, ws cleanup
11495         (getGCLinepars): ditto
11496         (getGCLinepars): only lookup in the linecache once.
11497
11498 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11499
11500         * iterators.C (operator++): Make the iterator more robust
11501
11502         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11503         (John's patch)
11504         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11505
11506 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11507
11508         * lyxtext.h:
11509         * text.C: better added space drawing
11510
11511 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11512
11513         * LyXView.C:
11514         * BufferView2.C: fix layout combo update on inset unlock
11515
11516 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11517
11518         * Makefile.am: don't compile unused files
11519
11520 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11521
11522         * lyxfunc.C:
11523         * commandtags.h:
11524         * LyXAction.C: remove old LFUN_LAYOUTNO
11525
11526 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11527
11528         * paragraph_pimpl.h:
11529         * paragraph_pimpl.C: isTextAt() doesn't need font param
11530
11531 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11532
11533         * lyxlex.h:
11534         * lyxlex.C: little cleanup
11535
11536 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11537
11538         * BufferView_pimpl.C: fix insertAscii for insets
11539
11540 2001-12-05  Juergen Vigna  <jug@sad.it>
11541
11542         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11543         set the right font on the "multi" paragraph paste!
11544
11545 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11546
11547         * trans_decl.h:
11548         * trans_mgr.[Ch]:
11549         * trans.[Ch]:
11550         * lyxgluelength.C:
11551         * lyxlength.C: remove out-commented code.
11552
11553         * BufferView_pimpl:
11554         * CutAndPaste.C:
11555         * DepTable.C:
11556         * buffer.C:
11557         * chset.C:
11558         * lastfiles.C:
11559         * lyxlex.C:
11560         * lyxlex_pimpl.C:
11561         * lyxserver.C:
11562         * screen.C:
11563         * tabular-old.C:
11564         * tabular.C:
11565         * text.C:
11566         * trans_mgr.C:
11567         * vc-backend.C: change "while(" to "while ("
11568
11569         * lyxlength.[Ch]: add zero function to check if length is zero or
11570         not
11571         * lyxgluelength.C: use it
11572
11573 2001-12-05  Allan Rae  <rae@lyx.org>
11574
11575         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11576         Works for 2.95.3, from what I understand of Garst's reports this should
11577         work for other g++ versions.  We're screwed if the abs(int) definition
11578         changed between bugfix releases of gcc.
11579
11580 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11581
11582         * text.C: fix chapter label offset !
11583
11584 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * lyxtext.h:
11587         * text.C: fix hfill at end of line, clean up
11588
11589 2001-12-04  Juergen Vigna  <jug@sad.it>
11590
11591         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11592         that we force an update of the inset and it's owners if neccessary.
11593
11594 2001-12-03  Juergen Vigna  <jug@sad.it>
11595
11596         * text.C (rowLast): simplified code
11597
11598 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11599
11600         * lyxfunc.C: fix show options on timeout
11601
11602 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11603
11604         * screen.C (topCursorVisible): scroll half a page when the cursor
11605         reached top of bottom of screen
11606
11607 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11608
11609         * minibuffer.C: deactivate on loss of focus
11610
11611 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11612
11613         * vspace.[Ch] (operator!=): add operator.
11614
11615 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11616
11617         * BufferView_pimpl.C: refuse to open an inset when
11618         there's a selection.
11619
11620 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11621
11622         * BufferView_pimpl.C: allow to click on RHS of full row insets
11623
11624 2001-11-30  Juergen Vigna  <jug@sad.it>
11625
11626         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11627         insets for undo reasons.
11628
11629 2001-11-28  André Pönitz <poenitz@gmx.net>
11630
11631         * vspace.[Ch]: cosmetical changes
11632
11633 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11634
11635         * LyXAction.h:
11636         * LyXAction.C:
11637         * lyxfunc.h:
11638         * lyxfunc.C:
11639         * kbmap.h:
11640         * kbmap.C:
11641         * lyxrc.C:
11642         * kbsequence.h:
11643         * kbsequence.C: part re-write of old kb code
11644
11645         * Painter.C:
11646         * WorkArea.C: remove Lgb_bug_find_hack
11647
11648 2001-11-30  José Matos <jamatos@fep.up.pt>
11649
11650         * buffer.C (makeDocBookFile): add a comment to point a hack.
11651         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11652         Fixed a double write of labels.
11653
11654 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11655
11656         * LaTeX.C:
11657         * LaTeX.h Fixed bug in LaTeX class where it would not
11658         re-run latex if no depfiles were changed, but the .dvi was removed.
11659
11660 2001-11-28  André Pönitz <poenitz@gmx.net>
11661
11662         * all the files from the change on 2001/11/26:
11663         use lyx::layout_type instead of LyXTextClass::size_type
11664         use lyx::textclass_type instead of LyXTextClassList::size_type
11665
11666 2001-11-29  Juergen Vigna  <jug@sad.it>
11667
11668         * text.C: added support for paragraph::isFreeSpacing()
11669
11670         * buffer.C: same as above
11671
11672         * paragraph.h: inserted isFreeSpacing() function to enable
11673         FreeSpacing inside InsetERT.
11674
11675         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11676         of the paragraph's in the cut/copy buffer to 0!
11677
11678         * text2.C (removeRow): remove the assert as it can!
11679
11680         * lyxtext.h: added helper function firstRow returning firstrow and
11681         made firstrow private again.
11682
11683         * BufferView2.C (lockInset): don't relock if we're already locked!
11684
11685         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11686         the only paragraph.
11687         (removeRow): added Assert::(firstrow)
11688
11689         * debug.C: forgot to add INSETTEXT here.
11690
11691 2001-11-28  Juergen Vigna  <jug@sad.it>
11692
11693         * sp_spell.C (initialize): changed error text to more general
11694         spellchecker command use (not only ispell!)
11695
11696         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11697
11698         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11699
11700 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11701
11702         * vspace.C: initialise lyxgluelength on failure
11703
11704 2001-11-28  Allan Rae  <rae@lyx.org>
11705
11706         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11707         declaration & definition that looks like a function declaration.
11708
11709 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11710
11711         * BufferView2.C (copy):
11712         (copyEnvironment): do not clear the selection when doing a copy.
11713
11714         * text.C (paintFirstRow): compilation fix
11715
11716 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11717
11718         * tabular.C (Latex): correct line count when writing latex.
11719
11720 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11721
11722         * paragraph_pimpl.h:
11723         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11724           bug a bit
11725
11726 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11727
11728         * text.C:
11729         * LColor.h:
11730         * LColor.C: change vfillline->added_space
11731
11732         * text.C: add markers and text for added space
11733
11734         * vspace.C: fix comment
11735
11736 2001-11-28  André Pönitz <poenitz@gmx.net>
11737
11738         * paragraph.C: whitespace changes
11739         * all the other files from the change on 2001/11/26:
11740         change *::pos_type into lyx::pos_type
11741
11742 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11743
11744         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11745         language of the document when inserting error insets.
11746
11747 2001-11-26  André Pönitz <poenitz@gmx.net>
11748
11749         * BufferView_pimpl.[Ch]:
11750         *       CutAndPaste.C:
11751         * buffer.[Ch]:
11752         * lyxcursor.[Ch]:
11753         * lyxfind.C:
11754         * lyxfunc.C:
11755         * lyxrow.[Ch]:
11756         * paragraph.[Ch]:
11757         * paragraph_pimpl.[Ch]:
11758         * sp_spell.C:
11759         * text.C:
11760         * text2.C: reduce header dependencies, introduce type for positions
11761
11762 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11763
11764         * <various>: change to use Alert.h
11765
11766 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11767
11768         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11769         when encountering an unknown token.
11770         (readLyXformat2): Show an error message if there were unknown tokens.
11771
11772 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11773
11774         * BufferView2.C:
11775         * BufferView_pimpl.C:
11776         * buffer.C:
11777         * paragraph.h:
11778         * text.C:
11779         * text2.C: use par->isInset()
11780
11781 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11782
11783         * paragraph_pimpl.h:
11784         * paragraph_pimpl.C: cleanup
11785
11786 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11787
11788         * text2.C (removeRow):
11789         * text.C (setHeightOfRow): remove useless (and costly) call to
11790         getRow.
11791
11792 2001-11-20  Allan Rae  <rae@lyx.org>
11793
11794         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11795         Now need Inset*::checkInsertChar() to return true for appropriate
11796         cases so that the characters in the minibuffer will actually be
11797         inserted.
11798
11799 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11800
11801         * text.C: change the order of the includes.
11802         (workWidth): initialize it at once.
11803         (workWidth): make maxw unsigned
11804         (setHeightOfRow): remove unused variable (inset)
11805         (selectSelectedWord): remove unused variable (inset)
11806         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11807
11808 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11809
11810         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11811         server is not running.
11812         (openConnection):
11813         (closeConnection): add debug info when server is disabled.
11814
11815         * ColorHandler.C (getGCForeground): send debug message to GUI
11816         channel.
11817
11818         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11819
11820         * kbmap.C (bind): modify because return conventions of
11821         kb_sequence::parse have changed.
11822
11823         * kbsequence.C (parse): only ignore spaces and not any stupid
11824         control character. This avoids tests like s[i] <= ' ', which are
11825         guaranteed to fail with 8bit characters and signed chars.
11826         Change return code to string::npos when there have been no error
11827         (0 was a bad idea when error is at first character)
11828
11829 2001-11-14  José Matos  <jamatos@fep.up.pt>
11830
11831         * buffer.h:
11832         * buffer.C (simpleDocBookOnePar): removed unused argument.
11833
11834 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11835
11836         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11837         insets which are part of a word. Paragraph::isLetter takes care of
11838         that now. Use Paragraph::isInset to identify insets.
11839         (selectSelectedWord): do not test for hyphenation break.
11840
11841         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11842         that protected spaces are considered as spaces.
11843
11844         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11845         Inset::isLetter.
11846
11847 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11848
11849         * lyxserver.h:
11850         * lyxserver.C: fix it. and small cleanup.
11851
11852 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11853
11854         * BufferView_pimpl.C: use inline helpers
11855
11856         * LaTeXFeatures.h:
11857         * LaTeXFeatures.C: fix typos
11858
11859         * Spacing.h:
11860         * Spacing.C: move spacing_string into class
11861
11862         * ToolbarDefaults.C: move stuff into namespace anon
11863
11864         * layout.h: update enum
11865
11866         * lyxfunc.C: use better debug
11867
11868         * minibuffer.h: fix typo
11869
11870         * debug.h:
11871         * debug.C:
11872         * WorkArea.C: add and use Debug::WORKAREA
11873
11874         * lyxtext.h:
11875         * text.C:
11876         * text2.C: code re-organisation, inline helpers
11877
11878 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11879
11880         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11881         std::vector.empty().
11882
11883 2001-11-09  Allan Rae  <rae@lyx.org>
11884
11885         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11886         '\n's after tables.  Tabular and ERT inset work now makes this no
11887         longer necessary.
11888
11889 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11890
11891         * minibuffer.h:
11892         * minibuffer.C: fix crash, improve drop-down completion
11893
11894 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11895
11896         * lyxserver.h:
11897         * lyxserver.C: invalidate fd's when doing endPipe()
11898
11899 2001-11-08  José Matos  <jamatos@fep.up.pt>
11900
11901         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11902         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11903
11904         * paragraph.h:
11905         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11906
11907 2001-11-07  José Matos  <jamatos@fep.up.pt>
11908
11909         * buffer.h:
11910         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11911         const qualifier.
11912
11913         * buffer.C (sgmlOpenTag):
11914         * buffer.C (sgmlCloseTag): removed debug info.
11915
11916         * buffer.h (sgmlOpenTag):
11917         * buffer.h (sgmlCloseTag): made public.
11918
11919 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11920
11921         * buffer.C (saveParamsAsDefaults):
11922         * lyx_cb.C (MenuLayoutSave): remove
11923
11924         * LyXAction.C (init):
11925         * commandtags.h:
11926         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11927
11928 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11929
11930         * buffer.C (setPaperStuff): removed from here...
11931
11932         * bufferparams.C (setPaperStuff): ... and moved there.
11933
11934 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11935
11936         * minibuffer.h:
11937         * minibuffer.C:
11938         * XFormsView.C: add support for drop-down completion
11939
11940 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11941
11942         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11943         commands.
11944
11945 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11946
11947         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11948         disabled.
11949
11950 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11951
11952         * lyx_main.C: change ref to known bugs
11953
11954 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11955
11956         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11957         to work around older babel problems.
11958
11959 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11960
11961         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11962
11963 2001-10-24  Juergen Vigna  <jug@sad.it>
11964
11965         * tabular-old.C (ReadOld): below variable changes reflected.
11966
11967         * tabular.[Ch]: added ltType struct for longtable header/footer
11968         defines and changed all instances where they are used. Added
11969         future support for double top/bottom rows.
11970
11971 2001-10-24  José Matos  <jamatos@fep.up.pt>
11972
11973         * buffer.h (docbookHandleCaption):
11974         * buffer.C (docbookHandleCaption): removed unused function.
11975         (makeDocBookFile): moved docbook supported version to v4.1.
11976
11977 2001-10-24  José Matos  <jamatos@fep.up.pt>
11978
11979         * tabular.h:
11980         * tabular.C (docbookRow): new function to export docbook code of a row.
11981         (DocBook): now honors the longtable flags.
11982
11983 2001-10-23  José Matos  <jamatos@fep.up.pt>
11984
11985         * LaTeXFeatures.h:
11986         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11987         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11988
11989         * buffer.C (makeLinuxDocFile):
11990         (makeDocBookFile): reworked the preamble, more clean, and with
11991         support for lyx defined entities. Changed the document declaration
11992         to be more XML friendly.
11993
11994         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11995         if we need to output XML that should be done with a filter.
11996
11997 2001-10-22  Juergen Vigna  <jug@sad.it>
11998
11999         * sp_pspell.h (class PSpell): add alive function needed in the
12000         controller to see if the spellchecker could be started.
12001
12002 2001-10-22  Juergen Vigna  <jug@sad.it>
12003
12004         * buffer.C (insertStringAsLines): modify the font for inserting
12005         chars in certain conditions by calling checkInsertChar(font).
12006
12007 2001-10-19  Juergen Vigna  <jug@sad.it>
12008
12009         * text.C (workWidth): use getRow instead of wrong algorithm.
12010         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12011
12012 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * lyxserver.h:
12015         * lyxserver.C:
12016         * lyx_main.h:
12017         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12018
12019 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12020
12021         * text.C (workWidth): do not search for the exact row when
12022         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12023         optimization for big documents.
12024
12025 2001-10-18  Juergen Vigna  <jug@sad.it>
12026
12027         * text.C (workWidth): new function with added Inset * parameter.
12028
12029 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12030
12031         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12032
12033         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12034         change return type of getColumnNearX.
12035
12036
12037         * text.C (changeRegionCase): use uppercase/lowercase instead of
12038         toupper/tolower.
12039         (leftMargin):
12040         (rightMargin): simplify code by factoring out the uses of
12041         textclasslist.
12042         (labelFill):
12043         (numberOfHfills):
12044         (setHeightOfRow):
12045         (appendParagraph): use Paragraph::size_type
12046
12047 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12048
12049         * vspace.C (asLatexString): add a missing break
12050
12051 2001-10-15  Herbert Voss  <voss@perce.de>
12052
12053         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12054
12055 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12056
12057         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12058         is not available.
12059
12060 2001-10-10  André Pönitz <poenitz@gmx.net>
12061
12062         * lyxfunc.C: removed greek_kb_flag.
12063
12064 2001-10-10  Herbert Voss  <voss@perce.de>
12065
12066         * lyx_main.C: delete global string help_lyxdir.
12067
12068 2001-10-09  Herbert Voss  <voss@perce.de>
12069
12070         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12071
12072         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12073
12074         * lyx_main.C: added global string help_lyxdir.
12075
12076         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12077
12078 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12079
12080         * lyxrc.C (set_font_norm_type): support iso8859-4
12081
12082 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12083
12084         * LaTeX.C (deplog): add another regex for MikTeX
12085
12086 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12087
12088         * lyxrc.C (set_font_norm_type): support iso8859-3
12089
12090 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12091
12092         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12093
12094         * LaTeXFeatures.C: remove special case of french and index
12095
12096         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12097         before \begin{document}). This solves several incompatibilities.
12098
12099 2001-10-03  Garst Reese  <reese@isn.net>
12100
12101         * lyx_cb.C: change CheckTex error msg.
12102
12103 2001-10-03  José Matos  <jamatos@fep.up.pt>
12104
12105         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12106
12107 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12108
12109         * .cvsignore: update
12110
12111         * lyx_main.C (commandLineVersionInfo): use new style version info.
12112
12113         * buffer.C (writeFile):
12114         (makeLaTeXFile):
12115         (makeLinuxDocFile):
12116         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12117
12118         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12119
12120         * version.h: update to use stuff in version.C
12121
12122         * version.C.in: new file. Contains version information determined
12123         at compile time. This is a merging of version.h and
12124         version_info.h.in.
12125
12126 2001-10-03  Juergen Vigna  <jug@sad.it>
12127
12128         * BufferView_pimpl.C (update): don't change "dirty" status in
12129         updateInset call.
12130
12131 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12132
12133         * WorkArea.C (c-tor): re-position version string slightly.
12134
12135 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12136
12137         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12138         revert to previous code.
12139
12140         WorkArea.[Ch]: (show, destroySplash): methods removed.
12141
12142         WorkArea.C: rework code so that it's an amalgam of the codes before and
12143         after the splash screen was moved to WorkArea.
12144
12145 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12146
12147         * lyxrc.C (read):
12148         * vspace.C (inPixels):
12149         (lyx_advance):
12150         * kbmap.C (bind):
12151         * buffer.C (insertStringAsLines):
12152         (asciiParagraph): fix types to be large enough
12153
12154         * lyxlex_pimpl.h: change member status from short to int
12155
12156         * layout.h: fix type of endlabeltype
12157
12158         * kbmap.C (bind):
12159         * kbsequence.C (parse): change return type to string::size_type
12160
12161         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12162         variable
12163
12164         * Bullet.C (bulletSize):
12165         (bulletEntry): do not use short ints as parameters
12166
12167         * BufferView2.C (insertLyXFile): change a char to an int.
12168
12169         * WorkArea.C (WorkArea): remove unneeded floats in computation
12170
12171 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12172
12173         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12174
12175         * paragraph.C (asString): Do not ignore newline/hfill chars when
12176         copying to the clipboard.
12177
12178 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12179
12180         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12181         after a multi-line inset.
12182
12183 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12184
12185         * paragraph.C (validate): Set NeedLyXFootnoteCode
12186
12187 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12188
12189         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12190         and decrease-error to decrease.
12191
12192 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12193
12194         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12195         it more readable (should be equivalent)
12196
12197 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12198
12199         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12200
12201 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12202
12203         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12204         of a cursor (row, etc.) after a character has been deleted
12205         (deleteEmptyParagraphMechanism): call the method above on _all_
12206         cursors held by the LyXText when a double space has been
12207         detected/deleted.
12208
12209 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12210
12211         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12212         pixmap.
12213         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12214
12215         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12216         background. Use greyOut() and the new show() methods to toggle between
12217         the foreground and background. Add code to remove the splash after
12218         its initial showing.
12219
12220         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12221         (create_forms): no longer call Dialogs::showSplash.
12222
12223 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12224
12225         * .cvsignore: add version_info.h
12226
12227 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12228
12229         * version_info.h.in: new file
12230
12231         * Makefile.am: add version_info.h.in
12232
12233         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12234         version_info.h instead of VERSION_INFO
12235
12236 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12237
12238         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12239         The ERT inset now returns string().
12240
12241 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12242
12243         * lyxtext.h, text.C (selectNextWord): renamed as
12244         selectNextWordToSpellcheck.
12245
12246         * text.C (selectNextWordToSpellcheck): Modified to not select
12247         words inside an ERT inset.
12248
12249 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12250
12251         * lyx_cb.C (MenuLayoutSave): change a bit the question
12252
12253         * sp_base.h: include <sys/types.h>
12254
12255 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12256
12257         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12258
12259 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12260
12261         * several files: fix typos in user-visible strings
12262
12263 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12264
12265         * text2.C (pasteSelection): do not set the selection, since it
12266         will be cleared later. Actually, the intent was to fix the way the
12267         selection was set, but I figured rmoving the code was just as good.
12268
12269 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12270
12271         * FontLoader.C (available): Check if font is available without
12272         loading the font.
12273
12274 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12275
12276         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12277
12278 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12279
12280         * lyxrc.[Ch]: added display_graphics variable and associated code.
12281
12282 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12283
12284         * bufferparams.C (hasClassDefaults): new method. Returns true if
12285         the buffer parameters correspond to known class defaults
12286
12287 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12288
12289         * XFormsView.C (show): set minimum size to the main window.
12290
12291 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12292
12293         * text2.C (copySelection):
12294         (cutSelection):
12295         * lyxfind.C (LyXReplace):
12296         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12297         LyXText::selectionAsString.
12298
12299         * paragraph.C (asString): add "label" argument to the second form
12300
12301         * text2.C (selectionAsString): add "label" argument and pass it to
12302         Paragraph::asString.
12303
12304 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12305
12306         * lyx_main.C (commandLineHelp): remove version information
12307
12308 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12309
12310         * lyx_main.C: add -version commandline option
12311
12312 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12313
12314         * paragraph.h: make the optional constructor arg required instead.
12315         some modifications to other files because of this.
12316
12317         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12318
12319         * lyxserver.C (C_LyXComm_callback): make it static
12320
12321         * lyx_main.C (error_handler): make it static
12322
12323         * lyx_gui.C (LyX_XErrHandler): make it static
12324
12325         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12326
12327         * WorkArea.C: make the extern "C" methods static.
12328
12329         * Makefile.am (lyx_LDADD): simplify
12330
12331 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12332
12333         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12334         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12335
12336         * LyXAction.C (init):
12337         * lyxfunc.C (dispatch): associated code removal.
12338
12339 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12340
12341         * lyxfont.h (isSymbolFont): shut off warning
12342
12343         * text.C (setHeightOfRow):
12344         (getVisibleRow): fix crash with empty paragraphs which have a
12345         bottom line
12346
12347 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12348
12349         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12350         code.
12351
12352 2001-09-04  José Matos  <jamatos@fep.up.pt>
12353         * buffer.C
12354         * buffer.h
12355         * tabular.C (docbook): rename docBook method to docbook.
12356
12357 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12358
12359         * Makefile.am: add dependencies to main.o.
12360
12361 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12362
12363         * FontLoader.C (available): Return false if !lyxrc.use_gui
12364
12365 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12366
12367         * FontInfo.C (query):
12368         * converter.C (view):
12369         * importer.C (Import):
12370         * exporter.C (Export): Can not -> cannot.
12371
12372 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12373
12374         * BufferView_pimpl.C: allow to create index inset even if
12375           string is empty
12376
12377 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12378
12379         * buffer.C (getLists): replace boost::tie code with an explicit pair
12380         as boost::tie can break some compilers.
12381
12382         * iterators.h: Added a std:: declaration to the return type of
12383         ParIterator::size.
12384
12385 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12386
12387         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12388           case.
12389
12390 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12391
12392         * iterators.[Ch]: New files. Provide paragraph iterators.
12393
12394         * buffer.C (changeLanguage): Use paragraph iterators.
12395         (isMultiLingual): ditto
12396
12397         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12398
12399 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12400
12401         * FontLoader.C: Support for cmr font.
12402
12403 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12404
12405         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12406         (available): New method.
12407
12408         * FontInfo.C (getFontname): Use scalable fonts even when
12409         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12410         found.
12411
12412 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12413
12414         * converter.C (Formats::view): reverted! Incorrect fix.
12415
12416 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12417
12418         * converter.C (Formats::view): only output the -paper option
12419         if the dvi viewer is xdvi, thereby fixing bug #233429.
12420
12421 2001-08-23  Herbert Voss  <voss@perce>
12422
12423         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12424
12425 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12426
12427         * Spacing.h (Spacing): Set space to Default on in the default
12428         constructor.
12429
12430 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12431
12432         * vc-backend.h (RCS::versionString): add RCS to version
12433         (CVS::versionString): add CVS to version
12434
12435         * vc-backend.C (scanMaster): do not add CVS to version.
12436         (scanMaster): do not add RCS to version
12437
12438         * lyxvc.C (versionString): new method
12439
12440         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12441
12442 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12443
12444         * Spacing.C (set): initialize fval
12445
12446 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12447
12448         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12449         " or \.
12450
12451 2001-08-16  Juergen Vigna  <jug@sad.it>
12452
12453         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12454
12455 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12456
12457         * BufferView_pimpl.C:
12458         * figureForm.C:
12459         * lyxtext.h:
12460         * text2.C: setParagraph takes linespacing now
12461
12462 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12463
12464         * LyxAction.C: add internal LFUN_CITATION_INSERT
12465
12466         * LyXView.C: actually apply fix
12467
12468         * bufferlist.C: fix open non-existent file
12469
12470         * lyxfind.C: fix indentation
12471
12472         * lyxfunc.C: remove unneeded assert, fix typo
12473
12474 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12475
12476         * MenuBackend.C: use "Floatname List"
12477
12478 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12479
12480         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12481         when converting LaTeX layout to insetERT.
12482         Generate a non-collapsed float when reading old float
12483
12484 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12485
12486         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12487         ERT insets.
12488
12489 2001-08-13  Juergen Vigna  <jug@sad.it>
12490
12491         * text.C (fill): return 0 instead of 20 as this seems to be the more
12492         correct value.
12493
12494 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12495
12496         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12497         lyxrc.font_norm.
12498
12499 2001-08-13  Juergen Vigna  <jug@sad.it>
12500
12501         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12502         casesensitive off.
12503         (SearchBackward): comment out the unlocking of the inset_owner this
12504         should not be needed!
12505
12506 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12507
12508         * Many files: Remove inherit_language, and add latex_language
12509
12510         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12511         collapsible insets.
12512
12513 2001-08-10  Juergen Vigna  <jug@sad.it>
12514
12515         * text.C (prepareToPrint): fixed hfill-width in draw!
12516
12517         * BufferView2.C (selectLastWord): save the selection cursor as this
12518         now is cleared in the function LyXText::clearSelection!
12519
12520 2001-08-08  Juergen Vigna  <jug@sad.it>
12521
12522         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12523         BACKSPACE type functions.
12524
12525         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12526         is only cutted from the document but not put in the cut-buffer, where
12527         still the old stuff should be.
12528
12529         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12530
12531         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12532
12533         * tabular.C (SetWidthOfCell): fixed special case where the width
12534         was not updated!
12535         (LeftLine): handle '|' in align_special.
12536         (RightLine): ditto
12537         (LeftAlreadyDrawed): ditto
12538         (SetWidthOfCell): ditto
12539
12540 2001-08-07  Juergen Vigna  <jug@sad.it>
12541
12542         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12543
12544 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12545
12546         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12547         * lyxlex.[hC]: ditto
12548
12549 2001-08-06  Juergen Vigna  <jug@sad.it>
12550
12551         * text.C (getVisibleRow): fix up row clearing a bit.
12552
12553 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12554
12555         * minibuffer.C: make sure the X server sees the changes in the input.
12556
12557 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12558
12559         * paragraph.C (getFont): split into...
12560         (getLabelFont): this
12561         (getLayoutFont): and this
12562         * paragraph_pimpl.C (realizeFont): calling this
12563
12564         * text2.C (getFont): split into...
12565         (getLayoutFont): this
12566         (getLabelFont): and this
12567         (realizeFont): all three calling this
12568
12569         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12570         files where used.
12571
12572 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12573
12574         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12575
12576 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12577
12578         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12579         layouts from the Quote inset insertion.
12580
12581 2001-08-03  Juergen Vigna  <jug@sad.it>
12582
12583         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12584
12585         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12586         only if status not is already CHANGED_IN_DRAW (second level).
12587
12588         * text.C (draw): don't set the need_break_row when inside an
12589         InsetText LyXText.
12590
12591 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12592
12593         * buffer.C (parseSingleLyXformat2Token): handle more latex
12594         conversion cases.
12595
12596         * bufferview_funcs.[hC]: change function names to
12597         begin with small char, adjust other files.
12598
12599 2001-08-02  André Pönitz <poenitz@gmx.net>
12600
12601         * lyxfunc.C:
12602         BufferView_pimpl.C: remove broken special code for math-greek
12603
12604 2001-08-02  Juergen Vigna  <jug@sad.it>
12605
12606         * BufferView_pimpl.C (update): redone this function so that we
12607         update the text again if there was a CHANGE_IN_DRAW.
12608
12609         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12610         (drawFromTo): added a new internal bool which is used by draw() and
12611         redraw() function.
12612         (general): some cursor drawing problems fixed.
12613
12614 2001-08-01  Juergen Vigna  <jug@sad.it>
12615
12616         * lyxfind.C (LyXFind): fixed
12617         (SearchForward): ditto
12618         (SearchBackward): ditto
12619
12620         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12621         spurius drawing of the cursor in the main area.
12622
12623         * text2.C (status): small fix which could lead to a segfault!
12624         (clearSelection): remove unneeded BufferView param.
12625
12626 2001-08-01  André Pönitz <poenitz@gmx.net>
12627
12628         * lyxfunc.C: small change due to changed mathed interface
12629
12630 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12631
12632         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12633
12634 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12635
12636         * lyxfunc.c: fail gracefully if file doesn't exist
12637
12638         * LyXSendto.C:
12639         * buffer.C:
12640         * lyxfunc.C:
12641         * BufferView_pimpl.C: IsDirWriteable() proto changed
12642
12643         * LyXView.C: fix updateWindowTitle() to store the last title
12644
12645 2001-07-31  Juergen Vigna  <jug@sad.it>
12646
12647         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12648         the font (wrong since using of Paragraph::highestFontInRange).
12649
12650         * paragraph.C (highestFontInRange): added a default_size parameter.
12651
12652         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12653         (setHeightOfRow): reformat
12654
12655 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12656
12657         * converter.[hC] + affected files: move to (inital-char)lowercase
12658         function names.
12659
12660         * ParagraphParameters.C (ParagraphParameters): remove commented code
12661
12662         * PainterBase.[Ch]: remove commented code
12663
12664         * LaTeXFeatures.h: add "bool floats" for float.sty
12665
12666         * LaTeXFeatures.C (LaTeXFeatures): init floats
12667         (require): handle float
12668         (getPackages): do it with floats
12669
12670 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12671
12672         * BufferView_pimpl.C (Dispatch): improve handling of
12673         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12674
12675         * commandtags.h: #include lyxfont.h here temporarily to avoid
12676         keybinding bug.
12677
12678         * bufferlist.h: include LString.h here.
12679
12680 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12681
12682         * text2.C (getStringToIndex): new method.
12683
12684 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12685
12686         * *: Reduced header file dependencies all over.
12687
12688 2001-07-30  Baruch Even  <baruch@lyx.org>
12689
12690         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12691
12692 2001-07-29  Baruch Even  <baruch@lyx.org>
12693
12694         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12695
12696 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12697
12698         * ParameterStruct.h (endif): add a default constructor to make
12699         sure that all variables is initialized.
12700
12701         * ParagraphParameters.C (ParagraphParameters): adjust
12702
12703 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12704
12705         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12706         index; also, check that there is something to index, and that it
12707         does not span over several paragraphs.
12708         (doubleClick): use WHOLE_WORD_STRICT for double click.
12709
12710         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12711
12712         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12713         scheme.
12714
12715 2001-07-26  Baruch Even  <baruch@lyx.org>
12716
12717         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12718         an InsetFig figure, backwards compatible reading of old figure code.
12719
12720 2001-07-27  Juergen Vigna  <jug@sad.it>
12721
12722         * text2.C: font.realize function adaption.
12723
12724         * text.C (draw): add a warnings lyxerr text if needed.
12725
12726         * layout.C: font.realize function adaption.
12727
12728         * language.C: add inherit_language and implement it's handlings
12729
12730         * bufferview_funcs.C (StyleReset): remove language parameter from
12731         font creation (should be language_inherit now).
12732
12733         * bufferparams.C (writeFile): handle ignore_language.
12734
12735         * paragraph.C (getFontSettings): the language has to be resolved
12736         otherwise we have problems in LyXFont!
12737
12738         * lyxfont.C (lyxWriteChanges): added document_language parameter
12739         (update): removed unneeded language parameter
12740
12741         * paragraph.C (validate): fixed wrong output of color-package when
12742         using interface colors for certain fonts in certain environments,
12743         which should not seen as that on the final output.
12744
12745 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12746
12747         * BufferView_pimpl.C:
12748         * Thesaurus.h:
12749         * Thesaurus.C:
12750         * Makefile.am:
12751         * commandtags.h:
12752         * LyXAction.C: add thesaurus support
12753
12754         * lyxfind.h:
12755         * lyxfind.C: add "once" parameter, for thesaurus, to not
12756           move to the next match
12757
12758 2001-07-26  Juergen Vigna  <jug@sad.it>
12759
12760         * lyxfont.C (realize): honor ignore_language too!
12761         (resolved): ditto.
12762
12763         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12764
12765         * text.C (draw): one place more for ignore_language to not draw
12766         itself!
12767
12768 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12769
12770         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12771
12772 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12773
12774         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12775         the minipage conversion problem.
12776
12777 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12778
12779         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12780         insert an inset.
12781
12782 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12783
12784         * BufferView.h: don't forward declare WorkArea
12785
12786         * BufferView.C: don't include WorkArea.h
12787
12788 2001-07-25  André Pönitz <poenitz@gmx.net>
12789
12790         * commandtags.h:
12791         * LyXAction.C:
12792         * lyxfunc.C:  new LFUN 'math-space'
12793
12794         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12795
12796 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12797
12798         * text2.C (toggleInset): call open/close
12799
12800 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12801
12802         * lyxfunc.C (dispatch): add debug for the disabled case
12803
12804         * font.C (buttonText): make similar to rectText
12805
12806         * buffer.C (readInset): comment out parsing of insetlist and
12807         insttheorem
12808
12809         * PainterBase.C (rectText): small correction
12810
12811         * BufferView_pimpl.C: comment out insettheorem and insetlist
12812         * LyXAction.C: ditto
12813         * commandtags.h: ditto
12814
12815 2001-07-24  Juergen Vigna  <jug@sad.it>
12816
12817         * text.C (draw): honor the ignore_language.
12818
12819         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12820
12821 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12822
12823         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12824         char inset.
12825
12826 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12827
12828         * lyxtext.h: remove unused (and unimplemented) methods
12829
12830 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12831
12832         * text.C (getVisibleRow): honor background color
12833
12834         * PainterBase.h:
12835         * Painter.h: remove default color argument for fillRectangle
12836
12837         * text.C (backgroundColor): new method
12838
12839 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12840
12841         * text.C (getVisibleRow): adjust
12842
12843         * font.[Ch] (rectText): new method, metrics
12844         (buttonText): new method, metrics
12845
12846         * PainterBase.[hC]: make rectText and buttonText always draw and take
12847         fewer paramteres.
12848
12849 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12850
12851         * ToolbarDefaults.C (read):
12852         * MenuBackend.C (read): allow escaping in all strings
12853
12854         * BufferView_pimpl.C (insertAndEditInset): new method.
12855         (Dispatch): use insertAndEditInset whenever appropriate.
12856
12857         * BufferView_pimpl.C (insertNote): removed
12858
12859         * BufferView_pimpl.C (smartQuote): new method, moved from
12860         BufferView; if an insetquote cannot be inserted, insert a '"'
12861         character instead.
12862
12863         * BufferView2.C: remove insertCorrectQuote();
12864
12865         * lyxfunc.C (getStatus): Add support for all remaingin
12866         inset-insert lfuns.
12867
12868         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12869
12870         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12871         command (necessary to pass " as parameter of self-insert.
12872
12873         * text.C (selectWordWhenUnderCursor):
12874         (selectWord): add word_location parameter
12875         (selectWordWhenUnderCursor): same + remove special code for word
12876         boundary.
12877         (selectNextWord): use kind() to guess type of insetspecialchar,
12878         not latex().
12879
12880         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12881         (insertErtContents): create ert insets as collapsed.
12882         (readInset): better compatibility code for Info inset.
12883
12884 2001-07-20  Juergen Vigna  <jug@sad.it>
12885
12886         * lyxfunc.C (dispatch): use always LyXFind now!
12887
12888         * text2.C (init): add a reinit flag so that the LyXText can be
12889         reinited instead of deleted and reallocated (used in InsetText).
12890
12891         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12892
12893         * text.C: ditto
12894
12895         * text2.C: ditto
12896
12897 2001-07-18  Juergen Vigna  <jug@sad.it>
12898
12899         * text.C (selectNextWord): handle insets inside inset by calling
12900         always the bv->text functions so that we can go up the_locking_inset!
12901
12902         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12903         in strange locations when inside an inset!
12904
12905         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12906         handling to include insets.
12907
12908         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12909
12910 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12911
12912         * LyXAction.C (init):
12913         * commandtags.h:
12914         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12915         LIGATURE_BREAK, since the name is so stupid.
12916
12917 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12918
12919         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12920         InsetInfos.
12921
12922         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12923
12924         * sp_form.[Ch]: remove.
12925
12926         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12927
12928         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12929         InsetInfo.
12930
12931         * src/buffer.C (readInset): ditto.
12932
12933 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12934
12935         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12936         menuSeparator(), endOfSentenceDot(), ldots() and
12937         hyphenationPoint(), which are therefore removed.
12938         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12939
12940         * LyXAction.C (init):
12941         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12942
12943         * paragraph.C (getWord): removed.
12944
12945         * BufferView_pimpl.C (Dispatch): use last word or selection for
12946         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12947
12948         * lyx_main.C (queryUserLyXDir): do not ask before creating
12949         user_dir, except if it has been named explicitely.
12950
12951 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12952
12953         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12954         a document of zero size.
12955
12956 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12957
12958         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12959         approriately in the c-tor and in require().
12960         (getPackages): output the appropriate LaTeX for natbib support.
12961
12962         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12963         variables "use_natbib" and "use_numerical_citations" when reading the
12964         LyX file.
12965         (readInset): read the various natbib cite commands.
12966         (validate): white-space change.
12967
12968         * bufferparams.[Ch]: new variables "bool use_natbib" and
12969         "bool use_numerical_citations".
12970         (writeFile): output them in the LyX file.
12971
12972 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12973
12974         * lyxfunc.C (getStatus): add support for all the inset insertion
12975         commands.
12976
12977         * text2.C (insertInset):
12978         * paragraph.C (insetAllowed):
12979         * BufferView_pimpl.C (insertInset): update to take in account the
12980         renaming of insertInsetAllowed
12981
12982         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12983
12984         * text2.C (getInset): new method. returns inset at cursor position.
12985
12986         * BufferView_pimpl.C (Dispatch): changes because of this.
12987
12988         * LyXAction.C (init): rename open-stuff to inset-toggle.
12989
12990         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12991
12992         * text2.C (toggleInset): renamed from openStuff; use
12993         Inset::open().
12994
12995 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12996
12997         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12998
12999         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13000
13001 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13002
13003         * buffer.C (readLyXformat2): Add filename to the error dialog
13004
13005 2001-07-18  Juergen Vigna  <jug@sad.it>
13006
13007         * tabular.C (GetCellNumber): put an assert here instead of the check!
13008
13009 2001-07-17  Juergen Vigna  <jug@sad.it>
13010
13011         * BufferView_pimpl.C (toggleSelection): adapted too.
13012
13013         * text.C (selectNextWord): adapted for use with insets.
13014         (selectSelectedWord): ditto
13015
13016 2001-07-17  Juergen Vigna  <jug@sad.it>
13017
13018         * sp_spell.C (PSpell): fix initialitation order.
13019
13020 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13021
13022         * paragraph.C: spacing
13023
13024 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13025
13026         * sp_spell.C: repair language selection for pspell
13027
13028 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13029
13030         * lyxfunc.h: change more methods to begin with lower char.
13031
13032 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13033
13034         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13035         for unknown layouts.
13036
13037 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13038
13039         * buffer.C (readLyXformat2): Generate an error dialog if there are
13040         unknown layouts.
13041
13042 2001-07-16  Juergen Vigna  <jug@sad.it>
13043
13044         * sp_spell.C: always compile ISpell part.
13045
13046         * lyxrc.C: added use_pspell entry and it's handling.
13047
13048 2001-07-13  Juergen Vigna  <jug@sad.it>
13049
13050         * sp_spell.C: removed double includes.
13051
13052 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13053
13054         Consistent use of Lsstream.h:
13055         * Lsstream.h: added using std::stringstream for consistencies sake.
13056
13057         * buffer.C: removed using std::stringstream
13058
13059         * lyxfont.C (stateText):
13060         * paragraph.C (asString):
13061         * text.C (selectNextWord, selectSelectedWord):
13062         * text2.C (setCounter):
13063         * vspace.C (asString, asLatexString):
13064         std::ostringstream -> ostringstream.
13065
13066 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13067
13068         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13069         * commandtags.h: add LFUN_HELP_ABOUTLYX
13070         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13071
13072 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13073
13074         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13075         cursorToggle()
13076         * lyx_gui_misc.C: remove spellchecker
13077         * lyxfunc.C: showSpellchecker
13078         * sp_base.h: added
13079         * sp_ispell.h: added
13080         * sp_pspell.h: added
13081         * sp_spell.C: added
13082         * sp_form.[Ch]: removed
13083         * spellchecker.[Ch]: removed
13084
13085 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13086
13087         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13088         is set.
13089         (simpleTeXSpecialChars): Simply print the input character without
13090         any special translation if pass_thru is set.
13091
13092         * layout.h: Added bool pass_thru to layout class for being able to
13093         implement pass through of a paragraph for Literate Programming.
13094
13095         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13096         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13097         * layout.C (Read): add "passthru" to list of layout tags and add
13098         code to set the pass_thru boolean when it is read.
13099
13100 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13101
13102         * trans_decl.h: remove allowed from KmodInfo
13103
13104         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13105         remove allowed code
13106         (Load): adjust
13107
13108         * paragraph_pimpl.C (erase): use boost::prior
13109
13110         * Painter.C (text): use data() instead of c_str() when length is
13111         also provided.
13112         * WorkArea.C (putClipboard): ditto
13113         * font.h (width): ditto
13114
13115         * BufferView2.C: use it-> instead of (*it). for iterators
13116         * texrow.C: ditto
13117         * paragraph_pimpl.C: ditto
13118         * paragraph.C: ditto
13119         * minibuffer.C: ditto
13120         * language.C: ditto
13121         * kbmap.C: ditto
13122         * encoding.C: ditto
13123         * counters.C: ditto
13124         * converter.C: ditto
13125         * chset.C: ditto
13126         * Variables.C: ditto
13127         * TextCache.C: ditto
13128         * MenuBackend.C: ditto
13129         * LyXAction.C: ditto
13130         * LColor.C: ditto
13131         * FloatList.C: ditto
13132         * DepTable.C: ditto
13133         * ColorHandler.C (LyXColorHandler): ditto
13134
13135 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13136
13137         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13138
13139         * text2.C (openStuff): reintroduce this method (which had been
13140         nuked in NEW_INSETS frenzy).
13141
13142         * lyxfunc.C (Dispatch): when an action has not been handled, use
13143         its name in the error message, not its number.
13144
13145         * paragraph.C (inInset): change method name to begin with lowercase.
13146
13147         * undo_funcs.C:
13148         * text2.C: updates because of this.
13149
13150 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13151
13152         * ToolbarDefaults.C (add): add spaces in error message
13153
13154 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13155
13156         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13157         (readLyXformat2): rename return_par to first_par, use lyxlex's
13158         pushToken and remove the manual push handling.
13159         (parseSingleLyXformat2Token): add another ert comp. variable:
13160         in_tabular, rename return_par to first_par. handle newlines better
13161
13162 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13163
13164         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13165
13166 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13167
13168         * text2.C (getParFromID): removed
13169
13170         * buffer.C (getParFromID): new method moved form lyxtext.
13171         * BufferView2.C (insertErrors): adjust
13172         (setCursorFromRow): adjust
13173         * BufferView_pimpl.C (restorePosition): adjust
13174         * lyxfunc.C (Dispatch): adjust
13175         * undo_funcs.C (textUndo): adjust
13176         (textRedo): adjust
13177         (textHandleUndo): adjust
13178         (textHandleUndo): adjust
13179
13180 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13181
13182         * buffer.C: up' the LYX_FORMAT
13183
13184         * lyxfont.h: turn NO_LATEX on as default
13185
13186         * buffer.C (insertErtContents): new methods of tex style compability.
13187         (parseSingleLyXformat2Token): use it several places.
13188         * tabular.C (OldFormatRead): and here
13189
13190 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13191
13192         * text2.C: remove some commented code.
13193         reindent file.
13194
13195         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13196         * trans.C: changes because of the above.
13197
13198 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13199
13200         * text2.C (setCounter): Fix counters bug with bibliography layout.
13201
13202 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13203
13204         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13205         own member functions
13206         (simpleTeXSpecialChars): ditto
13207
13208 2001-07-06  Juergen Vigna  <jug@sad.it>
13209
13210         * a lot of files: changed the access to LyXText::status and the
13211         call of undo-functions.
13212
13213         * undo.[Ch]: added a inset_id to the undo informations.
13214
13215         * undo_funcs.[Ch]: added and moved here all undo functions.
13216
13217         * lyxtext.h: give the status enum a weight, made status_ a private
13218         variable and made accessor functions for it, removed the whole bunch
13219         of undo-functions as they are now in their own file, make some
13220         functions publically available. Added function ownerParagraph with
13221         int parameter.
13222
13223         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13224         made InInset() a const function, added getParFromID() function.
13225
13226         * buffer.[Ch]: added const version for inset_iterator functions,
13227         added getInsetFromID() function.
13228
13229         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13230         changed undo functions for new version.
13231
13232 2001-07-05  Juergen Vigna  <jug@sad.it>
13233
13234         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13235         unknow mechanism does not call the proper constructor but only this
13236         one also if I request the other!?
13237
13238 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13239
13240         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13241
13242         * text2.C (LyXText): use initialization lists.
13243
13244         * lyxtext.h (Selection): initialize set_ and mark_
13245         (init): remove method
13246
13247 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13248
13249         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13250
13251 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13252
13253         * screen.[Ch]: change method names to begin with lowercase
13254
13255         * BufferView_pimpl.C (updateScrollbar): simplify further and
13256         hopefully make it a bit faster.
13257
13258 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13259
13260         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13261         calling directly xforms functions.
13262
13263         * Painter.C (Painter):
13264         * lyx_cb.C (MenuWrite):
13265         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13266         fl_display.
13267
13268         * lyx_gui.C: remove bogus guiruntime extern declaration.
13269
13270 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13271
13272         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13273         in NEW_INSETS
13274         (redoDrawingOfParagraph): ditto
13275         (redoParagraphs): ditto
13276         (cutSelection): don't create a object for CutAndPaste use the
13277         static method directly
13278         (pasteSelection): ditto
13279
13280         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13281         LyXview (+ rename)
13282
13283 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13284
13285         * modifications to some other files because of this.
13286
13287         * Makefile.am (lyx_SOURCES): add XFormsView
13288
13289         * XFormsView.[Ch]: new files
13290
13291         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13292         the main window. Move the gui dependent stuff to XFormsView
13293
13294 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13295
13296         * tabular.C (GetCellInset): update cur_cell also in the row/col
13297         version of this function.
13298
13299         * lyxfunc.C: no need to include figure_form.h here.
13300
13301         * FontLoader.h:
13302         * lyxfunc.h:
13303         * lyxscreen.h:
13304         * text2.C:
13305         * lyxvc.C: no need to include forms.h here.
13306
13307 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13308
13309         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13310
13311         * lyxfunc.C (Dispatch):
13312         * Spacing.C (set):
13313         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13314         constructor argument.
13315
13316 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13317
13318         * paragraph.C (Paragraph): dont't clear, and just set layout.
13319         (makeSameLayout): use params's copy contructor.
13320
13321         * ParagraphParameters.[Ch] (makeSame): delete method
13322
13323 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13324
13325         * Variables.[Ch]: fix indentation, rename set to isSet
13326
13327 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13328
13329         * lyxfunc.C (Dispatch): fix typo
13330
13331 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13332
13333         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13334         upper_bound.
13335
13336         * bufferlist.C: include assert.h for emergencyWrite().
13337
13338 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13339
13340         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13341           give up at last (bug #425202) !
13342
13343 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13344
13345         * lyx_gui_misc.C:
13346         * sp_form.h:
13347         * sp_form.C:
13348         * spellchecker.h:
13349         * spellchecker.C: strip spellchecker options and bring up
13350           preferences tab instead
13351
13352 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13353
13354         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13355         the istringstream constructor
13356
13357 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13358
13359         * paragraph.C (getLayout): fix return value
13360
13361         * paragraph.h: do not declare getLayout as inline.
13362
13363         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13364
13365 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13366
13367         * lyxcursor.h (operator<): new func
13368         (operator>): new func
13369         (operator>=): new func
13370         (operator<=): new func
13371
13372         * text.C (changeCase): use selection.start and selection.end
13373         (changeRegionCase): require from to be <= to. Require par to be a
13374         valid paragraph.
13375
13376         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13377
13378 2001-06-27  Juergen Vigna  <jug@sad.it>
13379
13380         * text.C (cursorLeftOneWord): changed to return the cursor and added
13381         overlay with BufferView * parameter which calls this one.
13382         (getWord): added
13383         (selectWord): use new getWord function.
13384         (changeCase): renamed from changeWordCase as and extended to work
13385         also on selections.
13386
13387         * lyxtext.h: added enum word_location
13388
13389         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13390         changeCase as this operates now also on selections.
13391
13392 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13393
13394         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13395
13396         * many files: send debug output to Debug::INFO instead of
13397         Debug::ANY.
13398
13399         * converter.C (View):
13400         (Convert):
13401         (Move): send debug output to Debug::FILES instead of console.
13402
13403 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13404
13405         * lyxfunc.C (getStatus): use func_status
13406
13407         * func_status.h: new header, describing the results of
13408         LyXFunc::getStatus;
13409
13410         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13411         LFUN_MATH_HALIGN.
13412
13413 2001-06-25  The LyX Project  <jug@sad.it>
13414
13415         * buffer.C (sgmlOpenTag):
13416         (sgmlCloseTag):
13417         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13418
13419 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13420
13421         * text2.C: remove some dead code
13422
13423         * tabular.C (GetCellInset): store the last cell checked (gotten)
13424
13425         * tabular.h: add the helper for the speedup
13426
13427         * lyxtext.h: remove some dead code
13428
13429 2001-06-26  The LyX Project  <Asger>
13430
13431         * paragraph.C: Change export to LaTeX of alignment to
13432         \begin{center} and family for better roundtrip work with reLyX.
13433
13434         * Tune the math drawing a bit.
13435
13436 2001-06-25  The LyX Project  <Asger>
13437
13438         * LColor.C (LColor): New color for math background. New color
13439         for buttons.
13440
13441 2001-06-25  The LyX Project  <jug@sad.it>
13442
13443         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13444
13445         * lyxfunc.C (Open):
13446         * bufferlist.C (newFile): do not restrict to files ending with
13447         .lyx
13448
13449         * BufferView_pimpl.C (MenuInsertLyXFile):
13450
13451 2001-06-24  The LyX Project  <jug@sad.it>
13452
13453         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13454         of compare_no_case
13455
13456 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13457
13458         * lyxtext.h: rename most methods to begin with a small char.
13459         Lots of changes because of this.
13460
13461         * paragraph.C (Paragraph): do not call fitToSize
13462         (erase): call Pimpl::erase
13463         (insertChar): call Pimpl::insertChar
13464         (insertInset): call Pipl::insertInset
13465         (breakParagraph): do not call fitToSize
13466         (breakParagraphConservative): do not call fitToSize
13467         (fitToSize): remove method
13468
13469         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13470
13471 2001-06-24  The LyX Project  <Asger>
13472
13473         * Fix Qt compilation^2
13474
13475 2001-06-24  The LyX Project  <jug@sad.it>
13476
13477         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13478         depthHook(getDepth()-1).
13479
13480         * paragraph.h:
13481         * ParagraphParameters.h:
13482         * ParameterStruct.h: change type of depth to unsigned int ==
13483         depth_type. Many adaptations to other files before of that.
13484
13485 2001-06-24  The LyX Project  <Asger>
13486
13487         * Fix Qt compilation.
13488
13489 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13490
13491         * paragraph.h: renamed several methods to begin with small letter.
13492         several changes to many parts of the code because of this.
13493
13494 2001-06-23  The LyX Project  <jug@sad.it>
13495
13496         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13497         rewritten to discard all double spaces when KeepEmpty is off
13498         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13499         to only handle newlines but not fiddle with spaces and friends.
13500
13501         * lyxfunc.C (MenuNew): when doing 'new from template', use
13502         template_path as default directory
13503
13504 2001-06-23  The LyX Project  <Asger>
13505
13506         * Clean-up of header file includes all over
13507         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13508
13509 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13510
13511         * paragraph.h: renamed from lyxparagraph.h
13512
13513 2001-06-23  Asger  <lyx@violet.home.sad.it>
13514
13515         * Buffer.h: Removed Buffer::resize
13516         * BufferList.h: Removed BufferList::resize
13517         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13518         the document lazily when we change the width, or the font settings.
13519
13520 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13521
13522         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13523
13524 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13525
13526         * buffer.h: remove out of date comment
13527
13528 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13529
13530         * lyxscreen.h:
13531         * screen.C: fix "theoretical" GC leak
13532
13533 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13534
13535         * LaTeX.C (scanAuxFile):
13536         (deplog): remove trailing \r when reading stream (useful under
13537         win32)
13538
13539 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13540
13541         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13542         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13543         and BufferView::theLockingInset(Inset*), so should use them and not
13544         access bv_->text->the_locking_inset directly.
13545
13546         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13547
13548 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13549
13550         * Makefile.am:
13551         * tex-defs.h: remove old unused file
13552
13553 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13554
13555         * BufferView_pimpl.C: fix typo, remove minibuffer message
13556           when buffer has loaded
13557
13558 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13559
13560         * lyxfunc.C (Dispatch): use stringstream
13561         (MenuNew): use stringstream
13562         (Open): use stringstream
13563
13564         * importer.C (Import): use stringstream
13565
13566         * bufferview_funcs.C (CurrentState): use stringstream
13567
13568         * LaTeX.C (run): use stringstream
13569
13570         * BufferView_pimpl.C (savePosition): use stringstream
13571         (restorePosition): use stringstream
13572         (MenuInsertLyXFile): use stringstream
13573
13574 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13575
13576         * BufferView.C:
13577         * Bullet.C:
13578         * ColorHandler.C:
13579         * FontInfo.C:
13580         * FontLoader.C:
13581         * LColor.C:
13582         * LaTeXFeatures.C:
13583         * Painter.C:
13584         * gettext.C:
13585         * lyx_gui_misc.C:
13586         * lyxserver.C:
13587         * vspace.C: removed // -*- C++ -*- as first line.
13588
13589         * lyxfind.h:
13590         * version.h: added // -*- C++ -*- as first line.
13591
13592 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13593
13594         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13595
13596         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13597         of string
13598
13599 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13600
13601         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13602         of floats.
13603
13604 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13605
13606         * gettext.C: include LString.h even when --disable-nls is on.
13607
13608 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13609
13610         * converter.h (Get): changed argument type from int to
13611         FormatList::size_type to avoid unnecessary conversion.
13612
13613         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13614         before using it.
13615
13616 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13617
13618         * gettext.h: include LString.h even when --disable-nls is on.
13619
13620 2001-06-07  Juergen Vigna  <jug@sad.it>
13621
13622         * text.C (BreakAgain): subst spaces with tabs.
13623
13624         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13625         (resizeInsetsLyXText): set force on resizeLyXText.
13626
13627 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13628
13629         * gettext.h (gettext_init):
13630         (locale_init): use a real definition instead of a macro
13631
13632 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13633
13634         * Bufferview_pimpl.C:
13635         * LColor.h:
13636         * LColor.C: further lcolor tidies
13637
13638 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13639
13640         * BufferView_pimpl.C (updateScrollbar): simplify.
13641
13642         * BufferView2.C: don't include insets/insetinfo.h, change
13643         prototype for insertInset and call the Pimpl version. let
13644         updateInset call Pimpl version.
13645
13646         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13647         gotoInset to BufferView::Pimpl
13648
13649 2001-06-01  Juergen Vigna  <jug@sad.it>
13650
13651         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13652         inside a LockingInset (is the update needed at all?).
13653
13654 2001-05-31  Juergen Vigna  <jug@sad.it>
13655
13656         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13657         here not the old one otherwise how should we compare it afterwards
13658         if it's the same!
13659
13660 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13661
13662         * lyxfont.C:
13663         * tabular.C:
13664         * tabular-old.C:
13665         * FontInfo.C: bring C functions into global namespace when
13666         necessary
13667
13668 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13669
13670         * LString.h: make sure config.h has been loaded before LString.h.
13671
13672         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13673         (one for each char read by EatLine!).
13674
13675         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13676         variables.
13677
13678 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13679
13680         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13681         to the same as the par we break from
13682
13683 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13684
13685         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13686
13687         * MenuBackend.C (expand): also create menu entries for wide
13688         versions of the floats.
13689
13690         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13691
13692         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13693
13694         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13695         frontends/Makefile.am
13696
13697         * text2.C: adjust
13698         * text.C: adjust
13699
13700
13701         * tabular.C (getTokenValue): add std::
13702
13703         * tabular-old.C (getTokenValue): add std::
13704         (getTokenValue): ditto
13705         (getTokenValue): ditto
13706
13707         * screen.C (ToggleSelection): adjust
13708
13709         * lyxtext.h: put selection cursors inside a Selection struct.
13710
13711         * lyxfunc.C (moveCursorUpdate): adjust
13712
13713         * lyxfont.C (latexWriteStartChanges): add std::
13714
13715         * lyxfind.C: adjust
13716
13717         * font.h: delete with(char const *, LyXFont const &)
13718
13719         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13720
13721         * FontInfo.C (getFontname): add std::
13722
13723         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13724         (workAreaButtonPress): adjust
13725         (tripleClick): adjust
13726         (update): adjust
13727         (moveCursorUpdate): adjust
13728         (Dispatch): adjust
13729
13730         * BufferView2.C (gotoInset): adjust
13731
13732 2001-05-30  Juergen Vigna  <jug@sad.it>
13733
13734         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13735         to check pspell I add this as default as I now have new pspell
13736         libraries and they seem to use this.
13737
13738 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13739
13740         * text2.C (CutSelection): make the cursor valid before the call to
13741         ClearSelection.
13742
13743 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13744
13745         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13746         relied on 0 terminated strings and other horrors. Bug found due to
13747         the new assert in lyxstring!
13748
13749         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13750         KP_ keys.
13751
13752 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13753
13754         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13755         to latinkeys.bind.
13756
13757         * lyxfunc.C (processKeySym): change method of getting to the
13758         self-insert char.
13759
13760         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13761         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13762         * BufferView_pimpl.[Ch]: here as private methods.
13763
13764 2001-05-28  Juergen Vigna  <jug@sad.it>
13765
13766         * text.C (SetHeightOfRow): added the update() call again as it is
13767         needed to initialize inset dimensions!
13768
13769 2001-05-16  Juergen Vigna  <jug@sad.it>
13770
13771         * text2.C (SetCharFont): Add new function with BufferView * and
13772         bool toggleall parameters for setting insets internal fonts.
13773         (SetFont): Freeze the undo as we may change fonts in Insets and
13774         all this change should be inside only one Undo!
13775
13776         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13777         setting font's in insets as for them we have the SetFont function!
13778
13779 2001-05-15  Juergen Vigna  <jug@sad.it>
13780
13781         * text2.C (ClearSelection): to be sure we REALLY don't have any
13782         selection anymore!
13783
13784         * tabular.C (TeXCellPreamble): fixed the left border problem for
13785         multicolumn cells.
13786
13787 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13788
13789         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13790         dependancy file
13791
13792 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13793
13794         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13795         LFUN_BREAKPARAGRAPH.
13796
13797         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13798         help test to "internal only", similar for LFUN_INSERT_URL
13799
13800         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13801         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13802         auto_region_delete and deadkeys.
13803
13804 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13805
13806         * LColor.h:
13807         * LColor.C: remove some dead entries, tidy a little
13808
13809 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13810
13811         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13812         commented code.
13813         (Dispatch): implement LFUN_ESCAPE
13814
13815         * commandtags.h: add LFUN_ESCAPE
13816
13817         * LyXAction.C (init): add entry for LFUN_ESCAPE
13818
13819         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13820         Remove commented code.
13821         (insertNote): moved here
13822         (open_new_inset): moved here
13823
13824         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13825         BufferView_pimpl
13826
13827 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13828
13829         * kbmap.C (findbinding): clean it up and make it work correctly.
13830
13831         * lyx_main.C (init): do not pass argc and argv as parameters
13832
13833 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13834
13835         * buffer.C: fix path for OS/2 & Win32
13836
13837         * lyx_gui.C:
13838         * lyx_main:
13839         * lyx_main.C: Added os:: class.
13840
13841         * os2_defines.h: update
13842
13843 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13844
13845         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13846         better by trying again with reduced state.
13847
13848 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13849
13850         * lyxrc.C (read): print error about invalid key sequence only when
13851         debugging (because not all latinX keysyms are known to some X
13852         servers)
13853
13854         * kbsequence.C (getiso): add a few std:: qualifiers
13855         (getiso): comment out extra return statement.
13856
13857 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13858
13859         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13860         handling.
13861         (Dispatch): enhance the accent inset a bit. (not perfect)
13862
13863 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13864
13865         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13866
13867 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13868
13869         * bufferlist.C (emergencyWrite): fix assert() call
13870
13871 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13872
13873         * text.C (InsertChar): Added trivial patch to only send the "you
13874         can not do multiple spaces this way" message once during a
13875         session.
13876
13877 2001-05-08  Baruch Even  <baruch@lyx.org>
13878
13879         * Makefile.am: Changed order of libraries to get LyX to link properly
13880         with the gnome frontend.
13881
13882 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13883
13884         * LaTeXFeatures.h: add a std:: qualifier
13885
13886 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13887
13888         * paragraph.C (String): use stringstream
13889
13890 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13891
13892         * paragraph.C (writeFile): remove footflag arg
13893
13894         * buffer.C (makeLaTeXFile): use stringstream
13895         (latexParagraphs): remove footnot gurba
13896
13897         * LaTeXFeatures.C (getPackages): use stringstream
13898         (getMacros): likewise
13899         (getTClassPreamble): likewise
13900         (getFloatDefinitions): new method
13901
13902         * paragraph.C (writeFile): reindent
13903         (Erase): reindent
13904
13905         * WorkArea.h: revert the xpos + etc changes.
13906
13907         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13908
13909         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13910
13911         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13912         (pasteSelection): likewise
13913         * text2.C (CreateUndo): likewise
13914
13915 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13916
13917         * minibuffer.C (peek_event): temporarily reduce the functionality
13918         of the minibuffer (to allow args on lfuns)
13919
13920         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13921         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13922
13923         * buffer.C (readInset): add compability reading of old float
13924         lists, add reading of new style float list.
13925         (readInset): avoid reevaluation of inscmd.getCmdName()
13926         (getLists): reindent
13927
13928         * MenuBackend.C (MenuItem): implement parsing of
13929         md_floatlistinsert and md_floatinsert.
13930         (expand::LastFiles): move initalizaton of iterators out of loop,
13931         avoid reevaluation.
13932         (expand::Documents): introduce typdedef vector<string> Strings,
13933         and use it.
13934         (expand::ExportFormats): introduce typedef vector<Format const *>
13935         Formats, and use it.
13936         (expand): implement FloatListInsert and FloatInsert.
13937
13938         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13939         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13940         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13941
13942         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13943         handling.
13944         (Dispatch::LFUN_FLOAT_LIST): implement
13945
13946 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13947
13948         * LaTeX.C (run): Fix problem with --export code.
13949
13950 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13951
13952         * BufferView.[Ch] (workarea): removed.
13953         (getClipboard) new method; wrapper for workarea()->getClipboard()
13954
13955         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13956         bug.
13957
13958         * WorkArea.h (width, height, xpos, ypos): These methods all
13959         returned the dimensions of the work_area sub-area of WorkArea,
13960         resulting in a position error if the WorkArea were resized. Now
13961         return the dimensions of the entire WorkArea.
13962
13963         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13964
13965 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13966
13967         * LaTeX.C (deplog): correct the syntax of regex reg1
13968
13969 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13970
13971         * undo.C: remove !NEW_INSETS cruft
13972
13973 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13974
13975         * text2.C: remove !NEW_INSETS cruft
13976
13977         * text.C: remove !NEW_INSETS cruft
13978
13979         * tabular.C: remove !NEW_INSETS cruft
13980
13981         * spellchecker.C: remove !NEW_INSETS cruft
13982
13983         * lyxtext.h: remove !NEW_INSETS cruft
13984
13985         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13986
13987         * lyxfunc.C: remove !NEW_INSETS cruft
13988
13989         * lyxfind.C: remove !NEW_INSETS cruft
13990
13991         * lyx_cb.C: remove !NEW_INSETS cruft
13992
13993         * figureForm.C: remove  !NEW_INSETS cruft
13994
13995         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13996
13997         * buffer.[Ch]: remove !NEW_INSETS cruft
13998
13999         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14000
14001         * CutAndPaste.C: remove !NEW_INSETS cruft
14002
14003         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14004
14005         * BufferView2.C: remove !NEW_INSETS cruft
14006
14007         * BufferView.h: remove !NEW_INSETS cruft
14008
14009 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14010
14011         * Lsstream.h: include LString.h before the sstream headers to
14012         fix problem with gcc 2.95.3 and lyxstring
14013
14014 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14015
14016         * lyx_main.C: add using directives when needed for C functions
14017         declared in std:: namespace.
14018
14019 2001-04-27  Juergen Vigna  <jug@sad.it>
14020
14021         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14022         (SetHeightOfRow): comment out the update call should not be needed!
14023
14024 2001-04-13  Juergen Vigna  <jug@sad.it>
14025
14026         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14027         (LyXTabular): tried to minimize operator= operations (and realized
14028         hopfully Lars wish).
14029
14030 2001-04-27  Juergen Vigna  <jug@sad.it>
14031
14032         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14033
14034 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14035
14036         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14037
14038         * buffer.C (readInset): hack to make listof algorithm work
14039
14040         * BufferView_pimpl.C: hack to make listof algorithm work
14041
14042 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14043
14044         * LyXAction.C: removed all !NEW_INSETS cruft
14045         (init): moved lfun_item in method
14046
14047         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14048
14049 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14050
14051         * BufferView2.C (theLockingInset): white space.
14052
14053 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14054
14055         * minibuffer.C: include <iostream>
14056
14057         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14058
14059         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14060
14061         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14062
14063         * text.[Ch] (TransposeChars): new method
14064
14065 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14066
14067         * call message directly through LyXView instead of through LyXFunc
14068         * BufferView2.C: adjust
14069         * BufferView_pimpl.C: adjust
14070         * FontLoader.C: adjust
14071         * buffer.C: adjust
14072         * bufferview_funcs.C: adjust
14073         * converter.C: adjust
14074         * figureForm.C: adjust
14075         * importer.C: adjust
14076         * lyx_cb.C: adjust
14077         * lyx_gui_misc.C: adjust
14078         * lyxfunc.C: adjust
14079         * lyxvc.C: adjust
14080         * text2.C: adjust
14081         + more files in subdirs
14082
14083         * lyxparagraph.h (size): move up int file
14084         (GetLayout): ditto
14085
14086         * adjust all uses of Assert to lyx::Assert.
14087
14088         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14089         lyxfunctional in namespace lyx
14090         * layout.C (hasLayout): ditto
14091         (GetLayout): ditto
14092         (GetLayout): ditto
14093         (delete_layout): ditto
14094         (NumberOfClass): ditto
14095         * converter.C (GetFormat): ditto
14096         (GetNumber): ditto
14097         (Add): ditto
14098         (Delete): ditto
14099         (SetViewer): ditto
14100         * bufferlist.C (getFileNames): ditto
14101         (emergencyWriteAll): ditto
14102         (exists): ditto
14103         (getBuffer): ditto
14104         * MenuBackend.C (hasSubmenu): ditto
14105         (hasMenu): ditto
14106         (getMenu): ditto
14107         * BufferView_pimpl.C (getInsetByCode): ditto
14108
14109 2001-04-18  Juergen Vigna  <jug@sad.it>
14110
14111         * vspace.C (asLatexString): fixed the 100% problem.
14112
14113 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14114
14115         * lyxfunc.C (Dispatch):
14116         * minibuffer.C:
14117         * minibuffer.h: add a few std:: qualifiers
14118
14119 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14120
14121         * minibuffer.[Ch]: reimplement so that commands is initiated and
14122         run from lyxfunc, simplified som handling, and made the completion
14123         and history code for complete. wip.
14124
14125         * lyxfunc.C (processKeySym): call message
14126         (miniDispatch): new temporary method
14127         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14128         (LFUN_MESSAGE): implement
14129         (LFUN_MESSAGE_PUSH): implement
14130         (LFUN_MESSAGE_POP): implement
14131         (initMiniBuffer): the initial/defualt minibuffer message.
14132
14133         * lyxfont.[Ch]: inline some more getters
14134
14135         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14136
14137         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14138
14139         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14140         (AutoSave): use LFUN_MESSAGE
14141         (Reconfigure): ditto
14142
14143         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14144
14145         * figureForm.C: use LFUN_MESSAGE
14146
14147         * converter.C (runLaTeX): use LFUN_MESSAGE
14148
14149         * bufferview_funcs.C: use LFUN_MESSAGE
14150         (Melt): ditto
14151         (changeDepth): ditto
14152
14153         * bufferparams.h: use boost::
14154
14155         * bufferlist.h: inherit privately from noncopyable
14156
14157         * bufferlist.C (loadLyXFile): remove some commented code.
14158
14159         * buffer.C (runChktex): use LFUN_MESSAGE
14160
14161         * ShareContainer.h: inherit privately from noncopyable
14162
14163         * ParagraphParameters.[hC] (depth): inline it.
14164
14165         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14166         methods.
14167         (message): new method
14168         (messagePush): ditto
14169         (messagePop): ditto
14170         (show): init minibuffer
14171         (showState): direct call
14172
14173         * LaTeX.[Ch]: inherit privately from noncopyable
14174         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14175         instead of WriteStatus.
14176
14177         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14178
14179         * BufferView_pimpl.C (buffer): don't init minibuffer
14180         (workAreaButtonPress): use LFUN_MESSAGE
14181         (workAreaButtonRelease): ditto
14182         (savePosition): ditto
14183         (restorePosition): ditto
14184         (MenuInsertLyXFile): ditto
14185         (workAreaExpose): don't init minibuffer
14186         (update): remove commented code, simplify
14187
14188         * BufferView2.C (openStuff): use LFUN_MESSAGE
14189         (toggleFloat): ditto
14190         (menuUndo): ditto
14191         (menuRedo): ditto
14192         (copyEnvironment): ditto
14193         (pasteEnvironment): ditto
14194         (copy): ditto
14195         (cut): ditto
14196         (paste): ditto
14197         (gotoInset): ditto
14198         (updateInset): remove some commented code
14199
14200         * lastfiles.h: inherit privately from noncopyable
14201         * layout.h: ditto
14202         * lyx_gui.h: ditto
14203         * lyx_main.h: ditto
14204         * lyxlex.h: ditto
14205         * lyxlex_pimpl.h: ditto
14206
14207         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14208         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14209         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14210
14211         * LyXAction.h: inherit privately from noncopyable, add methods
14212         func_begin, func_end, returning iterators to the func map.
14213
14214         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14215         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14216         (func_begin): new method
14217         (func_end): new method
14218
14219         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14220         and not)
14221         (copySelection): ditto
14222         (pasteSelection): ditto
14223
14224         * BufferView.C: whitespace change
14225         * BufferView.h: inherit privately from noncopyable
14226
14227 2001-04-16  Allan Rae  <rae@lyx.org>
14228
14229         * tabular-old.C (l_getline):
14230         * spellchecker.C (sc_check_word):
14231         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14232         an unrecognised preprocessor directive.  So ensure they're wrapped.
14233
14234 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14235
14236         * src/exporter.C (Export): Give an error message when path to file
14237         contains spaces.
14238
14239 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14240
14241         * LaTeX.C (deplog): Always check that foundfile exists.
14242
14243 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14244
14245         * lyx_main.h:
14246         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14247
14248 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14249
14250         * tabular.[Ch] (getLabelList): implement new method
14251
14252         * minibuffer.h: comment ouf setTiimer
14253
14254         * minibuffer.C (ExecutingCB): constify res
14255         (peek_event): constify s
14256         (Set): constify ntext
14257         (Init): constify nicename
14258
14259         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14260
14261         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14262         (savePosition): use two params to Minibuffer::Set
14263         (restorePosition): ditto
14264
14265 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14266
14267         * lyx_main.C: include language.h
14268
14269         * Makefile.am (lyx_main.o): add language.h
14270
14271 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14272
14273         * exporter.C:
14274         * paragraph.C:
14275         * screen.C:
14276         * tabular.C:
14277         * CutAndPaste.C: include gettext.h
14278
14279         * lyxfont.h: remove old hack with ON and OFF.
14280
14281         * lyxparagraph.h:
14282         * lyxfont.h: do not include language.h...
14283
14284         * BufferView2.C:
14285         * LaTeXFeatures.C:
14286         * Painter.C:
14287         * bufferview_funcs.C:
14288         * font.C:
14289         * lyxfont.C:
14290         * text.C:
14291         * text2.C:
14292         * trans_mgr.C:
14293         * paragraph.C: ... but do it here instead
14294
14295 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14296
14297         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14298
14299         * tabular.C: small reformat
14300
14301         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14302         NEW_INSETS version
14303         (GetChar): ditto
14304         (BreakParagraph): ditto
14305         (SetOnlyLayout): ditto
14306         (SetLayout): ditto
14307
14308         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14309         with one arg less.
14310
14311         * lastfiles.C: removed most using decl, add std:: where needed
14312
14313         * buffer.C: ws changes
14314
14315         * MenuBackend.C (class compare_format): put into anon namespace
14316         (expand): constify label, names, action, action2
14317         (expand):
14318
14319         * text.C (SingleWidth): constify font
14320         (IsBoundary): constify rtl2
14321         (GetVisibleRow): constify ww
14322
14323         * LaTeX.C (deplog): constify logfile
14324
14325         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14326         start_x, end_x
14327         (workAreaExpose): constify widthChange, heightChange
14328
14329         * lyxrow.C (par): moved
14330         (height): moved
14331         (next): moved
14332         * lyxrow.h: as inlines here
14333
14334         * lyxfont.h (shape): moved from lyxfont.C
14335         (emph): moved from lyxfont.C
14336
14337         * lyxfont.C (LyXFont): use initialization list for all
14338         constructors
14339         (shape): move to lyxfont.h as inline
14340         (emph): move to lyxfont.h as inline
14341
14342
14343 2001-04-04  Juergen Vigna  <jug@sad.it>
14344
14345         * vspace.C: had to include stdio.h for use of sscanf
14346
14347 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14348
14349         * BufferView.h:
14350         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14351         independent of xforms.
14352
14353 2001-04-02  Juergen Vigna  <jug@sad.it>
14354
14355         * spellchecker.C: fixed namespace placing!
14356
14357 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14358
14359         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14360         the LyXParagraph * is 0.
14361
14362 2001-03-29  Juergen Vigna  <jug@sad.it>
14363
14364         * vspace.C: added support for %, c%, p%, l%.
14365         (stringFromUnit): added helper function.
14366         (asLatexString): changed to give right results for the %-values.
14367
14368         * buffer.C: convert the widthp in a width%.
14369
14370 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14371
14372         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14373         figureForm.[Ch].
14374
14375         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14376         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14377
14378         * lyx_cb.[Ch]: see above.
14379
14380         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14381         form1.[Ch].
14382
14383         * form1.[Ch]:
14384         * lyx.[Ch]: replaced by figure_form.[Ch].
14385
14386         * lyx_gui.C:
14387         * lyx_gui_misc.C:
14388         * lyxfunc.C: changed headers associated with above changes.
14389
14390 2001-03-27  Juergen Vigna  <jug@sad.it>
14391
14392         * BufferView_pimpl.C: set the temporary cursor right!
14393
14394 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14395
14396         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14397
14398 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14399
14400         * LString.h: removed "using std::getline"!
14401
14402         * BufferView_pimpl.C (Dispatch): changes due to changes in
14403         InsetInclude::Params.
14404
14405         * buffer.C (tag_name): removed redundant break statements as they were
14406         producing lots of warnings with my compiler.
14407
14408 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14409
14410         * LString.h: add "using std::getline" when using the real <string>.
14411
14412 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14413
14414         * buffer.C: removed bitset usage.
14415         PAR_TAG moved to an anonymous name space.
14416         (tag_name): new funtion, also in the anonymous namespace.
14417         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14418         (makeDocBookFile): clean code. Completed transition from string arrays
14419         to string vectors.
14420         (SimpleDocBookOnePar): code clean.
14421
14422 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14423
14424         * tabular.C: add some comments.
14425
14426 2001-03-22  Juergen Vigna  <jug@sad.it>
14427
14428         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14429         compatibility read a bit and fixed bug with minipage in different
14430         depth.
14431
14432 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14433
14434         * buffer.C (pop_tag): removed.
14435         (push_tag): removed.
14436         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14437         array replaced with vector. Added support for CDATA sections.
14438         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14439         at any nest level.
14440         (makeDocBookFile): XML conformant declaration of CDATA section,
14441         fixed bug related to <emphasis> in the first paragraph char.
14442         (sgmlOpenTag): exclude empty tags.
14443         (sgmlCloseTag): ditto.
14444
14445         * buffer.h (pop_tag): removed.
14446         (push_tag): removed.
14447
14448 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14449
14450         * language.h (Languages): added size_type and size().
14451
14452 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14453
14454         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14455         response on compability reading of minipages. One probliem is that
14456         the old usage of minipages was «flertydig»
14457
14458         * several files here and in subdirs: don't use static at file
14459         scope use anon namespaces instead.
14460
14461 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14462
14463         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14464         LaTeX output. This is necessary for Literate document
14465         processing.
14466
14467 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14468
14469         * buffer.C: insert hfill when needed.
14470
14471         * tabular.C (l_getline): use string::erase, small whitespace change.
14472
14473         * BufferView_pimpl.C: try the anon namespace.
14474         * WorkArea.C: ditto
14475
14476 2001-03-16  Juergen Vigna  <jug@sad.it>
14477
14478         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14479         otherwise it won't open options-dialogs.
14480
14481         * buffer.C: honor pextraWidth(p) on converting minipages.
14482
14483         * tabular.C (l_getline): changed the functions to strip trailing \r.
14484
14485 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14486
14487         * BufferView_pimpl.C:
14488         * minibuffer..C: added "using SigC::slot" declaration.
14489
14490 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14491
14492         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14493
14494         * text2.C: ditto
14495
14496         * text.C: ditto
14497
14498         * paragraph.C: ditto
14499
14500         * lyxtext.h: NO_PEXTRA
14501
14502         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14503
14504         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14505         * ParameterStruct.h: ditto
14506         * ParagraphParameters.h: ditto
14507         * lyxparagraph.h: ditto
14508
14509 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14510
14511         * buffer.C: add compability for minipage alignment.
14512         (latexParagraphs): remove unwanted pextra check.
14513
14514         * several files: remove CXX_WORKING_NAMESPACES
14515
14516         * buffer.C (pop_tag): tie is in namespace boost
14517
14518         * BufferView.h: noncopyable is in namespace boost
14519         * lyxlex.h: ditto
14520         * lyx_main.h: ditto
14521         * lyx_gui.h: ditto
14522         * layout.h: ditto
14523         * lastfiles.h: ditto
14524         * bufferlist.h: ditto
14525         * ShareContainer.h: ditto
14526         * LyXView.h: ditto
14527         * LyXAction.h: ditto
14528         * LaTeX.h: ditto
14529
14530 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14531
14532         * Merging changes from BRANCH_MVC back into HEAD.
14533
14534         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14535
14536 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14537
14538         * BufferView_pimpl.C: change from intl.C
14539
14540         * combox.h:
14541         * combox.C:
14542         * Makefile.am: move combox.*
14543
14544         * form1.h:
14545         * form1.C:
14546         * lyx_gui.C:
14547         * intl.h:
14548         * intl.C: remove dialog (covered by prefs)
14549
14550 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14551
14552         * lyxfunc.C (Dispatch): removed redundant break statement.
14553
14554 2001-03-14  Juergen Vigna  <jug@sad.it>
14555
14556         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14557
14558 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14559
14560         * buffer.C: add hack to fix compability reading of minipages.
14561
14562 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14563
14564         * buffer.C (getLists): Cleanup.
14565
14566 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14567
14568         * lyxfont.C (update): don't honor toggleall on font size.
14569
14570 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14571
14572         * bmtable.c:
14573         * bmtable.h:
14574         * Makefile.am: moved to frontends/xforms/
14575
14576         * lyx_gui_misc.C:
14577         * lyxfunc.C:
14578         * BufferView_pimpl.C: changes for moved mathpanel
14579
14580 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14581
14582         * gettext.h: fix gettext_init() in --disable-nls
14583
14584 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14585
14586         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14587
14588 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14589
14590         * lyx.C:
14591         * lyx.h: strip external form
14592
14593 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14594
14595         * BufferView_pimpl.C: add comment, destroySplash()
14596
14597 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14598
14599         * BufferView_pimpl.C:
14600         * LyXAction.C:
14601         * buffer.C:
14602         * commandtags.h:
14603         * lyxfunc.C: use re-worked insetinclude
14604
14605 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14606
14607         * buffer.C: add using std::stringstream.
14608
14609         * lyx_cb.C: readd using std::ios.
14610
14611         * buffer.C: add using std::map.
14612
14613         * BufferView_pimpl.C: add using std::vector.
14614
14615         * ShareContainer.h: add std:: to swap.
14616
14617         * buffer.h: add some typedefs
14618         * buffer.C (getLists): use them
14619         (getLists): renamed from getTocList.
14620         add a counter for the different float types and use it in the
14621         generated string.
14622         (getLists): use the same counter for the NEW_INSETS and the "non"
14623         NEW_INSETS
14624
14625         * lyx_cb.h: remove unused items, includes, using etc.
14626
14627         * ShareContainer.h: remove some commented code, add more comments
14628         and "documentation".
14629
14630 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14631
14632         * buffer.C (getTocList): make the list also when NEW_INSETS is
14633         defined.
14634
14635         * buffer.h: remove TocType
14636
14637         * buffer.C (getTocList): change to return a map<string,
14638         vector<TocItem> >, implement for dynamic number of list.
14639
14640         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14641         * text2.C (PasteSelection): adjust
14642         * CutAndPaste.C (pasteSelection): adjust
14643
14644         * FloatList.C (FloatList): update from the new_insets branch.
14645         * Floating.[Ch]: ditto
14646         * LaTeXFeatures.C: ditto
14647         * buffer.C: ditto
14648         * lyxlex_pimpl.C: ditto
14649
14650         * paragraph.C (Last): remove when NEW_INSETS is defined.
14651
14652         * other file: changes because of the above.
14653
14654 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14655
14656         * lyxparagraph.h: rename next to next_, previous to previous_,
14657         make them private for NEW_INSETS. Rename Next() to next(),
14658         Previous() to previous().
14659
14660         * other files: changes because of the above.
14661
14662 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14663
14664         * BufferView.h:
14665         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14666         problem.
14667
14668 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14669
14670         * main.C (main): pass lyx_localedir to gettext_init().
14671
14672         * gettext.h: remove locale_init and gettext_init macros
14673
14674         * gettext.C (locale_init): new function
14675         (gettext_init): new function
14676
14677         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14678         setlocale().
14679
14680 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14681
14682         * Moved credits to frontends:
14683         * credits.[Ch]: removed
14684         * credits_form.[Ch]: removed
14685         * lyx_gui_misc.C: remove credits stuff
14686         * Makefile.am:
14687
14688 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14689
14690         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14691
14692         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14693         unneeded destructor.
14694
14695         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14696         a standalone pointer again.
14697
14698         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14699
14700 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14701
14702         * Makefile.am:
14703         * filedlg.h:
14704         * filedlg.C:
14705         * LyXAction.C:
14706         * ToolbarDefaults.C:
14707         * bufferlist.C:
14708         * commandtags.h:
14709         * form1.C:
14710         * form1.h:
14711         * lyx_cb.C:
14712         * lyx_cb.h:
14713         * lyxfunc.h:
14714         * lyxfunc.C:
14715         * BufferView_pimpl.C: use new file dialog in GUII
14716
14717         * lyx_cb.h:
14718         * lyx_cb.C: remove LayoutsCB to Toolbar
14719
14720 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14721
14722         * ShareContainer.h (get): add std:: qualifier
14723
14724 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14725
14726         * ShareContainer.h: define a proper ShareContainer::value_type
14727         type (and use typename to please compaq cxx)
14728
14729 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14730
14731         * lyxparagraph.h: move serveral local vars to
14732         ParameterStruct/ParagraphParameters., use ShareContainer in
14733         FontTable., make vars in FontTable private and add getter and
14734         setter.
14735
14736         * paragraph.C: changes because of the above.
14737
14738         * lyxfont.h: remove copy constructor and copy assignment. (the
14739         default ones is ok), move number inside FontBits. move inlines to
14740         lyxfont.C
14741
14742         * lyxfont.C: add number to initializaton of statics, move several
14743         inlines here. constify several local vars. some whitespace
14744         cleanup. Dont hide outerscope variables.
14745
14746         * Spacing.h: add two new constructors to match the set methods.
14747
14748         * ShareContainer.h: new file, will perhaps be moved to support
14749
14750         * ParameterStruct.h: new file
14751
14752         * ParagraphParameters.h: new file
14753
14754         * ParagraphParameters.C: new file
14755
14756         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14757         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14758
14759         * BufferView_pimpl.C: ParagraphParameter changes.
14760         * buffer.C: Likewise.
14761         * bufferview_funcs.C: Likewise.
14762         * text.C: Likewise.
14763         * text2.C: Likewise.
14764
14765 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14766
14767         * lyxfind.C (LyXReplace): do not redefine default argument in
14768         implementation.
14769         (IsStringInText): ditto
14770         (SearchForward): ditto
14771         (SearchBackward): ditto
14772
14773 2001-03-06  Juergen Vigna  <jug@sad.it>
14774
14775         * lyxfind.C (IsStringInText): put parentes around expressions.
14776
14777 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14778
14779         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14780
14781 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14782
14783         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14784
14785         * stl_string_fwd.h: add comment
14786
14787         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14788
14789         * tabular.h:
14790         * tabular.C: remove unused DocBook methods
14791
14792         * intl.C:
14793         * language.C:
14794         * paragraph.C:
14795         * buffer.C:
14796         killed DO_USE_DEFAULT_LANGUAGE
14797
14798 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14799
14800         * lyx_gui.C: do not include language.h.
14801
14802         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14803         arguments in function implementation.
14804
14805 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14806
14807         * BufferView_pimpl.C: add <ctime>
14808
14809 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14810
14811         * BufferView_pimpl.C: add using std::find_if
14812
14813 2001-02-27  José Matos  <jamatos@fep.up.pt>
14814
14815         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14816         by OnlyPath.
14817
14818 2001-02-11  José Matos  <jamatos@fep.up.pt>
14819
14820         * buffer.C (makeDocBookFile): command styles now have a parameter as
14821         "title" by default.
14822
14823 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14824
14825         * layout_forms.[Ch]: removed
14826         * lyx_cb.[Ch]: out character
14827         * lyx_gui.C: out character
14828         * lyx_gui_misc.C: out character
14829         * bufferview_funcs.C: : out character,
14830         added toggleall as parameter in ToggleAndShow
14831
14832 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14833
14834         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14835
14836         * text2.C (SetCurrentFont): Disable number property at boundary.
14837
14838 2001-02-26  Juergen Vigna  <jug@sad.it>
14839
14840         * lyxfunc.C (getStatus): added a string argument override function so
14841         that this is correctly called from LyXFunc::Dispatch if it contains a
14842         do_not_use_argument which is used!
14843         (Dispatch): added check for "custom" export and call appropriate func.
14844
14845 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14846
14847         * lyxrc.C: Add language_command_local, language_use_babel and
14848         language_global_options.
14849
14850         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14851
14852         * buffer.C (makeLaTeXFile): Use language_use_babel and
14853         language_global_options.
14854
14855 2001-02-23  Juergen Vigna  <jug@sad.it>
14856
14857         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14858         which works with LyXText and putted it inside BufferView. Here now we
14859         only call for that part the BufferView::Dispatch() function.
14860
14861         * BufferView.C (Dispatch): added.
14862
14863         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14864         functions which needs to use a LyXText over from LyXFunc.
14865         (MenuInsertLyXFile): added
14866         (getInsetByCode): added
14867         (moveCursorUpdate): added
14868         (static TEXT): added
14869
14870 2001-02-22  Juergen Vigna  <jug@sad.it>
14871
14872         * BufferView_pimpl.C (update): call a status update to see if LyXText
14873         needs it.
14874
14875 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14876
14877         * vc-backend.C (revert): implement for CVS
14878         (getLog): implement for CVS
14879
14880 2001-02-20  Juergen Vigna  <jug@sad.it>
14881
14882         * text2.C (ClearSelection): added BufferView param for inset_owner call
14883
14884         * lyxfunc.C (TEXT): added this function and use it instead of
14885         directly owner->view()-text of getLyXText().
14886
14887 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14888
14889         * src/layout_forms.C: out preamble
14890         * src/layout_forms.h: out preamble
14891         * src/lyx_cb.C: out preamble
14892         * src/lyx_cb.h: out preamble
14893         * src/lyx_gui.C: out preamble
14894         * src/lyx_gui_misc.C: out preamble
14895         * src/lyxfunc.C: connect with guii preamble
14896
14897 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14898
14899         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14900
14901 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14902
14903         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14904         whether to run bibtex.
14905
14906 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14907
14908         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14909
14910 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14911
14912         * Makefile.am (lyx_SOURCES): removed bibforms.h
14913
14914         * vspace.h: doxygen
14915
14916         * text.C (GetVisibleRow): make several local vars const
14917
14918         * tabular.C: small cleanup.
14919
14920         * lyxserver.C (callback): use compare instead of strncmp
14921
14922         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14923         inlines to after class or to paragraph.C
14924
14925         * lyxfont.h: remove friend operator!=
14926
14927         * converter.h: move friend bool operator< to non friend and after
14928         class def.
14929
14930         * combox.h: small cleanup
14931
14932         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14933         to inlines after class def.
14934
14935         * buffer.C (pop_tag): use string operations instead of strcmp
14936
14937         * bmtable.c: doxygen, small cleanup
14938
14939         * LaTeX.h: remove friend operator==
14940
14941 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14942
14943         * screen.C:
14944         * lyxrc.[Ch]:
14945         * lyxfunc.C:
14946         * lyxfont.[Ch]:
14947         * lyx_cb.C:
14948         * intl.[Ch]:
14949         * commandtags.h:
14950         * buffer.C:
14951         * WorkArea.[Ch]:
14952         * LyXAction.C:
14953         * BufferView_pimpl.C:
14954         * BufferView.[Ch]: remove cruft
14955
14956 2001-02-14  Juergen Vigna  <jug@sad.it>
14957
14958         * lyxfunc.C: removed #if 0 unused code
14959
14960         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14961
14962         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14963
14964         * text2.C (SetSelection): added a BufferView * parameter
14965
14966 2001-02-13  Juergen Vigna  <jug@sad.it>
14967
14968         * lyxfunc.C (Dispatch): fixed protected blank problem.
14969         * BufferView2.C (protectedBlank): added LyxText * parameter.
14970
14971         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14972         (AppendColumn): same as above for column_info.
14973
14974         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14975         (moveCursorUpdate): use a LyXText param for support of InsetText.
14976
14977         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14978         (tripleClick): ditto
14979
14980         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14981
14982         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14983
14984         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14985
14986         * text2.C (SetSelection): set correct update status if inset_owner
14987         (ToggleFree): ditto
14988
14989 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14990
14991         * tabular.C: remove some commented code.
14992
14993 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14994
14995         * BufferView_pimpl.C: call hideSplash()
14996
14997         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14998
14999         * include_form.h:
15000         * bibforms.h: remove
15001
15002         * lyxfunc.C:
15003         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15004           add LFUN_CHILD_CREATE
15005
15006         * counters.h: fix tiny typo
15007
15008         * lyx_cb.C:
15009         * lyx.h:
15010         * lyx_gui.C:
15011         * lyx.C: move splash to frontends/xforms/
15012
15013         * lyx_gui_misc.C: move Include and Bibform to frontends
15014
15015         * lyxvc.h: clarify comment
15016
15017         * vspace.C: tiny housekeeping
15018
15019 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15020
15021         * text.C (PrepareToPrint): RTL Fix.
15022
15023         * paragraph.C (GetUChar): New method.
15024         (String):  Use GetUChar.
15025
15026         * buffer.C (asciiParagraph): Use GetUChar.
15027
15028 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15029
15030         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15031
15032 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15033
15034         * buffer.h:
15035         * buffer.C: rename to getLogName(), handle
15036           build log / latex log nicely
15037
15038 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15039
15040         * MenuBackend.C:
15041         * MenuBackend.h: remove support for reference menuitem type.
15042
15043 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15044
15045         * BufferView_pimpl.C: housekeeping
15046         * BufferView_pimpl.h:
15047         * LyXView.h:
15048         * Makefile.am:
15049         * Timeout.C:
15050         * Timeout.h:
15051         * minibuffer.h: move Timeout GUI-I
15052
15053 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15054
15055         * lyxrc.C (read): Update converters data-structures.
15056
15057 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15058
15059         * LaTeX.h (operator!=): add operator != for Aux_Info
15060
15061 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15062
15063         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15064
15065         * LaTeXLog.C: deleted, useful code moved to Buffer
15066
15067         * buffer.h:
15068         * buffer.C: new function getLatexLogName()
15069
15070         * lyx_gui_misc.C:
15071         * lyx_gui.C:
15072         * lyxvc.C:
15073         * lyxvc.h:
15074         * lyxfunc.C: use frontends for LaTeX and VC logs
15075
15076 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15077
15078         * LaTeX.h: yet another std:: that Allan forgot.
15079
15080         * Variables.C (set): renamed from isset(), because this clashes
15081         with some HP-UX macros (grr).
15082
15083 2001-02-06  Allan Rae  <rae@lyx.org>
15084
15085         * LaTeX.h: Another bug fix.  Missing std:: this time.
15086
15087 2001-02-04  Allan Rae  <rae@lyx.org>
15088
15089         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15090         floats problem. I've left it commented out because it's not quite
15091         correct.  It should also test that the current object is a table or
15092         figure inset.  But I haven't gotten around to figuring out how to do
15093         that.  I *think* it'll be something like: "table" == inset.type()
15094
15095         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15096         bool.
15097
15098 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15099
15100         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15101         all the citation/databases/styles in the auxilary file.
15102         (run): Rerun latex if there was a babel language error.
15103
15104 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15105
15106         * text.C (Backspace): Preserve the font when changing newline char
15107         with a space.
15108         (BreakParagraph): If the cursor is before a space, delete the space.
15109
15110         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15111
15112 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15113
15114         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15115         new argument (code).
15116         (ChangeCitationsIfUnique): New method.
15117
15118         * paragraph.C (GetPositionOfInset): Handle bibkey.
15119
15120 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15121
15122         * BufferView_pimpl.h: change type of Position::par_pos to
15123         LyXParagraph::size_type.
15124
15125 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15126
15127         * BufferView_pimpl.C (savePosition, restorePosition): Write
15128         messages to minibuffer.
15129
15130 2001-01-28  José Matos  <jamatos@fep.up.pt>
15131
15132         * buffer.C (makeDocBookFile): adds support for document language.
15133         A silly restriction on the name of LatexCommand types where removed.
15134         Added support for CDATA sections, allows to chars unescaped, used
15135         among others in code, to avoid escape < and >.
15136
15137 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15138
15139         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15140         saved positions instrad of a stack. Furthermore, a position is
15141         stored using paragraph id/paragraph position.
15142
15143         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15144         Remove LFUN_REF_BACK.
15145
15146 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15147
15148         * converter.C (dvipdfm_options): New method.
15149
15150 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15151
15152         * vspace.C (isValidLength): Fix for empty input string.
15153
15154 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15155
15156         * LyXAction.C (init): change description of LFUN_FIGURE to
15157         "Insert Graphics"
15158
15159 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15160
15161         * LaTeX.C: add using directive
15162
15163 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15164
15165         * MenuBackend.C (expand): Fix the sorting of the formats.
15166
15167 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15168
15169         * lyx_main.C: tiny error message fix
15170
15171 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15172
15173         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15174         calling fl_initialize(). This fixes the problem with ',' as
15175         decimal separator in text files.
15176
15177 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15178
15179         * trans.C (process): Fix the keymap bug.
15180
15181 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15182
15183         * LaTeX.C (scanAuxFiles): New method. Provides support for
15184         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15185         (scanLogFile) Scan for "run BibTeX" messages.
15186
15187         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15188         OT1 font encoding. Also, load the aecompl package if the ae
15189         package is loaded.
15190
15191         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15192
15193 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15194
15195         * texrow.C (increasePos): turn two error messages into debug
15196         messages.
15197
15198 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15199
15200         * LaTeX.C (scanAux): Handle the \@input macro.
15201         (runBibTeX): Use scanAux().
15202
15203         * language.C (latex_options_): New field.
15204
15205         * LaTeXFeatures.C (getMacros): Add language macros.
15206
15207         * buffer.C (makeLaTeXFile): Small fix.
15208
15209 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15210
15211         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15212
15213         * text2.C: add a using directive.
15214
15215 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15216
15217         * BufferView2.C:
15218         * lyx_gui_misc.h:
15219         * lyxfr1.C:
15220         * lyxfunc.C: kill LyXBell.
15221
15222 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15223
15224         * text.C (IsBoundary): Remove the error message
15225
15226         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15227
15228         * lyxrc.C (setDefaults): Correct initialization value for
15229         font_norm_type.
15230
15231 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15232
15233         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15234         gotoError().
15235
15236         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15237         and GotoNextNote().
15238
15239         * src/LyXAction.C: Added reference-next.
15240
15241         * text.C (InsertChar): Use contains instead of strchr.
15242
15243         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15244
15245 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15246
15247         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15248         alignment commands (when needed).
15249
15250         * text.C (InsertChar): Add ':' to number separator chars.